/* Make profile-item images fit and appear smaller */
.profile-item-images {
    display: flex;
    flex-direction: row;
    gap:5rem;
    justify-content: center;
    align-items: center;
}
.profile-item-images img {
    max-width: 220px;
    height: auto;
    border-radius: 12px;
}

.profile-item-images-3 {
    display: flex;
    flex-direction: row;
    gap:10rem;
    justify-content: center;
    align-items: center;
}
.profile-item-images-3 img {
    max-width: 500px;
    height: auto;
    border-radius: 12px;
}

@font-face {
            font-family: 'CabinetGrotesk';
            src: url('../font/CabinetGrotesk_Complete/Fonts/TTF/CabinetGrotesk-Variable.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }
        .footer-copyright {
            text-align: center;
            margin-top: 2rem;
            color: #fee2e2;
            font-size: 0.95rem;
        }
        .footer-brand img {
            height: 10rem;
            width: auto;
            display: block;
            margin-bottom: 1.5rem;
        }
        @font-face {
            font-family: 'Reenie Beanie';
            src: url('../font/ReenieBeanie-Regular.ttf') format('truetype');
            font-weight: normal;
            font-style: normal;
        }
        /* Find this class in your CSS and update it */
/* In your style.css file */

/* 1. UPDATE your existing container rule */
.hero-image-homepage {
    width: 100%;
    height: 100vh;
    position: relative; /* This is correct */
    z-index: 1;

    /* These styles create a "frame" effect */
    padding-top: 8rem;
    padding-left: 2rem;
    padding-right: 2rem;
    padding-bottom: 2rem;
    border-radius: 50px;
    overflow: hidden; /* This is important */
}

/* 2. REMOVE padding and background from the image itself */
.hero-img-rounded {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 35px;
    padding: 0.5rem;
    background-color: #B71F2B;
}

/* 3. ADD this as a NEW, SEPARATE rule */
.hero-text {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    max-width:500px;
    
    /* Use the padding from the parent, plus a little more for the text */
    padding: 6rem 6rem; 

    color: white; /* Make sure text is visible */
    font-family: 'Reenie Beanie', cursive;
    font-size: 3rem;
    line-height: 1.1;
    overflow:hidden;
}

.hero-text p {
    font-family: 'CabinetGrotesk', sans-serif;
    font-size: 1.25rem;
}

.hero-text h4 {
    color:#eceed7;
}

        *, *::before, *::after {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        html {
            scroll-behavior: smooth;
        }
        body {
            background-color: #F2F4DF;
            background-image: repeating-linear-gradient(
                to right,
                #F2F4DF 0px,
                #F2F4DF 40px,
                #eceed7 40px,
                #eceed7 80px
            );
            font-family: 'CabinetGrotesk', sans-serif;
            color: #374151;
            line-height: 1.6;
        }
        img {
            display: block;
        }
        a {
            text-decoration: none;
            color: inherit;
        }
        h1, h2, h3, h4, h5 {
    line-height: 1.2;
    transform: scale(1.04);
    /* Slight bounce on hero image hover */
}
h2 {
    color: #B71F2B;
        }
    .container {
    width: 100%;
    max-width: 1300px; /* General content container */
    margin-left: auto;
    margin-right: auto;
        }

        .container-profile {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-color: #EA5374;
    padding-right: 8rem;
    padding-left: 8rem;
    padding-top: 6rem;
    padding-bottom: 6rem;
    margin-top: 4rem;
        }


/* Nav-specific container for header/nav layout */
.nav-container {
    width: 100%;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
}
        .font-handwritten {
            font-family: 'Kalam', cursive;
        }
        .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
        }
        .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    border-radius: 50px;
        }
        .nav-centered {
            justify-content: center;
        }
        .nav-flex {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            width: 100%;
        }
        .nav-flex .logo {
            margin: 0 2rem;
        }
        .logo {
            font-size: 1.5rem;
            font-weight: 700;
            color: #1f2937;
        }
        .desktop-nav {
            display: none;
        }
        .desktop-nav a {
            font-family: 'Reenie Beanie', cursive;
            color: #B71F2B;
            font-size: 2rem;
            transition: color 0.2s ease-in-out, transform 0.35s cubic-bezier(.34,1.56,.64,1);
        }
        .desktop-nav a:hover {
    color: #D9534F;
    transform: scale(1.15);
    /* transition already set above for consistency */
}
    .desktop-nav .logo img {
        transition: transform 0.3s cubic-bezier(.34,1.56,.64,1);
        height: 5rem !important;
    }
    .desktop-nav .logo a:hover img {
        transform: scale(1.2);
    }
        .mobile-menu-button {
            display: block;
        }
        .hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: 100vh;
        }

        .intro-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
        }
        .card {
            padding: 1.5rem;
            border-radius: 0.5rem;
        }
.card h3 {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'CabinetGrotesk', sans-serif;
}
        .card p { font-size: 0.875rem; }
        .card-sweet { background-color: #EA9E9E; }
        .card-savory { background-color: #E0E7C3; }
        .card-bestseller { background-color: #D9534F; color: white; }
        .card-new { background-color: #B5CC95; }
        .intro-text {
            text-align: center;
        }
        .intro-text h2 {
            font-size: 3rem;
            color: #1f2937;
            margin-bottom: 1rem;
            color: #B71F2B;
        }
        .menu-highlights-section {
            padding-bottom: 4rem;
        }
        .menu-item {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
        }

        .profile-item {
            display: flex;
            flex-direction: column;
            gap: 3rem;
            align-items: center;
        }

        /* This is the container for the three images */
.menu-item-profile {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    width: 100%;
    position: relative;
    top: -50px;   /* Vertically offset by 50px */
    /* To allow negative offset, use -50px */
    /* top: -50px; */
}

/* This is the container for EACH image */
.menu-item-profile .menu-item-images{
    /* THIS IS THE MAIN CHANGE - making the images much larger */
    width: 280px; 
    /* You can adjust this value (e.g., 250px, 300px) to get the perfect size */
}

.profile-item-images {
    /* THIS IS THE MAIN CHANGE - making the images much larger */
    width: 80px; 
    /* You can adjust this value (e.g., 250px, 300px) to get the perfect size */
}

/* The image element itself */
.menu-item-profile .rotated-image {
    width: 100%;
    height: auto;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Optional: adds a nice shadow */
    transition: transform 0.3s ease-in-out;
}

/* The rotation for each image */
.menu-item-profile .menu-item-images:nth-child(1) .rotated-image {
    transform: rotate(-6deg);
}

.menu-item-profile .menu-item-images:nth-child(2) .rotated-image {
    /* Giving the middle one a slight lift can look nice */
    transform: rotate(2deg) translateY(-10px);
}

.menu-item-profile .menu-item-images:nth-child(3) .rotated-image {
    transform: rotate(6deg);
}

        .menu-item:last-child {
            margin-bottom: 0;
        }
        .menu-item-text h2 {
            font-size: 3rem;
            color: #1f2937;
            margin-bottom: 1rem;
            color: #B71F2B;
        }
        .menu-item-text p {
            margin-bottom: 1rem;
        }
        .menu-item-images {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 1rem;
        }
        .menu-item-images img {
            border-radius: 0.5rem;
        }

        .profile-item-text h2 {
            font-size: 3rem;
            color: #1f2937;
            margin-bottom: 1rem;
            color: #DDE3B7;
        }

        .profile-item-text {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 4rem;
        }
        .profile-item-text p {
            margin-bottom: 1rem;
            color: #DDE3B7;
        }

.img-main-panah{
    rotate: -18deg;
}

        .tagline-section {
            padding-top: 7rem;
            padding-bottom: 7rem;
            text-align: center;
            background-color: #eceed7;
        }

        .order-tagline-section {
    padding-top: 2rem;
    padding-bottom: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center; /* This handles vertical centering */
    align-items: center;     /* This will handle horizontal centering */
    /* padding-top: 0; was overriding the one above, so you may want to remove it */
}

.container-service-parent {
    display: flex;
    flex-direction: row;
    justify-content: center; /* This handles vertical centering */
    align-items: center;     /* This will handle horizontal centering */
    /* padding-top: 0; was overriding the one above, so you may want to remove it */
    gap: 4rem;
    padding: 2rem;
}
        

        .ribbon-img {
            display: inline-block;
            height: 5rem;
            margin-bottom: 1rem;
        }
        .tagline-text {
            font-size: 3rem;
            color: #1f2937;
            max-width: 56rem;
            margin-left: auto;
            margin-right: auto;
            color: #B71F2B;
        }

        .order-tagline-text {
            font-size: 6rem;
            color: #1f2937;
            max-width: 56rem;
            margin-left: auto;
            margin-right: auto;
            color: #B71F2B;
            text-align: center;
        }

        .order-tagline-text-2 {
            font-size: 2rem;
            max-width: 56rem;
            margin-left: auto;
            margin-right: auto;
            color: #B71F2B;
            font-weight: 700;
        }

        .service-mail-link {
            font-size: 2rem;
            color: #B71F2B;
            font-weight: 700;
        }

        .order-tagline-text-3 {
            font-size: 1rem;
            max-width: 56rem;
            margin-left: auto;
            margin-right: auto;
            color: #B71F2B;
            font-weight: 700;
        }
        
        .order-tagline-text-4 {
            font-size: 1rem;
            color: #B71F2B;
            font-weight: 700;
        }
        .cta-section {
            background-color: #DDE3B7;
            color: #F2F4DF;
        }
        .cta-content {
            padding: 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
            text-align: center;
        }
        .cta-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #B71F2B;
    font-family: 'CabinetGrotesk', sans-serif;
        }
        .cta-button {
            background-color: #B71F2B;
            color: #F2F4DF;
            font-weight: 700;
            padding: 0.75rem 2rem;
            border-radius: 50px;
            transition: background-color 0.2s ease-in-out;
        }
        .cta-button:hover {
            background-color: #D9534F;
        }


        .container-service {
            flex-direction: row;
            display: flex;
            padding: 1.5rem;
            border: #B71F2B solid 2px;
            border-radius: 500px;
            width: 250px;
            height: 5rem;
            justify-content: center;
            align-items: center;
            transition: background-color 0.2s;
        }
        .container-service:hover {
            background-color: #EA9E9E;
        }

        .container-service-2 {
            flex-direction: row;
            display: flex;
            padding: 1.5rem;
            border: #B71F2B solid 2px;
            border-radius: 500px;
            width: 250px;
            height: 5rem;
            justify-content: center;
            align-items: center;
            transition: background-color 0.2s;
        }
        .container-service-2:hover {
            background-color: #EA9E9E;
        }


        .container-service img{
            height: 3rem;
            width: auto;
        }

        .container-service-2 img{
            height: 2rem;
            width: auto;
        }


        .menu-card-container {
            padding: 3rem;
            display: flex;
            gap: 4rem;
            justify-content: center;
            align-items: center;
            flex-direction: row;
        }
        .menu-card {
            width: 300px;
            padding: 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            gap: 1rem;
        }
        .menu-card-image {
            max-width: 100%;
            display: flex;
            justify-content: center; /* Centers the image container */
        }
        .menu-card-image img {
            width: 100%;
            height: auto;
            border-radius: 7.5%;
        }
        .menu-button {
            background-color: #DDE3B7;
            color: #B71F2B;
            padding: 1.5rem 1.5rem;
            border-radius: 50px;
            font-size: 1.5rem;
            font-family: 'CabinetGrotesk', sans-serif; /* Changed font to Cabinet Grotesk Regular */
            display: flex;
            justify-content: center; /* Centers the button text */
            width: 100%; /* Makes the button fill the width of the parent */
        }
        .menu-button h3{
            font-weight: 400;
        }

        .menu-button-desc p {
            font-size: 1.2rem;
            line-height: 1.2;
            text-align: center;
        }

         .carousel-wrapper {
            /* This is the new main container for the carousel */
            width: 100%;
            max-width: 1200px; /* Adjust as needed */
            margin: 0 auto;
        }
        .carousel-viewport {
            overflow: hidden;
            position: relative;
            cursor: grab; /* Indicates the area is draggable */
        }
        .carousel-viewport:active {
            cursor: grabbing;
        }
        .carousel-track {
            display: flex;
            transition: transform 0.5s ease-in-out;
        }
        .carousel-track .menu-card {
            /* This ensures each card takes up 1/3 of the space */
            flex: 0 0 calc(100% / 3);
            box-sizing: border-box;
            padding: 0 1rem; /* Add some horizontal spacing */
        }
        /* Hide the original container once the JS has processed it */
        .original-cards-hidden {
            display: none;
        }


        .site-footer {
            background-color: #C13A36;
background-image: url('../home/footer-image-homepage.png');
            background-size: cover;
            background-position: center;
            color: #F2F4DF;
            padding: 4rem;
        }
        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }
        .footer-brand h4 {
            font-size: 1.875rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        .footer-brand p {
            font-size: 0.875rem;
            color: #fee2e2;
        }
        .footer-links h5 {
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }
        .footer-links nav {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }
        .footer-links a {
            color: #fee2e2;
        }
        .footer-links a:hover {
            text-decoration: underline;
        }
        .footer-hours p { color: #fee2e2; }
        .footer-hours .time { font-weight: 600; margin-bottom: 0.5rem; }
        .social-links {
    display: flex;
    gap: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2F4DF;
    text-transform: capitalize;
        }
        .social-links svg {
    display: none;
        }
        
        @media (min-width: 768px) {
            .mobile-menu-button { display: none; }
            .desktop-nav { display: flex; gap: 2rem; }
            .intro-grid { grid-template-columns: 1.2fr 1fr; }
            .intro-text { text-align: left; }
            .intro-text h2 {
            color: #B71F2B;}
            .menu-highlights-section { padding-bottom: 6rem; }
            .menu-item { grid-template-columns: repeat(2, 1fr); }
            .menu-item-text h2 { font-size: 2.25rem; 
            color: #B71F2B;}
            .menu-item.reverse .menu-item-text { order: 2; }
            .menu-item.reverse .menu-item-images { order: 1; }
            .tagline-text { font-size: 3rem; 
            line-height: 1;}
            .cta-content { flex-direction: row; text-align: left; }
            .cta-content h3 { margin-bottom: 0; }
            .footer-grid { grid-template-columns: repeat(4, 1fr); }
        }

        /* --- New Carousel CSS --- */
        .carousel-container {
    position: relative;
    width: 100%;
    max-width: 450px; /* Max width for the carousel */
    margin: auto;
        }
        .carousel-track-container {
    overflow: hidden;
    border-radius: 0.5rem;
    height: 100%;
        }
        .carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
        }
        .carousel-track .card {
    min-width: 100%;
    height: 100%;
    box-sizing: border-box;
        }
        .carousel-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background-color: rgba(255, 255, 255, 0.7);
            border: none;
            border-radius: 50%;
            width: 2.5rem;
            height: 2.5rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            z-index: 5;
        }
        .carousel-button:hover {
            background-color: white;
        }
        .carousel-button#prevBtn {
            left: -1.25rem;
        }
        .carousel-button#nextBtn {
            right: -1.25rem;
        }
        .carousel-button svg {
            width: 1.5rem;
            height: 1.5rem;
        }
        .carousel-dots {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        .carousel-dots button {
            width: 0.75rem;
            height: 0.75rem;
            border-radius: 50%;
            border: none;
            background-color: #ccc;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        .carousel-dots button.active {
            background-color: #374151;
        }