/* styles.css - Modern Editorial Theme (Mark Groves Style) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

:root {
    /* PALETTE */
    --accent-green: #99cc99;   /* Your Sage Green */
    --accent-yellow: #ffffcc;  /* Your Sunny Yellow */
    --text-dark: #1a1a1a;      /* Almost Black - Editorial standard */
    --text-grey: #555555;      /* Softer grey for body */
    --bg-white: #ffffff;
    --bg-offwhite: #fafafa;
}

/* 1. GLOBAL RESET & TYPOGRAPHY */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-white);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif; /* The "Editorial" Serif */
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* 2. NAVIGATION - Minimal & Sticky */
header {
    background: rgba(255, 255, 255, 0.95);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px); /* Frosted glass effect */
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

nav ul { display: flex; gap: 40px; align-items: center; }
nav a {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px; /* Spaced out caps */
    color: var(--text-dark);
    position: relative;
}

/* Underline animation on hover */
nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-green);
    transition: width 0.3s;
}
nav a:hover::after { width: 100%; }

.hidden { display: none !important; }

/* 3. SCROLL ANIMATIONS (The "Reveal" Effect) */
.reveal {
    opacity: 0;
    transform: translateY(40px); /* Start slightly down */
    transition: all 1s ease-out; /* Smooth 1s rise */
}

.reveal.active {
    opacity: 1;
    transform: translateY(0); /* End in place */
}

/* 4. HERO SECTION - Big, Bold, Clean */
.hero {
    min-height: 90vh; /* Almost full screen */
    background: linear-gradient(to bottom, var(--bg-white), var(--accent-yellow)); /* Subtle fade */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem; /* Massive text */
    max-width: 1000px;
}

.hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin-bottom: 50px;
    font-weight: 300;
    color: var(--text-grey);
}

/* 5. BUTTONS - Rounded Pill or Arrow Link */
.btn-main {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 15px 40px;
    border-radius: 50px; /* Pill shape */
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    border: 1px solid var(--text-dark);
}

.btn-main:hover {
    background: var(--accent-green);
    border-color: var(--accent-green);
    color: var(--text-dark);
}

.btn-link {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--accent-green);
    padding-bottom: 5px;
}
.btn-link:hover { color: var(--accent-green); }

/* 6. SECTIONS - Whitespace is key */
section { padding: 120px 10%; } /* Massive padding */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

/* 7. GRID LAYOUTS (No Borders) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 60px;
}

.service-card {
    text-align: center;
    /* No border, no background color - Clean */
}

.service-card h3 { font-size: 1.8rem; margin-bottom: 20px; }
.service-card p { color: var(--text-grey); font-size: 1.1rem; }

/* 8. ABOUT SECTION (Split) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-img {
    width: 100%;
    border-radius: 0; /* Sharp corners for editorial look, or slight rounded */
    box-shadow: 20px 20px 0px var(--accent-green); /* Graphic shadow effect */
}

/* 9. TESTIMONIALS (Big Quote) */
.testimonial-section {
    background-color: var(--bg-offwhite);
    text-align: center;
}
.testimonial-quote {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 30px;
}

/* 10. FOOTER */
footer {
    background: var(--text-dark);
    color: var(--bg-white);
    padding: 80px 10%;
    text-align: center;
}
.footer-links a { margin: 0 15px; color: #aaa; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .about-grid { grid-template-columns: 1fr; }
    nav ul { display: none; /* Needs mobile menu toggle eventually */ }
}
/* --- MOBILE MENU STYLES --- */

/* 1. The Hamburger Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* 2. Mobile Logic (Only applies to screens smaller than 768px) */
@media (max-width: 768px) {
    
    /* Show the hamburger button */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    /* Reset the Nav container */
    nav {
        width: 100%;
    }

    /* Style the List (Hidden by default) */
    nav ul {
        display: none; /* Hides the menu */
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 60px; /* Push it below the header */
        left: 0;
        padding: 20px 0;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        text-align: center;
        z-index: 1000;
    }

    /* When JavaScript adds the 'active' class, show it */
    nav ul.active {
        display: flex;
    }

    /* Spacing for list items */
    nav ul li {
        margin: 15px 0;
    }
    
    /* Ensure Header allows content to flow */
    header {
        position: relative; /* Needed for absolute positioning of menu */
    }
}
