/* 1. Variables & Reset */
:root {
    --black: #000;
    --white: #fff;
    --red: #ff3e3e;
    --grey: #777;
    --lightbg: #f9f9f9;
    --primary: #032A32;
    --accent: #FEDCB0;
    --dark-green: #192827;
    --light-accent: #FFE8D1;
    --dark-accent: #e6c69e;
}

* { 
    margin:0; 
    padding:0; 
    box-sizing:border-box; 
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--black);
    background: var(--lightbg);
    line-height: 1.6;
    overflow-x: hidden;
}

body[style*="position: fixed"] {
  overscroll-behavior: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rawwatan', sans-serif;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
}

.container { 
    width:90%; 
    max-width:1200px; 
    margin:0 auto; 
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: var(--white);
    text-decoration: none;
    padding: .75rem 1.5rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}

.btn:hover {
    background: #e03535;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* 2. HEADER & NAVBAR */
.site-header {
    background: var(--primary);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img { 
    height: 50px; 
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-cta .phone {
    color: var(--white);
    font-weight: 600;
    transition: color 0.3s ease;
}

.header-cta .phone:hover {
    color: var(--accent);
}

.cart {
    position: relative;
    color: var(--white);
    transition: color 0.3s ease;
}

.cart:hover {
    color: var(--accent);
}

.cart i { 
    font-size: 1.2rem; 
}

.cart span {
    position: absolute;
    top: -15px;
    right: -20px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-size: .75rem;
    width: 20px;
    text-align: center;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: 2rem;
}

.mobile-menu-btn:hover {
    color: var(--accent);
}

/* 3. HERO SECTION */
.hero {
    background: linear-gradient(rgba(3, 42, 50, 0.85), rgba(3, 42, 50, 0.97)), url('../images/pastries.jpg') center/cover no-repeat;
    height: 90vh;
    position: relative;
    margin-top: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
}

.hero-content img {
    width: 220px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.hero-content h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    margin-bottom: 1rem;
    color: var(--accent);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-content p {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-btns .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.btn-outline {
    border: 2px solid var(--accent);
    background-color: transparent;
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
}

/* 4. MENU SECTIONS */
.menu-section { 
    padding: 5rem 0; 
    background: var(--white);
}

.menu-section:nth-child(even) { 
    background: var(--lightbg); 
}

.menu-section h2 {
    text-align: center;
    color: var(--primary);
    font-size: 3rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%) !important;
}

.menu-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.section-header h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-header h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 4rem;
}

.menu-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--red);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.card-content p {
    color: var(--grey);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: space-between;
}

.card-actions .btn {
    text-align: center;
    padding: 0.7rem 0.8rem;
    font-size: 0.85rem;
    border-radius: 8px;
    justify-content: center;
}

.btn-whatsapp {
    flex: 1;
    background: #ffc882;
    color: var(--primary);
    order: 1;
}

.btn-whatsapp:hover {
    background: var(--dark-accent);
    transform: translateY(-2px);
}

.btn-cart {
    background: var(--primary);
    order: 2;
}

.btn-cart:hover {
    background: #021a1f;
    transform: translateY(-2px);
}

.order {
    display: inline;
}

/* 5. CART SIDEBAR */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;          /* fallback */
    height: 100dvh;         /* modern browsers */
    background: var(--white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 1100;
    transition: right 0.4s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

/* Ensure overlay starts hidden */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1050;
    display: none;
    backdrop-filter: blur(3px);
}

.overlay.active {
    display: block;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: var(--primary);
    color: var(--white);
}

.cart-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.close-cart {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--accent);
}

.cart-items {
    flex: 1;
    padding: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.cart-item-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 1rem;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
}

.cart-item-details h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.cart-item-price {
    color: var(--red);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
}

.quantity-btn {
    background: #f0f0f0;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: var(--primary);
    color: white;
}

.quantity-input {
    width: 40px;
    text-align: center;
    margin: 0 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.25rem;
}

.remove-item {
    background: none;
    border: none;
    color: var(--red);
    cursor: pointer;
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #e03535;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: var(--lightbg);
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3 ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.checkout-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.checkout-btn:disabled,
.checkout-btn:disabled:hover {
  background: var(--red);
  color: var(--light-accent);
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* 6. ITEM DETAIL MODAL */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: var(--primary);
    color: var(--white);
}

.modal-header h3 {
    margin: 0;
    color: var(--white);
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent);
}

.item-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow-y: auto;
    transition: opacity 0.3s ease;
}

.item-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
  background: #fff;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  margin: 2rem 0;
  overflow: hidden; /* keeps image rounded edges clean */
}

.modal-body {
  display: flex;
  flex-direction: row;
  padding: 1.5rem;
  overflow-y: auto;
  max-height: 80vh; /* ensure content doesn't exceed viewport */
}

.modal-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    margin-right: 1.5rem;
    flex: 1.5;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details {
    flex: 1;
}

.modal-details h4 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.modal-details p {
    color: var(--grey);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.modal-price {
    color: var(--red);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.modal-actions .btn {
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

/* Search Bar Styles */
.search-container {
    position: relative;
    margin: 2rem auto;
    max-width: 600px;
}

.search-bar {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.search-bar:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(254, 220, 176, 0.3);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.search-result-item:hover {
    background: var(--light-accent);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-name {
    font-weight: 500;
    color: var(--primary);
}

.search-result-category {
    font-size: 0.8rem;
    color: var(--grey);
    background: var(--lightbg);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.search-result-price {
    font-weight: 600;
    color: var(--red);
}

/* Mobile Search in Navbar */
.mobile-search {
    display: none;
    position: relative;
    flex: 1;
    margin: 0 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .search-container {
        display: none;
    }
    
    .mobile-search {
        display: block;
        order: 1;
        margin: 0 1rem;
    }
    
    .mobile-search .search-bar {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .nav-container {
        flex-wrap: wrap;
    }
    
    .logo {
        order: 0;
    }
    
    .mobile-search {
        order: 1;
        flex: 1;
        min-width: 200px;
        margin: 0 1rem;
    }
    
    .header-cta {
        order: 2;
        margin-left: 0;
    }
    
    .mobile-menu-btn {
        order: 3;
    }
}

@media (max-width: 480px) {
    .mobile-search {
        min-width: 150px;
    }
}

/* 7. CTA SECTION */
.hero-order {
    width: 100%;
    background: linear-gradient(rgba(3, 42, 50, 0.9), rgba(3, 42, 50, 0.9)), url('../images/breakfast-menu.jpg') center/cover no-repeat;
    margin: 4rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cta-overlay {
    padding: 4rem 2rem;
    text-align: center;
    color: var(--white);
}

.cta-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.cta-overlay p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    background-color: #25d366;
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    gap: 5px;
}

.btn-whatsapp-large:hover {
    background-color: #1da851;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large i {
    font-size: 1.5rem;
}

.btn-whatsapp-large span {
    font-size: 1.2rem;
}

.btn-whatsapp-large small {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

/* 8. FOOTER */
.site-footer { 
    background: var(--dark-green); 
    color: #fff; 
}

.footer-top {
    border-top: 2px solid var(--red);
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-col h3 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-col p, .footer-col a { 
    color: #fff; 
    font-size: 1rem; 
    text-decoration: none; 
    line-height: 1.6; 
    margin-bottom: 0.5rem;
    display: block;
}

.footer-col .phone { 
    color: #cfdbd1; 
    font-weight: 600; 
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem 0;
}

.bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
}

/* 9. RESPONSIVE */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
        order: 2; /* Move toggle to the end */
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        left: -100%;
        width: 100%;
        max-width: 400px;
        height: calc(100vh - 72px);
        background: var(--primary);
        transition: left 0.3s ease;
        padding: 2rem;
        z-index: 999;
        transition: transform 0.3s ease;
        transform: translateX(-100%);
    }
    
    .main-nav.active {
        left: 0;
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-container {
        flex-wrap: nowrap; /* Prevent wrapping */
        justify-content: space-between;
        position: relative;
    }
    
    /* Position cart icon before the toggle */
    .header-cta {
        display: flex !important;
        order: 1; /* Between logo (0) and toggle (2) */
        width: auto;
        margin-top: 0;
        margin-left: 0; /* Remove auto margin */
        margin-right: 1rem; /* Add space before toggle */
        gap: 1rem;
    }
    
    /* Hide phone number on mobile to save space */
    .header-cta .phone {
        display: none;
    }
    
    /* Ensure cart icon is properly styled */
    .header-cta .cart {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .logo {
        order: 0; /* Ensure logo stays first */
    }
    
    .hero {
        margin-top: 72px;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .menu-section h2 {
        font-size: 2.5rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-header h3 {
        font-size: 1.8rem;
    }

    .cart-sidebar {
        right: -100% !important; /* Force off-screen on mobile */
    }
    
    .cart-sidebar.active {
        right: 0 !important; /* Only show when explicitly activated */
    }
    
    .modal-body {
        flex-direction: row;
        padding: 1rem;
        max-height: none;
    }

    .modal-content {
        width: 95%;
        height: auto;
        margin: 1rem;
    }

    .item-modal {
        align-items: flex-start;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .cta-overlay h2 {
        font-size: 2rem;
    }
    
    .bottom-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        letter-spacing: 3px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .menu-section h2 {
        font-size: 2rem;
    }
    
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-overlay h2 {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .modal-body {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        min-width: 100%;
    }

    .cart-sidebar {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .order {
        display: none;
    }
}

/* Scroll Reveal Animations */
.will-reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease;
}

.will-reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease;
}

.will-reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s ease;
}

.will-reveal.in-view,
.will-reveal-left.in-view,
.will-reveal-right.in-view {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger delays for grid items */
.menu-grid .will-reveal:nth-child(1) { transition-delay: 0.1s; }
.menu-grid .will-reveal:nth-child(2) { transition-delay: 0.2s; }
.menu-grid .will-reveal:nth-child(3) { transition-delay: 0.3s; }
.menu-grid .will-reveal:nth-child(4) { transition-delay: 0.4s; }
.menu-grid .will-reveal:nth-child(5) { transition-delay: 0.5s; }
.menu-grid .will-reveal:nth-child(6) { transition-delay: 0.6s; }

/* Ensure transitions work properly */
.menu-card,
.section-header,
.hero-content > * {
    will-change: transform, opacity;
}