        :root {
            --primary: #FF0000;  /* Rojo principal */
            --secondary: #FFA500;  /* Naranja */
            --accent: #FFFF00;  /* Amarillo */
            --light: #FFF8E1;  /* Fondo amarillo claro */
            --dark: #333333;  /* Texto oscuro */
            --text: #333333;
        }

        /* Reset y estilos base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background-color: var(--light);
            color: var(--text);
            overflow-x: hidden;
            line-height: 1.6;
        }

        h1, h2, h3, h4 {
            font-family: 'Fredoka One', cursive;
            font-weight: 400;
            color: var(--primary);
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        img {
            max-width: 100%;
            height: auto;
            border-radius: 10px;
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary);
            color: white;
            border-radius: 50px;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all 0.3s ease;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
        }

        .btn:hover {
            background: var(--secondary);
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(255, 165, 0, 0.4);
        }

        .btn-accent {
            background: var(--accent);
            color: var(--dark);
        }

        .btn-accent:hover {
            background: #FFD700;
        }

        section {
            padding: 100px 0;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
        }

        .section-title h2 {
            font-size: 3rem;
            color: var(--primary);
            margin-bottom: 15px;
            text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
        }

        .section-title p {
            font-size: 1.2rem;
            color: var(--secondary);
            max-width: 700px;
            margin: 0 auto;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background: var(--accent);
            bottom: -20px;
            left: 50%;
            transform: translateX(-50%);
        }

        /* Header hero */
        .hero {
            height: 100vh;
            background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1600891964599-f61ba0e24092?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            position: relative;
        }

        .hero-content {
            animation: fadeInUp 1s ease;
        }

        .hero h1 {
            font-size: 5rem;
            margin-bottom: 20px;
            color: var(--accent);
            text-shadow: 3px 3px 0 var(--primary);
        }

        .hero p {
            font-size: 1.5rem;
            margin-bottom: 30px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .scroll-down {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 2rem;
            color: var(--accent);
            animation: bounce 2s infinite;
            cursor: pointer;
        }

        /* Navbar */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px 0;
            background: rgba(199, 20, 20, 0.9);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .navbar.scrolled {
            padding: 15px 0;
            background: var(--primary);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .navbar .container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo img {
            height: 80px;
            width: auto;
            max-width: 300px;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .logo-text {
            position: relative;
            display: inline-block;
            font-family: 'Fredoka One', cursive;
            font-size: 3rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            color: var(--primary); /* Color rojo interior */
            margin-left: 15px;
            white-space: nowrap;
            z-index: 1;
        }

        /* Borde negro (fondo) */
        .logo-text::before {
            content: "Chispa & Sabor JG";
            position: absolute;
            z-index: -2;
            -webkit-text-stroke: 6px #000; /* Grosor del borde negro */
            text-stroke: 6px #000;
            left: 0;
        }

        /* Borde blanco (intermedio) */
        .logo-text::after {
            content: "Chispa & Sabor JG";
            position: absolute;
            z-index: -1;
            -webkit-text-stroke: 3px #fff; /* Grosor del borde blanco */
            text-stroke: 3px #fff;
            left: 0;
        }

        .navbar.scrolled .logo img {
            height: 60px;
        }

        .navbar.scrolled .logo-text {
            font-size: 2.2rem;
            transition: all 0.3s ease;
        }

        .nav-links {
            display: flex;
            list-style: none;
        }

        .nav-links li {
            margin-left: 30px;
        }

        .nav-links a {
            color: white;
            font-weight: 600;
            position: relative;
            transition: all 0.3s ease;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px;
            background: var(--accent);
            bottom: -5px;
            left: 0;
            transition: width 0.3s ease;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        .nav-links a:hover {
            color: var(--accent);
        }

        .hamburger {
            display: none;
            cursor: pointer;
            color: white;
            font-size: 1.5rem;
        }

        /* About Section */
        .about {
            background: white;
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 2.5rem;
            color: var(--primary);
            margin-bottom: 20px;
        }

        .about-text p {
            margin-bottom: 15px;
        }

        .about-image {
            flex: 1;
            position: relative;
        }

        .about-image img {
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
        }

        .about-image::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border: 5px solid var(--accent);
            border-radius: 15px;
            top: -20px;
            left: -20px;
            z-index: -1;
        }

        /* Menu Section */
        .menu {
            background: var(--light);
        }

        .menu-filter {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 10px 25px;
            margin: 0 10px 10px;
            background: none;
            border: 2px solid var(--primary);
            color: var(--primary);
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .filter-btn.active, .filter-btn:hover {
            background: var(--primary);
            color: white;
        }

        .menu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        .menu-item {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .menu-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .menu-item-img {
            height: 250px;
            overflow: hidden;
        }

        .menu-item-img img {
            width: 100%; /*100%*/
            height: 100%; /*100%*/
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .menu-item:hover .menu-item-img img {
            transform: scale(1.1);
        }

        .menu-item-content {
            padding: 25px;
        }

        .menu-item-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            align-items: center;
        }

        .menu-item-title {
            font-size: 1.5rem;
            color: var(--secondary);
            font-family: 'Fredoka One', cursive;
        }

        .menu-item-price {
            font-size: 1.3rem;
            color: var(--primary);
            font-weight: 700;
        }

        .menu-item-desc {
            color: #666;
            margin-bottom: 20px;
        }

        /* Testimonials */
        .testimonials {
            background: linear-gradient(rgba(179, 25, 25, 0.9), rgba(207, 35, 35, 0.9)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
            color: white;
            text-align: center;
        }

        .testimonials .section-title h2 {
            color: white;
            text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
        }

        .testimonial-slider {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
        }

        .testimonial {
            padding: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            margin-bottom: 30px;
            backdrop-filter: blur(5px);
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .testimonial.active {
            display: block;
        }

        .testimonial-text {
            font-size: 1.2rem;
            font-style: italic;
            margin-bottom: 20px;
            position: relative;
        }

        .testimonial-text::before, .testimonial-text::after {
            content: '"';
            font-size: 3rem;
            color: rgba(255, 255, 255, 0.3);
            position: absolute;
        }

        .testimonial-text::before {
            top: -20px;
            left: -15px;
        }

        .testimonial-text::after {
            bottom: -40px;
            right: -15px;
        }

        .testimonial-author {
            font-weight: 700;
            margin-top: 30px;
            color: var(--accent);
        }

        .slider-dots {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .dot {
            width: 12px;
            height: 12px;
            background: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .dot.active {
            background: var(--accent);
            transform: scale(1.2);
        }

        /* Contact Section */
        .contact {
            background: white;
        }

        .contact-content {
            display: flex;
            gap: 50px;
        }

        .contact-info {
            flex: 1;
        }

        .contact-info h3 {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: 30px;
        }

        .contact-detail {
            display: flex;
            align-items: flex-start;
            margin-bottom: 25px;
        }

        .contact-icon {
            font-size: 1.5rem;
            color: var(--secondary);
            margin-right: 15px;
            margin-top: 5px;
        }

        .contact-text h4 {
            font-size: 1.2rem;
            margin-bottom: 5px;
            color: var(--primary);
        }

        .contact-form {
            flex: 1;
            background: var(--light);
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 600;
            color: var(--secondary);
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 2px solid var(--accent);
            border-radius: 5px;
            font-family: inherit;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-control:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.2);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

        /* Footer */
        .footer {
            background: var(--primary);
            color: white;
            padding: 80px 0 30px;
        }

        .footer-content {
            display: flex;
            gap: 50px;
            margin-bottom: 50px;
        }

        .footer-col {
            flex: 1;
        }

        .footer-col h3 {
            font-size: 1.5rem;
            margin-bottom: 25px;
            color: var(--accent);
        }

        .footer-col p {
            margin-bottom: 15px;
            opacity: 0.9;
        }

        .footer-links li {
            list-style: none;
            margin-bottom: 10px;
        }

        .footer-links a {
            opacity: 0.9;
            transition: all 0.3s ease;
        }

        .footer-links a:hover {
            opacity: 1;
            color: var(--accent);
            padding-left: 5px;
        }

        .social-links {
            display: flex;
            gap: 15px;
        }

        .social-link {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background: var(--accent);
            color: var(--primary);
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            opacity: 0.8;
        }

        /* Animaciones */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
            40% { transform: translateY(-20px) translateX(-50%); }
            60% { transform: translateY(-10px) translateX(-50%); }
        }

        /* Efectos especiales */
        .sparkle {
            position: absolute;
            width: 5px;
            height: 5px;
            background: var(--accent);
            border-radius: 50%;
            pointer-events: none;
            animation: sparkleAnimation 1s ease-out forwards;
        }

        @keyframes sparkleAnimation {
            0% {
                transform: scale(0);
                opacity: 1;
            }
            100% {
                transform: scale(1.5);
                opacity: 0;
            }
        }

        /* Carrito de compras */
        .cart-icon {
            position: fixed;
            top: 20px;
            right: 20px;
            background: var(--accent);
            color: var(--dark);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            cursor: pointer;
            z-index: 1001;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        .cart-icon:hover {
            transform: scale(1.1);
        }

        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--secondary);
            color: white;
            width: 25px;
            height: 25px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        .cart-sidebar {
            position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
            z-index: 1002;
            transition: right 0.3s ease;
            overflow-y: auto;
            padding: 20px;
        }

        .cart-sidebar.active {
            right: 0;
        }

        .cart-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--light);
        }

        .cart-header h3 {
            font-size: 1.8rem;
            color: var(--primary);
        }

        .close-cart {
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--secondary);
        }

        .cart-items {
            margin-bottom: 20px;
        }

        .cart-item {
            display: flex;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid #eee;
        }

        .cart-item-img {
            width: 80px;
            height: 80px;
            border-radius: 5px;
            overflow: hidden;
            margin-right: 15px;
        }

        .cart-item-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .cart-item-details {
            flex: 1;
        }

        .cart-item-title {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--secondary);
        }

        .cart-item-price {
            color: var(--primary);
            font-weight: 600;
            margin-bottom: 5px;
        }

        .cart-item-quantity {
            display: flex;
            align-items: center;
        }

        .quantity-btn {
            width: 25px;
            height: 25px;
            background: var(--light);
            border: none;
            border-radius: 3px;
            cursor: pointer;
            font-weight: bold;
        }

        .quantity-input {
            width: 40px;
            text-align: center;
            margin: 0 5px;
            border: 1px solid #ddd;
            border-radius: 3px;
        }

        .remove-item {
            color: #ff4d4d;
            cursor: pointer;
            margin-left: 10px;
        }

        .cart-total {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--primary);
            margin-bottom: 20px;
            text-align: right;
        }

        .checkout-btn {
            width: 100%;
            padding: 15px;
            background: var(--primary);
            color: white;
            border: none;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .checkout-btn:hover {
            background: var(--secondary);
        }

        .empty-cart {
            text-align: center;
            padding: 30px 0;
            color: #666;
        }

        /* Overlay */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1001;
            display: none;
        }

        .overlay.active {
            display: block;
        }

        /* Checkout Modal */
        .checkout-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            z-index: 1003;
            display: none;
            align-items: center;
            justify-content: center;
        }
        
        .checkout-modal.active {
            display: flex;
        }
        
        .checkout-content {
            background: white;
            padding: 30px;
            border-radius: 10px;
            width: 90%;
            max-width: 500px;
            max-height: 90vh;
            overflow-y: auto;
        }
        
        .checkout-content h3 {
            color: var(--primary);
            margin-bottom: 20px;
            text-align: center;
        }
        
        .form-actions {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
        }
        
        .btn-cancel {
            background: #ccc;
            color: #333;
        }
        
        .btn-cancel:hover {
            background: #bbb;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .hero h1 {
                font-size: 4rem;
            }

            .about-content, .contact-content {
                flex-direction: column;
            }

            .about-image::before {
                display: none;
            }

            .footer-content {
                flex-wrap: wrap;
            }

            .footer-col {
                flex: 0 0 calc(50% - 25px);
                margin-bottom: 30px;
            }

            .cart-sidebar {
                width: 350px;
            }

            .logo img {
                height: 70px;
                max-width: 250px;
            }
            
            .navbar.scrolled .logo img {
                height: 50px;
            }

            .logo-text {
                font-size: 1.5rem;
            }

            .navbar.scrolled .logo-text {
                font-size: 1.1rem;
            }
        }

        @media (max-width: 768px) {
            .hero h1 {
                font-size: 3rem;
            }

            .hero p {
                font-size: 1.2rem;
            }

            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background: var(--primary);
                flex-direction: column;
                align-items: center;
                justify-content: center;
                transition: all 0.5s ease;
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links li {
                margin: 15px 0;
            }

            .hamburger {
                display: block;
                color: white;
                font-size: 1.5rem;
            }

            .menu-grid {
                grid-template-columns: 1fr;
            }

            .section-title h2 {
                font-size: 2.5rem;
            }

            .cart-sidebar {
                width: 300px;
            }

            .logo img {
                height: 60px;
                max-width: 200px;
            }

            .logo-text {
                font-size: 0.8rem;
            }

            .navbar.scrolled .logo-text {
                font-size: 0.8rem;
            }

            /* Ajustes para el carrito en móviles */
            .cart-icon {
                top: 15px;
                right: 60px;
                width: 50px;
                height: 50px;
                font-size: 1.2rem;
            }
            
            .cart-count {
                width: 20px;
                height: 20px;
                font-size: 0.7rem;
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .btn {
                padding: 10px 20px;
            }

            section {
                padding: 70px 0;
            }

            .cart-icon {
                width: 45px;
                height: 45px;
                font-size: 1.1rem;
            }

            .cart-sidebar {
                width: 100%;
                right: -100%;
            }

            .checkout-content {
                padding: 20px;
            }

            .form-actions {
                flex-direction: column;
                gap: 10px;
            }

            .btn-cancel, .checkout-btn {
                width: 100%;
            }

            
        }

        /* Estilos para el modal de sabores */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-end;
}

.close-modal:hover {
    color: #333;
}

#flavor-options-container {
    overflow-y: auto;
    margin: 15px 0;
    flex-grow: 1;
}

.flavor-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.flavor-option {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.flavor-option:hover {
    background-color: #f8f9fa;
    border-color: #007bff;
}

.flavor-option.selected {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.flavor-option img {
    max-width: 100%;
    height: 100px;
    object-fit: contain;
    margin-bottom: 8px;
}

.confirm-btn {
    margin-top: 15px;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.confirm-btn:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .flavor-options {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        margin: 10px auto;
        max-height: 90vh;
    }
}