:root {
    --primary: #0a2158;
    --secondary: #c9a74d;
    --success: #0d7a5f;
    --warning: #c9a74d;
    --light: #f8f9fa;
    --dark: #212529;
}
/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}
/* Animation for the header sliding down */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    transition: padding-top 0.3s ease;
}
/* Smooth transitions for header elements */
#mainHeader {
    transition: all 0.3s ease;
}

.navbar-nav .nav-item .nav-link {
    font-size: 16px;
}

#mainHeader.fixed-top {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1030;
    animation: slideDown 0.3s ease-in-out;
}

/* Simple Search Modal Styles */
#searchModal .modal-content {
    border-radius: 0.5rem;
    border: none;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

#searchModal .modal-body {
    padding: 1.5rem;
}

#searchModal .form-control {
    border-radius: 0.25rem 0 0 0.25rem;
}

#searchModal .btn {
    border-radius: 0 0.25rem 0.25rem 0;
}

/* Override Bootstrap colors */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-warning {
    background-color: var(--warning) !important;
}

.bg-success {
    background-color: var(--success) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-warning {
    background-color: var(--warning);
    border-color: var(--warning);
    color: var(--dark);
}

.btn-success {
    background-color: var(--success);
    border-color: var(--success);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

    .btn-outline-primary:hover {
        background-color: var(--primary);
        border-color: var(--primary);
    }

/* Hero Section */
.hero-section {
    padding: 3rem 0;
}

    .hero-section h1 {
        font-weight: 700;
        color: white;
    }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.display-3, .display-4, .display-5 {
    font-weight: 700;
    color: var(--warning);
}

/* Cards */
.card {
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

/* Testimonials */
.quote-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer a {
    text-decoration: none;
}

    footer a:hover {
        text-decoration: underline;
    }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

    .social-icons a:hover {
        transform: translateY(-3px);
    }

/* Product Cards */
.card .badge {
    font-size: 0.7rem;
    padding: 0.35em 0.65em;
}

/* Carousel Controls */
.carousel-control-prev, .carousel-control-next {
    width: 40px;
    height: 40px;
    top: 50%;
    color: var(--primary);
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    width: 30px;
    height: 30px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }

        .hero-section .btn-group {
            justify-content: center;
        }
}

.download-section:hover .download-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

.download-section:hover .download-icon i {
    color: white !important;
}

.brochure-image:hover {
    transform: rotate(2deg) scale(1.05);
}

.download-section:hover h5 {
    color: var(--warning) !important;
}

.products-slider-container {
    position: relative;
    padding: 0 20px;
}

.products-slider {
    position: relative;
}

.slider-container {
    overflow: hidden;
    padding: 10px 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 16px;
    padding-bottom: 10px; /* For scrollbar space */
}

.slider-item {
    flex: 0 0 auto;
}

.card {
    min-width: 250px;
    width: 100%;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    z-index: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.slider-prev {
    left: -30px;
}

.slider-next {
    right: -30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .products-slider-container {
        padding: 0 15px;
    }

    .slider-prev {
        left: -15px;
    }

    .slider-next {
        right: -15px;
    }

    .card {
        min-width: 220px;
    }
}

@media (max-width: 576px) {
    .products-slider-container {
        padding: 0 10px;
    }

    .slider-prev,
    .slider-next {
        width: 40px;
        height: 40px;
    }

    .card {
        min-width: 200px;
    }
}

/* Custom styles for form focus states */
.form-control:focus,
.form-select:focus {
    border-color: #c9a74d !important;
    box-shadow: 0 0 0 0.2rem rgba(201, 167, 77, 0.25) !important;
    background-color: rgba(201, 167, 77, 0.15) !important;
}

.form-floating > label {
    color: #c9a74d !important;
}

.form-control::placeholder,
.form-select option {
    color: #0a2158 !important;
}

/* Button hover effect */
.btn:hover {
    background-color: #c9a74d !important;
    border-color: #c9a74d !important;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.feature-block {
    min-height: 250px;
}

.food-image {
    min-height: 250px;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-text {
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .feature-block, .food-image {
        min-height: 200px;
    }
}
/* Mobile-specific adjustments */
.mobile-icon {
    font-size: 2.5rem !important;
}

@media (min-width: 768px) {
    .mobile-icon {
        font-size: 5rem !important;
    }
}

/* Hero Banner Section */
.hero-banner {
    height: 90vh;
    min-height: 630px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Responsive Design */
/* Large screens (desktops) */
@media (min-width: 1200px) {
    .hero-banner {
        height: 85vh;
        min-height: 700px;
    }
}

/* Medium screens (tablets) */
@media (max-width: 1199px) and (min-width: 768px) {
    .hero-banner {
        height: 80vh;
        min-height: 500px;
        margin-top: 80px;
    }
}

/* Small screens (mobile) */
@media (max-width: 767px) {
    .hero-banner {
        height: 70vh;
        min-height: 400px;
        margin-top: 60px;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .hero-banner {
        height: 60vh;
        min-height: 350px;
        margin-top: 50px;
    }
}

/* Ensure image maintains aspect ratio on all devices */
@media (orientation: landscape) and (max-height: 600px) {
    .hero-banner {
        height: 95vh;
        min-height: 300px;
    }
}


.banner-container {
    overflow: hidden;
    height: 50vh !important;
}

@media (max-width: 768px) {
    .banner-container {
        height: 50vh !important;
        min-height: 300px !important;
    }
}
/* Default styles (mobile first) */
.overlay-box {
    bottom: 35% !important;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .overlay-box {
        bottom: 30% !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .overlay-box {
        bottom: 30% !important;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .overlay-box {
        bottom: 30% !important;
    }
}

@media (min-width: 2560px) {
    .overlay-box {
        bottom: 30% !important;
    }
}

/* Make filter card full width on mobile */
@media (max-width: 575.98px) {
    #filterCard {
        width: 100%;
        position: fixed;
        top: 0 !important;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1050;
        overflow-y: auto;
        border-radius: 0;
    }

    .card-body {
        padding-bottom: 80px; /* Space for mobile browsers */
    }
}
/* Add to your existing style section */
#productSearch {
    transition: all 0.3s ease;
}

    #productSearch:focus {
        box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
        border-color: #ffc107;
    }

.input-group-text {
    background-color: #f8f9fa;
}

@media (min-width: 992px) {
    .overlay-box .col-lg-8 {
        max-width: 800px; /* or any specific width */
    }
}
.overlay-box > .container > .row > div > div {
    min-height: 200px;
}

@media (min-width: 768px) {
    .overlay-box > .container > .row > div > div {
        min-height: 300px;
    }
}

.product-card {
    transition: all 0.3s ease;
}

/* Ensure parent containers maintain layout */
.category-section {
    min-height: 100px; /* Prevents collapse when filtering */
}

/* Fix for flexbox layout during filtering */
.d-flex.flex-wrap {
    align-content: flex-start;
}

/* Responsive Flexbox Grid */

@media (max-width: 575.98px) {
    .product-card {
        flex-basis: 100% !important;
        min-width: 100% !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .product-card {
        flex-basis: calc(60% - 15px) !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .product-card {
        flex-basis: calc(45% - 15px) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .product-card {
        flex-basis: calc(35% - 15px) !important;
    }
}

@media (min-width: 1200px) {
    .product-card {
        flex-basis: calc(25% - 20px) !important;
    }
}