/* General Body Styling */
body {
    background-color: #f0e68c; /* Beach theme background color */
    font-family: 'Arial', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* overflow-x: hidden; */
    margin: 0;
    padding: 0;
   
    
    
    min-height: 100vh;
}


/* Navbar Styling */
.navbar-brand img {
    width: 60px;
    height: 60px;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav {
    flex: 1;
    justify-content: center;
    text-decoration: none;
}

.navbar-nav a {
    color: #333;
    text-decoration: none;
    padding: 10px 15px;
    transition: color 0.3s ease;
}

.navbar-nav a:hover {
    color: #4CAF50; /* Highlight color */
}

/* Dropdown Menu */
.dropdown-menu .row {
    flex-wrap: nowrap;
}

.dropdown-menu .col {
    min-width: 200px;
}

/* Fixed Search Bar */
.fixed-search {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1000;
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Styling */
footer {
    margin-top: auto;
    background-color: #4CAF50;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 1rem;
}

/* Fixed WhatsApp Icon */
.fixed-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-size: 2rem;
    color: #25D366;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fixed-whatsapp:hover {
    transform: scale(1.1);
}

/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    margin: 20px auto;
    height: 500px;
    overflow: hidden;
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(255, 255, 255, 0.8); /* Light background for better image contrast */
}

.hero img {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: contain;
    border-radius: 10px;
}

.hero img.active {
    opacity: 1;
}

/* Image Card Styling */
.card-img-top {
    height: 200px;
    width: 100%;
    object-fit: contain;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.8); /* Light background for better visibility */
}
/* Carousel Styling */
.carousel-item img {
    filter: brightness(85%); /* Slightly brighter for better visibility */
    object-fit: cover;
    z-index: 1;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.8); /* Light background for better contrast */
}
.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

/* Headings */
h3 {
    color: #4CAF50;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: bold;
}

/* Cart Table */
.cart-table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cart-table th, .cart-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

.cart-table th {
    background-color: #4CAF50;
    color: white;
    font-weight: bold;
}

/* Buttons */
.btn1 {
    background-color: #04AA6D;
    color: white;
    padding: 12px;
    margin-top: 20px;
    border: none;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    font-size: 17px;
    transition: background-color 0.3s ease;
}

.btn1:hover {
    background-color: #45a049;
}

/* Payment Options */
.payment-options {
    margin-top: 20px;
}

.payment-options label {
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 767px) {
    .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .navbar-brand {
        flex-grow: 1;
        text-align: center;
    }

    .form-inline {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .fixed-search {
        position: static;
        margin: 10px 0;
    }

    .hero {
        height: 300px;
    }

    .hero img {
        height: 300px;
    }

    h3 {
        font-size: 1.5rem;
    }
}

    /* for product get_all_product3 with scroll */
    .product-scroll-container {
    overflow-x: auto; /* Enable horizontal scrolling */
    white-space: nowrap; /* Prevent wrapping of child elements */
    padding: 10px;
}

.product-scroll {
    display: flex; /* Use flexbox for horizontal alignment */
    gap: 15px; /* Add spacing between cards */
}

.product-card {
    display: inline-block; /* Ensure cards are inline for horizontal scrolling */
    width: 300px; /* Set a fixed width for each card */
    flex-shrink: 0; /* Prevent cards from shrinking */
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
