/* --- VARIABLES --- */
:root {
    --primary-green: #9fcfa6;
    --dark-green: #0d1f12; 
    --bg-body: #ffffff; 
    --bg-offwhite: #f9f9f9;
    --bg-event: #dbece0;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    
    --font-display: 'Aboreto', cursive;
    --font-body: 'DM Sans', sans-serif;
    
    --hero-padding: 2vw; 
    --container-max: 1800px;
}

/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html.lenis { height: auto; } 
.lenis.lenis-smooth { scroll-behavior: auto; } 
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; } 
.lenis.lenis-stopped { overflow: hidden; } 
.lenis.lenis-scrolling iframe { pointer-events: none; } 

body {
    background-color: var(--bg-body);
    font-family: var(--font-body);
    color: var(--text-dark);
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { display: block; width: 100%; height: auto; object-fit: cover; }

/* --- ANIMATION UTILITIES --- */
.reveal-text { opacity: 0; transform: translateY(30px); }

/* PARALLAX WRAPPERS */
.img-overflow-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.parallax-img {
    width: 100%;
    height: 120%;
    object-fit: cover;
    position: absolute;
    top: -10%;
    left: 0;
    will-change: transform;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 1.5rem; color: var(--dark-green); }
h3 { font-size: 1.1rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1rem; color: var(--dark-green); }
p { line-height: 1.6; margin-bottom: 1.5rem; color: #444; max-width: 800px; }

/* --- BUTTONS --- */
.btn-pill {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-align: center;
    max-width: 250px;
}

.btn-outline { border: 1px solid rgba(255,255,255,0.6); color: var(--text-light); background: transparent; }
.btn-outline:hover { background: var(--text-light); color: var(--dark-green); }

.btn-solid { background: var(--primary-green); color: var(--dark-green); border: 1px solid var(--primary-green); }
.btn-solid:hover { background: #fff; border-color: #fff; }

.btn-dark { background: var(--dark-green); color: var(--text-light); }
.btn-dark:hover { background: #333; }

/* --- LAYOUT --- */
.frame-wrapper {
    margin: var(--hero-padding);
    width: calc(100% - (var(--hero-padding) * 2));
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

/* --- VIOLIN LINES --- */
.lines-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: var(--container-max);
    height: 100%; 
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 1; 
}

.line {
    width: 1px;
    height: 0%;
    background: rgba(0, 0, 0, 0.1); 
}

.lines-hero-segment {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 90vh;
    display: flex; justify-content: space-between;
    z-index: 5; pointer-events: none;
}
.lines-hero-segment .line { background: rgba(255, 255, 255, 0.15); height: 0%; }

/* --- GRID UTILITY --- */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0rem;
    position: relative;
    z-index: 10;
}
.section-padding { padding: 6rem 0; }

/* --- HEADER --- */
header {
    position: absolute; top: 0; left: 0; width: 100%; padding: 2rem;
    z-index: 50; display: flex; justify-content: space-between; align-items: flex-start;
}

.menu-btn {
    background: var(--primary-green); color: var(--dark-green);
    padding: 10px 24px; border-radius: 50px; font-weight: 700; font-size: 0.8rem;
    text-transform: uppercase; letter-spacing: 1px; cursor: pointer;
    display: flex; align-items: center; gap: 8px; transition: transform 0.3s;
}
.menu-btn:hover { transform: scale(1.05); }

.logo-container {
    position: absolute; left: 50%; top: 0; transform: translateX(-50%);
    background: var(--primary-green); padding: 1.5rem 2rem; text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); z-index: 60;
}
.logo-text { font-family: var(--font-display); font-size: 1.8rem; color: var(--dark-green); line-height: 1; display: block; }
.logo-sub { font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 2px; color: var(--dark-green); margin-top: 5px; display: block; }
.header-right { display: flex; gap: 1rem; }

/* --- HERO --- */
/* --- HERO --- */
.hero {
    position: relative; 
    height: 90vh; 
    min-height: 600px;
    background-size: cover; 
    background-position: center;
    overflow: hidden; 
    display: flex; 
    align-items: flex-end; 
    padding-bottom: 6rem;
    border-radius: 40px;
    /* Remove the linear-gradient from here, we will handle it in the overlay now */
}

/* New Video Styles */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Behind content */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the area without stretching */
}

/* Dark Overlay (Moved from inline style to class) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    z-index: 1; /* On top of video, behind text */
}

/* Ensure content sits on top */
.hero-content, .lines-hero-segment {
    z-index: 10; 
}

.hero-content { position: relative; z-index: 20; padding-left: 4rem; width: 100%; color: #fff; }
.hero h1 span.accent { color: var(--primary-green); }
.hero h1 span { display: inline-block; }
.hero-sub { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; opacity: 0.9; color: #fff; }
.hero-btns { margin-top: 2rem; display: flex; gap: 1rem; }

/* --- SERVICES --- */
.services-section { padding: 4rem 0; text-align: center; }
.service-box { text-align: center; padding: 0 1rem; opacity: 0; transform: translateY(20px); }
.service-icon {
    font-size: 1.5rem; color: var(--dark-green); margin-bottom: 1rem;
    display: inline-block; background: #eef5ef; width: 50px; height: 50px;
    line-height: 50px; border-radius: 50%;
}
.service-link { font-size: 0.85rem; text-decoration: underline; font-weight: 600; }
.svc-1 { grid-column: 1; } .svc-2 { grid-column: 2; margin-top: 3rem;} .svc-3 { grid-column: 3; margin-top: 6rem;}

.absolute.background-right { background: #dbece0; width: 100%; height: 100%; position: absolute; top: 0; right: -50%; }
.absolute.background-left { background: #dbece0; width: 100%; height: 100%; position: absolute; top: 0; left: -50%; }

/* --- WELCOME --- */
.welcome-section { background: var(--bg-body); }
.welcome-img-col { grid-column: 1; height: 600px; } 
.welcome-txt-col { grid-column: 2 / span 2; padding: 2rem 0 2rem 4rem; display: flex; flex-direction: column; justify-content: center; }

/* --- LESSONS --- */
.lessons-txt-col { grid-column: 1 / span 2; padding: 2rem 4rem 2rem 0; display: flex; flex-direction: column; justify-content: center; }
.lessons-img-col { grid-column: 3 / span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.stagger-img-2 { margin-top: 4rem; }
.parallax-rect { width: 100%; height: 350px; display: block; overflow: hidden; position: relative; }

.feature-list li { display: flex; align-items: center; margin-bottom: 1rem; font-weight: 500; }
.check-icon { margin-right: 10px; color: var(--primary-green); border: 1px solid var(--dark-green); border-radius: 50%; width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; font-size: 12px;}

/* --- COMMISSION --- */
.commission-section { background: var(--bg-body); }
.comm-img-col { grid-column: 1; height: 500px; }
.comm-txt-col { grid-column: 2 / span 2; padding: 2rem 0 2rem 4rem; display: flex; flex-direction: column; justify-content: center; }

/* --- EVENTS --- */
.events-section { background-color: var(--bg-event); position: relative;}
.events-txt-col { grid-column: 1 / span 2; padding: 2rem 4rem 2rem 0; display: flex; flex-direction: column; justify-content: center; }
.events-img-col { grid-column: 3 / span 2; height: 500px; }
.event-note { padding: 1rem; margin-bottom: 1.5rem; background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' stroke='black' stroke-width='3' stroke-dasharray='2%2c 8' stroke-dashoffset='0' stroke-linecap='butt'/%3e%3c/svg%3e"); max-width: 800px; border-radius: 10px;}

/* --- COCOA & TESTIMONIALS --- */
.cocoa-section { background-color: var(--dark-green); color: #fff; padding: 5rem 0; text-align: center; }
.cocoa-section h2 { color: var(--primary-green); }
.cocoa-section p { color: #ccc; margin: 0 auto 2rem auto; }

.testimonials { padding-bottom: 4rem; }
.testimonial-card { grid-column: span 1; margin-top: 2rem; opacity: 0; transform: translateY(20px); }
.testi-img { height: 250px; margin-bottom: 1rem; filter: grayscale(20%); object-fit: cover; }
.testi-quote { font-style: italic; font-size: 0.9rem; margin-bottom: 0.5rem; padding-left: 1rem; padding-right: 1rem;}
.testi-author { padding-left: 1rem; padding-right: 1rem;}

/* --- FOOTERS --- */
.cta-footer { background: #000; color: #fff; padding: 6rem 0; position: relative; z-index: 20; padding-left: 4rem; padding-right: 4rem; margin-bottom: 4rem; border-radius: 40px;}
.cta-footer h2 { color: #fff; margin-bottom: 1rem; }
.cta-footer p { color: #aaa; }

.main-footer { background: #8fad96; padding: 4rem 0; font-size: 0.9rem; position: relative; z-index: 20; padding-left: 4rem; padding-right: 4rem; border-radius: 40px;}
.footer-col-left { grid-column: 1 / span 2; }
.footer-col-right { grid-column: 3 / span 2; text-align: right; }

/* --- MOBILE MENU --- */
.fullscreen-menu { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background-color: var(--dark-green); color: var(--primary-green); z-index: 100; display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.fullscreen-menu.active { opacity: 1; pointer-events: all; }
.close-menu { position: absolute; top: 30px; right: 30px; font-size: 2rem; cursor: pointer; color: var(--primary-green); }
.fullscreen-menu a { font-family: var(--font-display); font-size: 2.5rem; display: block; margin: 1rem 0; color: #fff; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .content-grid { gap: 1rem; }
    h1 { font-size: 3.5rem; }
    .lessons-txt-col, .lessons-img-col, .events-txt-col, .events-img-col { grid-column: 1 / -1; padding: 1rem; }
    .welcome-txt-col, .comm-txt-col { padding-left: 1rem; }
    .welcome-img-col, .comm-img-col, .events-img-col { height: 400px; }
}

@media (max-width: 768px) {
    .frame-wrapper { width: 100%; margin: 0; }
    .hero { height: 80vh; }
    .lines-container { width: 100%; } 
    header { padding: 1.5rem 1rem; }
    .logo-container { padding: 1rem 1.5rem; width: 120px; }
    .logo-text { font-size: 1.2rem; }
    .logo-sub { font-size: 0.5rem; }
    .btn-outline { display: none; } 
    .btn-solid { padding: 10px 15px; font-size: 0.7rem; }
    .content-grid { display: flex; flex-direction: column; padding: 0 1.5rem; }
    .hero-content { padding-left: 1.5rem; padding-right: 1.5rem; }
    h1 { font-size: 2.5rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn-pill { width: 100%; }
    .svc-1, .svc-2, .svc-3 { margin-bottom: 2rem; }
    .welcome-img-col, .comm-img-col { height: 300px; order: -1; }
    .welcome-txt-col, .comm-txt-col { padding: 2rem 0; }
    .testimonial-card { margin-bottom: 2rem; }
    .footer-col-left, .footer-col-right { text-align: left; margin-bottom: 2rem; }
    .lines-hero-segment .line, .lines-container .line { width: 1px; } 
}