:root {
    --primary-yellow: #fdd55c; /* Amarillo paredes local */
    --accent-gold: #e6b93f;
    --dark-coffee: #3e2723;
    --terracotta: #bf360c;
    --bg-warm: #fff9eb;
    --card-bg: #ffffff;
    --border-radius: 28px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-warm);
    color: var(--dark-coffee);
    line-height: 1.5;
}

/* Hero Section */
.hero {
    background-color: var(--primary-yellow);
    padding: 45px 20px;
    text-align: center;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.brand-name {
    font-family: 'Arvo', serif;
    font-size: 3.2rem;
    color: var(--dark-coffee);
    margin-bottom: 5px;
}

.slogan {
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* Grid de Imágenes - Optimizado para fotos horizontales de celular */
.hero-image-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 500px;
    margin: 25px auto;
}

.hero-img-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9; /* Proporción ideal para fotos horizontales de móvil */
    background: #e9e9e9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.welcome-text {
    margin-top: 25px;
    font-size: 1.1rem;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
}

/* Navegación Sticky */
.category-tabs {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 249, 235, 0.92);
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    padding: 18px 5px;
    border: none;
    border-radius: 22px;
    background: #eee4d1;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: var(--primary-yellow);
    box-shadow: 0 6px 15px rgba(253, 213, 92, 0.5);
    transform: scale(1.03);
}

/* Estilos del Menú */
.menu-container {
    padding: 20px;
    max-width: 600px;
    margin: auto;
}

.tab-content {
    display: none;
    animation: slideUp 0.4s ease-out;
}

.tab-content.active { display: block; }

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

.category-title {
    margin: 30px 0 15px;
    color: var(--terracotta);
    font-family: 'Arvo', serif;
    font-size: 1.6rem;
}

.sub-category {
    margin: 35px 0 18px;
    text-align: center;
    background: var(--accent-gold);
    color: var(--dark-coffee);
    border-radius: 50px;
    padding: 10px;
    font-size: 1.1rem;
}

.menu-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.menu-item {
    background: var(--card-bg);
    padding: 22px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 12px rgba(0,0,0,0.04);
}

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

.destaque {
    display: flex;
    flex-wrap: wrap; /* Permite que la descripción baje a la siguiente línea */
    justify-content: space-between;
    align-items: center;
    border: 2px solid var(--primary-yellow);
    background: linear-gradient(145deg, #ffffff, #fffdf0);
    padding: 22px; /* Aseguramos que mantenga el mismo padding */
}

/* Forzamos que la descripción ocupe todo el ancho abajo */
.destaque .desc {
    width: 100%; 
    margin-top: 10px;
    color: var(--dark-coffee);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* --- ESTILOS DEL FOOTER --- */
footer {
    text-align: center;
    padding: 60px 20px 120px;
    background: var(--dark-coffee);
    color: white;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

/* Botón de Facebook */
.fb-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1877F2; /* Azul oficial de Facebook */
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px; /* Estética redondeada de la web */
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.fb-button:active {
    transform: scale(0.95);
}

.fb-icon {
    background: white;
    color: #1877F2;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-family: sans-serif;
}

.footer-location {
    margin-bottom: 20px;
    font-weight: 300;
    opacity: 0.9;
}

/* --- TU MARCA IFCODE CON EL BRILLO --- */
.ifcode-link {
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.5px;
    display: inline-block;
    animation: glow-pulse 3s infinite ease-in-out;
}

.if-orange { color: #ff6600; }
.code-white { color: #ffffff; }

@keyframes glow-pulse {
    0% { text-shadow: 0 0 0px rgba(255, 102, 0, 0); }
    50% { text-shadow: 0 0 10px rgba(255, 102, 0, 0.6), 0 0 15px rgba(255, 255, 255, 0.4); }
    100% { text-shadow: 0 0 0px rgba(255, 102, 0, 0); }
}

/* Botón Flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #25D366;
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    white-space: nowrap;
}

/* Desktop: Grid de 2 columnas */
@media (min-width: 768px) {
    .menu-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .hero-image-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .hero-img-wrapper:first-child {
        grid-column: span 2;
    }
}