/* -------------------- */
/* --- Global Setup --- */
/* -------------------- */
:root {
    --primary-color: #00a878; /* Eco Green */
    --accent-color: #f9a826;  /* Volt Yellow/Orange */
    --dark-text: #333333;
    --body-text: #555555;
    --bg-light: #ffffff;
    --bg-gray: #f9f9f9;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
    --whatsapp-green: #25D366; /* Official WhatsApp Green */
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; line-height: 1.2; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 2.5rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1rem; }
img { max-width: 100%; height: auto; border-radius: 8px; }

/* -------------------- */
/* --- Utilities --- */
/* -------------------- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 4rem 0;
}

.btn {
    display: inline-block;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    
    /* --- COMMON STYLES FOR ALL BUTTONS --- */
    font-size: 1rem;         /* Same font size */
    padding: 0.8rem 2rem;    /* Same padding */
    border-radius: 50px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-text);
}
.btn-primary:hover {
    background-color: #e0941f;
    transform: translateY(-2px);
}

/* --- WHATSAPP BUTTON STYLE --- */
.btn-whatsapp {
    display: inline-flex; /* Use flex to align icon and text */
    align-items: center;
    justify-content: center;
    gap: 0.6rem; 
    
    background-color: var(--whatsapp-green);
    color: #fff;
    
    /* --- REMOVED duplicate styles now in .btn --- */
}

.btn-whatsapp:hover {
    background-color: #20b057;
    transform: translateY(-2px);
}

.btn-whatsapp i {
    width: 20px;
    height: 20px;
    stroke: #fff;
    stroke-width: 2.5;
}

/* --- LAYOUT FIX FOR GALLERY/MAP --- */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: flex-start;
}


/* ----------------------- */
/* --- Section Styling --- */
/* ----------------------- */

/* --- 1. Hero --- */
.hero {
    /* Correct background image path */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
                url('images/hero-image.jpg') 
                no-repeat center center/cover;

    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
}

.hero-content {
    max-width: 700px;
}

/* --- STYLE FOR BUTTON CONTAINER --- */
.hero-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap; /* Allows buttons to stack on small screens */
    justify-content: center;
    align-items: center;
    gap: 1rem; /* This creates space between the buttons */
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 0; /* Remove margin, handled by .hero-buttons */
}

/* --- 2. Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.feature-item i {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* --- 3. How It Works --- */
.how-it-works {
    background-color: var(--bg-gray);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.step {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.step strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    display: block;
    margin: 0.5rem 0;
}

/* --- APP BADGE STYLES --- */
.app-buttons {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.app-badge img {
    height: 40px;
    width: auto;
}

a[href*="play.google.com"] img {
    height: auto;
    width: 160px;
}


/* --- 4. Gallery & Map --- */
.gallery-map h3 {
    margin-bottom: 1.5rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.photo-gallery img {
    width: 100%;
    object-fit: cover;
    border: 1px solid #eee;
}

.map-embed {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border: 1px solid #eee;
}

.details-list {
    list-style: none;
    font-size: 1.1rem;
}
.details-list li {
    margin-bottom: 0.75rem;
}
.details-list li strong {
    color: var(--dark-text);
}


/* --- 5. Footer --- */
.footer {
    background-color: var(--dark-text);
    color: #aaa;
    padding: 2rem 0;
    font-size: 0.9rem;
    text-align: center;
}
.footer p {
    margin-bottom: 0.5rem;
}

/* ----------------------- */
/* --- Responsive Design --- */
/* ----------------------- */

@media (max-width: 900px) {
    /* This makes the gallery/map stack on mobile */
    .split-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    section { padding: 3rem 0; }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
    }
}
