/* -----------------------------------
   BASE
----------------------------------- */
body {
    margin: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    background-color: #1F2A22;
    color: #E3D9C8;
    line-height: 1.45;
}

:root {
    --cream: #E3D9C8;
    --green-dark: #1F2A22;
    --green-deep: #2E3D32;
}

/* -----------------------------------
   LOGO SIZING
----------------------------------- */
.logo {
    height: 60px;
    width: auto;
}

.biglogo {
    display: block;
    margin: 0 auto;
}

/* -----------------------------------
   FIXED NAVIGATION
----------------------------------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background-color: var(--green-deep);
    z-index: 2000;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* -----------------------------------
   HAMBURGER BUTTON
----------------------------------- */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--cream);
    border-radius: 3px;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* -----------------------------------
   OVERLAY
----------------------------------- */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1500;
}

#overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* -----------------------------------
   FULL-SCREEN MENU
----------------------------------- */
.full-menu {
    position: fixed;
    top: 0;
    left: 0;              /* anchor to left */
    width: 100vw;         /* EXACT viewport width */
    height: 100vh;
    background-color: var(--green-deep);
    color: var(--cream);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transform: translateX(100%); /* fully hidden to the RIGHT */
    transition: transform 0.35s ease;
    z-index: 2000;
}

.full-menu.active {
    transform: translateX(0); /* slide in perfectly */
}


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

.close-menu {
    background: none;
    border: none;
    font-size: 2.2rem;
    color: var(--cream);
    cursor: pointer;
}

.menu-links {
    list-style: none;
    padding: 0;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.menu-links a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 500;
}

.menu-links a.cta {
    background-color: var(--cream);
    color: var(--green-deep);
    padding: 10px 14px;
    border-radius: 4px;
    font-weight: 600;
}

.menu-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-footer p {
    font-weight: 700;
    margin-bottom: 6px;
}

.menu-footer a {
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
}

/* -----------------------------------
   HERO (HOME PAGE)
----------------------------------- */
.hero {
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
    padding: 160px 20px 80px; /* accounts for fixed nav */
    text-align: center;
}

.hero-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero img.biglogo {
    height: 280px;
    width: auto;
    margin-bottom: 30px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* -----------------------------------
   PAGE HERO (ABOUT, SERVICES, ETC.)
----------------------------------- */
.page-hero {
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
    padding: 160px 20px 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
    line-height: 1.6;
}

/* -----------------------------------
   CONTENT SECTIONS
----------------------------------- */
.about-section,
.services,
.content,
.wwd-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
    line-height: 1.7;
}

/* Founder photo */
.founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 30px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -----------------------------------
   CTA SECTION
----------------------------------- */
.cta-section {
    background: var(--green-deep);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.cta-section p {
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.cta-section a {
    background: var(--cream);
    color: var(--green-deep);
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}

/* -----------------------------------
   FOOTER
----------------------------------- */
footer {
    text-align: center;
    padding: 20px;
    background-color: var(--green-dark);
    color: var(--cream);
    margin-top: 60px;
}

/* -----------------------------------
   MOBILE
----------------------------------- */
@media (max-width: 768px) {

    .hero img.biglogo {
        height: 200px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .hero p,
    .page-hero p {
        font-size: 1.1rem;
    }

    .logo {
        height: 48px;
    }
}
.full-panel {
    width: 100%;
    padding: 80px 0;
}

.full-panel.cream {
    background: var(--cream);
    color: var(--green-deep);
}

.full-panel.dark {
    background: var(--green-dark);
    color: var(--cream);
}

.inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.panel-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.panel-flex.reverse {
    flex-direction: row-reverse;
}

.panel-text {
    flex: 1;
    min-width: 280px;
}

.panel-image {
    flex: 1;
    min-width: 280px;
}

.panel-image img {
    width: 100%;
    border-radius: 12px;
}

.menu-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.menu-header img.logo {
    height: 48px; /* prevents logo from pushing X off-screen */
}

.close-menu {
    background: none;
    border: none;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--cream);
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0; /* prevents it from disappearing */
}

.menu-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible;
    padding: 0 10px;
    box-sizing: border-box;
}

.menu-header img.logo {
    height: 48px;
    width: auto;
    flex-shrink: 0;
}

.close-menu {
    background: none;
    border: none;
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--cream);
    cursor: pointer;
    line-height: 1;
    flex-shrink: 0;
    margin-right: 24px; /* <-- the magic fix */
}

/* -----------------------------------
   DESKTOP LEFT-SIDE DRAWER MENU
----------------------------------- */
@media (min-width: 768px) {

    .full-menu {
        left: 0;
        right: auto;
        width: 10vw; /* 40% of screen */
        transform: translateX(-100%); /* hide to the left */
        padding: 40px;
        border-right: 1px solid rgba(255,255,255,0.1);
    }

    .full-menu.active {
        transform: translateX(0); /* slide in */
    }

    /* Optional: remove overlay on desktop */
    #overlay {
        display: none;
    }

    /* Make sure header elements fit nicely */
    .menu-header img.logo {
        height: 60px;
    }

    .close-menu {
        margin-right: 0;
        margin-left: auto; /* push X to the right inside the drawer */
    }
}

/* -------------------------------------------------
   MOBILE FORM OPTIMIZATION (Contact + Class pages)
   Soft cream card, rounded corners, compact spacing
-------------------------------------------------- */
@media (max-width: 600px) {

    /* Form container card */
    .contact-section form,
    .class-section form {
        background: var(--cream);
        border-radius: 14px;
        padding: 1.6rem 1.2rem;
        max-width: 92%;
        margin: 0 auto;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        box-sizing: border-box;
    }

    /* Labels */
    .contact-section label,
    .class-section label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        color: var(--green-deep);
        display: block;
    }

    /* Inputs + Textareas */
    .contact-section input,
    .contact-section textarea,
    .class-section input,
    .class-section textarea {
        width: 100%;
        padding: 0.65rem 0.75rem;
        font-size: 1rem;
        border-radius: 10px;
        border: 1px solid rgba(0,0,0,0.15);
        background: #fff;
        box-sizing: border-box;
        margin-bottom: 1rem;
    }

    .contact-section textarea,
    .class-section textarea {
        min-height: 120px;
    }

    /* Collapse two-column rows (if used) */
    .form-row {
        flex-direction: column;
        gap: 0.7rem;
    }

    /* Submit button */
    .contact-section button,
    .class-section button {
        width: 100%;
        padding: 0.9rem;
        font-size: 1.05rem;
        border-radius: 10px;
        margin-top: 0.5rem;
    }
}