/* =========================================
   MODERN RAY'S SANDWICHES - PREMIUM DESIGN
   Vibrant Gradients | Glassmorphism | Smooth Animations
   ========================================= */

/* =========================================
   1. Global Styles & Variables
   ========================================= */
:root {
    /* Vibrant Color Palette - Yellow Dominant */
    --primary-gradient: linear-gradient(135deg, #FFC107 0%, #FFEB3B 100%);
    --secondary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FFB300 100%);
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --hero-gradient: linear-gradient(135deg, rgba(255, 215, 0, 0.9) 0%, rgba(255, 235, 59, 0.8) 50%, rgba(255, 215, 0, 0.9) 100%);

    --primary-color: #FFD700;
    --orange-vibrant: #FFB300;
    --purple-accent: #667eea;
    --dark-bg: #0a0a0a;
    --card-bg: rgba(26, 26, 26, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-color: #ffffff;
    --text-muted: #aaaaaa;

    --font-script: 'Pacifico', cursive;
    --font-sans: 'Poppins', sans-serif;

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--dark-bg);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    /* Animated gradient background */
    background: linear-gradient(125deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
}

/* Animated Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 215, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 235, 59, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--primary-gradient);
    z-index: 9999;
    transition: width 0.2s ease;
}

/* =========================================
   2. Hero Section - Enhanced
   ========================================= */
.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: url('../images/hero_sandwiches.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    /* Parallax effect will be added via JS */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 215, 0, 0.3) 100%);
    z-index: 1;
    animation: pulseOverlay 8s ease-in-out infinite;
}

@keyframes pulseOverlay {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    width: clamp(120px, 30vw, 200px);
    height: clamp(120px, 30vw, 200px);
    margin: 0 auto 20px;
    /* Premium glassmorphism */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    padding: 0;
    box-shadow:
        0 8px 32px rgba(255, 215, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: floatAnimation 3s ease-in-out infinite;
    position: relative;
}

.logo-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--primary-gradient);
    z-index: -1;
    opacity: 0.6;
    filter: blur(10px);
    animation: rotateBorder 4s linear infinite;
}

@keyframes floatAnimation {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateBorder {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.brand-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.brand-name {
    font-family: var(--font-script);
    font-size: 4.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    margin-bottom: 10px;
    line-height: 1.5;
    padding-bottom: 10px;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {

    0%,
    100% {
        filter: brightness(1);
    }

    50% {
        filter: brightness(1.2);
    }
}

.tagline {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
    margin-bottom: 25px;
}

.hero-menu-btn {
    display: inline-block;
    padding: 15px 45px;
    background: var(--primary-gradient);
    color: #000;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    transition: var(--transition);
    animation: fadeInUp 1s ease-out 0.5s both;
    letter-spacing: 1px;
}

.hero-menu-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

/* =========================================
   3. Special Offers Banner - NEW
   ========================================= */
.special-offers {
    padding: 40px 0;
    margin-top: 85px;
    background: var(--secondary-gradient);
    position: relative;
    overflow: hidden;
}

.special-offers::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: floatCircle 6s ease-in-out infinite;
}

@keyframes floatCircle {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-20px, 20px);
    }
}

.offer-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.offer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.offer-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.offer-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.offer-cta {
    display: inline-block;
    padding: 15px 40px;
    background: #fff;
    color: #FF6B6B;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.offer-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* =========================================
   4. Stats Section - NEW
   ========================================= */
.stats-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.stat-icon {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================================
   5. Menu Section - Enhanced
   ========================================= */
.menu-section {
    padding: 80px 0 100px;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    position: relative;
    display: inline-block;
    width: 100%;
    animation: fadeInUp 0.8s ease-out;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: var(--primary-gradient);
    margin: 15px auto 0;
    border-radius: 3px;
    animation: expandWidth 1s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 80px;
    }
}

/* Menu Filter Buttons - NEW */
.menu-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 40px 0;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: var(--text-color);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-gradient);
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.menu-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 25px 25px 90px 90px;
    overflow: hidden;
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out;
}

/* Gradient Border Effect */
.menu-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 25px 25px 90px 90px;
    padding: 2px;
    background: var(--primary-gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(255, 215, 0, 0.3);
}

.card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .card-image img {
    transform: scale(1.15) rotate(2deg);
}

.category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: #000;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: bounceIn 0.6s var(--bounce);
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.card-info {
    padding: 30px 25px;
    text-align: center;
}

.card-info h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #fff;
    font-weight: 600;
}

.card-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-card {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    transition: var(--transition);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.btn-card:hover::before {
    width: 300px;
    height: 300px;
}

.btn-card:hover {
    color: #000;
    border-color: transparent;
    transform: scale(1.05);
}

/* =========================================
   6. Testimonials Section - NEW
   ========================================= */
.testimonials-section {
    padding: 80px 0;
    background: rgba(102, 126, 234, 0.05);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFC107' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
    pointer-events: none;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    min-width: 100%;
    /* Each card takes full width of container */
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-quote {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.3;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
}

.author-info h4 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.testimonial-stars {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 20px;
}

/* =========================================
   7. Instagram Section - NEW
   ========================================= */
.instagram-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.instagram-post {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

/* =========================================
   8. Shopping Cart Styles - NEW (Ported)
   ========================================= */

/* Toast Notification */
.cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10000;
    border: 1px solid var(--primary-color);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cart-toast i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Cart Badge - Navbar */
.nav-cart-btn {
    position: relative;
    cursor: pointer;
    margin-left: 15px;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

/* Ensure the cart icon in header.php gets these styles via class or ID */
.header-cart {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background: #FF6B6B;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-count.bump {
    transform: scale(1.5);
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-modal-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #1a1a1a;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-modal.open .cart-modal-content {
    transform: translateX(0);
}

@media (max-width: 576px) {
    .cart-modal-content {
        max-width: 100%;
    }
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary-gradient);
    color: #000;
}

.cart-header h2 {
    font-size: 1.5rem;
    color: #000;
    font-weight: 600;
    margin: 0;
    text-shadow: none;
}

.cart-modal-close {
    background: none;
    border: none;
    color: rgba(0, 0, 0, 0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-modal-close:hover {
    color: #000;
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
    font-size: 1.1rem;
}

/* Cart Items */
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.3s ease;
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.cart-item-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    border: 1px solid var(--primary-color);
    background: none;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--primary-color);
    color: #000;
}

.qty-display {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
}

.cart-item-price {
    margin-left: auto;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.remove-btn {
    background: none;
    border: none;
    color: #FF6B6B;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 5px 0;
    transition: var(--transition);
}

.remove-btn:hover {
    color: #ff4444;
    text-decoration: underline;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cart Footer */
.cart-footer {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.3);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.cart-total-price {
    color: var(--primary-color);
}

.checkout-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    color: #000;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    text-transform: uppercase;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 193, 7, 0.4);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.instagram-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.instagram-post:hover .instagram-overlay {
    opacity: 0.9;
}

.instagram-post:hover img {
    transform: scale(1.1);
}

.instagram-icon {
    font-size: 3rem;
    color: #fff;
    transform: scale(0);
    transition: var(--transition);
}

.instagram-post:hover .instagram-icon {
    transform: scale(1);
}

/* =========================================
   8. Contact Footer - Enhanced
   ========================================= */
.contact-footer {
    background: var(--primary-gradient);
    color: #000;
    padding: 40px 0 100px;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
    position: relative;
    overflow: hidden;
}

.contact-footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.footer-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-item i {
    font-size: 2.2rem;
    color: #000;
}

.contact-item .label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    opacity: 0.8;
    margin-bottom: 3px;
}

.contact-item a,
.contact-item span {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

/* =========================================
   9. Floating Actions - Enhanced
   ========================================= */
.floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    left: auto;
    /* Reset left */
    width: auto;
    /* Reset width */
    display: flex;
    flex-direction: column-reverse;
    /* Stack vertically, bottom up */
    align-items: flex-end;
    /* Align to right */
    gap: 15px;
    z-index: 9999;
    padding: 0;
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Icon on left */
    overflow: hidden;
    white-space: nowrap;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.float-btn i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    /* Prevent icon shrinking */
}

/* Hover State - Expand */
.float-btn:hover {
    width: 200px;
    /* Expand width */
    border-radius: 50px;
    justify-content: flex-start;
    padding-right: 20px;
    transform: scale(1.05);
}

.float-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    color: #fff;
}

.float-btn.call-order {
    background: var(--primary-gradient);
    color: #000;
}

/* Remove pulse animation to avoid jitter on hover expansion */
.float-btn {
    animation: none;
}

/* =========================================
   10. Scroll Animations
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   11. Responsive Design
   ========================================= */
@media (max-width: 768px) {
    .brand-name {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    .hero {
        height: 70vh;
        min-height: 420px;
    }

    .logo-container {
        width: clamp(120px, 45vw, 200px);
        height: clamp(120px, 45vw, 200px);
    }

    .section-title {
        font-size: 2.2rem;
    }

    .offer-title {
        font-size: 1.8rem;
    }

    .menu-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .contact-item {
        width: 100%;
        padding: 12px 20px;
    }

    .floating-actions {
        gap: 10px;
        bottom: 20px;
    }

    .float-btn {
        width: 52px;
        height: 52px;
        padding: 0;
        justify-content: center;
        font-size: 0;
    }

    .float-btn i {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2.5rem;
    }

    .hero {
        height: 60vh;
        min-height: 340px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .menu-grid {
        gap: 25px;
    }
}

/* =========================================
   12. Loading Animation
   ========================================= */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* =========================================
   MENU PAGE SPECIFIC STYLES
   ========================================= */

/* Navigation Bar */
.menu-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-script);
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-logo img {
    width: clamp(40px, 6vw, 60px);
    height: clamp(40px, 6vw, 60px);
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    object-fit: cover;
    flex-shrink: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: #fff;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 25px;
    background: var(--primary-gradient);
    color: #000;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: var(--transition);
}

.nav-toggle:hover {
    box-shadow: 0 6px 18px rgba(255, 215, 0, 0.25);
}

.nav-toggle-bar {
    width: 20px;
    height: 2px;
    background: #fff;
    display: block;
    transition: var(--transition);
}

.menu-nav.is-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.menu-nav.is-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-nav.is-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
    .nav-toggle {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 10px);
        left: 20px;
        right: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        background: rgba(10, 10, 10, 0.98);
        border: 1px solid rgba(255, 215, 0, 0.2);
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
        opacity: 0;
        transform: translateY(-10px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .menu-nav.is-open .nav-links {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
        padding: 8px 6px;
    }

    .nav-links a:not(.nav-cta)::after {
        display: none;
    }
}

/* Menu Hero Section */
.menu-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    background: url('../images/menu_full.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.menu-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(255, 215, 0, 0.4) 100%);
    z-index: 1;
}

.menu-hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.menu-hero-title {
    font-size: 4rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.menu-hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
}

/* Menu Filter Section */
.menu-filter-section {
    padding: 40px 0 20px;
    background: rgba(255, 255, 255, 0.02);
}

/* Menu Items Section */
.menu-items-section {
    padding: 60px 0 100px;
    background: var(--dark-bg);
}

.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

/* Menu Item Card - Shield Shape with Yellow Border */
.menu-item-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border-radius: 20px 20px 80px 80px;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.menu-item-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-item-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px 20px 80px 80px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.menu-item-card:hover::before {
    opacity: 0.1;
}

.menu-item-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: #FFC107;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.1);
}

/* Menu Item Image */
.menu-item-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Category Tags */
.item-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-gradient);
    color: #000;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
}

.breakfast-tag {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
}

.drinks-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.salad-tag {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

/* Badge Styles */
.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF6B6B;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.veg-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #38ef7d;
    color: #000;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(56, 239, 125, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Menu Item Info */
.menu-item-info {
    padding: 25px;
    position: relative;
    z-index: 1;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 15px;
}

.item-header h3 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    flex: 1;
    line-height: 1.3;
}

.item-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.item-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.item-order-btn {
    display: flex;
    margin: 20px auto 0;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.item-order-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-gradient);
    transition: var(--transition);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.item-order-btn:hover::before {
    width: 300px;
    height: 300px;
}

.item-order-btn:hover {
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Responsive Design for Menu Page */
@media (max-width: 768px) {
    .nav-links {
        gap: 15px;
    }

    .menu-hero-title {
        font-size: 2.5rem;
    }

    .menu-hero-subtitle {
        font-size: 1.1rem;
    }

    .menu-items-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .item-header h3 {
        font-size: 1.3rem;
    }

    .item-price {
        font-size: 1.4rem;
    }

    .menu-hero {
        height: 45vh;
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-logo img {
        width: clamp(36px, 12vw, 44px);
        height: clamp(36px, 12vw, 44px);
    }

    .menu-hero-title {
        font-size: 2rem;
    }

    .menu-item-image {
        height: 220px;
    }

    .menu-hero {
        height: 40vh;
        min-height: 260px;
    }
}

/* =========================================
   13. Form Styles (Reservation, Contact)
   ========================================= */
.form-section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: url('../images/hero_bg.png') no-repeat center center/cover;
    position: relative;
}

.form-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.form-container {
    position: relative;
    z-index: 2;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-col {
    flex: 1;
}

.form-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary-gradient);
    color: #000;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: var(--transition);
    margin-top: 10px;
}

.form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

/* =========================================
   14. Gallery Styles
   ========================================= */
.gallery-grid {
    column-count: 3;
    column-gap: 20px;
}

.gallery-item {
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 15px;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        column-count: 1;
    }
}

/* =========================================
   15. Contact Map & Info
   ========================================= */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 30px;
    overflow: hidden;
    background: var(--card-bg);
}

.contact-info-panel {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-container {
    min-height: 400px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* =========================================
   16. Search Bar (Menu)
   ========================================= */
.menu-search-container {
    max-width: 600px;
    margin: 0 auto 30px;
    position: relative;
}

.menu-search-input {
    width: 100%;
    padding: 15px 50px 15px 25px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #fff;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
}

.menu-search-icon {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

/* =========================================
   17. Cart & Checkout Styles
   ========================================= */

/* Floating Cart Toast */
.cart-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #000;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 700;
    z-index: 9999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Header Cart Icon */
.header-cart {
    position: relative;
    margin-right: 15px;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    text-decoration: none !important;
}

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

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary-color);
    color: #000;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/* Checkout Page Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

@media(max-width: 900px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

/* Order Summary */
.order-summary-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.checkout-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 15px;
}

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

.checkout-item-details h4 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: #fff;
}

.checkout-item-details p {
    margin: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.checkout-item-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-item-actions input {
    width: 50px;
    padding: 5px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 5px;
    text-align: center;
}

.remove-btn {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s;
}

.remove-btn:hover {
    transform: scale(1.1);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

/* Payment Form */
.payment-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.payment-tab {
    flex: 1;
    padding: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    border-radius: 10px;
    border: 1px solid transparent;
}

.payment-tab.active {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.credit-card-preview {
    background: linear-gradient(135deg, #444, #222);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}


/* =========================================
   18. Homepage Menu Slider
   ========================================= */
.menu-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 0;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.menu-slider::-webkit-scrollbar {
    display: none;
}

.menu-slider .menu-card {
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #000;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, background 0.2s;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    background: #fff;
}

.slider-btn.prev {
    left: 0px;
}

.slider-btn.next {
    right: 0px;
}

@media (max-width: 768px) {
    .menu-slider-wrapper {
        padding: 0;
    }

    .slider-btn {
        display: none;
        /* Hide arrows on mobile, rely on touch scroll */
    }
}

/* =========================================
   19. Homepage Category Grid
   ========================================= */
.category-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.category-item-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.category-item-link:hover {
    transform: translateY(-10px);
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
}

.category-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.category-item-link:hover .category-img-wrapper {
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(255, 215, 0, 0.4);
}

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

.category-item-link:hover .category-img {
    transform: scale(1.1);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin: 0;
}

@media (max-width: 768px) {
    .category-grid {
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }

    .category-item {
        width: 120px;
    }


    .category-img-wrapper {
        width: 120px;
        height: 120px;
    }
}

/* See All Menu Button (Vinny's Pizza Style - Theme Color) */
.btn-see-all-menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: #000;
    padding: 15px 35px;
    border-radius: 12px;
    /* Rounded but not pill */
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: capitalize;
    /* Title Case */
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.btn-see-all-menu:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
    color: #000;
}

.btn-see-all-menu i {
    font-size: 1.2rem;
}

/* =========================================
   8. Popular Favorites Slider - NEW
   ========================================= */
.popular-section {
    padding: 60px 0;
    overflow: hidden;
    /* Hide overflow from slider */
    background: linear-gradient(to bottom, var(--dark-bg), rgba(20, 20, 20, 1));
}

.section-header-flex {
    align-items: flex-end;
    margin-bottom: 30px;
    padding: 0 10px;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 10px;
}

@media (max-width: 992px) {
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .popular-grid {
        grid-template-columns: 1fr;
    }
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-top: 5px;
}

.slider-nav-buttons {
    display: flex;
    gap: 15px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-gradient);
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.menu-slider-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 10px 40px;
    /* Bottom padding for hover effects */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    scroll-behavior: smooth;
}

.menu-slider-container::-webkit-scrollbar {
    display: none;
}

.menu-slider-wrapper {
    display: flex;
    gap: 20px;
    width: max-content;
    /* Ensure it expands horizontally */
}

/* Slider Card overrides */
.slider-card {
    min-width: 300px;
    /* Fixed width for slider logic */
    width: 300px;
    margin: 0;
    /* Gap handles spacing */
    flex-shrink: 0;
}

.slider-card .card-image {
    height: 200px;
    /* Slightly smaller than main menu */
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    flex-wrap: nowrap;
    gap: 10px;
}

.price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}
