:root {
    --primary: #FFB703; /* Mustard yellow */
    --secondary: #FB8500; /* Deep orange */
    --danger: #E63946; /* Banderilla Red */
    --dark: #121212; 
    --darker: #0A0A0A;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --text-dark: #2B2D42;
    --text-light: #F1FAEE;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--text-dark);
    line-height: 1.6;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--danger);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
    background-color: #c92f3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.6);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 183, 3, 0.3);
}

.btn-secondary:hover {
    background-color: #e5a400;
    transform: translateY(-2px);
}

.w-100 {
    width: 100%;
    justify-content: center;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.section-title span {
    color: var(--danger);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
}

.dark-section {
    background-color: var(--dark);
    color: var(--light);
}

.dark-section .section-title {
    color: var(--white);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--darker);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo span {
    color: var(--danger);
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--danger);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--darker);
}

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

.slider-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-image: url('img/gallery1.jpg'); /* Default */
    transition: background-image 1s ease-in-out;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5);
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Sobre Nosotros */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

.about-card .icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.values-list {
    list-style: none;
    text-align: left;
    margin-top: 15px;
}

.values-list li {
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.values-list li i {
    color: var(--danger);
}

/* Menú */
.menu-category {
    margin-bottom: 50px;
}

.menu-category-title {
    font-size: 1.8rem;
    color: var(--secondary);
    border-bottom: 2px dashed rgba(251, 133, 0, 0.3);
    padding-bottom: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.menu-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.menu-item:hover {
    box-shadow: var(--shadow);
    border-color: rgba(251, 133, 0, 0.2);
}

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

.menu-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--darker);
    padding-right: 15px;
}

.menu-item-price {
    font-weight: 800;
    color: var(--danger);
    font-size: 1.1rem;
    background: rgba(230, 57, 70, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: #666;
    flex-grow: 1;
    margin-bottom: 15px;
}

.add-btn {
    background: transparent;
    border: 2px solid var(--danger);
    color: var(--danger);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.add-btn:hover {
    background: var(--danger);
    color: var(--white);
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3sease;
}

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

/* Servicios */
#servicios {
    background: var(--primary);
    padding: 60px 0;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.service-pill {
    background: var(--white);
    color: var(--darker);
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-pill i {
    color: var(--danger);
    font-size: 1.3rem;
}

/* Contacto */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contact-desc {
    margin-bottom: 30px;
    color: #bbb;
}

.contact-list {
    list-style: none;
    margin-bottom: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-list li i {
    color: var(--primary);
    font-size: 1.3rem;
    width: 25px;
}

.contact-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--darker);
    color: var(--light);
    padding: 50px 0 20px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.footer-brand span {
    color: var(--danger);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px);
}

.facebook { background: #1877F2; }
.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.tiktok { background: #000000; border: 1px solid #333; color: #fff;}

.copyright {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #222;
    padding-top: 20px;
    width: 100%;
}

/* FABs */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: transform 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
}

.cart-fab {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--danger);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: none;
    box-shadow: 0 5px 20px rgba(230, 57, 70, 0.4);
    z-index: 99;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-fab:hover {
    transform: scale(1.1);
}

.cart-fab.hidden {
    display: none;
}

#cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: bold;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Carrito Panel */
.cart-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 10000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-panel.open {
    right: 0;
}

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

.cart-header h3 {
    color: var(--dark);
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

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

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-info {
    flex-grow: 1;
    padding-right: 15px;
}

.cart-item-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--danger);
    font-weight: bold;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light);
    border-radius: 20px;
    padding: 5px 10px;
}

.cart-item-controls button {
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--dark);
}

.cart-footer {
    padding: 20px;
    background: var(--light);
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--darker);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .header-container {
        padding: 0 15px;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        transition: left 0.3s ease;
    }
    
    nav.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
