:root {
    --primary-color: #F4B400; /* Golden Yellow */
    --secondary-color: #2E7D32; /* Emerald Green */
    --black-color: #333333; /* Dark Text */
    --white-color: #FFFFFF; /* White */
    --text-color: #333333; /* Dark Text */
    --light-bg: #F8F9FA; /* Light Gray Background */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ====== BUTTON FIX ====== */
/* Shared button styles */
.btn,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    color: var(--white-color);
    font-weight: 600;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

/* Primary button */
.btn {
    background-color: var(--primary-color);
}

.btn:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

/* Secondary button */
.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #45a049;
    transform: translateY(-2px); /* added for consistency */
}
/* ====== END FIX ====== */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--black-color);
    margin-bottom: 2rem;
}

/* Top Bar */
.topbar {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 10px 0;
    font-size: 0.9rem;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar .contact-info svg {
    stroke: var(--primary-color);
}

/* Header */
.header {
    background-color: var(--white-color);
    color: var(--black-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black-color);
    text-decoration: none;
}

.logo span {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu li a {
    font-weight: 500;
    color: var(--black-color);
    transition: var(--transition);
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.social-icons a:hover {
    opacity: 0.7;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white-color);
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Sections */
section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

/* Cards */
.card {
    background: var(--white-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--black-color);
}

.card-price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 15px;
}

/* Footer */
.footer {
    background-color: var(--secondary-color); /* using variable for consistency */
    color: var(--white-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col p,
.footer-col ul li a {
    color: #bbb;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #bbb;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Add hamburger menu logic later if needed */
    }
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}


/* ===== HAMBURGER BUTTON ===== */
.hamburger {
    display: none;          /* hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--black-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Optional: animate hamburger to "X" when active */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Hide navigation by default on mobile */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;          /* below header */
        left: 0;
        width: 100%;
        background: var(--white-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
        text-align: center;
        z-index: 99;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    /* Show menu when active */
    .nav-menu.active {
        display: flex;
    }

    /* Ensure the right column aligns items properly */
    .header .container {
        grid-template-columns: 1fr auto 1fr;
    }

    /* Keep grid columns but adjust if needed */
    .header .container > div:last-child {
        gap: 10px;
    }

    /* Existing responsive overrides */
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}


/* ===== HIDE/SHOW BUTTONS ===== */
/* Desktop button: visible by default */
.desktop-order-btn {
    display: inline-block;
}

/* Mobile button: hidden by default */
.mobile-order-btn {
    display: none;
    list-style: none; /* remove bullet if any */
}

/* ===== RESPONSIVE (Mobile) ===== */
@media (max-width: 768px) {
    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Hide the desktop button on mobile */
    .desktop-order-btn {
        display: none;
    }

    /* Show the mobile button inside the nav menu */
    .mobile-order-btn {
        display: block;
        margin: 10px 0; /* match other nav items */
    }

    /* Style the button to look good inside the dropdown */
    .mobile-order-btn .btn {
        display: inline-block;
        width: auto;
        min-width: 160px;
        padding: 12px 30px;
        /* Optional: center it */
        margin: 0 auto;
    }

    /* Mobile nav menu dropdown */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white-color);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        gap: 0;
        text-align: center;
        z-index: 99;
    }

    .nav-menu li {
        margin: 10px 0;
    }

    .nav-menu.active {
        display: flex;
    }

    /* Existing mobile overrides */
    .grid-2,
    .grid-3,
    .grid-4,
    .footer-content {
        grid-template-columns: 1fr;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}


/* ===== TOPBAR RESPONSIVE FIX ===== */

/* On mobile, stack contact info and social icons, reduce gaps, and wrap */
@media (max-width: 768px) {
    .topbar .container {
        flex-wrap: wrap;          /* allow wrapping */
        gap: 8px 0;               /* vertical spacing between rows */
        justify-content: center;  /* center the items */
        padding: 8px 0;           /* reduce vertical padding */
        font-size: 0.75rem;       /* smaller text */
    }

    .contact-info {
        flex-wrap: wrap;          /* wrap the two spans */
        justify-content: center;  /* center them */
        gap: 6px 15px;            /* reduce gap */
        width: 100%;              /* take full width */
    }

    .contact-info span {
        display: inline-flex;     /* keep icon+text inline */
        align-items: center;
        gap: 4px;                /* smaller gap between icon and text */
    }

    .social-icons {
        gap: 12px;               /* reduce social icon spacing */
        width: 100%;             /* full width */
        justify-content: center; /* center icons */
    }

    /* Hide the second contact (email) if you want to save space – optional */
    /* .contact-info span:last-child { display: none; } */
}


@media (max-width: 480px) {
    .contact-info span:last-child {
        display: none;
    }
}



/* ===== TOPBAR RESPONSIVE FIX ===== */

/* Hide email on mobile, keep phone and social icons */
@media (max-width: 768px) {
    .topbar .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px 0;
        padding: 6px 0;
        font-size: 0.75rem;
    }

    /* Hide the second span (email) */
    .contact-info span:last-child {
        display: none;
    }

    /* Keep phone number span visible, reduce gap */
    .contact-info {
        gap: 0 !important; /* override inline gap */
        flex: 0 1 auto;
    }

    .contact-info span:first-child {
        gap: 4px;
    }

    /* Social icons remain visible, centered */
    .social-icons {
        gap: 12px;
        justify-content: center;
    }

    /* If needed, make the phone number more compact */
    .contact-info span:first-child svg {
        width: 14px;
        height: 14px;
    }
}