/* -------------------------------------------------- */
/*                   Global Styles                     */
/* -------------------------------------------------- */
main {
    padding-top: 3rem;
    max-width: 100%;
    width: 95%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    min-height: 100vh;
    margin: 0;
    background: radial-gradient(circle, #af94c6, #342054);
    display: flex;          /* Enable flexbox on the body */
    justify-content: center; /* Center horizontally */
    align-items: center;    /* Center vertically */
    flex-direction: column; /* **Add this line: Arrange children in a column (vertically)** */
}

footer {
    padding: 1rem;
    text-align: center;
    width: 100%;      /* Ensures it spans the page */
    box-sizing: border-box; /* Optional but good for consistent padding */
    margin: 0 auto;   /* Ensures it's centered if width < 100% */
  }

/* Global Logo */
.logo-container-global {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    justify-content: flex-end;
}

.logo-global {
    width: 20rem;
    height: 20rem;
    object-fit: contain;
}


/* Hamburger Menu - Enhanced Styles */
.hamburger-menu {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10;
    padding-bottom: 10%;
}

.hamburger {
    background: rgba(0, 0, 0, 0.6); /* Slightly less opaque background */
    border: none;
    color: white;
    font-size: 24px; /* Slightly smaller icon size */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; /* Added transitions for hover effects */
    border-radius: 50%;
    width: 45px; /* Slightly smaller button size */
    height: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.hamburger:hover {
    background: rgba(0, 0, 0, 0.8); /* Darker background on hover */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3); /* Slightly stronger shadow on hover */
    transform: scale(1.05); /* Gentle scale up on hover */
}

.hamburger.active {
    transform: rotate(90deg);
}

.menu-content {
    position: absolute;
    left: 0;
    top: 40px; /* Position below the button */
    width: 220px;
    background: rgba(52, 32, 84, 0.95);
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-content.collapsed {
    max-height: 0;
    border: none;
    box-shadow: none;
    display: none;
    padding: 0;
    overflow: hidden;
    opacity: 0;
}

.menu-content a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 16px 20px; /* Increased padding for menu items */
    text-align: left;
    transition: background-color 0.3s ease, color 0.3s ease; /* Added transitions */
    border-bottom: 1px solid rgba(255, 255, 255, 0.15); /* Slightly more visible separator lines */
    font-weight: 300; /* Lighter font weight for menu items */
}

.menu-content a:last-child { /* Remove border from the last menu item */
    border-bottom: none;
}

.menu-content a:hover {
    background: rgba(255, 255, 255, 0.1); /* Lighter background on hover */
    color: #f0f0f0; /* Slightly lighter text color on hover */
}
/* Social Media Links */
.social-media-links {
    position: fixed;
    bottom: 10px;
    width: 100%;
    text-align: center;
}

.social-link {
    margin: 0 10px;
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.social-link i {
    margin-right: 5px;
}

/* -------------------------------------------------- */
/*                   Order Page Styles                */
/* -------------------------------------------------- */

.order-page-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Gallery Images (Desktop Only) */
.gallery-image-left,
.gallery-image-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.gallery-image-left img,
.gallery-image-right img {
    width: 100%;
    max-width: 300px;
    height: 400px;
    object-fit: cover;
    object-position: center top;
    border-radius: 10px;
}

/* Order Form Container */
.form-container {
    flex: 2;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

.checkbox-container {
    margin-bottom: 10px;
}

/* Order Form Header */
.order-header {
    text-align: center;
    margin-bottom: 2rem;
}

.order-header h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.order-header p {
    font-size: 1rem;
    color: #666;
}

/* Form Fields */
.form-group {
    margin-bottom: 1.8rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 90%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

textarea {
    height: 100px;
    resize: vertical;
}

.form-control {
    width: 90%; /* slightly reduced to account for padding and border if needed */
    padding: 12px 15px; /* increased padding for better visual spacing */
    margin: 0 auto 15px auto; /* added margin-bottom for spacing, auto left/right for centering */
    border-radius: 5px; /* slightly rounded corners */
    border: 1px solid #ccc; /* light grey border */
    font-size: 16px; /* slightly larger font size for readability */
    box-sizing: border-box; /* to include padding and border in the element's total width and height */
    display: block; /* ensures it takes full width available in form-group */
}

.form-control:focus {
    border-color: #007BFF; /* Highlight border on focus */
    outline: none; /* remove default browser outline */
    box-shadow: 0 0 5px rgba(0,123,255,.5); /* optional: subtle shadow on focus */
}


/* Submit Button */
.submit-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* -------------------------------------------------- */
/*                   Home Page Styles                 */
/* -------------------------------------------------- */

.home-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.logo {
    margin-top: 1rem;
    height: 15rem;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.logo:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
    transition: transform 0.3s ease; /* Smooth transition for the zoom effect */
}

.image-links {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 20px;
    margin: 20px 0;
}

.image-container {
    position: relative;
    display: inline-block;
    overflow: hidden; /* Prevent content overflow on hover */
    border-radius: 5%;
}

.image-button {
    width: 20rem;
    height: 20rem;
    object-fit: cover;
    display: block;
    border-radius: 5%;
    transition: transform 0.3s ease;
}

.image-text {
    position: absolute;
    top: 50%; /* Initial position in the middle */
    left: 50%;
    transform: translate(-50%, -50%); /* Center the text */
    width: 80%;
    background: rgba(255, 255, 255, 0.8);
    color: black;
    text-align: center;
    padding: 10px 0;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 1.5vw;
    transition: all 0.3s ease; /* Transition for all properties */
    z-index: 2; /* Ensure the text stays on top */
}

.image-container p {
    position: absolute;
    top: 100%; /* Initially hidden below the image */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    color: black;
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    font-size: 1vw;
    transition: top 0.3s ease; /* Transition for the top property */
    z-index: 1; /* Make sure the text in the p tag is behind the image text*/
    overflow: hidden; /* Prevent long text from overflowing */
}


.image-container:hover .image-button {
    transform: scale(1.1); /* Zoom the image on hover */
}

/* Styles for the text below the buttons */
.home-page-description {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 30px;
}


.home-page-description .image-caption {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.home-page-description .image-caption-small {
    color: white;
    font-size: 1rem;
}

/* -------------------------------------------------- */
/*                  Gallery Page Styles                 */
/* -------------------------------------------------- */

.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
}

.gallery-header h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.gallery-header p {
    font-size: 1rem;
    color: #666;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Or your adjusted minmax value */
    gap: 5px; /* Or your adjusted gap value */
    padding: 10px; /* Or your adjusted padding value */
    grid-row-gap: 5px; /* Or your adjusted grid-row-gap value */
    grid-column-gap: 5px; /* Or your adjusted grid-column-gap value */
    grid-template-rows: masonry;
    align-items: start; /* **Added align-items: start;** */
}

.gallery-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #f0f0f0; /* Or a very light gray, or a slightly darker shade of your page background */
    /* No fixed height on .gallery-image or .gallery-image img */
}

.gallery-image img {
    width: 100%;
    height: auto; /* Height becomes auto for masonry to work */
    object-fit: contain; /* Or object-fit: contain - experiment */
    object-position: center center;
    display: block; /* Ensure image behaves as block */
    transition: transform 0.3s ease;
}

.image-description {
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 80%;
    height: auto;
    max-height: 80%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.5s, opacity 0.5s linear;
    overflow-y: auto;
}

.gallery-image:hover .image-description {
    visibility: visible;
    opacity: 1;
    transition-delay: 0s;
    bottom: 10%; /* **Re-ensure bottom: 10% on hover - important for positioning** */
}

.gallery-image:hover img {
    transform: scale(1.1);
}

/* -------------------------------------------------- */
/*             Media Queries for Larger Screens          */
/* -------------------------------------------------- */

@media (min-width: 830px) {
    .order-page-wrapper {
        align-items: center;
        padding: 30px;
        flex-direction: row;
    }

    .gallery-image-left,
    .gallery-image-right {
        margin: 0 30px;
        display: flex;
    }

    .form-container {
        max-width: 400px;
        padding: 4rem;
    }

    .logo-global {
        width: 20rem;
        height: 20rem;
    }

    .gallery-image-left img,
    .gallery-image-right img {
        height: 500px;
    }

    /* Gallery Three Columns on Desktop */
    .gallery-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .logo {
        height: 40vw; /* Increased size for larger screens */
        max-height: 400px; /* Added a max-height to ensure it doesn't get too large*/
    }
}


/* -------------------------------------------------- */
/*           Media Queries for Mobile Devices         */
/* -------------------------------------------------- */

@media (max-width: 830px) {
    .gallery-image-left,
    .gallery-image-right {
        display: none;
    }

    .order-page-wrapper {
        padding: 10px;
    }

    .form-container {
        padding: 1.5rem;
        max-width: 95%;
    }

    .image-links {
        flex-direction: column;
        align-items: center;
    }

    .image-container .image-text {
        visibility: visible;
        opacity: .8;
        font-size: 2rem;
    }

    .image-links .catering-button {
        order: -1;
    }

    .home-page-description .image-caption {
        font-size: 1.5rem;
    }

    .home-page-description .image-caption-small {
        font-size: 1.2rem;
    }

    .logo {
        height: 15rem; /* Reset height for mobile devices*/
    }

    /* Gallery Mobile Column Adjustments */
    .gallery-container {
        grid-template-columns: 1fr; /* Default one column */
    }
}

/* Small mobile devices */
@media (min-width: 550px) and (max-width: 780px) {
    .gallery-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns for larger phones */
    }
}

@media (min-width: 781px) and (max-width: 830px) {
    .gallery-container {
        grid-template-columns: repeat(3, 1fr); /* Three columns for small tablets */
    }
}


/* -------------------------------------------------- */
/*                 Order Success Page Styles          */
/* -------------------------------------------------- */

.order-success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.order-success-content {
    text-align: center;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
}

.order-success-title {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.order-success-message {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.order-success-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.order-success-button:hover {
    background-color: #0056b3;
}

/* -------------------------------------------------- */
/*                  Contact Page Styles                 */
/* -------------------------------------------------- */

.contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    width: 100%;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-header {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-header h2 {
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-header p {
    font-size: 1rem;
    color: #666;
}

.contact-form {
    width: 90%;
    max-width: 500px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form .submit-button {
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

.contact-form .submit-button:hover {
    background-color: #0056b3;
}


/* Styles for Contact Success Page */
.contact-success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.contact-success-content {
    text-align: center;
    background-color: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 90%;
}

.contact-success-content h2 {
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-success-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.contact-success-button {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.contact-success-button:hover {
    background-color: #0056b3;
}

/* About Us Page */

.about-us-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-us-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-us-header h2 {
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.about-us-header p {
    font-size: 1.1rem;
    color: #666;
}

.about-us-section {
    margin-bottom: 2rem;
}

.about-us-section h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.about-us-section p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.team-member {
    text-align: center;
    margin-bottom: 1rem;
}

.team-member-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.team-members-container {
    display: flex;
    flex-direction: column; /* Default to column layout (stacking) */
    align-items: center; /* Center items vertically */
}

.team-member {
    width: 100%; /* Each team member takes full width by default */
    margin-bottom: 2rem; /* Add some spacing between team members */
}

/* New Styles for Image and Paragraphs Side-by-Side */
.story-content {
    display: flex;
    flex-direction: row; /* Arrange paragraphs and image in a row */
    align-items: flex-start; /* Align items to the start of the container */
    gap: 20px; /* Add some space between the image and paragraphs */
}

.story-paragraph {
    /*flex: 1;  Allow paragraphs to take up available space */
    /*min-width: 0;  Ensure paragraphs can shrink if needed */
}

.story-image {
    max-width: 40%; /* Limit image width to a percentage of the container */
    height: auto; /* Maintain aspect ratio */
    margin: 0; /* Reset default image margins within story-content */
}

.video-container-about {
    text-align: center;
    border-radius: 5%;
}

.video-container-about video {
    max-width: 100%;
    height: auto;
    border-radius: 3%;
}

.video-container {
    display: inline-block; /* Arrange videos side-by-side */
    text-align: center;
    margin-right: 10px; /* Add some spacing between videos if needed */
    vertical-align: top; /* Align videos to the top */
}

.video-container video {
    max-width: auto;
    height: 360px;
}

@media (max-width: 768px) {
    .story-content {
        flex-direction: column; /* Stack items vertically */
        align-items: center;    /* Center the items */
        text-align: center;     /* Optional: center text for better mobile readability */
    }

    .story-image {
        max-width: 90%; /* Make image take up 80% of the container width */
    }

    .story-paragraph {
        width: 100%; /* Ensure paragraphs use full width underneath */
    }
}


/* -------------------------------------------------- */
/*                 Scroll Animations                  */
/* -------------------------------------------------- */

[scroll-animation="send-and-receive"] > .gallery-image {
    animation-name: send-and-receive-fade-in;
    animation-timeline: view();
    animation-range: entry 10% cover 75%;
    will-change: opacity;
}

@keyframes send-and-receive-fade-in {
    entry 10% {
        opacity: 0.2; /* Fade in from transparent */
    }

    entry 75% {
        opacity: 0.8; /* Fade in to fully opaque */
    }

    exit -100% {
        opacity: 1; /* Remain opaque as exit starts */
    }

    exit 120% {

    }
  }



/* -------------------------------------------------- */
/*                 Catering/FoodPrep                  */
/* -------------------------------------------------- */

/* Catering Menu CSS */

.catering-container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 20px;
}

.menu-sections {
    margin-top: 20px;
}

.menu-section {
    margin-bottom: 30px;
}

.menu-toggle {
    background-color: transparent; /* No background */
    border: none;
    padding: 10px 15px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #ccc; /* Just a line */
    transition: background-color 0.3s ease;
    display: flex;           /* Use flexbox for alignment */
    justify-content: space-between; /* Push text and arrow apart */
    align-items: center;      /* Vertically center items */
    color: white;
}

.menu-toggle:hover {
    background-color: #e0e0e033; /* Subtle hover */
}

.arrow {
  font-size: 1em;
  transition: transform 0.3s ease;
}

/* Rotate arrow when expanded if desired. */
/*.menu-toggle:not(.collapsed) .arrow {
  transform: rotate(90deg);
}*/

.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr)); /* Default to 3 columns or more on larger screens */
    gap: 20px;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    margin-top: 10px;
    transition: max-height 0.5s ease, padding 0.5s ease;
    overflow: hidden;
}

/* Media query for smaller tablets and larger phones - 2 columns */
@media (max-width: 780px) { /* Adjust 780px breakpoint as needed */
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(45%, 1fr)); /* Two columns, each taking roughly half the width */
        /* You could also use minmax(300px, 1fr) or similar if 45% is too wide */
    }
}

/* Media query for mobile devices - 1 column */
@media (max-width: 550px) { /* Adjust 550px breakpoint as needed */
    .card-container {
        grid-template-columns: 1fr; /* Single column layout for mobile */
    }
}

/* Optional: Media query for very wide screens - potentially more than 3 columns */
@media (min-width: 1200px) { /* Or a larger breakpoint if you want */
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /*  Potentially more than 3 columns on very wide screens */
        /* Adjust minmax(400px...) value to control when it adds more columns */
    }
}

.card-container.collapsed {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    border: none; /*Remove border to make it a line*/
    padding: 0;
}

.card {
    border: 1px solid #ccc;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    background-color: white;
    display: flex;          /* Enable Flexbox on the card */
    flex-direction: column; /* Stack content vertically (image then text) */
       /* **Set a fixed height for the card** (adjust as needed) */
    /* or use max-height if you want cards to potentially be shorter */
    max-height: 400px; */
}

.card img {
    width: 100%;
    height: auto;          /* Keep height auto to maintain aspect ratio */
    object-fit: contain;   /* Keep object-fit: contain to prevent cropping */
    object-position: center;
    display: block;
    max-height: 85%;      /* **Limit image's maximum height within the card** (adjust percentage as needed) */
    /* This allows space for the text below while ensuring images don't push cards taller */
}


.card-body {
    padding: 15px;
    flex-grow: 1;         /* Allow card-body to take up remaining vertical space */
    display: flex;         /* Enable flexbox in card-body */
    flex-direction: column; /* Stack content vertically in card-body if needed */
    justify-content: space-between; /* Distribute space to push text to the bottom if desired */
}

.card-title {
    font-size: 1.2em;
    margin-bottom: 5px;
    font-weight: bold;
}

.card-description {
    font-size: 1em;
    color: #555;
}

/* Ensure carousel images fill card width and maintain height, reuse existing card image styling */
.custom-carousel .card img { /* Apply card image styles within custom carousel */
    width: 100%;
    height: auto; /* Adjust height to 'auto' here too */
    object-fit: contain; /* Change to 'contain' here as well */
    object-position: center;
    display: block;
}

/* Updated CSS for Custom Carousel Layout */

.custom-carousel {
    position: relative; /* For positioning controls */
    overflow: hidden;   /* Clip images outside the visible area */
    width: 100%;        /* Ensure carousel takes full width */
}

.carousel-inner-custom {
    display: flex;           /* Arrange items horizontally (still needed for flexbox layout) */
    /* transition: transform 0.5s ease-in-out;  REMOVE this transition line as no longer needed */
    /* width: max-content; REMOVE this line as no longer needed for sliding */
}

.carousel-item-custom {
    width: 100%;            /* Each item takes 100% of carousel width */
    flex-shrink: 0;        /* Prevent items from shrinking */
    display: none;          /* Initially hide all items - REVERTED to display: none */
}

.carousel-item-custom.active {
    display: block;         /* Show the active item - REVERTED to display: block */
}

/* Keep the CSS for .carousel-item-custom img as it is (from previous response) */
.carousel-item-custom img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 350px; /* Or your preferred height */
    object-fit: contain;
    object-position: center;
}

/* Carousel Controls - Style to fit with your design */
.carousel-control-prev-custom,
.carousel-control-next-custom {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 1.5em;
}

.carousel-control-prev-custom {
    left: 0;
}

.carousel-control-next-custom {
    right: 0;
}

.carousel-control-prev-icon-custom,
.carousel-control-next-icon-custom {
    /* Style for the arrow icons if needed, or remove if defaults are fine */
}

.visually-hidden { /* For accessibility - keep this if you are using it */
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Optional: Limit to a maximum of 3 columns, even on very wide screens */
@media (min-width: 900px) {
    .card-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CSS for Carousel Indicators */
.carousel-indicators-custom {
    position: absolute;
    bottom: 10px; /* Adjust vertical position as needed */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    display: flex;
    justify-content: center;
    gap: 8px; /* Spacing between dots */
}

.carousel-indicators-custom button {
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white dots */
    border: none;
    width: 12px; /* Dot size */
    height: 12px;
    border-radius: 50%; /* Make them circles */
    cursor: pointer;
    opacity: 0.7; /* Slightly transparent initially */
    transition: opacity 0.3s ease;
}

.carousel-indicators-custom button.active {
    opacity: 1; /* Make active dot fully opaque */
    background-color: white; /* Or a different color for active dot */
}

.carousel-indicators-custom button:hover {
    opacity: 0.9; /* Slightly more opaque on hover */
}

.order-button {
    background-color: #342054;
    color: white;
    border: none;
    padding: 15px 30px; /* Initial padding - will scale */
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px; /* Initial font size - will scale */
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px; /* Rounded corners */
    transition: background-color 0.3s ease; /* Smooth hover effect */
    box-sizing: border-box; /* Important for padding to be included in width/height */
}

.order-button:hover {
    background-color: darkorchid; /* Slightly darker purple on hover */
}













  /* Responsive scaling using viewport units and media queries */
  @media (max-width: 768px) { /* For smaller screens (tablets and phones) */
    .order-button {
        font-size: 4vw; /* Font size relative to viewport width */
        padding: 3vw 6vw; /* Padding relative to viewport width */
    }
}

@media (min-width: 769px) and (max-width: 1200px) { /* For medium screens (laptops) */
    .order-button {
        font-size: 2.5vw; /* Slightly smaller font size */
        padding: 2vw 4vw; /* Slightly smaller padding */
    }
}

@media (min-width: 1201px) { /* For larger screens (desktops) */
    .order-button {
        font-size: 1.5vw; /* Even smaller font size on large screens */
        padding: 1.5vw 3vw; /* Even smaller padding */
        max-width: 250px; /* Optionally set a max width for very large screens */
    }
}