.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    top: 0;
    height:100%;
}

.collection-carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    top: 0;
    height:95%;
}

.menu-carousel-container{
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
    top: 0;
    height: 82%;
}

/* Horizontal track container utilizing flexbox */
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Forces alignment hooks */
    scrollbar-width: none; /* Hides default scrollbar on Firefox */
    width:85%;
}

.menu-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Forces alignment hooks */
    scrollbar-width: none; /* Hides default scrollbar on Firefox */
    margin-right: 80px;

    /* Replaced inline style gap here */
    gap: 30px;

    /* Cleaned up layout for mobile centering */
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hide scrollbars for Chrome, Safari, and Opera */
.carousel-track::-webkit-scrollbar {
    display: none;
}

/* Individual slides taking full width */
.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start; /* Tells slide where to snap */
    display: flex;
    justify-content: space-between;
}

.menu-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start; /* Tells slide where to snap */
}

.carousel-slide img {
    width: 70%;
    display: block;
    object-fit: cover;
    height: 70%;
    object-position: center 80%;
    border-radius: 15px;
}

/* Styling the control overlays */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--gold);
    color: var(--navy);
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1;
    border-radius: 50%;
    transition: background-color 0.3s;
    width: 50px;
    height: 50px;
    opacity: 0.4;
}

.carousel-btn:hover {
    background-color: var(--gold);
    transition: background-color 0.3s;
    color: white;
    opacity: 1;
}

.menu-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1;
    border-radius: 50%;
    transition: background-color 0.3s;
    width: 50px;
    height: 50px;
    opacity: 1;
}

.bakedItems-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 40px;
    z-index: 1;
    border-radius: 50%;
    transition: background-color 0.3s;
    width: 50px;
    height: 50px;
    opacity: 1;
}

.bakedItems-carousel-btn:hover {
    background-color: transparent;
    transition: background-color 0.3s;
    color: white;
    opacity: 1;
}

/* Styling the control overlays */
.collection-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--navy);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 1;
    border-radius: 50%;
    transition: background-color 0.3s;
    width: 50px;
    height: 50px;
    opacity: 0.4;
}

.collection-carousel-btn:hover {
    background-color: var(--navy);
    transition: background-color 0.3s;
    color: white;
    opacity: 1;
}

.carousel-div{
    width: 100%;
    display: flex;
    justify-content: space-around;
    height:100%;
    position: relative;
    top: 0;
}

.menu-carousel-div{
    width: 100%;
    display: flex;
    justify-content: space-around;
    height:100%;
    position: relative;
    top: 0;
    padding-left: 40px;
}

.prev { left: 15px; }
.next { right: 15px; }

.menu-prev { left: -20px; }
.menu-next { right: -20px; }

.bakedItemsPrev { left: -15px; }
.bakedItemsNext { right: -15px; }

/* Container for the dots */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px; /* Spacing between dots */
    z-index: 10;
}

/* Base dot styling */
.dot {
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent */
    border-radius: 50%; /* Perfect circle */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Active dot styling */
.dot.active {
    background-color: #ffffff; /* Solid white */
    transform: scale(1.2);    /* Slightly larger to stand out */
}

.signatureDot {
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent */
    border-radius: 50%; /* Perfect circle */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Active dot styling */
.signatureDot.active {
    background-color: #ffffff; /* Solid white */
    transform: scale(1.2);    /* Slightly larger to stand out */
}

.gourmetDot {
    width: 5px;
    height: 5px;
    background-color: rgba(7, 22, 39, 0.5); /* Semi-transparent */
    border-radius: 50%; /* Perfect circle */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Active dot styling */
.gourmetDot.active {
    background-color: var(--navy); /* Solid white */
    transform: scale(1.2);    /* Slightly larger to stand out */
}

.bakedDot {
    width: 5px;
    height: 5px;
    background-color: rgba(245, 239, 233, 0.5); /* Semi-transparent */
    border-radius: 50%; /* Perfect circle */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Active dot styling */
.bakedDot.active {
    background-color: var(--ivory); /* Solid white */
    transform: scale(1.2);    /* Slightly larger to stand out */
}

.featuredCollectionDot {
    width: 5px;
    height: 5px;
    background-color: rgba(6, 22, 39, 0.5); /* Semi-transparent */
    border-radius: 50%; /* Perfect circle */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

/* Active dot styling */
.featuredCollectionDot.active {
    background-color: var(--navy); /* Solid white */
    transform: scale(1.2);    /* Slightly larger to stand out */
}

@media (max-width: 768px) {
    /* 1. Force the track to take full width so 100% slide sizing works perfectly */
    .carousel-track,
    .menu-carousel-track {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* 2. Switch horizontal slide layout to a clean vertical column stacked layout */
    .carousel-slide {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 40px 20px; /* Gives the text and logo safe breathing room */
        box-sizing: border-box;
    }

    /* 3. Re-scale your container inner blocks to take full width */
    .hero-inner-left,
    .hero-inner-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* 4. Fix image dimensions so they don't break boundaries or overflow */
    .carousel-slide img {
        width: 330px;
        height: 220px !important;

    }

    /* 5. Scale down text sizes so long headlines don't spill over or overlap */
    .questionClass {
        font-size: 24px !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .answerClass {
        font-size: 16px !important;
    }

    /* 6. Fix your layout wrappers to handle mobile viewport sizing safely */
    .menu-carousel-div {
        padding-left: 0 !important;
    }

    /* 7. Hide desktop directional buttons completely on touch devices */
    .carousel-btn,
    .menu-carousel-btn,
    .bakedItems-carousel-btn,
    .collection-carousel-btn {
        display: none !important;
    }

    .menu-carousel-container {
        overflow-x: auto;
        width: 100%;
        height: 85%;
    }
}

@media (max-width: 402px) {
    /* 1. Force the track to take full width so 100% slide sizing works perfectly */
    .carousel-track,
    .menu-carousel-track {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* 2. Switch horizontal slide layout to a clean vertical column stacked layout */
    .carousel-slide {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 30px 10px; /* Gives the text and logo safe breathing room */
        box-sizing: border-box;
    }

    /* 3. Re-scale your container inner blocks to take full width */
    .hero-inner-left,
    .hero-inner-right {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* 4. Fix image dimensions so they don't break boundaries or overflow */
    .carousel-slide img {
        width: 330px;
        height: 220px !important;

    }

    /* 5. Scale down text sizes so long headlines don't spill over or overlap */
    .questionClass {
        font-size: 20px !important;
        line-height: 1.2;
        margin-bottom: 10px;
    }

    .answerClass {
        font-size: 15px !important;
    }

    /* 6. Fix your layout wrappers to handle mobile viewport sizing safely */
    .menu-carousel-div {
        padding-left: 0 !important;
    }

    /* 7. Hide desktop directional buttons completely on touch devices */
    .carousel-btn,
    .menu-carousel-btn,
    .bakedItems-carousel-btn,
    .collection-carousel-btn {
        display: none !important;
    }

    .menu-carousel-container {
        overflow-x: auto;
        width: 100%;
        height: 85%;
    }
}