/*
Theme Name: Ceres Seeding Theme
Author: Antigravity
Version: 1.3
Description: Custom theme for Ceres Seeding - Exact Visual Parity
*/

:root {
    --color-primary: #1B5B0E;
    /* Deep Forest Green */
    --color-secondary: #4A7C59;
    /* Medium Green */
    --color-accent: #7FB06F;
    /* Light Green/Accent */
    --color-text-main: #382114;
    --color-text-light: #ffffff;
    --color-background: #EFE8CD;
    /* Beige/Cream background like live site */
    --color-white-bg: #ffffff;
    /* Pure white for alternating sections */
    --color-light-bg: #EFE8CD;
    /* Beige for alternating sections */
    --font-main: 'Montserrat', sans-serif;
    --spacing-section: 6rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text-main);
    background-color: var(--color-background);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

h1 {
    font-size: 4.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

.text-center {
    text-align: center;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: var(--color-secondary);
}

/* Header Styles */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: var(--color-background);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.site-logo h1 {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: var(--color-primary);
    margin: 0;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
}

.main-navigation a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    color: var(--color-text-main);
}

.main-navigation a:hover {
    color: var(--color-accent);
}

.header-cta {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.header-cta:hover {
    background-color: var(--color-secondary);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    background-color: #F5F1E8;
    background-size: cover;
    background-position: center;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(245, 241, 232, 0.85), rgba(245, 241, 232, 0.7));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 0 1rem;
}

.hero-title {
    color: #333;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 300;
    color: #333;
}

/* Sections General */
section {
    padding: var(--spacing-section) 0;
}

/* Take Flight */
.section-take-flight {
    background-color: var(--color-white-bg);
}

.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.col-text {
    text-align: left;
}

.image-placeholder {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Replant Now */
.section-replant {
    background-color: var(--color-primary);
    color: #fff;
    padding: 8rem 0;
}

.section-replant h2 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.section-replant p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Our Fleet */
.section-fleet {
    background-color: var(--color-light-bg);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.fleet-item {
    background-color: var(--color-white-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid #eee;
}

.fleet-item:hover {
    transform: translateY(-10px);
}

.fleet-role {
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Process */
.section-process {
    background-color: var(--color-white-bg);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
    padding: 1rem;
}

.process-step h3 {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* Achievements */
.section-achievements {
    background-color: var(--color-light-bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Projects */
.section-projects {
    background-color: var(--color-white-bg);
}

.projects-list {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
}

.project-item {
    background-color: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-left: 6px solid var(--color-accent);
}

/* Team */
.section-team {
    background-color: var(--color-light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    text-align: center;
}

.team-member h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.team-member h5 {
    color: var(--color-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* Contact CTA */
.section-contact-cta {
    background-color: var(--color-primary);
    color: #fff;
    padding: 6rem 0;
}

.section-contact-cta h2 {
    color: #fff;
    font-size: 2.5rem;
}

.section-contact-cta a {
    color: var(--color-accent);
    font-weight: 600;
}

/* Footer */
.site-footer {
    background-color: #111111;
    color: #cccccc;
    padding: 5rem 0 2rem;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
}

.footer-column h3 {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column p {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: #cccccc;
}

.footer-column a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-form input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #333;
    background-color: #222;
    color: #fff;
    border-radius: 50px;
    margin-bottom: 1rem;
    outline: none;
}

.footer-form input:focus {
    border-color: var(--color-accent);
}

.footer-form button {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-accent);
    color: var(--color-text-light);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.footer-form button:hover {
    background-color: var(--color-secondary);
}

.elementor-section.container {
    /* Let Elementor handle the width, or force your own */
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1. Default Styles for the Toggle Button (Hidden on Desktop) */
.mobile-menu-toggle {
    display: none; /* Fixed: Semicolon moved to the end */
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--color-primary);
    cursor: pointer;
    padding: 0.5rem;
}

/* 2. Responsive Styles for Phone */
@media (max-width: 768px) {
    .site-header {
        position: relative; /* Needed to anchor the dropdown */
        padding: 1rem 1.5rem;
    }

    /* Show the hamburger button on mobile */
    .mobile-menu-toggle {
        display: block;
        position: absolute; /* Place it on the right */
        right: 1.5rem;
        top: 1.2rem;
    }

    /* Hide the CTA button inside the menu (optional, or you can move it) */
    .header-cta {
        display: none; 
    }

    /* Style the Navigation Dropdown */
    .main-navigation ul {
        display: none; /* HIDDEN by default */
        flex-direction: column;
        width: 100%;
        background-color: var(--color-background);
        position: absolute;
        top: 100%; /* Push it right below the header */
        left: 0;
        padding: 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    /* The 'show' class that JS will add */
    .main-navigation ul.show {
        display: flex; /* SHOW when active */
    }

    .main-navigation li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }

    .main-navigation a {
        display: block;
        padding: 1rem;
    }
}