/* ==========================================================================
   OLPODEV V2 - GLOBAL STYLES
   ========================================================================== */

:root {
    --primary-green: #006400;   /* NEW Brand Green */
    --primary-green-dark: #004d00; /* Hover/Darker */
    --accent-gold: #d4af37;     /* Premium Gold */
    --accent-gold-dark: #b8962e; /* Hover Gold */
    --light-bg: #f8f9fa;
    --text-dark: #2d3436;
    --text-muted: #636e72;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ================= NAVIGATION ================= */
.navbar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    color: var(--primary-green);
}

.logo span { color: var(--accent-gold); }

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:hover { color: var(--accent-gold); }

.cart-icon {
    background: var(--light-bg);
    padding: 8px 15px;
    border-radius: 50px;
}

/* ================= HERO SECTION ================= */
.hero {
    padding: 80px 0;
    background: linear-gradient(to right, #fdfbfb 0%, #ebedee 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.tagline {
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 15px 0 25px;
    color: var(--primary-green);
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

.hero-btns { display: flex; gap: 15px; }

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-secondary {
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 13px 30px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-primary:hover { background: var(--accent-gold); border-color: var(--accent-gold); }

/* ================= PRODUCT CARDS ================= */
.featured-products { padding: 100px 0; }

.section-header { text-align: center; margin-bottom: 60px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: var(--transition);
}

.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

.product-card img {
    height: 250px;
    object-fit: cover;
    margin: 0 auto 20px;
    border-radius: 10px;
}

.price {
    font-weight: 700;
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin: 10px 0;
}

.btn-cart {
    width: 100%;
    padding: 12px;
    background: var(--light-bg);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-cart:hover { background: var(--primary-green); color: var(--white); }

/* ================= FOOTER ================= */
.main-footer {
    background: var(--primary-green);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
}

.footer-links h4, .footer-contact h4 { margin-bottom: 20px; color: var(--accent-gold); }
.footer-links li { margin-bottom: 10px; }
.footer-bottom { text-align: center; padding-top: 20px; font-size: 0.9rem; opacity: 0.7; }

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { justify-content: center; }
    .nav-links { display: none; } /* We will add a mobile menu toggle later */
    .footer-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   ABOUT & FOUNDATION PAGE SPECIFIC STYLES
   ========================================================================== */

/* Page Header (The dark green top section) */
.page-header {
    background: var(--primary-green);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Section Spacing */
.section {
    padding: 80px 0;
}

/* Grid for About Content (Text + Image) */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Team Section Styles */
.team-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid #f1f1f1;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card h4 {
    margin-top: 10px;
    color: var(--primary-green);
}

.team-card p {
    font-size: 0.9rem;
    color: var(--accent-gold);
    font-weight: 600;
}

/* Foundation Focus Cards (The "What we do" cards) */
.focus-areas .product-card {
    border-top: 4px solid var(--accent-gold); /* Adds a nice gold top border */
}

.focus-areas h3 {
    margin-bottom: 15px;
    color: var(--primary-green);
}

/* Impact Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover; /* Keeps photos from looking stretched */
    border-radius: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-grid img:hover {
    filter: brightness(0.8);
    transform: scale(1.02);
}

/* Utilities */
.text-center {
    text-align: center;
}

/* ================= MOBILE ADAPTATION ================= */
@media (max-width: 768px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .about-img img {
        box-shadow: none !important; /* Removes the offset shadow on mobile for cleaner look */
    }
}
/* ================= CONTACT PAGE STYLES ================= */

.info-item {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-item i {
    font-size: 1.5rem;
    background: var(--light-bg);
    padding: 15px;
    border-radius: 10px;
}

.contact-socials a {
    font-size: 1.5rem;
    margin-right: 20px;
    color: var(--primary-green);
}

.contact-socials a:hover {
    color: var(--accent-gold);
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-green);
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
}

/* ================= SHOP & PRODUCT CARDS ================= */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-gold);
    color: var(--primary-green);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-desc {
    font-size: 0.9rem;
    color: #666;
    margin: 10px 0;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f5f5f5;
}

.price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-green);
}

.btn-cart {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.btn-cart:hover {
    background: var(--accent-gold);
    color: var(--primary-green);
}

.hero-slider {
    position: relative;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;             /* Turns on Flexbox */
    justify-content: center;   /* Centers buttons horizontally */
    align-items: center;       /* Aligns them vertically */
    gap: 20px;                 /* Space between the two buttons */
    margin-top: 30px;          /* Space between the text and buttons */
}

/* Responsive fix for mobile phones */
@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column; /* Stacks buttons on top of each other on small screens */
        gap: 15px;
    }
    
    .hero-btns a {
        width: 80%;            /* Makes buttons wider on mobile for easier clicking */
        margin-right: 0;       /* Removes any side margins */
    }
}


.hero-slider {
    position: relative;
    height: 85vh; /* Adjust height as needed */
    width: 100%;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* The "Fade" effect */
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    text-align: center;
    color: white;
}
/* Base button */
.btn {
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s ease;
}

/* GREEN BUTTON */
.btn-primary {
  background-color: #1b5e20; /* deep green */
  color: #fff;
}

.btn-primary:hover {
  background-color: #2e7d32;
}

/* GOLD BUTTON */
.btn-secondary {
  background-color: #d4af37; /* gold */
  color: #000;
}

.btn-secondary:hover {
  background-color: #c49b2c;
}
/* =====================================
   COLOR UPGRADE OVERRIDES (SAFE)
===================================== */

/* Primary Button */
.btn-primary {
  background-color: var(--primary-green) !important;
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-green-dark) !important;
}

/* Secondary Button (Gold) */
.btn-secondary {
  background-color: var(--accent-gold) !important;
  color: #000;
  border: none;
}

.btn-secondary:hover {
  background-color: var(--accent-gold-dark) !important;
}

/* Cart Button Hover */
.btn-cart:hover {
  background: var(--primary-green) !important;
  color: var(--white);
}

/* Links Hover Enhancement */
.nav-links a:hover {
  color: var(--accent-gold);
}

/* Product Badge (make gold cleaner) */
.product-badge {
  background: var(--accent-gold);
  color: var(--primary-green);
}
/* ================= MOBILE NAV FIX ================= */

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* MOBILE VIEW */
@media (max-width: 768px) {

    .hamburger {
        display: block;
        color: var(--primary-green);
    }

    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);

        display: none; /* hidden by default */
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 25px 0;

        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        font-weight: 600;
    }

    .cart-icon {
        background: none;
    }
}