/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #FFD700;
    --color-secondary: #FFA500;
    --color-dark: #0a0a0a;
    --color-dark-light: #1a1a1a;
    --color-dark-lighter: #2a2a2a;
    --color-text: #ffffff;
    --color-text-muted: #b0b0b0;
    --font-primary: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    animation: fadeInBody 0.8s ease;
}

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

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    backdrop-filter: none;
    z-index: 1000;
    padding: 0.75rem 0;
    border-bottom: none;
    box-shadow: none;
    animation: slideDown 0.6s ease;
    transform: translateY(0);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: transparent;
    border-radius: 10px;
    transition: var(--transition);
}

.logo:hover {
    background: transparent;
}

.logo img {
    height: 70px;
    width: auto;
    max-width: 200px;
    transition: var(--transition);
    filter: brightness(1.2);
    margin-top: 10px; /* Bajar el logo un poco */
}

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

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

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform: translateX(-50%);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-links a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.nav-links a:hover::before,
.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}

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

/* Logo en Hero */
.hero-logo {
    margin-bottom: 2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.hero-logo img {
    height: 180px;
    width: auto;
    max-width: 400px;
    filter: 
        brightness(1.3) 
        drop-shadow(0 0 40px rgba(255, 215, 0, 0.8))
        drop-shadow(0 0 80px rgba(255, 215, 0, 0.5))
        drop-shadow(0 0 120px rgba(255, 215, 0, 0.3));
    animation: logoGlow 2s ease-in-out infinite alternate;
    transition: var(--transition);
}

@keyframes logoGlow {
    0% {
        filter: 
            brightness(1.2) 
            drop-shadow(0 0 30px rgba(255, 215, 0, 0.6))
            drop-shadow(0 0 60px rgba(255, 215, 0, 0.4))
            drop-shadow(0 0 90px rgba(255, 215, 0, 0.2));
    }
    100% {
        filter: 
            brightness(1.4) 
            drop-shadow(0 0 50px rgba(255, 215, 0, 1))
            drop-shadow(0 0 100px rgba(255, 215, 0, 0.7))
            drop-shadow(0 0 150px rgba(255, 215, 0, 0.4));
    }
}

.hero-logo:hover img {
    transform: scale(1.1);
    filter: 
        brightness(1.5) 
        drop-shadow(0 0 60px rgba(255, 215, 0, 1))
        drop-shadow(0 0 120px rgba(255, 215, 0, 0.8))
        drop-shadow(0 0 180px rgba(255, 215, 0, 0.5));
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

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

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-dark);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

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

.btn-primary:hover {
    background: var(--color-secondary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

.btn-primary:active {
    transform: translateY(-1px) scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
    position: relative;
    overflow: hidden;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    transition: left 0.5s;
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    border-color: var(--color-secondary);
}

.btn-secondary:active {
    transform: translateY(-1px) scale(1.02);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--color-primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections */
section {
    padding: 5rem 0;
    opacity: 0;
    animation: sectionFadeIn 0.8s ease forwards;
}

@keyframes sectionFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section:nth-child(1) {
    animation-delay: 0.1s;
}

section:nth-child(2) {
    animation-delay: 0.2s;
}

section:nth-child(3) {
    animation-delay: 0.3s;
}

.section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
}

@keyframes titleShine {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    animation: lineExpand 2s ease-in-out infinite;
}

@keyframes lineExpand {
    0%, 100% {
        width: 100px;
        opacity: 0.5;
    }
    50% {
        width: 200px;
        opacity: 1;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* Menu Section */
.menu-section {
    background: var(--color-dark-light);
}

.menu-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--color-dark-lighter);
    color: var(--color-text);
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.filter-btn:hover::before {
    width: 200px;
    height: 200px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-dark);
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.filter-btn.active {
    animation: filterActive 0.5s ease;
}

@keyframes filterActive {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.05);
    }
}

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

.menu-card {
    background: var(--color-dark-lighter);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    animation: fadeIn 0.5s ease;
    position: relative;
    border: 2px solid transparent;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.menu-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), var(--color-secondary), var(--color-primary));
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s;
}

.menu-card:hover::before {
    opacity: 0.3;
    animation: borderGlow 2s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.menu-card:hover {
    transform: translateY(-15px) scale(1.03) rotate(1deg);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.4);
    border-color: var(--color-primary);
}

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

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

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

.card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-fire {
    background: rgba(255, 69, 0, 0.9);
}

.badge-vegan {
    background: rgba(34, 139, 34, 0.9);
}

.badge-star {
    background: rgba(255, 215, 0, 0.9);
    color: var(--color-dark);
}

.card-content {
    padding: 1.5rem;
}

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

.card-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.btn-add {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.btn-add::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.btn-add:hover {
    background: var(--color-secondary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
}

.btn-add:active {
    transform: scale(0.95);
}

.btn-add:active::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Promociones Section */
.promociones-section {
    background: var(--color-dark);
}

.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 2rem 50px;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.promo-card {
    flex: 0 0 350px;
    background: var(--color-dark-lighter);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid transparent;
}

.promo-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.6s;
}

.promo-card:hover::after {
    left: 100%;
}

.promo-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(255, 215, 0, 0.5);
    border-color: var(--color-primary);
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    z-index: 10;
    font-size: 0.9rem;
}

.promo-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.promo-content {
    padding: 1.5rem;
}

.promo-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.promo-content p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.promo-validity {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--color-primary);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

/* Footer */
.footer {
    background: var(--color-dark);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

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

.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 80px;
    width: auto;
    max-width: 220px;
    filter: brightness(1.1) drop-shadow(0 2px 15px rgba(255, 215, 0, 0.5));
}

.footer-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.footer-section p i {
    color: var(--color-primary);
    margin-right: 0.5rem;
    width: 20px;
}

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

.social-icon {
    width: 40px;
    height: 40px;
    background: var(--color-dark-lighter);
    color: var(--color-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-dark);
    transform: translateY(-3px);
}

.delivery-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    font-weight: 600;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.uber-btn {
    background: #000000;
    color: white;
}

.rappi-btn {
    background: #FF441F;
    color: white;
}

.delivery-btn:hover {
    transform: translateX(5px);
    opacity: 0.9;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--color-text-muted);
}

/* Carrito Flotante */
.cart-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.cart-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    animation: cartPulse 2s ease-in-out infinite;
}

@keyframes cartPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 5px 30px rgba(255, 215, 0, 0.8), 0 0 40px rgba(255, 215, 0, 0.4);
    }
}

.cart-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0;
    animation: cartRipple 2s ease-in-out infinite;
}

@keyframes cartRipple {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.cart-btn:hover {
    transform: scale(1.15) rotate(360deg);
    background: var(--color-secondary);
    animation: none;
}

.cart-btn:active {
    transform: scale(0.9);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff0000;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

/* Modal del Carrito */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background: var(--color-dark-lighter);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    -webkit-overflow-scrolling: touch; /* Smooth scroll en iOS */
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.close-btn {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--color-primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: var(--color-text-muted);
    padding: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--color-dark);
    border-radius: 15px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
    transition: var(--transition);
}

.cart-item:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

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

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

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.5rem;
}

.cart-item-details span {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.item-price {
    color: var(--color-text-muted);
}

.item-quantity {
    color: var(--color-text);
    font-weight: 600;
}

.item-subtotal {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.quantity-display {
    min-width: 30px;
    text-align: center;
    font-weight: 700;
    color: var(--color-primary);
}

.quantity-btn {
    background: var(--color-primary);
    color: var(--color-dark);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

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

.remove-btn {
    background: #ff0000;
    color: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.remove-btn:hover {
    opacity: 0.8;
}

.cart-summary {
    padding: 1rem;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    margin-top: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.cart-total {
    padding: 1.5rem;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    background: rgba(255, 215, 0, 0.05);
}

.total-amount {
    color: var(--color-primary);
    font-size: 1.8rem;
}

.btn-block {
    width: 100%;
    margin: 0 1.5rem 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo img {
        height: 50px;
        max-width: 140px;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        padding: 2rem;
        transition: var(--transition);
        backdrop-filter: blur(10px);
    }

    .nav-links.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-logo img {
        height: 120px;
        max-width: 280px;
    }
    
    .hero-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .carousel-container {
        padding: 1rem 0;
    }

    .carousel-btn {
        display: none;
    }

    .promo-card {
        flex: 0 0 280px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-logo img {
        height: 60px;
        max-width: 160px;
    }

    .cart-float {
        bottom: 20px;
        right: 20px;
    }

    .cart-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .cart-modal-content {
        max-width: 95%;
        margin: 10px;
    }

    .cart-item {
        flex-direction: column;
        gap: 1rem;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
    }

    .checkout-modal-content {
        max-width: 95%;
        margin: 10px;
        max-height: 95vh;
    }

    .checkout-body {
        padding: 1rem;
    }

    .order-summary {
        padding: 1rem;
    }

    .summary-items {
        max-height: 200px;
    }

    .location-buttons {
        flex-direction: column;
    }

    .location-buttons .btn {
        width: 100%;
    }

    .map-modal-content {
        max-width: 95%;
        margin: 10px;
    }

    .map-container {
        padding: 1rem;
    }

    #map {
        height: 300px !important;
    }

    .map-actions {
        flex-direction: column;
    }

    .map-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .logo img {
        height: 45px;
        max-width: 120px;
    }

    .hero-logo img {
        height: 100px;
        max-width: 220px;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }

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

    .section-subtitle {
        font-size: 0.9rem;
    }

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

    .menu-card {
        border-radius: 15px;
    }

    .card-image {
        height: 200px;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 1.2rem;
    }

    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .promo-card {
        flex: 0 0 260px;
    }

    .cart-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 20px 20px 0 0;
        max-height: 90vh;
    }

    .checkout-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 20px 20px 0 0;
    }

    .cart-item {
        padding: 1rem;
    }

    .cart-item-details {
        font-size: 0.8rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Evita zoom en iOS */
    }

    .size-modal-content {
        max-width: 100%;
        margin: 0;
        border-radius: 20px 20px 0 0;
    }

    .size-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }

    .size-option {
        padding: 1rem 0.5rem;
    }

    .size-price {
        font-size: 1.2rem;
    }

    .footer-section {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .delivery-fields {
        padding: 1rem;
    }
}

/* Animaciones adicionales */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

.btn-primary:hover {
    animation: glow 1.5s ease-in-out infinite;
}

/* Efectos de hover en imágenes */
.card-image img {
    transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

/* Animación de badges */
.badge {
    animation: badgeFloat 3s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.2s);
}

@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Efecto de partículas en hover de cards */
.menu-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
    z-index: 0;
}

.menu-card:hover::after {
    width: 300px;
    height: 300px;
}

/* Animación de precio */
.price {
    display: inline-block;
    transition: transform 0.3s;
}

.menu-card:hover .price {
    animation: pricePulse 0.6s ease;
}

@keyframes pricePulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Efecto de carga en botones */
.btn-add:active {
    position: relative;
}

.btn-add:active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Animación de entrada para modales */
.size-modal,
.checkout-modal {
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(10px);
    }
}

.size-modal-content,
.checkout-modal-content {
    animation: modalSlideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Animación de los botones del carrusel */
.carousel-btn {
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.2);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.6);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.9);
}

/* Efecto de brillo en el scroll indicator */
.scroll-indicator {
    animation: bounce 2s infinite, glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(255, 215, 0, 1));
    }
}

/* Modal de selección de tamaño */
.size-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.size-modal.active {
    opacity: 1;
}

.size-modal-content {
    background: var(--color-dark-lighter);
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.size-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.size-modal-header h3 {
    color: var(--color-primary);
    margin: 0;
}

.size-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: 2rem;
}

.size-option {
    background: var(--color-dark);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.size-option:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.size-popular {
    border-color: var(--color-primary);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--color-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.size-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.size-option h4 {
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.size-price {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.size-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* Modal de Checkout */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkout-modal.active {
    opacity: 1;
}

.checkout-modal-content {
    background: var(--color-dark-lighter);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.checkout-header h3 {
    color: var(--color-primary);
    margin: 0;
}

.checkout-body {
    padding: 2rem;
}

.order-summary {
    background: var(--color-dark);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.order-summary h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.summary-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 1rem;
}

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

.summary-item-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.summary-item-name {
    font-weight: 600;
    color: var(--color-text);
}

.summary-item-price {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.summary-item-subtotal {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

.summary-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0 0;
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-top: 0.5rem;
}

.total-highlight {
    font-size: 1.5rem;
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    color: var(--color-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--color-dark);
    border: 2px solid rgba(255, 215, 0, 0.2);
    color: var(--color-text);
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.delivery-fields {
    background: rgba(255, 215, 0, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-top: 1rem;
    border: 1px solid rgba(255, 215, 0, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.location-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.location-buttons .btn {
    flex: 1;
    min-width: 150px;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 10px;
    color: #25D366;
    font-size: 0.9rem;
}

.location-info i {
    font-size: 1.2rem;
}

/* Modal del mapa */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-modal.active {
    opacity: 1;
}

.map-modal-content {
    background: var(--color-dark-lighter);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.map-header h3 {
    color: var(--color-primary);
    margin: 0;
}

.map-container {
    padding: 1.5rem;
}

.map-instructions {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    color: var(--color-text-muted);
    text-align: center;
    font-size: 0.9rem;
}

.map-instructions i {
    color: var(--color-primary);
    margin-right: 0.5rem;
}

.map-actions {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
}

.map-actions .btn {
    flex: 1;
}

/* Estilos para WhatsApp en footer */
.whatsapp-contact {
    margin-top: 1rem;
}

.whatsapp-contact p {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.wa-number {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.wa-number:hover {
    background: #25D366;
    color: white;
    transform: translateX(5px);
}

.wa-number i {
    font-size: 1.2rem;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Responsive para modales */
@media (max-width: 768px) {
    .size-options {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem;
    }
    
    .checkout-modal-content,
    .size-modal-content {
        margin: 10px;
    }
    
    .checkout-body {
        padding: 1rem;
    }
}

