body {
    font-family: 'Kanit', sans-serif;
    color: #32612D;
    background-color: #333333;
    margin: 0;
    overflow-x: hidden;
}

h1 {
    color: #FFA42A;
}

h3 {
    color: #32612D;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    z-index: 2;
    box-sizing: border-box;
    position: relative; /* Not fixed */
}

.navbar-logo .logo {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.navbar-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: flex-end;
    width: 100%;
}

.nav-button {
    font-family: 'Kanit', sans-serif;
    font-weight: 600;
    background-color: rgba(255, 211, 172, 0.8);
    color: #32612D;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1rem;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
}

.nav-button:hover {
    background-color: rgba(255, 185, 93, 0.9);
    color: #ffffff;
}

.hero {
    margin-top: env(safe-area-inset-top, 0); /* Account for safe areas (e.g., notches) */
    padding-top: 60px; /* Adds enough space to avoid overlapping */
    height: calc(70vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5); /* Adjust as needed */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #FFA42A;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    opacity: 0;
    transform: translateY(-40px);
    animation: fadeIn 2.0s ease-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel {
    text-align: center;
    padding: 50px;
    background-color: #333333;
    overflow-x: hidden;
}

.carousel h1{
    font-size: 3rem;
    color: #FFA42A;
    margin-bottom: 20px;
    text-align: center;
}

.carousel-container {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden;
    min-width: 300px; 
}

.slider {
    display: flex;
    overflow: hidden;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 10px;
    width: 100%;
    -webkit-overflow-scrolling: touch; 
}

.slider img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.slide img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.slide img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

@keyframes fadeInCarousel {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide {
    opacity: 0;
    animation: fadeInCarousel 0.5s ease-out forwards;
}

.slide:nth-child(1) {
    animation-delay: 0.5s;
}
.slide:nth-child(2) {
    animation-delay: 0.5s;
}
.slide:nth-child(3) {
    animation-delay: 0.5s;
}
.slide:nth-child(4) {
    animation-delay: 0.5s;
}
.slide:nth-child(5) {
    animation-delay: 0.5s;
}
.slide:nth-child(6) {
    animation-delay: 0.5s;
}
.slide:nth-child(7) {
    animation-delay: 0.5s;
}

.dish-button {
    font-family: 'Kanit', sans-serif;
    font-weight: 500;
    background-color: #c47d20;
    color: #ffffff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    border-radius: 5px;
    display: block;
    text-align: center;
    width: 100%;
    transition: background-color 0.3s;
}

.dish-button:hover {
    background-color: #ffb95d;
    color: #ffffff;
}

.dish-description {
    display: none;
    padding: 10px;
    color: #32612D;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 10px;
    text-align: center;
    max-width: 300px;
    margin: 10px auto;
}

.carousel-btn {
    background-color: #32612D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.left-btn {
    left: 20px;
}

.right-btn {
    right: 20px;
}

.slider {
    display: flex;
    overflow-x: hidden;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px;
    width: 100%;
}

.slider.dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}
.dish-label {
    text-align: center;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #32612D;
}

.nav-button[href*="order.toasttab.com"] {
    background-color: #ff0000;
    color: #ffffff;
    font-size: 1.2rem;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    transition: all 0.3s ease-in-out;
    border: 2px solid rgba(255, 0, 0, 0.8);
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-button[href*="order.toasttab.com"]:hover {
    background-color: #ff4500;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 0, 0, 1);
    transform: scale(1.1);
}

.rewards-section {
    text-align: center;
    padding: 50px;
    background-color: #444444;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    margin: 20px auto;
    max-width: 800px;
    opacity: 0;
    animation: fadeIn 2.0s ease-out forwards;
    animation-delay: 0s;
}

.rewards-section h2 {
    font-size: 2rem;
    color: #FFA42A;
    margin-bottom: 20px;
}

.rewards-section p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #f8f8f8;
}

.rewards-section a {
    display: inline-block;
    background-color: #ff0000;
    color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
}

.rewards-section a:hover {
    background-color: #ff4500;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 1);
}

.reviews-section {
    text-align: center;
    padding: 50px;
    background-color: #444444;
    color: #ffffff;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 800px;
    margin-bottom: 100px;
}

.reviews-section h2 {
    font-size: 2.5rem;
    color: #FFA42A;
    margin-bottom: 20px;
}

.review-carousel {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    overflow: hidden;
    min-height: 500px;
}

.review-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    background-color: #333333;
    border-radius: 10px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out;
}

.review-card.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.review-card img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.review-card img:hover {
    transform: scale(1.05);
}

.review-card p {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: #f8f8f8;
}

.review-card h4 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #FFA42A;
}

.footer {
    background-color: #000000;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
    margin-top: 20px;
    font-size: 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #FFA42A;
}

.footer-content a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-content a:hover {
    color: #FFA42A;
}

.footer-content img {
    width: 65px;
    height: 65px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.footer-content img:hover {
    transform: scale(1.2);
}

.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #333333;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #aaaaaa;
}

.footer-bottom a {
    color: #FFA42A;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.dish-flip-container {
    height: 100px;
}

.dish-flip-card {
    position: relative;
    width: 100%;
    height: auto;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.dish-front, .dish-back {
    position: absolute;
    width: 100%;
    backface-visibility: hidden;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    font-family: 'Kanit', sans-serif;
    box-sizing: border-box;
}

.dish-front {
    background-color: #c47d20;
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.dish-back {
    background-color: #32612D;
    color: #ffffff;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 0.9rem;
}


.dish-flip-card.flipped {
    transform: rotateY(180deg);
}
.sambusa-slushy-section {
    padding: 60px 20px;
    background-color: #333333;
    text-align: center;
}

.media-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* space between sambusa and slushy */
    flex-wrap: wrap; /* makes it responsive on smaller screens */
    margin-top: 30px;
}

.media-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    flex: 1;
}

.media-image,
.media-video {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain; /* ensures full image fits inside */
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
    background-color: #222; /* adds a clean frame behind transparent parts */
    padding: 5px; /* adds a bit of spacing */
}



.media-image:hover,
.media-video:hover {
    transform: scale(1.05);
}

.media-item h3 {
    color: #FFA42A;
    margin-top: 15px;
    font-size: 1.5rem;
}

/* Tablet and smaller: stack vertically */
@media (max-width: 768px) {
    .media-container {
        flex-direction: column;
        gap: 30px;
    }

    .media-item {
        max-width: 90%;
    }

    .media-image,
    .media-video {
        height: auto;
        max-width: 100%;
    }

    .media-item h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    /* Navbar */
    .navbar {
        flex-direction: column;
        padding: 10px;
        position: relative; /* Navbar will flow naturally above the hero section */
        width: 100%;
        background-color: transparent; /* Retain transparency */
    }

    .navbar-logo .logo {
        height: 80px; /* Smaller logo for mobile */
    }

    .navbar-links {
        flex-direction: column;
        gap: 10px;
    }

    .nav-button {
        font-size: 0.9rem;
        padding: 8px 10px;
    }

    /* Hero Section */
    .hero {
        margin-top: env(safe-area-inset-top, 0); /* Safe area for devices like iPhones */
        padding-top: 70px; /* Ensure proper spacing from the navbar */
        height: 50vh; /* Adjust for smaller screens */
    }

    .hero-content {
        padding: 10px;
        font-size: 0.9rem;
        max-width: 90%;
        margin: 0 auto; /* Center-align the content */
        word-wrap: break-word;
    }

    .hero-content h1 {
        margin-bottom: 10px; /* Add spacing below the title */
    }

    .hero-content p {
        line-height: 1.5; /* Improve readability */
    }
    
    /* Carousel Section */
    .carousel h1 {
        font-size: 2rem; /* Adjust heading size */
    }

    
    .slider {
        flex-direction: column; /* Stack slides for easier management */
        position: relative;
    }

    .slide {
        display: none; /* Hide all slides by default */
        width: 100%; /* Ensure slide takes up full width */
        animation: fadeInCarousel 0.5s ease-out forwards;
    }
    .slide.active {
        display: block; /* Show only the active slide */
    }

    .slide img {
        border-radius: 10px; /* Ensure rounded corners for images */
        object-fit: cover;
    }
    

    .carousel-container {
        border-radius: 10px; /* Match the border-radius of the images */
        overflow: hidden; /* Ensure the rounded corners are visible */
    }

    .dish-button {
        width: 100%; /* Ensures the button spans the full width of its container */
        box-sizing: border-box; /* Includes padding and borders in the button's width */
        margin-top: 10px; /* Keeps the spacing consistent */
        text-align: center;
    }

    .dish-flip-container {
        width: 100%; /* Match the carousel container width */
        display: flex;
        justify-content: center; /* Center the button */
        margin-top: 10px;
    }


    /* Rewards Section */
    .rewards-section {
        padding: 20px;
    }

    .rewards-section h2 {
        font-size: 1.5rem;
    }

    .rewards-section p {
        font-size: 1rem;
    }

    .rewards-section a {
        font-size: 1rem;
        padding: 10px 20px;
    }

    /* Reviews Section */
    .reviews-section {
        padding: 20px;
    }

    .review-card img {
        width: 100%;
        height: auto;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content img {
        width: 50px; /* Smaller icons */
        height: 50px;
    }

    .footer-bottom {
        font-size: 0.8rem;
    }
    
}
