/* 1. Global Variables & Reset */
:root {
    --primary-blue: #0077be;    /* Ocean Blue */
    --accent-aqua: #00ced1;     /* Fresh Aqua */
    --deep-navy: #003366;       /* Dark Text/Footer */
    --light-bg: #e0f7fa;        /* Very light blue tint */
    --white: #ffffff;
    --text-color: #333;
    --whatsapp-green: #25D366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

/* --- NEW FEATURE: Top Harvest Banner --- */
.harvest-banner {
    background-color: var(--deep-navy);
    color: var(--accent-aqua);
    text-align: center;
    padding: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    animation: flash 3s infinite alternate;
}

@keyframes flash {
    from { background-color: var(--deep-navy); }
    to { background-color: #002244; }
}

/* 2. Header & Navigation */
header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--accent-aqua);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.tagline {
    font-size: 0.9rem;
    font-style: italic;
    color: #e0f7fa;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: 0.3s;
    font-weight: 500;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--accent-aqua);
    border-bottom: 2px solid var(--accent-aqua);
}

/* 3. Hero Section */
.hero {
    background: linear-gradient(rgba(0, 45, 90, 0.5), rgba(0, 45, 90, 0.5)), 
                url('pics/viewssss.jpeg') no-repeat center center/cover;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* 4. Cards (Standard & Image Types) */

/* Standard Card (for Home Page) */
.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--accent-aqua);
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

/* Image Background Card (For Products Page) */
.image-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    background-color: #000;
}

.card-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.image-card:hover .card-bg {
    transform: scale(1.1); /* Zoom effect */
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, rgba(0,0,0,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    color: white;
}

.card-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 5px;
    color: var(--accent-aqua);
    text-shadow: 1px 1px 2px black;
}

.card-overlay p {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: #f0f0f0;
}

.price-tag {
    display: inline-block;
    background-color: var(--white);
    color: var(--deep-navy);
    padding: 5px 12px;
    border-radius: 4px;
    opacity: 0.7;
    font-weight: bold;
    font-size: 1rem;
    margin-bottom: 15px;
}

/* 5. Buttons */
.btn {
    display: inline-block;
    background-color: var(--accent-aqua);
    color: var(--deep-navy);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px;
    margin-top: 1rem;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #00b7ba;
    color: var(--white);
}

.btn-whatsapp {
    background-color: var(--whatsapp-green); 
    color: white;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 8px; 
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    color: white;
}

/* --- NEW FEATURE: Floating WhatsApp Button --- */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--whatsapp-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    text-decoration: none;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebe57;
    color: white;
}

/* --- NEW FEATURE: Video Section --- */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* --- NEW FEATURE: Testimonials --- */
.testimonial-card {
    background-color: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary-blue);
    font-style: italic;
}
.customer-name {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: var(--deep-navy);
    font-style: normal;
}

/* --- NEW FEATURE: Delivery Table --- */
.delivery-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.delivery-table th, .delivery-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}
.delivery-table th {
    background-color: var(--deep-navy);
    color: white;
}
.delivery-table tr:last-child td {
    border-bottom: none;
}

/* --- NEW FEATURE: FAQ Section --- */
.faq-item {
    background: #fff;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.faq-question {
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 5px;
    cursor: pointer;
}

/* 6. Section Styling */
.section-title {
    text-align: center;
    margin-top: 3rem;
    color: var(--deep-navy);
}

.section-title h2 {
    font-size: 2.5rem;
}

.about-section, .contact-section, .bulk-section {
    background: var(--white);
    margin: 2rem 5%;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.bulk-section {
    border: 2px dashed var(--primary-blue);
    text-align: center;
}

/* 7. Footer */
footer {
    background-color: var(--deep-navy);
    color: var(--white);
    padding: 3rem 5% 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
    font-size: 0.8rem;
}

/* --- UTILITIES & SOCIAL --- */

.hidden-content { display: none; }

.view-all-container {
    text-align: center;
    margin-top: -1rem; 
    margin-bottom: 4rem;
}

.view-btn {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 10px 30px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1rem;
}

.view-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
}

.variety-header {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 1rem;
    margin: 2rem 5% 0 5%;
    border-radius: 10px 10px 0 0;
    text-align: center;
}

/* Connect Section */
.connect-section {
    text-align: center;
    background-color: var(--white);
    margin: 2rem 5%;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
}

.social-icon {
    font-size: 2.5rem;
    color: var(--deep-navy);
    transition: transform 0.3s, color 0.3s;
}

.social-icon:hover { transform: scale(1.1); }

/* Brand Hover Colors */
.social-icon.instagram:hover { color: #E1306C; }
.social-icon.tiktok:hover { color: #000000; }
.social-icon.whatsapp:hover { color: #25D366; }

/* Map Styles */
.map-container {
    margin-top: 2rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* --- Video Grid Layout inside the Black Space --- */

/* 1. The container that fills the black box */
.video-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    gap: 10px;
    padding: 10px; /* Small black border effect */
}

/* 2. The Main Left Video */
.vid-main {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.vid-main video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video fills the space */
}

/* 4. The Small Videos */
.vid-small {
    flex: 1; /* Each takes exactly 50% height */
    width: 100%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.vid-small video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mobile: Stack them when screen is small */
@media (max-width: 768px) {
    .video-grid-overlay {
        grid-template-columns: 1fr; /* Single column */
        grid-template-rows: 2fr 1fr; /* Top big, bottom small section */
        overflow-y: auto; /* Allow scrolling inside box if needed */
    }
    
    .vid-sidebar {
        flex-direction: row; /* Put small videos side-by-side on mobile */
    }
}

/* --- RESPONSIVENESS UPDATES --- */

/* For Tablets and smaller (992px and down) */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-section, .contact-section {
        padding: 2rem;
        margin: 1.5rem 3%;
    }
}

/* For Mobile Phones (768px and down) */
@media (max-width: 768px) {
    /* Header/Nav Adjustments */
    header {
        flex-direction: column;
        padding: 1rem;
    }

    .logo {
        text-align: center;
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    nav ul li a {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    /* Hero Section scaling */
    .hero {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    /* Fixing the Flex sections in Recipes and About */
    /* This overrides the inline styles you have in HTML */
    .about-section div[style*="display: flex"] {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    .about-section div[style*="flex: 1"], 
    .about-section div[style*="flex: 2"] {
        min-width: 100% !important;
    }

    /* Table Responsiveness */
    .delivery-table {
        font-size: 0.85rem;
    }

    .delivery-table th, .delivery-table td {
        padding: 10px 8px;
    }

    /* Section titles */
    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* For Small Phones (480px and down) */
@media (max-width: 480px) {
    .variety-header h2 {
        font-size: 1.4rem;
    }

    .product-card, .image-card {
        margin-bottom: 1rem;
    }

    /* Floating button scaling */
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 15px;
        right: 15px;
    }
}