/* --- VARIABLES DE DISEÑO (Identidad Luque) --- */
:root {
    --blue-luque: #003399;
    --yellow-luque: #FFD700;
    --dark: #121212;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- RESET & BASE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

h1, h2, h3, .logo-text {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 1px;
}

/* --- HEADER --- */
.main-header {
    background: var(--blue-luque);
    color: var(--white);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.logo-text {
    font-size: 1.8rem;
}

.highlight {
    color: var(--yellow-luque);
}

.cart-trigger {
    position: relative;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--yellow-luque);
    color: var(--blue-luque);
    font-weight: bold;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* --- HERO --- */
.hero {
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1561750603-c4b1f94a7ad4?q=80&w=1470&auto=format&fit=crop') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--white);
    text-align: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,51,153,0.5));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.text-yellow { color: var(--yellow-luque); }

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

/* --- BUTTONS --- */
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary { background: var(--yellow-luque); color: var(--blue-luque); }
.btn-primary:hover { background: #e6c200; transform: translateY(-3px); }

.btn-outline { border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--blue-luque); }

.btn-whatsapp {
    background: #25D366;
    color: white;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
}

/* --- VIDEO SECTION --- */
.video-promo { padding: 80px 0; background: var(--white); }

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

.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.video-container video {
    width: 100%;
    display: block;
}

/* --- MENU SECTION --- */
.menu-section { padding: 60px 0; }

.category-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.filter-btn {
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid var(--blue-luque);
    background: transparent;
    color: var(--blue-luque);
    cursor: pointer;
    white-space: nowrap;
}

.filter-btn.active {
    background: var(--blue-luque);
    color: var(--white);
}

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

/* --- PRODUCT CARD --- */
.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover { transform: translateY(-5px); }

.product-img {
    height: 180px;
    background: #eee;
    position: relative;
    overflow: hidden;
}

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

.badge {
    position: absolute;
    top: 10px; right: 10px;
    background: var(--yellow-luque);
    color: var(--blue-luque);
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}

.product-info { padding: 20px; flex-grow: 1; }

.product-name { font-weight: 700; margin-bottom: 5px; font-size: 1.1rem; }
.product-desc { font-size: 0.85rem; color: var(--gray); margin-bottom: 15px; }

.product-price {
    font-weight: 700;
    color: var(--blue-luque);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: block;
}

.product-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.qty-controls {
    display: flex;
    align-items: center;
    background: #f0f0f0;
    border-radius: 5px;
}

.qty-btn {
    border: none; background: none; padding: 5px 10px; cursor: pointer;
}

.qty-val { padding: 0 5px; font-weight: 600; min-width: 25px; text-align: center; }

.add-btn {
    background: var(--blue-luque);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
}

/* --- CART SIDEBAR --- */
.cart-sidebar {
    position: fixed;
    right: -400px; top: 0; width: 400px; height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    padding: 25px;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

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

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

.cart-item-info h4 { font-size: 0.9rem; margin-bottom: 2px; }
.cart-item-info span { font-size: 0.8rem; color: var(--gray); }

.checkout-form { margin-top: 20px; }
.checkout-form input, .checkout-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.delivery-options {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

/* --- FOOTER --- */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding: 40px 0;
    margin-top: 40px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .cart-sidebar { width: 100%; right: -100%; }
    .hero-actions { flex-direction: column; width: 100%; padding: 0 40px; }
}
