/* --- Reset & Variables --- */
:root {
    --primary-color: #86d2db; /* Sage Green */
    --secondary-color: #f4f1ea; /* Cream/Beige */
    --text-dark: #706f71;
    --text-light: #706f71;
    --white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

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

h1, h2, h3 { font-family: var(--font-heading); margin-bottom: 1rem; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; display: block; border-radius: 4px; }

/* --- Utilities --- */
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-padding { padding: 50px 0; }
.text-center { text-align: center; }
.bg-light { background-color: var(--secondary-color); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--white); }

/* --- Header & Navigation (UPDATED) --- */
header {
    background-color: transparent; /* Initial state */
    position: fixed; /* Fixed to overlay hero */
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease; /* Smooth transition for background/padding */
    color: var(--white); /* White text initially */
}

/* Scrolled State for Header */
header.scrolled {
    background-color: var(--white);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    color: var(--text-dark); /* Dark text on scroll */
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: inherit; /* Inherits from header color */
}

/* Header Links */
nav ul { display: flex; align-items: center; gap: 2rem; }
nav a:not(.btn-nav) { font-weight: 400; font-size: 0.95rem; color: inherit; opacity: 0.9; }
nav a:not(.btn-nav):hover { opacity: 1; text-decoration: underline; }

/* Header Button Special Logic */
/* Initial State (Transparent Header): White button, green text */
.btn-nav {
    background-color: var(--white);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Scrolled State (White Header): Green button, white text */
header.scrolled .btn-nav {
    background-color: var(--primary-color);
    color: var(--white);
}

header.scrolled .btn-nav:hover {
    background-color: #72857a;
    transform: translateY(-2px);
}

/* --- Hero Section & Animations --- */
.hero {
    /* Linear gradient ensures white text on nav is visible */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('hero.jpeg');
    background-size: cover;
    background-position: center;
    height: 100vh; /* Full screen height */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0; /* Ensures it sits behind the fixed header */
}

/* Initial States for Hero Elements */
.hero h1, .hero p, .hero .btn-primary {
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Animations */
.hero h1 { animation: fadeInUp 1s ease forwards 0.3s; font-size: 3.5rem; text-shadow: 0 2px 4px rgba(0,0,0,0.3); }
.hero p { animation: fadeInUp 1s ease forwards 0.6s; font-size: 1.25rem; margin-bottom: 1rem; max-width: 600px; margin: 0 auto 2rem auto; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.hero .btn-primary { animation: fadeInUp 1s ease forwards 0.9s; }

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

/* Scroll Animation Classes */
.hidden-section {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
}

.show-section {
    opacity: 1;
    transform: translateY(0);
}

.mt-1 {
    margin-top: 1rem;
}
/* --- Buttons (General) --- */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #72857a;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.btn-outline, .btn-white {
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary-color); transform: translateY(-2px); }

.btn-white { background-color: var(--white); color: var(--primary-color); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* --- Two Column Layouts --- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.benefits-list li { margin-bottom: 0.8rem; position: relative; padding-left: 1.5rem; }
.benefits-list li::before { content: "•"; color: var(--primary-color); font-size: 1.5rem; position: absolute; left: 0; top: -5px; }
.image-content img { box-shadow: 3px 3px 0px rgba(102, 221, 237, 0.3); width: 100%; transition: transform 0.5s ease; }
.image-content img:hover { transform: scale(1.02); }

/* --- Pricing --- */
.pricing-grid { display: flex; justify-content: center; gap: 2rem; margin: 3rem 0; flex-wrap: wrap; }
.price-card {
    background: var(--white);
    box-shadow: 0 10px 10px rgba(0,0,0,0.2);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    width: 300px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.price-card.popular { background: var(--white); color: var(--text-dark); transform: scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.2); z-index: 2; border: none; }
.price-card.popular:hover { transform: scale(1.05) translateY(-10px); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: #e6b8a2; color: var(--text-dark); padding: 6px 16px; border-radius: 20px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }
.price { font-size: 2.5rem; font-family: var(--font-heading); margin: 1rem 0; }
.small { font-size: 0.9rem; opacity: 0.8; margin-bottom: 1.5rem; }

.schedule-note { margin-top: 3rem; }
.schedule-note a { color: var(--white); text-decoration: underline; opacity: 0.9; }
.schedule-note a:hover { opacity: 1; }

/* --- Contact --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-info { display: flex; flex-direction: column; justify-content: center; }
.info-item { margin-bottom: 1rem; }
.info-item strong { display: block; color: var(--primary-color); margin-bottom: 0.5rem; font-family: var(--font-heading); font-size: 1.1rem; }
.map { height: 400px; background: #eee; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
footer { background: #2a2a2a; color: #888; padding: 2rem 0; font-size: 0.9rem; }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .section-padding { padding: 50px 0; }
    
    /* Mobile Nav Adjustments */
    .nav-container { flex-direction: column; gap: 1rem; }
    nav ul { gap: 1rem; font-size: 0.9rem; flex-wrap: wrap; justify-content: center; }
    header { background-color: rgba(0,0,0,0.8); padding: 1rem; } /* Always dark/solid on mobile for readability */
    header.scrolled { background-color: var(--white); }

    .hero h1 { font-size: 2.5rem; }
    .two-col, .contact-wrapper { grid-template-columns: 1fr; gap: 2rem; }
    .reverse-mobile { display: flex; flex-direction: column-reverse; }
    .pricing-grid { flex-direction: column; align-items: center; }
    .price-card { width: 100%; max-width: 350px; }
    .price-card.popular { transform: scale(1); }
}