:root {
    --primary: #D4AF37;
    /* Updated Gold/Mustard */
    --primary-dark: #B8860B;
    /* Darker Gold */
    --secondary: #FFFBD1;
    /* Updated Light Yellow/Cream */
    --accent: #C19E15;
    /* Accent Gold */
    --text-color: #3E3832;
    /* Updated Dark Coffee/Gray */
    --text-light: #7A726A;
    /* Softer dark gray */
    /* Vivid & Ludic Palette Extension */
    --sky-blue: #E1F5FE;
    --sky-blue-vivid: #A7E6FF;
    --coral-soft: #FFF1F0;
    --mint-soft: #E8F5E9;
    --white: #FFFFFF;
    --bg-light: #FFFDEA;
    /* Soft background */
    --shadow: 0 10px 40px rgba(184, 134, 11, 0.1);
    /* Golden shadow */
    --font-accent: 'Gochi Hand', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-script: 'Great Vibes', cursive;
    --font-body: 'Quicksand', sans-serif;
    --font-heading: 'Grandstander', cursive;

    /* Premium 3D Effects */
    --shadow-3d: 0 10px 25px rgba(184, 134, 11, 0.15), 0 4px 10px rgba(0, 0, 0, 0.05);
    --shadow-button: 0 8px 15px rgba(184, 134, 11, 0.2);
    --shadow-inset: inset 2px 2px 5px rgba(255, 255, 255, 0.5), inset -2px -2px 5px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--accent);
}

.handwritten-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--accent);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 30px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.highlight {
    background: linear-gradient(120deg, var(--secondary) 0%, var(--secondary) 100%);
    background-repeat: no-repeat;
    background-size: 100% 0.3em;
    background-position: 0 88%;
}

.text-center {
    text-align: center;
}

/* Header / Navbar */
.main-header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.4s ease;
}

/* Glassmorphism Effect on Scroll */
.main-header.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.logo img {
    height: 90px;
    transition: all 0.4s ease;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.main-header.scrolled .logo img {
    height: 70px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    /* Readability boost */
}

.main-nav a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 3000;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-cta-btn {
    background: var(--primary);
    color: white !important;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: 0 6px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-cta-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.4);
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(255, 253, 234, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 2500;
    }

    .nav-open .main-nav {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.8rem;
        font-family: var(--font-heading);
    }
}

/* Hero Section styling remains in the Layered Architecture section at the bottom of the file */


.subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 35px;
    font-weight: 500;
}

.btn-hero-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.btn-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 1024px) {
    .hero-container {
        justify-content: center;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
        background: rgba(255, 255, 234, 0.7);
        padding: 30px 20px;
        margin: 0 15px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
    background: var(--primary-dark);
    color: white;
}

/* Sections Global */
section {
    padding: 100px 0;
}

.section-lemon {
    background-color: var(--secondary);
}

/* Card Style */
.card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    padding: 30px;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

/* Situations Section */
.situations {
    background-color: var(--white);
    padding: 100px 0;
}

.situations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.situation-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--accent);
}

/* Refined Ludic Cards for Situations */
.situation-card {
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(15px) saturate(160%);
    -webkit-backdrop-filter: blur(15px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

/* Individual card shapes (keeping the playful radius but with glass effect) */
.situation-card:nth-child(1) {
    border-radius: 35px 55px 30px 50px;
}

.situation-card:nth-child(2) {
    border-radius: 55px 35px 50px 30px;
}

.situation-card:nth-child(3) {
    border-radius: 40px 50px 35px 55px;
}

.situation-card:nth-child(4) {
    border-radius: 30px 45px 55px 40px;
}

.situation-card:hover {
    transform: translateY(-10px) rotate(1deg);
    /* Playful tilt */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
}

.pain-footer {
    margin-top: 40px;
}

.handwritten-small {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--accent);
    margin-top: 20px;
}

/* Fluffy Cloud Separator */
.cloud-separator {
    width: 100%;
    line-height: 0;
    position: relative;
    z-index: 100;
    /* Ensure it stays on top */
    margin-top: -120px;
    /* Pull up significantly to overlap hero */
    margin-bottom: -20px;
    /* Offset to prevent gap */
}

.cloud-separator svg {
    display: block;
    width: 100%;
    height: 150px;
    /* Taller for more fluffiness */
}

.cloud-path {
    fill: var(--white);
}

.section-sky {
    background-color: var(--sky-blue);
}

.section-coral {
    background-color: var(--coral-soft);
}

.section-mint {
    background-color: var(--mint-soft);
}

/* Floating Doodles */
.floating-doodle {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.doodle-1 {
    top: 10%;
    left: 5%;
    width: 150px;
    animation-delay: 0s;
}

.doodle-2 {
    top: 40%;
    right: 5%;
    width: 200px;
    animation-delay: 2s;
}

.doodle-3 {
    bottom: 20%;
    left: 8%;
    width: 120px;
    animation-delay: 4s;
}

.doodle-4 {
    top: 70%;
    right: 10%;
    width: 180px;
    animation-duration: 12s;
}

/* Refined Cards with Pop effect */
.card {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

/* About Section Redesign (Premium & Ludic) */
.about {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    opacity: 0.5;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-photo-container {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Organic Blob Background for Photo */
.about-photo-bg {
    position: relative;
    padding: 30px;
}

.about-photo-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: var(--secondary);
    z-index: -1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blobMorph 12s linear infinite alternate;
}

@keyframes blobMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
    }
}

.about-photo {
    width: 100%;
    max-width: 420px;
    display: block;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-photo:hover {
    transform: scale(1.02) rotate(-1deg);
}

.photo-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 15px;
    z-index: 10;
}

.about-text h2 {
    margin-bottom: 40px;
    text-align: left;
}

.about-text p {
    margin-bottom: 22px;
    font-size: 1.15rem;
    color: var(--text-color);
    line-height: 1.7;
}

/* Enhanced Citation Card (Glass Effect) */
.citation-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    padding: 45px;
    border-radius: 50px;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.05);
    margin-top: 45px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.citation-card::before {
    content: '“';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 6rem;
    color: var(--primary);
    opacity: 0.1;
    font-family: serif;
}

.italic-quote {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.gold-text {
    color: var(--primary);
    font-weight: 700;
}

.citation-card cite {
    display: block;
    text-align: right;
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: 700;
    font-style: normal;
}

/* How I Help Grid */
.how-i-help {
    position: relative;
    overflow: hidden;
}

.section-bg-illustration {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.bg-brain {
    position: absolute;
    top: 0;
    right: -80px;
    width: 450px;
    opacity: 0.12;
    transform: rotate(5deg);
}

.relative-container {
    position: relative;
    z-index: 2;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.help-item {
    text-align: center;
    padding: 20px;
}

.help-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.help-item h3 {
    margin-bottom: 15px;
}

/* Areas of Attention Redesign (Glassmorphism) */
.areas-of-attention {
    position: relative;
    padding: 140px 0;
    background-image: url('images/bg-areas-ludic.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
}

.areas-of-attention::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 241, 240, 0.88);
    /* Soft coral-soft background */
    z-index: 1;
}

.areas-of-attention .container {
    position: relative;
    z-index: 2;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Fixed 3 columns on desktop for balance */
    gap: 30px;
    margin-bottom: 60px;
}

.area-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 50px 30px;
    border-radius: 50px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.area-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 1);
}

.area-card .area-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.1));
}

.area-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--accent);
}

.area-card p {
    font-size: 1.05rem;
    color: var(--text-color);
    line-height: 1.5;
}

/* Individual accent colors for glass cards (subtle border indicator) */
.card-tea {
    border-bottom: 6px solid #4FC3F7;
}

.card-tdah {
    border-bottom: 6px solid #FFB74D;
}

.card-tda {
    border-bottom: 6px solid #81C784;
}

.card-discalculia {
    border-bottom: 6px solid #FF8A65;
}

.card-dislexia {
    border-bottom: 6px solid #9575CD;
}

.card-rainbow {
    border-bottom: 6px solid var(--accent);
}

@media (max-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

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

    .areas-of-attention {
        background-attachment: scroll;
        padding: 80px 0;
    }
}

.kids-illustration-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.kids-illustration {
    width: 100%;
    max-width: 400px;
    opacity: 0.8;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    padding: 40px 30px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-card cite {
    font-weight: 700;
    color: var(--accent);
}

/* Final CTA Redesign */
.final-cta {
    padding: 120px 0;
    background-color: var(--bg-light);
}

.cta-portrait-wrapper {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.cta-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.btn-cta-whatsapp {
    background: var(--primary);
    padding: 20px 60px;
    margin: 40px 0;
}

.footer-mini-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Footer Dark Theme */
.main-footer {
    background-color: #3E3832;
    color: white;
    padding: 60px 0;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 30px;
}

.copyright {
    opacity: 0.6;
    font-size: 0.9rem;
}

/* Sticky WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 2000;
    transition: scale 0.3s;
}

.whatsapp-btn:hover {
    scale: 1.1;
}

.whatsapp-btn svg {
    width: 35px;
    height: 35px;
}

/* Reflective Mural Section (Fixed Background) */
.reflective-mural {
    position: relative;
    padding: 160px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-image: url('images/mural-estudo.png');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.reflective-mural::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.reflective-mural .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

/* Hero Section (Premium Typographic Architecture) */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: var(--secondary);
    overflow: hidden;
}

/* Layer 1: Background */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-bg-single {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: kenBurns 45s ease-in-out infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08) translate(-1%, -0.5%); }
}

/* Layer 2: Massive Interlaced Text (Behind Portrait) */
.hero-huge-background-title {
    position: absolute;
    top: 30%; /* Move higher */
    left: 48%; /* Slight offset */
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(5rem, 16vw, 15rem);
    line-height: 0.8;
    color: rgba(62, 56, 50, 0.02); /* Almost invisible for texture only */
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -0.04em;
    white-space: nowrap;
    user-select: none;
}

.hero-huge-background-title .text-color-accent {
    color: var(--primary);
    opacity: 0.05; /* Very subtle */
}

/* Layer 3: Central Portrait Layer */
.hero-portrait-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 20; 
    pointer-events: none;
    opacity: 0.95;
}

.hero-portrait-fixed {
    max-height: 85%;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 80px rgba(0,0,0,0.15));
    animation: portraitFadeIn 2.5s ease-out;
}

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

/* Layer 4: Premium Typography Composition (Repositioned) */
.hero-container-foreground {
    position: relative;
    z-index: 30; 
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    height: 100%;
}

.hero-typography-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Align left for balance */
    text-align: left;
    pointer-events: auto;
    width: 100%;
    max-width: 500px;
    margin-right: auto; /* Push to the left */
    transform: translateY(-80px); /* Move higher up */
}

.hero-headline-top {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--primary-dark);
    margin-bottom: -1rem; 
    font-weight: 700;
    font-style: italic;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1);
}

.hero-headline-main {
    font-family: var(--font-script);
    font-size: clamp(5rem, 12vw, 10rem);
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0;
    text-shadow: 0 0 40px rgba(255, 255, 255, 1), 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }

    .hero-headline-top {
        font-size: 2rem;
        margin-bottom: -1rem;
    }

    .hero-headline-main {
        font-size: 5rem;
        margin-bottom: 1.5rem;
    }

    .hero-portrait-fixed {
        max-height: 55%;
    }

    .hero-headline-box {
        padding: 10px 20px;
    }
}


.glass-box {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 60px 40px;
    border-radius: 40px;
    max-width: 800px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.reflective-mural .handwritten-title {
    color: var(--text-color);
    text-shadow: none;
    margin-bottom: 20px;
}

.mural-quote {
    font-family: var(--font-accent);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.4;
    font-style: italic;
}

.mural-subtext {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 700;
    opacity: 0.9;
    font-family: var(--font-body);
}

@media (max-width: 1024px) {
    .reflective-mural {
        background-attachment: scroll;
        /* Better performance on mobile */
        padding: 100px 0;
        min-height: auto;
    }

    .glass-box {
        padding: 40px 25px;
        margin: 0 15px;
    }

    .mural-quote {
        font-size: 1.6rem;
    }
}

/* Mobile Adjustments */
@media (max-width: 1024px) {
    .hero {
        min-height: 90vh;
        padding-top: 80px;
    }

    .hero-huge-background-title {
        font-size: clamp(3rem, 18vw, 6rem);
        top: 30%;
        display: flex;
        flex-direction: column;
        gap: 0.2em;
        line-height: 1;
        white-space: normal;
    }

    .hero-huge-background-title span {
        display: block;
    }

    .hero-headline-top {
        font-size: 1.5rem;
        margin-bottom: -0.5rem;
    }

    .hero-headline-main {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .hero-portrait-fixed {
        max-height: 60%;
    }
}

/* Stop scrolling when menu is open */
body.nav-open {
    overflow: hidden;
}