/**
 * OguzInjury Theme CSS
 * Main stylesheet - Pixel Perfect from Figma
 */

/* ================================================
   CSS Variables - Based on Figma Design
   ================================================ */
:root {
    --color-primary: #192d2e;
    --color-primary-dark: #152628;
    --color-primary-darker: #0f1f20;
    --color-secondary: #b8a269;
    --color-accent: #b8a269;
    --color-dark: #0f0f1e;
    --color-light: #fbfafa;
    --color-cream: #f5f2eb;
    --color-gray: #505050;
    --font-outfit: 'Outfit', sans-serif;
    --font-roboto: 'Roboto', sans-serif;
}

/* ================================================
   Base Styles
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-outfit);
    color: var(--color-primary);
    line-height: 1.5;
    background-color: var(--color-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::selection {
    background-color: var(--color-secondary);
    color: white;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ================================================
   Typography
   ================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-outfit);
    font-weight: 700;
    line-height: 1.2;
    color: inherit;
}

h1 { font-size: 56px; }
h2 { font-size: 48px; }
h3 { font-size: 32px; }
h4 { font-size: 28px; }
h5 { font-size: 24px; }
h6 { font-size: 18px; }

p {
    font-family: var(--font-outfit);
    font-weight: 400;
    line-height: 1.5;
}

/* WYSIWYG Content Styles */
.prose ul,
.wysiwyg-content ul,
.entry-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose ol,
.wysiwyg-content ol,
.entry-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.prose li,
.wysiwyg-content li,
.entry-content li {
    margin-bottom: 0.5rem;
}

.prose p,
.wysiwyg-content p,
.entry-content p {
    margin-bottom: 1rem;
}

.spacer {
    height: 1rem;
}

/* ================================================
   Container
   ================================================ */
.container {
    width: 100%;
    max-width: 1312px;
    margin: 0 auto;
    padding: 0 64px;
}

@media (max-width: 1024px) {
    .container {
        padding: 0 48px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 32px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
}

/* ================================================
   Header Styles
   ================================================ */
.site-header {
    background-color: var(--color-light);
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    width: 100%;
    max-width: 1312px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.site-logo img {
    height: 42px;
    width: auto;
}

/* Navigation */
.main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
    transition: opacity 0.2s;
    cursor: pointer;
}

.nav-link:hover {
    opacity: 0.7;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 3px);
    left: 0;
    background: var(--color-light);
    border-radius: 5px;
    box-shadow: 0px 32px 64px -12px rgba(0, 0, 0, 0.14);
    min-width: 280px;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s;
    z-index: 9999;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
    transition: opacity 0.2s;
}

.dropdown-item:hover {
    opacity: 0.7;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid rgba(25, 45, 46, 0.2);
    cursor: pointer;
    transition: opacity 0.2s;
}

.header-btn-icon:hover {
    opacity: 0.7;
}

.header-btn-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid rgba(25, 45, 46, 0.2);
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-primary);
    cursor: pointer;
    transition: opacity 0.2s;
}

.header-btn-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 5px;
    background-color: var(--color-primary);
    border: 1px solid var(--color-primary);
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-light);
    cursor: pointer;
    transition: background-color 0.2s;
}

.header-btn-cta:hover {
    background-color: var(--color-primary-darker);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: transform 0.2s;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-light);
    box-shadow: 0px 32px 64px -12px rgba(0, 0, 0, 0.14);
    padding: 24px;
}

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-links li {
    border-bottom: 1px solid rgba(25, 45, 46, 0.1);
}

.mobile-nav-links a {
    display: block;
    padding: 16px 0;
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 16px;
    color: var(--color-primary);
}

/* ================================================
   Button Styles
   ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-light);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-darker);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-dark);
}

.btn-secondary:hover {
    background-color: #a69158;
}

.btn-white {
    background-color: white;
    color: var(--color-primary);
    border: 1px solid white;
}

.btn-white:hover {
    background-color: #f5f5f5;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-light);
    color: var(--color-light);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline-dark {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline-dark:hover {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-full {
    width: 100%;
}

.btn-semibold {
    font-weight: 600;
}

.btn-bold {
    font-weight: 700;
}

/* ================================================
   Hero Section
   ================================================ */
.hero-section {
    position: relative;
    min-height: 932px;
    width: 100%;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-background img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(25, 45, 46, 0.65) 34.123%, rgb(25, 45, 46) 102.52%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    min-height: 932px;
    padding-left: 64px;
    padding-bottom: 66px;
}

.hero-text {
    max-width: 697px;
    color: var(--color-light);
}

.hero-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    max-width: 560px;
    margin-bottom: 24px;
}

.hero-cta {
    max-width: 560px;
}

/* ================================================
   Services Section
   ================================================ */
.services-section {
    background-color: var(--color-primary);
    padding: 80px 64px;
}

.services-header {
    display: flex;
    gap: 80px;
    align-items: flex-start;
    margin-bottom: 48px;
    color: var(--color-cream);
}

.services-header-left {
    flex: 1;
}

.services-header-left .section-label {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 16px;
}

.services-header-left h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.services-header-right {
    flex: 1;
    font-size: 18px;
    line-height: 1.5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    height: 370px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.service-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 100%);
    border-radius: 20px;
}

.service-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 20px;
}

.service-card-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 28px;
    line-height: 1.3;
    color: var(--color-light);
    margin-bottom: 20px;
}

.service-card .btn-secondary {
    width: 100%;
}

/* ================================================
   Why Oguz Section
   ================================================ */
.why-section {
    background-color: var(--color-primary);
    padding: 112px 64px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.why-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    max-width: 1312px;
    margin: 0 auto;
}

.why-content {
    max-width: 746px;
}

.why-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-cream);
    margin-bottom: 24px;
}

.why-content p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-cream);
    margin-bottom: 24px;
}

.process-cards {
    display: flex;
    gap: 32px;
}

.process-card {
    flex: 1;
    background-color: var(--color-primary-dark);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.process-card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
}

.process-card-icon svg {
    width: 100%;
    height: 100%;
}

.process-card h5 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-secondary);
    margin-bottom: 24px;
}

.process-card p {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-light);
    margin: 0;
}

.why-images {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 512px;
    height: 644px;
}

.why-images-top {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.why-images-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-images-bottom {
    display: flex;
    flex: 1;
    gap: 25px;
}

.why-images-bottom > div {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
}

.why-images-bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================
   Testimonials Section
   ================================================ */
.testimonials-section {
    background-color: var(--color-primary);
    padding: 112px 64px;
}

.testimonials-container {
    max-width: 1312px;
    margin: 0 auto;
}

.testimonials-header {
    margin-bottom: 64px;
}

.testimonials-header h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 10px;
}

.testimonials-header p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-light);
    max-width: 616px;
    margin-bottom: 20px;
}

.testimonials-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    width: 100%;
    min-height: 280px;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid var(--color-secondary);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    background: radial-gradient(ellipse at 113% 209%, rgba(184, 162, 105, 1) 0%, rgba(144, 133, 90, 0.75) 22%, rgba(105, 104, 76, 0.5) 44%, rgba(25, 45, 46, 0) 89%, rgba(25, 45, 46, 0) 100%);
    overflow: hidden;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .testimonial-card {
        padding: 32px;
    }
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-light);
}

.testimonial-meta {
    display: flex;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-light);
    opacity: 0.8;
}

.testimonial-stars svg {
    width: 116px;
    height: 19px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-light);
}

/* ================================================
   FAQ Section
   ================================================ */
.faq-section {
    position: relative;
    padding: 112px 64px;
}

.faq-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.faq-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.faq-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(25, 45, 46, 0.55);
}

.faq-container {
    position: relative;
    z-index: 10;
    display: flex;
    gap: 80px;
    max-width: 1312px;
    margin: 0 auto;
}

.faq-content {
    width: 500px;
    flex-shrink: 0;
}

.faq-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 24px;
}

.faq-content p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-light);
    margin-bottom: 32px;
}

.faq-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--color-cream);
    border-radius: 20px;
    border: 1px solid white;
    cursor: pointer;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-dark);
}

.faq-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 24px 20px;
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-dark);
    border-top: 1px solid rgba(15, 15, 30, 0.2);
    padding-top: 20px;
}

/* ================================================
   Blog Section
   ================================================ */
.blog-section {
    background-color: var(--color-primary-dark);
    padding: 112px 64px;
    border: 1px solid rgba(25, 45, 46, 0.1);
}

.blog-container {
    max-width: 1312px;
    margin: 0 auto;
    text-align: center;
}

.blog-section h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-cream);
    margin-bottom: 80px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.blog-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.blog-card-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blog-card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, black 100%);
}

.blog-card-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.blog-card-image {
    height: 220px;
    margin-bottom: 0;
}

.blog-card-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-light);
    margin-bottom: 8px;
}

.blog-card-excerpt {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-light);
    margin-bottom: 8px;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-light);
    padding-top: 8px;
    transition: gap 0.2s;
}

.blog-card:hover .blog-card-link {
    gap: 12px;
}

/* ================================================
   Call Us Section
   ================================================ */
.cta-section {
    position: relative;
    padding: 50px 64px;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    inset: 0;
    background-color: var(--color-dark);
    pointer-events: none;
}

.cta-background img {
    position: absolute;
    right: 0;
    top: -30%;
    width: 46.6%;
    height: 159.76%;
    object-fit: contain;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgb(184, 162, 105) 55.388%, rgba(184, 162, 105, 0) 86.727%);
    transform: rotate(5.6421deg);
}

.cta-container {
    position: relative;
    z-index: 10;
    max-width: 1312px;
    margin: 0 auto;
}

.cta-content {
    color: var(--color-dark);
}

.cta-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.cta-content p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* ================================================
   Contact Form Section
   ================================================ */
.contact-section {
    position: relative;
    display: flex;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.contact-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(21, 38, 40, 0) 10.115%, rgb(21, 38, 40) 53.126%);
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 112px 64px;
    position: relative;
    z-index: 10;
}

.contact-left h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-cream);
    margin-bottom: 24px;
}

.contact-left p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-cream);
}

.contact-right {
    flex: 1;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.contact-form-wrapper {
    flex: 1;
    backdrop-filter: blur(16.2px);
    border-radius: 5px;
    padding: 64px;
}

.contact-form {
    max-width: 397px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-cream);
    margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    background-color: var(--color-light);
    border: none;
    font-family: var(--font-outfit);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray);
    outline: none;
}

.form-textarea {
    resize: none;
    min-height: 80px;
}

.form-select {
    appearance: none;
    cursor: pointer;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 16px;
}

.form-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-checkbox label {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-cream);
}

.form-checkbox a {
    text-decoration: underline;
}

/* ================================================
   Footer Styles
   ================================================ */
.site-footer {
    background-color: var(--color-secondary);
    padding: 80px 64px;
    min-height: 542px;
}

.footer-container {
    max-width: 1312px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    gap: 128px;
    margin-bottom: 54px;
}

.footer-brand {
    width: 500px;
    flex-shrink: 0;
}

.footer-logo {
    margin-bottom: 24px;
}

.footer-logo img {
    height: 42px;
    width: auto;
}

.footer-description {
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.newsletter-form {
    display: flex;
    gap: 16px;
}

.newsletter-input {
    flex: 1;
    padding: 12px;
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    background: transparent;
    font-family: var(--font-outfit);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
    outline: none;
}

.newsletter-input::placeholder {
    color: var(--color-primary);
}

.newsletter-btn {
    padding: 12px 24px;
    border-radius: 5px;
    background-color: var(--color-cream);
    border: none;
    font-family: var(--font-outfit);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
    cursor: pointer;
    transition: background-color 0.2s;
}

.newsletter-btn:hover {
    background-color: #e5e2db;
}

.newsletter-terms {
    font-size: 12px;
    line-height: 1.5;
    color: var(--color-primary);
}

.newsletter-terms a {
    text-decoration: underline;
}

.footer-links {
    display: flex;
    flex: 1;
    gap: 40px;
}

.footer-column {
    flex: 1;
}

.footer-column h4 {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 0;
}

.footer-menu a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-primary);
    transition: opacity 0.2s;
}

.footer-menu a:hover {
    opacity: 0.8;
}

.social-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links li {
    margin-bottom: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-primary);
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 0.8;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.footer-bottom {
    border-top: 1px solid var(--color-primary);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-primary);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    text-decoration: underline;
    transition: opacity 0.2s;
}

.footer-legal a:hover {
    opacity: 0.8;
}

/* ================================================
   Card Styles
   ================================================ */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* ================================================
   Swiper Carousel Customization
   ================================================ */
.swiper-button-next,
.swiper-button-prev {
    color: var(--color-secondary);
}

.swiper-pagination-bullet-active {
    background-color: var(--color-secondary);
}

/* ================================================
   Utility Classes
   ================================================ */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-accent { color: var(--color-accent); }
.text-light { color: var(--color-light); }
.text-cream { color: var(--color-cream); }

.bg-primary { background-color: var(--color-primary); }
.bg-primary-dark { background-color: var(--color-primary-dark); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-accent { background-color: var(--color-accent); }
.bg-light { background-color: var(--color-light); }
.bg-cream { background-color: var(--color-cream); }

/* Line clamp utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TrustIndex Embed */
.trustindex-embed {
    margin: 2rem 0;
}

/* Alpine.js Cloak */
[x-cloak] {
    display: none !important;
}

/* ================================================
   Responsive Overrides (see responsive.css for full)
   ================================================ */

/* Navigation breakpoint - 1023px to avoid conflict with min-width: 1024px */
@media (max-width: 1023px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }
}

@media (max-width: 1024px) {
    h1 { font-size: 40px; }
    h2 { font-size: 36px; }

    .hero-section {
        min-height: 700px;
    }

    .hero-content {
        min-height: 700px;
        padding-left: 48px;
    }

    .hero-title {
        font-size: 40px;
    }

    .services-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-container {
        flex-direction: column;
    }

    .why-images {
        width: 100%;
        height: 400px;
    }

    .faq-container {
        flex-direction: column;
    }

    .faq-content {
        width: 100%;
    }

    .contact-section {
        flex-direction: column;
    }

    .footer-main {
        flex-direction: column;
        gap: 48px;
    }

    .footer-brand {
        width: 100%;
    }

    /* Hero person image fix at 1024px */
    .hero-person-image {
        right: -5%;
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .services-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .process-cards {
        flex-direction: column;
    }

    .why-images-bottom {
        flex-direction: column;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ================================================
   Blog Single Post Content Styles
   ================================================ */
.blog-content {
    font-family: var(--font-outfit);
    color: var(--color-cream);
}

.blog-content h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-cream);
    margin-top: 48px;
    margin-bottom: 24px;
}

.blog-content h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-cream);
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-content h4 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-cream);
    margin-top: 24px;
    margin-bottom: 12px;
}

.blog-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-cream);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .blog-content p {
        font-size: 18px;
    }
}

.blog-content a {
    color: var(--color-secondary);
    text-decoration: underline;
    transition: opacity 0.2s;
}

.blog-content a:hover {
    opacity: 0.8;
}

.blog-content strong,
.blog-content b {
    font-weight: 600;
    color: var(--color-light);
}

.blog-content em,
.blog-content i {
    font-style: italic;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-content ul {
    list-style-type: disc;
}

.blog-content ol {
    list-style-type: decimal;
}

.blog-content li {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-cream);
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .blog-content li {
        font-size: 18px;
    }
}

.blog-content blockquote {
    border-left: 4px solid var(--color-secondary);
    padding: 24px;
    margin: 32px 0;
    background-color: rgba(245, 242, 235, 0.05);
    border-radius: 0 5px 5px 0;
}

.blog-content blockquote p {
    font-size: 20px;
    line-height: 1.5;
    font-style: italic;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .blog-content blockquote p {
        font-size: 24px;
    }
}

.blog-content img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 24px 0;
}

.blog-content figure {
    margin: 32px 0;
}

.blog-content figcaption {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-cream);
    opacity: 0.6;
    text-align: center;
    margin-top: 12px;
}

.blog-content hr {
    border: none;
    border-top: 1px solid rgba(245, 242, 235, 0.2);
    margin: 48px 0;
}

.blog-content pre,
.blog-content code {
    font-family: 'Monaco', 'Consolas', monospace;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.blog-content code {
    padding: 2px 6px;
    font-size: 14px;
}

.blog-content pre {
    padding: 16px;
    overflow-x: auto;
    margin: 24px 0;
}

.blog-content pre code {
    padding: 0;
    background: none;
}

.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
}

.blog-content th,
.blog-content td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(245, 242, 235, 0.2);
}

.blog-content th {
    font-weight: 600;
    color: var(--color-light);
    background-color: rgba(0, 0, 0, 0.2);
}

.blog-content td {
    color: var(--color-cream);
}

/* WordPress Blocks Compatibility */
.blog-content .wp-block-image {
    margin: 32px 0;
}

.blog-content .wp-block-quote {
    border-left: 4px solid var(--color-secondary);
    padding: 24px;
    margin: 32px 0;
    background-color: rgba(245, 242, 235, 0.05);
}

.blog-content .wp-block-separator {
    border: none;
    border-top: 1px solid rgba(245, 242, 235, 0.2);
    margin: 48px 0;
}

.blog-content .has-text-align-center {
    text-align: center;
}

.blog-content .has-text-align-right {
    text-align: right;
}

/* ================================================
   Contact Form 7 Styles
   ================================================ */
.wpcf7 {
    font-family: var(--font-outfit);
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wpcf7-form label {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-cream);
    margin-bottom: 0.5rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 12px;
    font-family: var(--font-outfit);
    font-size: 16px;
    color: var(--color-primary);
    background-color: var(--color-light);
    border: none;
    border-radius: 5px;
    outline: none;
    transition: box-shadow 0.2s ease;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    box-shadow: 0 0 0 2px var(--color-secondary);
}

.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

.wpcf7-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23192d2e'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.wpcf7-form .wpcf7-checkbox,
.wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wpcf7-form .wpcf7-checkbox input,
.wpcf7-form .wpcf7-acceptance input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpcf7-form .wpcf7-checkbox .wpcf7-list-item-label,
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 14px;
    color: var(--color-cream);
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 12px 24px;
    font-family: var(--font-outfit);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    background-color: var(--color-secondary);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #a69158;
}

.wpcf7-form input[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* CF7 Response Messages */
.wpcf7-response-output {
    padding: 16px;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 1rem;
}

.wpcf7-form.sent .wpcf7-response-output {
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.wpcf7-not-valid-tip {
    font-size: 13px;
    color: #ef4444;
    margin-top: 0.25rem;
}

.wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 8px;
}

/* CF7 on dark backgrounds */
.bg-primary .wpcf7-form label,
.bg-dark .wpcf7-form label,
[class*="bg-[#192d2e]"] .wpcf7-form label,
[class*="bg-[#152628]"] .wpcf7-form label {
    color: var(--color-cream);
}

/* Form field error state */
.wpcf7-form .wpcf7-not-valid {
    box-shadow: 0 0 0 2px #ef4444;
}

/* Form row layouts */
.wpcf7-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.wpcf7-form .form-row > * {
    flex: 1;
}

@media (max-width: 640px) {
    .wpcf7-form .form-row {
        flex-direction: column;
    }
}

/* ============================================
   ANIMATIONS & EFFECTS
   ============================================ */

/* ---------------------------------------------
   Keyframe Animations
   --------------------------------------------- */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -15px, 0);
    }
    70% {
        animation-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
        transform: translate3d(0, -7px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes underlineExpand {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px var(--color-secondary), 0 0 10px var(--color-secondary);
    }
    50% {
        box-shadow: 0 0 20px var(--color-secondary), 0 0 30px var(--color-secondary);
    }
}

/* ---------------------------------------------
   Scroll-Triggered Animation Classes
   --------------------------------------------- */
[data-animate] {
    opacity: 0.3;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-up"].animated {
    transform: translateY(0);
}

[data-animate="fade-down"] {
    transform: translateY(-40px);
}

[data-animate="fade-down"].animated {
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(-40px);
}

[data-animate="fade-left"].animated {
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(40px);
}

[data-animate="fade-right"].animated {
    transform: translateX(0);
}

[data-animate="scale"] {
    transform: scale(0.9);
}

[data-animate="scale"].animated {
    transform: scale(1);
}

[data-animate="zoom-in"] {
    transform: scale(0.5);
}

[data-animate="zoom-in"].animated {
    transform: scale(1);
}

[data-animate="flip"] {
    transform: rotateY(90deg);
}

[data-animate="flip"].animated {
    transform: rotateY(0);
}

/* Animation Delays for Stagger Effects */
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="400"] { transition-delay: 400ms; }
[data-delay="500"] { transition-delay: 500ms; }
[data-delay="600"] { transition-delay: 600ms; }
[data-delay="700"] { transition-delay: 700ms; }
[data-delay="800"] { transition-delay: 800ms; }
[data-delay="900"] { transition-delay: 900ms; }
[data-delay="1000"] { transition-delay: 1000ms; }

/* Animation Durations */
[data-duration="fast"] { transition-duration: 0.3s; }
[data-duration="normal"] { transition-duration: 0.6s; }
[data-duration="slow"] { transition-duration: 1s; }
[data-duration="slower"] { transition-duration: 1.5s; }

/* ---------------------------------------------
   Card Hover Effects
   --------------------------------------------- */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-lift:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.card-glow {
    transition: all 0.3s ease;
}

.card-glow:hover {
    box-shadow: 0 0 20px rgba(184, 162, 105, 0.3), 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-tilt {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.card-tilt:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-5px);
}

/* ---------------------------------------------
   Image Effects
   --------------------------------------------- */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-zoom:hover img {
    transform: scale(1.1);
}

.img-zoom-slow img {
    transition: transform 0.8s ease;
}

.img-zoom-slow:hover img {
    transform: scale(1.15);
}

.img-shine {
    position: relative;
    overflow: hidden;
}

.img-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
    z-index: 1;
}

.img-shine:hover::before {
    left: 100%;
}

.img-grayscale {
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.img-grayscale:hover {
    filter: grayscale(0%);
}

.img-blur {
    filter: blur(2px);
    transition: filter 0.4s ease;
}

.img-blur:hover {
    filter: blur(0);
}

/* ---------------------------------------------
   Button Effects
   --------------------------------------------- */
.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s ease;
}

.btn-shine:hover::before {
    left: 100%;
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:active::after {
    width: 300px;
    height: 300px;
}

.btn-scale {
    transition: transform 0.2s ease;
}

.btn-scale:hover {
    transform: scale(1.05);
}

.btn-scale:active {
    transform: scale(0.98);
}

.btn-glow {
    transition: box-shadow 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--color-secondary), 0 0 40px rgba(184, 162, 105, 0.3);
}

.btn-slide-up {
    position: relative;
    overflow: hidden;
}

.btn-slide-up span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn-slide-up:hover span {
    transform: translateY(-100%);
}

.btn-slide-up::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    transition: top 0.3s ease;
}

.btn-slide-up:hover::after {
    top: 50%;
    transform: translateY(-50%);
}

/* Arrow animation for links */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-arrow svg,
.link-arrow .arrow {
    transition: transform 0.3s ease;
}

.link-arrow:hover svg,
.link-arrow:hover .arrow {
    transform: translateX(5px);
}

/* ---------------------------------------------
   Text Effects
   --------------------------------------------- */
.text-gradient {
    background: linear-gradient(135deg, var(--color-secondary), #d4c18a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-shimmer {
    background: linear-gradient(
        90deg,
        var(--color-secondary) 0%,
        #d4c18a 25%,
        var(--color-secondary) 50%,
        #d4c18a 75%,
        var(--color-secondary) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.text-underline-hover {
    position: relative;
    display: inline-block;
}

.text-underline-hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.text-underline-hover:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    animation: slideInUp 0.6s forwards;
}

/* ---------------------------------------------
   Section Reveal Effects
   --------------------------------------------- */
.reveal-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.8s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------------------
   Icon Effects
   --------------------------------------------- */
.icon-float {
    animation: float 3s ease-in-out infinite;
}

.icon-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.icon-spin {
    animation: spin 2s linear infinite;
}

.icon-bounce {
    animation: bounce 1s ease infinite;
}

.icon-rotate-hover {
    transition: transform 0.3s ease;
}

.icon-rotate-hover:hover {
    transform: rotate(15deg);
}

/* ---------------------------------------------
   Loading States
   --------------------------------------------- */
.skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-dark {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.05) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.loading-dots::after {
    content: '.';
    animation: dots 1.5s steps(5, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

/* ---------------------------------------------
   Counter Animation Helper
   --------------------------------------------- */
.counter-animate {
    display: inline-block;
    transition: transform 0.1s ease;
}

.counter-animate.counting {
    transform: scale(1.1);
}

/* ---------------------------------------------
   Parallax-like Scroll Effects (CSS only)
   --------------------------------------------- */
.parallax-slow {
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-container {
    overflow: hidden;
    position: relative;
}

/* ---------------------------------------------
   Decorative Animations
   --------------------------------------------- */
.blob {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-morph 8s ease-in-out infinite;
}

@keyframes blob-morph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

.dot-pulse {
    position: relative;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-secondary);
}

.dot-pulse::before,
.dot-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-secondary);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.dot-pulse::after {
    animation-delay: 0.75s;
}

/* ---------------------------------------------
   Practice Area Card Effects
   --------------------------------------------- */
.practice-area-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.practice-area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.practice-area-card .icon-wrapper {
    transition: all 0.3s ease;
}

.practice-area-card:hover .icon-wrapper {
    transform: scale(1.1);
    background-color: var(--color-secondary);
}

.practice-area-card:hover .icon-wrapper svg {
    color: white;
}

/* ---------------------------------------------
   Testimonial Card Effects
   --------------------------------------------- */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card .quote-icon {
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.2) rotate(-10deg);
    color: var(--color-secondary);
}

/* ---------------------------------------------
   FAQ Accordion Effects
   --------------------------------------------- */
.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: rgba(184, 162, 105, 0.05);
}

.faq-item .faq-icon {
    transition: transform 0.3s ease;
}

.faq-item[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

/* ---------------------------------------------
   Hero Section Effects
   --------------------------------------------- */
.hero-title {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-image {
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

/* ---------------------------------------------
   Stats Counter Effects
   --------------------------------------------- */
.stat-item {
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(184, 162, 105, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.stat-item:hover::before {
    left: 100%;
}

.stat-number {
    transition: transform 0.3s ease, color 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
    color: var(--color-secondary);
}

/* ---------------------------------------------
   Navigation Effects
   --------------------------------------------- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

/* ---------------------------------------------
   Focus States (Accessibility)
   --------------------------------------------- */
.focus-ring:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 162, 105, 0.5);
}

.focus-ring:focus:not(:focus-visible) {
    box-shadow: none;
}

.focus-ring:focus-visible {
    box-shadow: 0 0 0 3px rgba(184, 162, 105, 0.5);
}

/* ---------------------------------------------
   Reduced Motion Support
   --------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    [data-animate] {
        opacity: 1 !important;
        transform: none !important;
    }

    .reveal-up,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }

    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ============================================
   TESTIMONIALS SWIPER
   ============================================ */
.testimonials-swiper {
    width: 100%;
    padding-bottom: 50px;
    overflow: hidden;
}

.testimonials-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
}

/* Ensure testimonial cards are properly contained */
.testimonials-swiper .testimonial-card {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Ensure text in testimonial cards doesn't overflow */
.testimonials-swiper .testimonial-card p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.testimonials-swiper .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 24px;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(251, 250, 250, 0.3);
    opacity: 1;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: var(--color-secondary);
}

/* ============================================
   ABOUT PAGE HERO FIX
   ============================================ */
.about-hero-section {
    overflow: hidden;
}

.about-hero-section .hero-content {
    overflow: hidden;
}

/* Fix About page hero text overflow on mobile */
@media (max-width: 640px) {
    .about-hero-section h1,
    .about-hero-section h2,
    .about-hero-section p {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

/* ============================================
   LEGAL PAGE CONTENT STYLES
   (Privacy, Terms, Cookies pages)
   ============================================ */
.legal-content,
.prose.prose-invert {
    color: var(--color-cream);
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content h6,
.prose.prose-invert h1,
.prose.prose-invert h2,
.prose.prose-invert h3,
.prose.prose-invert h4,
.prose.prose-invert h5,
.prose.prose-invert h6 {
    color: var(--color-cream) !important;
    font-family: var(--font-outfit);
    font-weight: 700;
}

.legal-content h2,
.prose.prose-invert h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-top: 48px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .legal-content h2,
    .prose.prose-invert h2 {
        font-size: 32px;
    }
}

.legal-content h3,
.prose.prose-invert h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-top: 32px;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .legal-content h3,
    .prose.prose-invert h3 {
        font-size: 24px;
    }
}

.legal-content p,
.prose.prose-invert p {
    color: var(--color-cream) !important;
    font-family: var(--font-outfit);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .legal-content p,
    .prose.prose-invert p {
        font-size: 18px;
    }
}

.legal-content ul,
.legal-content ol,
.prose.prose-invert ul,
.prose.prose-invert ol {
    color: var(--color-cream) !important;
    font-family: var(--font-outfit);
    font-size: 16px;
    line-height: 1.6;
    padding-left: 24px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .legal-content ul,
    .legal-content ol,
    .prose.prose-invert ul,
    .prose.prose-invert ol {
        font-size: 18px;
    }
}

.legal-content ul {
    list-style-type: disc;
}

.legal-content ol {
    list-style-type: decimal;
}

.legal-content li,
.prose.prose-invert li {
    color: var(--color-cream) !important;
    margin-bottom: 8px;
}

.legal-content a,
.prose.prose-invert a {
    color: var(--color-secondary) !important;
    text-decoration: underline;
    transition: opacity 0.2s;
}

.legal-content a:hover,
.prose.prose-invert a:hover {
    opacity: 0.8;
}

.legal-content strong,
.legal-content b,
.prose.prose-invert strong,
.prose.prose-invert b {
    color: var(--color-light) !important;
    font-weight: 600;
}

/* ============================================
   GUTENBERG BLOCK STYLES
   (For Gutenberg demo page)
   ============================================ */
.gutenberg-content {
    font-family: var(--font-outfit);
}

/* Gutenberg on dark backgrounds */
.bg-primary .gutenberg-content,
.bg-dark .gutenberg-content,
[class*="bg-[#192d2e]"] .gutenberg-content,
[class*="bg-[#152628]"] .gutenberg-content {
    color: var(--color-cream);
}

.bg-primary .gutenberg-content h1,
.bg-primary .gutenberg-content h2,
.bg-primary .gutenberg-content h3,
.bg-primary .gutenberg-content h4,
.bg-primary .gutenberg-content h5,
.bg-primary .gutenberg-content h6,
[class*="bg-[#192d2e]"] .gutenberg-content h1,
[class*="bg-[#192d2e]"] .gutenberg-content h2,
[class*="bg-[#192d2e]"] .gutenberg-content h3,
[class*="bg-[#192d2e]"] .gutenberg-content h4,
[class*="bg-[#192d2e]"] .gutenberg-content h5,
[class*="bg-[#192d2e]"] .gutenberg-content h6 {
    color: var(--color-cream);
}

.bg-primary .gutenberg-content p,
.bg-primary .gutenberg-content li,
[class*="bg-[#192d2e]"] .gutenberg-content p,
[class*="bg-[#192d2e]"] .gutenberg-content li {
    color: var(--color-cream);
}

.bg-primary .gutenberg-content a,
[class*="bg-[#192d2e]"] .gutenberg-content a {
    color: var(--color-secondary);
}

/* Gutenberg specific blocks */
.gutenberg-content .wp-block-heading {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.gutenberg-content .wp-block-paragraph {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.gutenberg-content .wp-block-list {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.gutenberg-content .wp-block-quote {
    border-left: 4px solid var(--color-secondary);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(184, 162, 105, 0.1);
    font-style: italic;
}

.gutenberg-content .wp-block-image {
    margin: 2rem 0;
}

.gutenberg-content .wp-block-image img {
    border-radius: 10px;
}

.gutenberg-content .wp-block-separator {
    border: none;
    border-top: 1px solid rgba(184, 162, 105, 0.3);
    margin: 2rem 0;
}

.gutenberg-content .wp-block-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin: 2rem 0;
}

.gutenberg-content .wp-block-column {
    flex: 1;
    min-width: 250px;
}

.gutenberg-content .wp-block-button__link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.gutenberg-content .wp-block-button__link:hover {
    background: #a69158;
}

.gutenberg-content .wp-block-table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
}

.gutenberg-content .wp-block-table th,
.gutenberg-content .wp-block-table td {
    padding: 12px;
    border: 1px solid rgba(184, 162, 105, 0.3);
    text-align: left;
}

.gutenberg-content .wp-block-table th {
    background: rgba(184, 162, 105, 0.1);
    font-weight: 600;
}

.gutenberg-content .wp-block-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
}

.gutenberg-content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gutenberg-content .wp-block-gallery img {
    border-radius: 10px;
    width: 100%;
    height: auto;
}

/* ============================================
   GUTENBERG DEMO PAGE TEMPLATE
   ============================================ */
.gutenberg-hero {
    position: relative;
    width: 100%;
    min-height: 350px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .gutenberg-hero {
        min-height: 400px;
    }
}

.gutenberg-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.gutenberg-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gutenberg-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #192d2e, rgba(25, 45, 46, 0.6) 50%, rgba(25, 45, 46, 0.8));
}

.gutenberg-hero-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    padding: 80px 16px;
}

@media (min-width: 768px) {
    .gutenberg-hero-content {
        min-height: 400px;
        padding: 112px 64px;
    }
}

.gutenberg-hero-text {
    text-align: center;
    max-width: 768px;
    color: var(--color-light);
}

.gutenberg-hero-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--color-light);
}

@media (min-width: 640px) {
    .gutenberg-hero-title {
        font-size: 48px;
    }
}

@media (min-width: 768px) {
    .gutenberg-hero-title {
        font-size: 56px;
    }
}

.gutenberg-hero-desc {
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-cream);
}

@media (min-width: 768px) {
    .gutenberg-hero-desc {
        font-size: 18px;
    }
}

.gutenberg-breadcrumb {
    background-color: var(--color-primary-dark);
    width: 100%;
    padding: 16px 0;
}

.gutenberg-breadcrumb-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .gutenberg-breadcrumb-inner {
        padding: 0 32px;
    }
}

@media (min-width: 768px) {
    .gutenberg-breadcrumb-inner {
        padding: 0 64px;
    }
}

.breadcrumb-text {
    font-family: var(--font-outfit);
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-cream);
    opacity: 0.5;
}

.breadcrumb-link {
    transition: opacity 0.2s;
}

.breadcrumb-link:hover {
    opacity: 0.8;
}

.breadcrumb-current {
    font-weight: 700;
}

.gutenberg-main {
    background-color: var(--color-primary);
    width: 100%;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .gutenberg-main {
        padding: 96px 0;
    }
}

.gutenberg-main-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .gutenberg-main-inner {
        padding: 0 32px;
    }
}

@media (min-width: 768px) {
    .gutenberg-main-inner {
        padding: 0 64px;
    }
}

.gutenberg-showcase {
    background-color: var(--color-primary-dark);
    width: 100%;
    padding: 64px 0;
}

@media (min-width: 768px) {
    .gutenberg-showcase {
        padding: 96px 0;
    }
}

.gutenberg-showcase-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 640px) {
    .gutenberg-showcase-inner {
        padding: 0 32px;
    }
}

@media (min-width: 768px) {
    .gutenberg-showcase-inner {
        padding: 0 64px;
    }
}

.gutenberg-showcase-header {
    text-align: center;
    margin-bottom: 48px;
}

.gutenberg-showcase-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.2;
    color: var(--color-light);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .gutenberg-showcase-title {
        font-size: 40px;
    }
}

.gutenberg-showcase-desc {
    font-family: var(--font-outfit);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-cream);
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .gutenberg-showcase-desc {
        font-size: 18px;
    }
}

.gutenberg-blocks-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 640px) {
    .gutenberg-blocks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .gutenberg-blocks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.gutenberg-block-card {
    background-color: var(--color-primary);
    border-radius: 15px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.block-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-secondary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.block-icon-svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.block-card-title {
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 18px;
    color: var(--color-light);
    margin-bottom: 8px;
}

.block-card-desc {
    font-family: var(--font-outfit);
    font-size: 14px;
    color: var(--color-cream);
    opacity: 0.8;
}

.gutenberg-edit-cta {
    text-align: center;
    margin-top: 48px;
}

.gutenberg-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    padding: 16px 32px;
    border-radius: 5px;
    font-family: var(--font-outfit);
    font-weight: 700;
    font-size: 16px;
    transition: background-color 0.2s;
}

.gutenberg-edit-btn:hover {
    background-color: #a69158;
}

.edit-btn-icon {
    width: 20px;
    height: 20px;
}

/* ============================================
   GUTENBERG DEMO PAGE - BLOCK SHOWCASE
   Styles for the comprehensive block demo
   ============================================ */

/* Reset any inherited backgrounds on headings */
.gutenberg-content h1,
.gutenberg-content h2,
.gutenberg-content h3,
.gutenberg-content h4,
.gutenberg-content h5,
.gutenberg-content h6 {
    background: none !important;
    color: var(--color-cream) !important;
    font-family: var(--font-outfit);
    margin-bottom: 1rem;
}

/* Fix mark element */
.gutenberg-content mark {
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 2px 6px;
    border-radius: 3px;
}

/* Pullquote styling */
.gutenberg-content .wp-block-pullquote {
    border-top: 4px solid var(--color-secondary);
    border-bottom: 4px solid var(--color-secondary);
    padding: 2rem 0;
    margin: 2rem 0;
    text-align: center;
}

.gutenberg-content .wp-block-pullquote blockquote p,
.gutenberg-content .wp-block-pullquote p {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-cream) !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

.gutenberg-content .wp-block-pullquote cite {
    color: var(--color-secondary) !important;
    font-size: 1rem;
    display: block;
    margin-top: 1rem;
}

/* Cover block */
.gutenberg-content .wp-block-cover {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.gutenberg-content .wp-block-cover__background {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.gutenberg-content .wp-block-cover__inner-container {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
}

.gutenberg-content .wp-block-cover__inner-container h2,
.gutenberg-content .wp-block-cover__inner-container p {
    color: #fff !important;
}

/* Media & Text block */
.gutenberg-content .wp-block-media-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

@media (max-width: 768px) {
    .gutenberg-content .wp-block-media-text {
        grid-template-columns: 1fr;
    }
}

.gutenberg-content .wp-block-media-text__media img {
    border-radius: 10px;
    width: 100%;
}

/* Details/Accordion block */
.gutenberg-content details.wp-block-details {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.gutenberg-content details.wp-block-details summary {
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--color-cream);
    transition: background 0.2s;
}

.gutenberg-content details.wp-block-details summary:hover {
    background: rgba(184,162,105,0.1);
}

.gutenberg-content details.wp-block-details[open] summary {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gutenberg-content details.wp-block-details p {
    padding: 1rem 1.5rem;
    margin: 0;
}

/* Social links */
.gutenberg-content .wp-block-social-links {
    display: flex;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.gutenberg-content .wp-social-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-secondary);
    border-radius: 50%;
    color: var(--color-primary);
    transition: transform 0.2s;
}

.gutenberg-content .wp-social-link a:hover {
    transform: scale(1.1);
}

/* File block */
.gutenberg-content .wp-block-file {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
}

.gutenberg-content .wp-block-file__button {
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 8px 16px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
}

/* Latest posts */
.gutenberg-content .wp-block-latest-posts {
    list-style: none;
    padding: 0;
}

.gutenberg-content .wp-block-latest-posts li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gutenberg-content .wp-block-latest-posts li a {
    color: var(--color-cream);
    font-weight: 600;
    text-decoration: none;
}

.gutenberg-content .wp-block-latest-posts li a:hover {
    color: var(--color-secondary);
}

.gutenberg-content .wp-block-latest-posts time {
    display: block;
    font-size: 0.875rem;
    color: var(--color-cream);
    opacity: 0.6;
    margin-top: 4px;
}

/* Search block */
.gutenberg-content .wp-block-search {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.gutenberg-content .wp-block-search__label {
    width: 100%;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gutenberg-content .wp-block-search__inside-wrapper {
    display: flex;
    flex: 1;
    gap: 0.5rem;
}

.gutenberg-content .wp-block-search__input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    color: var(--color-cream);
    font-size: 16px;
}

.gutenberg-content .wp-block-search__input::placeholder {
    color: rgba(245,242,235,0.5);
}

.gutenberg-content .wp-block-search__button {
    background: var(--color-secondary);
    color: var(--color-primary);
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

/* Categories */
.gutenberg-content .wp-block-categories {
    list-style: none;
    padding: 0;
}

.gutenberg-content .wp-block-categories li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.gutenberg-content .wp-block-categories li a {
    color: var(--color-cream);
    text-decoration: none;
}

.gutenberg-content .wp-block-categories li a:hover {
    color: var(--color-secondary);
}

/* Tag cloud */
.gutenberg-content .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gutenberg-content .wp-block-tag-cloud a {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    color: var(--color-cream);
    text-decoration: none;
    transition: all 0.2s;
}

.gutenberg-content .wp-block-tag-cloud a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* Verse */
.gutenberg-content .wp-block-verse {
    font-family: Georgia, serif;
    font-style: italic;
    padding: 1.5rem;
    background: rgba(184,162,105,0.1);
    border-left: 4px solid var(--color-secondary);
    white-space: pre-wrap;
}

/* Footnotes */
.gutenberg-content .wp-block-footnotes {
    font-size: 0.875rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    margin-top: 2rem;
}

/* Preformatted */
.gutenberg-content pre.wp-block-preformatted {
    background: rgba(0,0,0,0.3);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    font-family: 'Monaco', 'Consolas', monospace;
    font-size: 14px;
    color: var(--color-cream);
}

/* Separator styles */
.gutenberg-content .wp-block-separator.is-style-wide {
    width: 100%;
    border-top-width: 2px;
}

.gutenberg-content .wp-block-separator.is-style-dots {
    border: none;
    text-align: center;
}

.gutenberg-content .wp-block-separator.is-style-dots::before {
    content: '···';
    font-size: 24px;
    letter-spacing: 1em;
    color: var(--color-secondary);
}

/* Outline button style */
.gutenberg-content .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
}

.gutenberg-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
}

/* Full width button */
.gutenberg-content .wp-block-button.wp-block-button__width-100 {
    width: 100%;
}

.gutenberg-content .wp-block-button.wp-block-button__width-100 .wp-block-button__link {
    width: 100%;
    text-align: center;
}

/* Buttons container */
.gutenberg-content .wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}

/* Video placeholder */
.gutenberg-content .wp-block-video .aspect-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

/* Embed blocks */
.gutenberg-content .wp-block-embed__wrapper {
    margin: 1rem 0;
}

.gutenberg-content .wp-block-embed figcaption {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-cream);
    opacity: 0.7;
    margin-top: 0.5rem;
}
