/* --- 1. THE HERITAGE PALETTE --- */
:root {
    --bg-parchment: #f9f7f2;      
    --sage-muted: #f07ac8;        
    --blue-french: #8fa6b2;       
    --pink-shell: #f2e4e1;        
    --text-olive: #343a35;        
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    color: var(--text-olive);
    background-color: var(--bg-parchment);
    line-height: 1.8;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; }
.bg-soft { background-color: #f4f2ee; }
.text-center { text-align: center; }

/* --- 2. NAVIGATION (Fixed Alignment & Style) --- */
.navbar {
    height: 100px;
    display: flex;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2000;
}

.navbar.scrolled {
    background: rgba(249, 247, 242, 0.98);
    height: 80px;
    border-bottom: 1px solid var(--pink-shell);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { font-size: 1.5rem; text-transform: uppercase; letter-spacing: 2px; font-family: var(--font-serif); }
.logo span { color: var(--sage-muted); font-style: italic; }

.nav-menu { display: flex; gap: 2.5rem; list-style: none; align-items: center; margin: 0; padding: 0; }

.nav-link { 
    color: var(--text-olive) !important; 
    text-decoration: none !important; 
    font-size: 0.8rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
}

.btn-nav {
    border: 1px solid var(--sage-muted);
    padding: 0.6rem 1.5rem;
    transition: 0.3s;
}

.mobile-nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.mobile-nav-toggle .bar { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--text-olive); }

/* --- 3. THE HERO (Fixed Button) --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1520523839897-bd0b52f945a0?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(249, 247, 242, 1) 0%, rgba(249, 247, 242, 1) 35%, rgba(249, 247, 242, 0.8) 50%, rgba(249, 247, 242, 0) 100%);
}

.hero-container { position: relative; z-index: 2; width: 100%; }
.heritage-frame { max-width: 650px; }
.hero-title { font-size: 4.5rem; line-height: 1.05; margin-bottom: 2rem; color: var(--text-olive); }
.hero-subtitle { font-size: 1.2rem; font-weight: 700; margin-bottom: 1.5rem; }
.instructor-line { display: block; margin-top: 0.5rem; color: var(--sage-muted); font-style: italic; font-size: 1.2rem; }
.hero-author { display: flex; align-items: center; margin-bottom: 3rem; color: var(--blue-french); letter-spacing: 2px; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; }
.crest-line { height: 1px; width: 40px; background: var(--sage-muted); margin-right: 15px; }

/* THE HERO BUTTON FIX */
.btn-hero {
    background-color: var(--sage-muted) !important;
    color: white !important;
    text-decoration: none !important;
    padding: 1.2rem 3rem;
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-hero:hover { background-color: var(--blue-french) !important; transform: translateY(-3px); }

/* --- 4. SECTIONS & GRID (Fixed Square Tiles) --- */
.section { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.about-grid.reverse { direction: rtl; }
.about-grid.reverse .about-text { direction: ltr; }

.about-image { width: 100%; border-radius: 2px; box-shadow: 0 20px 50px rgba(0,0,0,0.03); }
.about-image-wrapper { position: relative; }
.image-frame-accent { position: absolute; top: 25px; right: -15px; bottom: -15px; left: 25px; border: 1px solid var(--blue-french); z-index: -1; opacity: 0.5; }

.academic-statement { margin-bottom: 30px; border-bottom: 1px solid var(--pink-shell); padding-bottom: 20px; }

.expertise-list { list-style: none; margin-top: 2rem; }
.expertise-list li { margin-bottom: 12px; font-weight: 600; color: var(--sage-muted); position: relative; padding-left: 25px; }
.expertise-list li::before { content: "•"; position: absolute; left: 0; color: var(--blue-french); }

.lesson-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-top: 4rem; }
.lesson-card { background: white; padding: 3.5rem 2rem; border: 1px solid #f0f0f0; transition: 0.3s; height: 100%; }
.lesson-card:hover { border-color: var(--sage-muted); transform: translateY(-5px); }
.card-icon { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--blue-french); display: block; }
.lesson-card h3 { text-transform: uppercase; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1rem; }
.lesson-card { 
    background: white; 
    padding: 3.5rem 2rem; 
    border: 1px solid #f0f0f0; 
    transition: 0.3s; 
    height: 100%; 
    cursor: pointer; /* <--- ADD THIS LINE HERE */
}

.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4rem; }
.testimonial-item { background: white; padding: 3rem; border-radius: 4px; }
.testimonial-author { display: block; margin-top: 20px; font-weight: 800; color: var(--sage-muted); text-transform: uppercase; font-size: 0.75rem; }

/* --- 5. CONTACT & FORM (Fixed Style) --- */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }

.shadow-box { 
    background: white; 
    padding: 40px; 
    box-shadow: 0 30px 60px rgba(0,0,0,0.05); /* Professional Soft Shadow */
    border-radius: 4px; 
}

.premium-form { display: flex; flex-direction: column; gap: 1.5rem; }
.premium-form input, .premium-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--blue-french);
    padding: 1rem 0;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-olive);
}

.btn-form {
    background-color: var(--sage-muted) !important;
    color: white !important;
    border: none;
    padding: 1.2rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-form:hover { background-color: var(--blue-french) !important; }

/* --- 6. FOOTER & MOBILE --- */
footer { padding: 80px 0; border-top: 1px solid var(--pink-shell); }
.instagram-link { display: inline-block; margin-top: 20px; color: var(--blue-french); font-weight: 700; text-decoration: none; }

@media (max-width: 968px) {
    .hero-title { font-size: 3rem; }
    .about-grid, .contact-container, .testimonial-grid { grid-template-columns: 1fr; }
    .about-grid.reverse { direction: ltr; }
    
    .mobile-nav-toggle { display: block; }
    .nav-menu {
        position: fixed;
        left: -100%; top: 100px;
        flex-direction: column;
        background: var(--bg-parchment);
        width: 100%; padding: 40px 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
        transition: 0.4s;
    }
    .nav-menu.active { left: 0; }
}