body {
    color: rgb(211, 211, 211);
    font-size: 16px;
    background-color: #491137;
    background-image: url(images/ramadan_main_bg_v2.webp);
    background-size: 30% auto;
    background-position: top center;
    background-repeat: repeat-x;
    background-attachment: fixed;
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 2200px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-logo {
    max-width: 150px; /* Adjust this value as needed */
    height: auto;
    border-radius: 10%;
}

.header-image {
    max-width: 150px; /* Adjust this value as needed */
    height: auto;
}

.container {
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.gold-button-container {
    text-align: center;
    margin: 20px 0;
}

.gold-button {
    background: linear-gradient(45deg, #ffe554, #e5aa00);
    border: none;
    color: #491137;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    margin: 10px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 20px 0;
}


.carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px;
}

.carousel img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.carousel button {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.carousel button:hover {
    transform: scale(1.2);
}

/* ===== Restaurant Filter ===== */
.filter-container {
    text-align: center;
    margin-bottom: 20px;
}

.filter-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid #d3d3d3;
    color: #d3d3d3;
    padding: 10px 20px;
    margin: 5px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #ffe554;
    color: #491137;
}

.filter-btn.active {
    background: linear-gradient(45deg, #ffe554, #e5aa00);
    color: #491137;
    border: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust column size */
    gap: 20px;
    padding: 20px;
    max-width: 1200px; /* Limit the maximum width of the grid */
    margin: 0 auto; /* Center the grid */
}

.menu-item {
    text-align: center;
    text-decoration: none;
    color: rgb(211, 211, 211); /* Light gray text for better contrast */
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white background */
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-5px); /* Slight hover effect */
}

.menu-item img {
    width: 100%; /* Make images responsive */
    height: auto;
    border-radius: 10px;
    max-width: 150px; /* Limit the maximum width of images */
}

.menu-item span {
    display: block;
    margin-top: 10px;
    font-size: 1.2rem;
}

/* footer banner */
#footer-banner {
    max-width: 40%;
    margin: 20px auto;
    display: block;
    text-align: center;
}

#footer-banner img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Make it responsive for mobile */
@media (max-width: 768px) {
    #footer-banner {
        max-width: 80%; /* Larger on mobile for better visibility */
    }
}

footer {
    background-color: rgb(255, 0, 0);
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-links img {
    width: 40px;
    height: 40px;
    cursor: pointer;
}

@media (max-width: 768px) {
    body {
        background-size: auto 100vh;
    }

    .header-container {
        flex-direction: row;
        gap: 30%;
    }
    
    .main-logo,
    .header-image {
        max-width: 100px; /* Adjust for mobile */
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr); /* Two columns for mobile */
        gap: 10px; /* Smaller gap for mobile */
        padding: 10px;
    }

    .menu-item {
        padding: 10px; /* Smaller padding for mobile */
    }

    .menu-item img {
        max-width: 100px; /* Smaller images for mobile */
    }

    .menu-item span {
        font-size: 1rem; /* Smaller font size for mobile */
    }

    .gold-button {
        padding: 10px 20px; /* Smaller buttons for mobile */
        font-size: 1rem;
    }
    
}


/* -------------- menu stuff ------------------------- */
/* Restaurant Header Image */
.restaurant-header {
    text-align: center;
    padding: 20px 0;
}

.restaurant-image {
    width: 90%;
    max-width: 700px;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* Book with Us Button */
.button-group {
    text-align: center;
    margin: 20px 0;
}

.book-button {
    background-color: #4CAF50; /* Green color for a fresh, appealing look */
    color: white;
    padding: 15px 30px;
    font-size: 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.book-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Menu Navigation Buttons */
.menu-switch {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.gold-button {
    background: linear-gradient(45deg, #ffe554, #e5aa00);
    border: none;
    color: #491137;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.gold-button:hover {
    transform: translateY(-3px);
}

/* Menu Table Styling */
.menu-table {
    width: 100%;
    max-width: 1000px;
    margin: 20px auto;
    background-color: rgba(255, 255, 255, 0.1);
    border-collapse: collapse;
}

.menu-table th,
.menu-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-table th {
    background-color: rgba(0, 0, 0, 0.3);
    font-size: 1.1rem;
}

.menu-table tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.menu-table td:first-child {
    width: 10%;
    text-align: left;
}

.menu-table td:nth-child(2) {
    width: 70%;
}

.menu-table td:last-child {
    width: 20%;
    text-align: left;
}

/* Footer Styling */
footer {
    background-color: #3b002f; /* Dark blue for contrast with purple */
    padding: 20px;
    text-align: center;
    color: white;
    margin-top: 40px; /* Add space between content and footer */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.social-links img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.social-links img:hover {
    transform: scale(2); /* Slight zoom effect on hover */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .restaurant-image {
        width: 95%;
        max-width: 400px;
    }

    .menu-switch {
        flex-direction: row; /* Keep buttons side by side on mobile */
        gap: 10px;
        flex-wrap: wrap; /* Allow wrapping if needed */
    }

    .gold-button {
        flex: 1; /* Make buttons take equal space */
        padding: 10px 20px;
        font-size: 1rem;
    }

    .menu-table {
        font-size: 0.9rem;
    }

    .menu-table th,
    .menu-table td {
        padding: 10px;
    }
}

/* floating button stuff */

.floating-home {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #ffe554, #e5aa00);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-home:hover {
    transform: scale(1.1);
}

.floating-home img {
    width: 25px;
    height: 25px;
}
/* end of floating home button */

/* Main Sponsor Ad */
.main-sponsor-ad {
    text-align: center;
    padding: 3px 0;
    margin: 5px auto;
    max-width: 110%;
}

.main-sponsor-ad img {
    max-width: 90%;
    height: auto;
    border-radius: 5%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Slideshow Wrapper and Container */
.slideshow-wrapper {
    padding: 10px 0;
    overflow: hidden;
    display: flex;
    gap: 0px; /* Remove gap between groups */
}

.slideshow-group {
    display: flex;
    gap: 5px;
    padding-right: 5px; /* Small gap between groups */
    animation: scrolling 10s linear infinite; /* how fast should the scrolling be*/
    will-change: transform; /* Optimize for animation */
}

.slideshow-wrapper:hover .slideshow-group {
    animation-play-state: paused;
}

.slideshow-ad {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.slideshow-ad:hover {
    transform: scale(1.1);
}

.slideshow-img {
    height: 100px;
    width: auto;
    border-radius: 10%;
    object-fit: contain;
}

@keyframes scrolling {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Remove the fade edges since you don't want them */
.slideshow-wrapper::before,
.slideshow-wrapper::after {
    display: none;
}


/* carousel one by one images */
.carousel-inner > .item > img {
            width: 70%;
            height: auto;
            max-height: 100px; /* Adjust this value as needed */
            object-fit: contain;
            margin: 0 auto;
        }
        
        /* Ensure carousel has proper dimensions */
        .carousel {
            max-width: 600px; /* Adjust based on your design */
            margin: 20px auto;
        }
        
        /* For smaller screens */
        @media (max-width: 768px) {
            .carousel-inner > .item > img {
                max-height: 200px;
            }
            .carousel {
                max-width: 80%;
                margin: 10px auto;
            }
        }


/* silder stuff */

/* div.scroll-container {
    overflow: auto;
    white-space: nowrap;
}

div.scroll-container img {
    border-radius: 10%;
    padding: 10px;
} */


/* Day Selection Dropdown Styling */
.day-selection {
    text-align: center;
    margin: 20px 0;
}  
.day-selection label {
    font-size: 1.2rem;
    margin-right: 10px;
}
#day-select {
    padding: 10px;
    font-size: 1rem;
    border-radius: 5px;
    background-color: #491137;
    color: #d3d3d3;
    border: 1px solid #d3d3d3;
}

#day-select:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(211, 211, 211, 0.5);
}


/* ==== FINAL MENU CAROUSEL OVERRIDE ==== */
.carousel-menu {
    max-width: 100%;
    margin: 20px auto;
}

.carousel-menu img {
    width: 99%;
    max-width: none;
    max-height: none;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ==== MENU CAROUSEL BUTTON CENTERING ==== */

.carousel-menu {
    width: 100%;
    text-align: center;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 15px 0;
}

.carousel-controls button {
    font-size: 26px;
    background: linear-gradient(45deg, #ffe554, #e5aa00);
    border: none;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.carousel-controls button:hover {
    transform: scale(1.15);
}