/* --- CSS Variables and Basic Setup --- */
:root {
    --primary-green: #005B41;
    --accent-bg: #F5F5DC;
    --text-dark: #333333;
    --bg-light: #FAF9F6;
    --white: #FFFFFF;
    --font-heading: 'Lora', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-green);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p { margin-bottom: 1rem; }
a { color: var(--primary-green); text-decoration: none; }

/* --- Header & Navigation --- */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
    height: 120px;
}

#main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#main-header .container {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    height: 100%;
}

.logo img {
    height: 100px;
    width: auto;
    display: block;
}

#main-header nav {
    margin-left: 3rem;
}

#main-header nav ul {
    display: flex;
    list-style: none;
}

#main-header nav li {
    margin-left: 1.5rem;
}

#main-header nav a {
    font-weight: 500;
    transition: color 0.3s ease;
}

#main-header nav a:hover {
    color: #000;
}

.hamburger { 
    display: none; 
    margin-left: auto;
}

/* --- Hero Section --- */
#hero {
    /* MODIFIED: Set to full screen height for an immersive cover effect */
    height: 100vh; 
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    background-image: url('assets/hero-background.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

#hero::after {
    content: '';
    position: absolute;
    z-index: 2;
    background-image: url('assets/green-acres-theme.jpg');
    background-size: contain;
    background-repeat: no-repeat;
    width: 250px;
    height: 188px;
    bottom: 20px;
    right: 20px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3.2rem;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-location svg {
    width: 1em;
    height: 1em;
    margin-right: 0.5rem;
    fill: currentColor;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* --- Buttons --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #004430;
    transform: translateY(-2px);
    color: var(--white);
}

/* --- Content Sections --- */
.content-section {
    padding: 6rem 0;
}

.accent-bg {
    background-color: var(--accent-bg);
}

.text-center {
    text-align: center;
}

.text-center h2 {
    margin-bottom: 1.5rem;
}

.text-center p {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* --- Features List --- */
.features-list {
    list-style: disc;
    padding-left: 25px;
    margin: 3rem auto 0;
    max-width: 800px;
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.features-list strong {
    color: var(--primary-green);
}

/* --- PDF Embed Styles --- */
.pdf-embed-container {
    position: relative;
    width: 100%;
    padding-top: 129.4%; /* A4 Ratio */
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 800px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pdf-embed-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Lot Downloads Grid --- */
.lot-downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto 0;
}

.lot-button {
    padding: 1rem;
}

/* --- Team Section --- */
.team-grid {
    display: grid;
    justify-content: center;
    margin-top: 3rem;
}

.team-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.team-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 3px solid var(--white);
}

.team-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card .team-title {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.team-card ul {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin-top: 1rem;
}

.team-card li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* --- Footer Styles --- */
.footer-main {
    background-color: var(--accent-bg);
    padding: 4rem 0;
    text-align: center;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 150px;
    width: auto;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2.5rem;
}

.footer-nav a {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-bottom {
    background-color: var(--text-dark);
    color: #ccc;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .container { padding: 0 1rem; }

    #hero::after {
        display: none;
    }

    .pdf-embed-container {
        display: none;
    }

    #main-header nav {
        display: none;
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        margin-left: 0;
    }

    #main-header nav.active {
        display: flex;
    }

    #main-header nav ul {
        flex-direction: column;
        width: 100%;
    }

    #main-header nav li {
        margin: 0;
        border-top: 1px solid #f0f0f0;
    }

    #main-header nav a {
        display: block;
        padding: 1rem;
    }

    .hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10;
    }

    .hamburger-box { width: 30px; height: 24px; display: inline-block; position: relative; }
    .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { width: 30px; height: 3px; background-color: var(--primary-green); border-radius: 3px; position: absolute; transition: transform .2s ease-in-out; }
    .hamburger-inner { top: 50%; transform: translateY(-50%); }
    .hamburger-inner::before, .hamburger-inner::after { content: ''; display: block; }
    .hamburger-inner::before { top: -10px; }
    .hamburger-inner::after { bottom: -10px; }

    .hamburger.is-active .hamburger-inner { transform: rotate(45deg); }
    .hamburger.is-active .hamburger-inner::before { top: 0; opacity: 0; }
    .hamburger.is-active .hamburger-inner::after { bottom: 0; transform: rotate(-90deg); }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Desktop-only adjustment for hero content positioning */
@media (min-width: 769px) {
    .hero-content {
        padding-top: 8vh; /* Pushes the content down by 8% of the viewport height */
    }
}