/* --------------------------------
Global Styles & Variables
----------------------------------- */
/**
 * Core color palette and typography variables
 * Used throughout the site for consistent theming
 */
:root {
    /* Color Palette */
    --soil-color: #D1A58A;       /* Warm soil/earth tone */
    --deep-green: #2E4034;       /* Primary brand color - dark green */
    --text-dark: #1a1a1a;        /* Main text color */
    --text-light: #f8f9fa;       /* Light text for dark backgrounds */
    --accent-yellow: #f3a628;    /* Accent color for CTAs and highlights */
    --pale-soil: #F5EBE0;        /* Light warm beige for backgrounds */
    --light-sage: #E8F0E6;       /* Pale earthy green for secondary backgrounds */
    --light-gray: #f1f1f1;       /* Light gray for subtle backgrounds */
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lora', serif;
}

/* Base styles */
body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.7;
    text-rendering: optimizeSpeed; /* Performance optimization */
    overflow-x: hidden;           /* Prevent horizontal scroll */
}

.subheading {
    font-family: var(--font-body);
    font-style: italic;
    color: #555;
}

/* --------------------------------
Components - Reusable UI Elements
----------------------------------- */

/**
 * Button Components
 * Consistent styling for all buttons across the site
 */
.btn {
    font-family: var(--font-heading);
    font-size: 1rem;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Primary button - deep green with hover states */
.btn-primary {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1e2a22;
    border-color: #1e2a22;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Outline light button for dark backgrounds */
.btn-outline-light {
    border-color: var(--text-light);
    color: var(--text-light);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    background-color: var(--text-light);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/**
 * WhatsApp Float Button
 * Fixed position button for quick contact
 */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
    transform: scale(1.1);
    color: #FFF;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}


/* --------------------------------
Page Sections
----------------------------------- */

/* Navbar */
.navbar {
    transition: background-color 0.3s ease;
}
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Hero Section */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/Thabatshimo.jpg');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
}
.hero-section h1 {
    font-size: 3.5rem;
}

/* Feature Cards */
.feature-card {
    border: none;
    background-color: transparent;
}
.feature-card .icon {
    font-size: 2.5rem;
    color: var(--deep-green);
}

/* --------------------------------
Home Page Specific Styling
----------------------------------- */

/* Hero Section */
.hero-section-home {
    background-image: linear-gradient(rgba(46, 64, 52, 0.75), rgba(46, 64, 52, 0.75)), url('../images/Thabatshimo.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-align: center;
}

.hero-section-home h1 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-section-home p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-section-home .btn-lg {
    font-size: 1rem;
    padding: 14px 30px;
}

.hero-section-home .btn-primary {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--text-dark);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-section-home .btn-primary:hover {
    background-color: #e09822;
    transform: translateY(-2px);
}

.hero-section-home .btn-outline-light {
    border-color: var(--text-light);
    color: var(--text-light);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.hero-section-home .btn-outline-light:hover {
    background-color: var(--text-light);
    color: var(--deep-green);
    transform: translateY(-2px);
}

/* About Section (The one with the image) */
.about-section-home .row {
    align-items: center;
}

.about-section-home h2 {
    font-family: var(--font-heading);
    color: var(--deep-green);
    position: relative;
    padding-bottom: 0.75rem;
}

.about-section-home h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-yellow);
}

.about-section-home .img-fluid {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.5s ease;
}

.about-section-home .img-fluid:hover {
    transform: perspective(1000px) rotateY(0deg);
}

/* Produce Section */
.produce-section-home {
    background-color: var(--light-sage);
}

.produce-section-home .subheading {
    color: #555;
}

.produce-card-home {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.produce-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.produce-card-home .card-img-top {
    height: 220px;
    object-fit: cover;
}

.produce-card-home .card-body {
    background-color: white;
    padding: 1.5rem;
}

.produce-card-home .card-title {
    font-family: var(--font-heading);
    color: var(--deep-green);
}

/* Promise Section */
.promise-section-home {
    background-color: var(--pale-soil);
}

.promise-section-home .icon-container {
    background-color: white;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.promise-section-home .icon-container:hover {
    transform: translateY(-5px);
}

.promise-section-home .icon {
    font-size: 2.2rem;
    color: var(--deep-green);
}

.promise-section-home h4 {
    font-family: var(--font-heading);
    color: var(--deep-green);
}

/* CTA Strip */
.cta-strip-home {
    background-color: var(--deep-green);
    color: var(--text-light);
}

.cta-strip-home h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.cta-strip-home .lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
}

.cta-strip-home .btn {
    font-family: var(--font-heading);
    font-size: 1rem;
}

/* Footer */
footer {
    background-color: #1e1e1e;
    color: var(--light-gray);
}
footer a {
    color: var(--light-gray);
    text-decoration: none;
}
footer a:hover {
    color: var(--accent-yellow);
}

/* Produce Page */
.produce-card img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

/* Restaurant Page Icons */
.service-icon {
    font-size: 3rem;
    color: var(--deep-green);
}

/* --------------------------------
Restaurant Page Styling
----------------------------------- */

/* Header & Hero Section */
.restaurant-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/Thabatshimo_Mass_Vegetable_Botswana.jpg');
    background-size: cover;
    background-position: center;
    padding: 8rem 0;
    margin-top: 56px;
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

.restaurant-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(46, 64, 52, 0.45); /* A slightly transparent dark green overlay */
    z-index: -1;
}

.restaurant-hero-section h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.restaurant-hero-section .lead {
    font-family: var(--font-body);
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 400;
    font-style: italic;
    color: var(--accent-yellow);
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.restaurant-hero-section p {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.restaurant-hero-section .btn-primary {
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    color: var(--deep-green);
    font-weight: 700;
    padding: 12px 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.restaurant-hero-section .btn-primary:hover {
    background-color: #e09822;
    border-color: #e09822;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Main Content Section */
main.container {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

main h2 {
    font-family: var(--font-heading);
    color: var(--deep-green);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}



main .list-group-item {
    border-left: none;
    border-right: none;
    transition: all 0.2s ease;
    border-color: rgba(0, 0, 0, 0.08);
}

main .list-group-item:hover {
    background-color: var(--light-sage);
    transform: translateX(5px);
}

main .list-group-item i {
    font-size: 1.1rem;
    color: var(--deep-green) !important;
}

main .list-group-item strong {
    color: var(--deep-green);
    font-weight: 700;
}

/* Farm-to-Table Journey Section */
.farm-to-table-journey {
    position: relative;
    padding: 3rem 0;
    margin-top: 4rem;
    margin-bottom: 4rem;
    overflow: hidden;
}

.journey-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.journey-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--deep-green);
    z-index: -1;
}

.journey-step {
    background-color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.journey-step i {
    font-size: 2rem;
    color: var(--deep-green);
    margin-bottom: 0.5rem;
}

.journey-step-label {
    position: absolute;
    width: 120px;
    text-align: center;
    top: 100%;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Testimonials Section */
.testimonial-section {
    background-color: var(--light-sage);
    border-radius: 12px;
}

.testimonial {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 2rem 1rem;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 5rem;
    color: var(--deep-green);
    font-family: Georgia, serif;
    opacity: 0.2;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    position: relative;
    z-index: 2;
}

.blockquote-footer {
    font-weight: 600;
    color: #555;
    margin-top: 1.5rem;
}

.blockquote-footer cite {
    font-weight: 400;
    font-style: italic;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--deep-green);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

/* Advantage Cards Section */
.advantage-section {
    background-color: var(--light-gray);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.service-icon {
    font-size: 3rem;
    color: var(--deep-green);
}

.service-card h4 {
    font-family: var(--font-heading);
    color: var(--deep-green);
}

/* CTA at the bottom */
.cta-bottom-section h2 {
    font-family: var(--font-heading);
    color: var(--deep-green);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    line-height: 1.3;
}

.cta-bottom-section h4 {
    font-family: var(--font-heading);
    color: var(--deep-green);
    font-size: clamp(1.4rem, 2.5vw, 1.6rem);
    margin-bottom: 1rem;
}

.cta-bottom-section .btn-primary {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
    padding: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-bottom-section .btn-primary:hover {
    background-color: #1e2a22;
    border-color: #1e2a22;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-bottom-section .btn-primary i {
    font-size: 1.4rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .journey-steps {
        flex-direction: column;
        align-items: center;
    }

    .journey-steps::before {
        width: 3px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .journey-step {
        margin-bottom: 4rem;
    }

    .journey-step-label {
        width: 160px;
        left: 50%;
        transform: translateX(-50%);
    }
}


/* --------------------------------
Redesigned Page Headers (HIGH-CONTRAST VERSION)
----------------------------------- */
.page-header {
    padding: 6rem 0;
    margin-top: 56px; /* Account for the fixed navbar */
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--text-light); /* DEFAULT TO LIGHT TEXT for all headers */
}

/* A shadow that makes light text pop on dark backgrounds */
.page-header h1, .page-header .lead {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* The dark color overlay */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* About Page Header Improvements */
.about-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../images/Thabatshimo_Onion_Field_Botswana.jpg');
    background-position: center;
    background-size: cover;
    padding: 8rem 0 6rem;
    position: relative;
}

.about-hero::before {
    background-color: rgba(46, 64, 52, 0.75); /* Adjusted opacity for better contrast */
}

.about-hero .container {
    position: relative;
    z-index: 5;
}

.about-hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.about-hero .subheading {
    color: var(--text-light);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

/* Optional: Add a decorative element to make the header more interesting */
.about-hero .container::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin: 1.5rem auto 0;
}

/* Produce Page Header Improvements */
.produce-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../images/Thabatshimo_Veggie_Combo_Botswana.jpg');
    background-position: center;
    background-size: cover;
    padding: 8rem 0 6rem;
    position: relative;
}

.produce-hero::before {
    background-color: rgba(46, 64, 52, 0.7); /* Adjusted opacity */
}

.produce-hero .container {
    position: relative;
    z-index: 5;
}

.produce-hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.produce-hero .subheading {
    color: var(--text-light);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

/* Decorative element to enhance the header */
.produce-hero .container::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin: 1.5rem auto 0;
}

/**
 * Enhanced Product Cards
 * Card components for displaying produce items
 * Used in produce listings and featured sections
 */
.produce-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 100%; /* Ensures consistent height in grid */
    display: flex;
    flex-direction: column;
}

.produce-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Card image with consistent sizing */
.produce-card img {
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--pale-soil);
    width: 100%;
}

/* Card body with flexible layout */
.produce-card .card-body {
    padding: 1.5rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    flex: 1; /* Takes remaining space */
}

/* Card typography */
.produce-card .card-title {
    color: var(--deep-green);
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-heading);
}

.produce-card .card-text {
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Price badge styling */
.produce-card .badge {
    font-size: 1rem;
    padding: 0.5em 0.75em;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #28a745, #218838);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-weight: 500;
    transition: transform 0.2s ease-in-out;
    display: inline-block;
}

.produce-card .badge:hover {
    transform: scale(1.05);
}

/* Price container */
.produce-card .price-wrapper {
    margin: 0.5rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Button in card */
.produce-card .btn {
    margin-top: auto; /* Pushes button to bottom */
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Improved Category Sidebar */
aside .list-group-item {
    border-left: none;
    border-right: none;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

aside .list-group-item:first-child {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

aside .list-group-item:last-child {
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

aside .list-group-item.active {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
}

aside .list-group-item:not(.active):hover {
    background-color: var(--light-sage);
    color: var(--deep-green);
}

aside h4 {
    color: var(--deep-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

aside h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-yellow);
}

/* WhatsApp Order Button Enhancement */
.produce-card .btn-primary {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
    position: relative;
    padding-left: 2.2rem;
}

.produce-card .btn-primary::before {
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
}

.produce-card .btn-primary:hover {
    background-color: #243329;
}

/* Page Layout Improvements */
main.container {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

/* Custom notice banner for seasonal items */
.seasonal-notice {
    background-color: var(--light-sage);
    border-left: 4px solid var(--deep-green);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Weekly Basket Page Header Improvements */
.weekly-basket-hero {
    /* Use a CSS variable for the image path - enables easier updates later */
    --hero-bg-img: url('../images/Thabatshimo_Veggie_Basket_Botswana.jpg');
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--hero-bg-img);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 8rem 0 6rem;
    position: relative;
    /* Image rendering optimization */
    image-rendering: auto;
    /* Fetch high priority */
    content-visibility: auto;
    /* Prevent layout shift with explicit height */
    min-height: 400px;
}

.weekly-basket-hero::before {
    background-color: rgba(92, 64, 51, 0.75); /* Adjusted soil color with better opacity */
}

.weekly-basket-hero .container {
    position: relative;
    z-index: 5;
}

.weekly-basket-hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.weekly-basket-hero .subheading {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.weekly-basket-hero p {
    color: var(--text-light);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Decorative element for the header */
.weekly-basket-hero .container::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin: 2rem auto 0;
}

/* Enhanced Pricing Cards */
.card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15) !important;
}

.card-header {
    border-bottom: none;
    padding: 1.5rem 1rem;
}

.card-header h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.pricing-card-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-green);
    margin-bottom: 1rem;
}

.pricing-card-title small {
    font-size: 1rem;
    color: #777;
}

.card-body {
    padding: 2rem 1.5rem;
}

.card-body ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.card-body ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--deep-green);
    font-weight: bold;
}

/* Medium tier - featured plan styling */
.border-primary {
    border: 2px solid var(--deep-green) !important;
}

.card-header.bg-primary {
    background-color: var(--deep-green) !important;
}

.btn-primary {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
}

.btn-outline-primary {
    color: var(--deep-green);
    border-color: var(--deep-green);
}

.btn-outline-primary:hover {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
}

/* Popular badge for medium plan */
.card-header.bg-primary {
    position: relative;
}

.card-header.bg-primary::after {
    content: "Most Popular";
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent-yellow);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3rem 1rem;
    border-bottom-left-radius: 8px;
    transform: translateY(0);
}

/* Additional section styling */
.features-section {
    background-color: var(--light-sage);
    padding: 4rem 0;
    margin: 3rem 0;
    border-radius: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    color: var(--deep-green);
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .weekly-basket-hero h1 {
        font-size: 2.5rem;
    }
    
    .weekly-basket-hero .subheading {
        font-size: 1.2rem;
    }
    
    .card {
        margin-bottom: 2rem;
    }
    
    .pricing-card-title {
        font-size: 2.2rem;
    }
}

/* --------------------------------
Restaurant Page Header 
----------------------------------- */
.restaurant-hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), 
                      url('../images/Thabatshimo_Mass_Vegetable_Botswana.jpg');
    background-position: center;
    background-size: cover;
    padding: 8rem 0 6rem;
    margin-top: 56px;
    position: relative;
}

.restaurant-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(46, 64, 52, 0.45); /* --deep-green with opacity */
    z-index: 1;
}

.restaurant-hero-section .container {
    position: relative;
    z-index: 5;
}

.restaurant-hero-section h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.restaurant-hero-section .lead {
    color: var(--accent-yellow);
    font-size: 1.6rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 1.5rem;
}

.restaurant-hero-section p {
    color: var(--text-light);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
    font-size: 1.1rem;
    line-height: 1.7;
}

.restaurant-hero-section .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.restaurant-hero-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Main Content Improvements */
main .img-fluid {
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
    transform: perspective(1000px) rotateY(-3deg);
    transition: all 0.5s ease;
}

main .img-fluid:hover {
    transform: perspective(1000px) rotateY(0deg);
}

main h2 {
    color: var(--deep-green);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}


/* Enhanced List Styling */
.list-group-item {
    padding: 1.25rem 1rem;
    border-left: none;
    border-right: none;
    transition: all 0.2s ease;
    border-color: rgba(0,0,0,0.08);
}

.list-group-item:hover {
    background-color: var(--light-sage);
    transform: translateX(5px);
}

.list-group-item i {
    font-size: 1.1rem;
    color: var(--deep-green) !important;
}

.list-group-item strong {
    color: var(--deep-green);
    font-weight: 700;
}

/* Call-to-Action Section Improvements */
.py-5 .display-6 {
    color: var(--deep-green);
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.py-5 .list-unstyled li {
    position: relative;
    padding-left: 0.5rem;
    margin-bottom: 1rem !important;
    transition: all 0.2s ease;
}

.py-5 .list-unstyled li:hover {
    transform: translateX(5px);
}

.py-5 .list-unstyled i {
    font-size: 1.3rem;
    margin-right: 0.75rem !important;
}

.py-5 h4 {
    color: var(--deep-green);
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.py-5 .btn-primary {
    padding: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.py-5 .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.py-5 .btn-primary i {
    font-size: 1.4rem;
}

/* Added visual elements */
.farm-to-table-journey {
    position: relative;
    padding: 3rem 0;
    margin-top: 4rem;
    margin-bottom: 4rem;
    overflow: hidden;
}

.journey-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.journey-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--deep-green);
    z-index: -1;
}

.journey-step {
    background-color: white;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

.journey-step i {
    font-size: 2rem;
    color: var(--deep-green);
    margin-bottom: 0.5rem;
}

.journey-step-label {
    position: absolute;
    width: 120px;
    text-align: center;
    top: 100%;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .restaurant-hero-section h1 {
        font-size: 2.5rem;
    }
    
    .restaurant-hero-section .lead {
        font-size: 1.3rem;
    }
    
    .journey-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .journey-steps::before {
        width: 3px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .journey-step {
        margin-bottom: 4rem;
    }
    
    .journey-step-label {
        width: 160px;
        left: 50%;
        transform: translateX(-50%);
    }
}
/* --------------------------------
Testimonial Carousel Styling 
----------------------------------- */
.testimonial {
    background-color: white;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    position: relative;
    margin: 2rem 1rem;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 5rem;
    color: var(--deep-green);
    font-family: Georgia, serif;
    opacity: 0.2;
    line-height: 1;
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    position: relative;
    z-index: 2;
}

.blockquote-footer {
    font-weight: 600;
    color: #555;
    margin-top: 1.5rem;
}

.blockquote-footer cite {
    font-weight: 400;
    font-style: italic;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: var(--deep-green);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.carousel-control-prev {
    left: -50px;
}

.carousel-control-next {
    right: -50px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

@media (max-width: 992px) {
    .carousel-control-prev {
        left: -20px;
    }
    
    .carousel-control-next {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .testimonial {
        padding: 2rem;
        margin: 1rem 0;
    }
}
/* --------------------------------
Contact Page Header Improvements 
----------------------------------- */
.contact-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
                      url('../images/Thabatshimo_Field_Botswana.jpg');
    background-position: center;
    background-size: cover;
    padding: 7rem 0 5rem;
    position: relative;
}

.contact-hero::before {
    background-color: rgba(92, 64, 51, 0.7); /* Adjusted soil color with better opacity */
}

.contact-hero .container {
    position: relative;
    z-index: 5;
}

.contact-hero h1 {
    color: var(--text-light);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.contact-hero .subheading {
    color: var(--text-light);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

/* Decorative element for the header */
.contact-hero .container::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--accent-yellow);
    margin: 1.5rem auto 0;
}

/* Enhanced Contact Information Section */
.contact-info-card {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background-color: var(--deep-green);
}

.contact-info-card h3 {
    color: var(--deep-green);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-yellow);
}

.contact-method {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    background-color: var(--light-sage);
}

.contact-method:hover {
    transform: translateX(10px);
    background-color: #f0f5ee;
}

.contact-method i {
    font-size: 1.75rem !important;
    color: var(--deep-green) !important;
    margin-right: 1rem !important;
}

.contact-method strong {
    display: block;
    color: var(--deep-green);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-method a {
    color: #555;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-method a:hover {
    color: var(--deep-green);
}

/* Map Enhancement */
.map-container {
    background-color: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 6px;
    height: 100%;
    background-color: var(--deep-green);
}

.map-container h3 {
    color: var(--deep-green);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.map-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-yellow);
}

.map-container iframe {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.map-container iframe:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* WhatsApp Button Enhancement */
.btn-primary {
    background-color: var(--deep-green);
    border-color: var(--deep-green);
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #243329;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-primary i {
    font-size: 1.3rem;
}

/* Additional helpful information */
.operating-hours {
    background-color: var(--light-sage);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
    border-left: 4px solid var(--deep-green);
}

.operating-hours h4 {
    color: var(--deep-green);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.operating-hours p {
    margin-bottom: 0.5rem;
}

.operating-hours .note {
    font-style: italic;
    margin-top: 1rem;
    font-size: 0.9rem;
}

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

/**
 * Global Responsive Adjustments
 * Organized by breakpoint from largest to smallest
 */

/* Large devices (desktops) */
@media (max-width: 1200px) {
    .hero-section-home h1 {
        font-size: clamp(1.8rem, 4vw, 3.5rem);
    }
    
    .journey-step-label {
        width: 100px;
        font-size: 0.85rem;
    }
}

/* Medium devices (tablets) */
@media (max-width: 992px) {
    .produce-card img {
        height: 180px; /* Smaller images on medium screens */
    }
    
    .carousel-control-prev {
        left: -15px;
    }
    
    .carousel-control-next {
        right: -15px;
    }
    
    .hero-section {
        height: 70vh;
    }
    
    .about-section-home .img-fluid {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones) */
@media (max-width: 768px) {
    .hero-section-home h1 {
        font-size: 2.2rem;
    }
    
    .hero-section-home .btn-lg {
        font-size: 0.9rem;
        padding: 10px 20px;
        margin: 0.25rem;
    }
    
    .contact-hero h1,
    .about-hero h1,
    .produce-hero h1,
    .weekly-basket-hero h1,
    .restaurant-hero-section h1 {
        font-size: 2.3rem;
    }
    
    .contact-hero .subheading,
    .about-hero .subheading,
    .produce-hero .subheading,
    .weekly-basket-hero .subheading {
        font-size: 1.1rem;
    }
    
    .contact-info-card, 
    .map-container {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    /* Adjust journey steps to vertical layout */
    .journey-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .journey-steps::before {
        width: 3px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .journey-step {
        margin-bottom: 4rem;
    }
    
    .journey-step-label {
        width: 140px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Hide carousel controls on small screens */
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .testimonial {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    /* Improve whatsapp float sizing */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Extra small devices (phones) */
@media (max-width: 576px) {
    .hero-section-home {
        height: 80vh;
    }
    
    .hero-section-home h1 {
        font-size: 1.8rem;
    }
    
    .produce-card .card-title {
        font-size: 1.2rem;
    }
    
    .produce-card img {
        height: 160px;
    }
    
    section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
    }
    
    /* Stack buttons vertically on smallest screens */
    .btn-lg {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
}

