:root {
    --primary-color: #e0b084;
    --bg-dark: #121417;
    --card-bg: rgba(255, 255, 255, 0.04);
    --text-light: #ffffff;
    --text-muted: #94a3b8;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: 70vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(to bottom, rgba(18, 20, 23, 0.3) 0%, rgba(18, 20, 23, 0.75) 70%, var(--bg-dark) 100%),
        url('unnamed.webp') center/contain no-repeat;
    background-color: var(--bg-dark);
    padding: 20px;
}

.logo-container {
    animation: fadeInDown 1.2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.official-logo {
    width: clamp(250px, 80vw, 420px);
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.25));
    margin-bottom: 0.5rem;
}

.bar-address {
    font-size: 0.85rem;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-top: -5px;
    font-weight: 300;
}

.bar-contact {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 8px;
}

.bar-contact a {
    font-size: 0.9rem;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1.5px;
    font-weight: 400;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bar-contact a:hover {
    color: var(--text-light);
    transform: translateY(-2px);
}

/* --- Menu Grid --- */
.menu-sections {
    max-width: 550px;
    margin: -100px auto 60px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.category-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    margin-bottom: 1.2rem;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.category-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(224, 176, 132, 0.4);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.category-info {
    flex: 1;
    padding: 0 30px;
}

.category-info h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.category-image {
    width: 160px;
    height: 130px;
    object-fit: cover;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
    transition: transform 0.6s ease;
}

.category-card:hover .category-image {
    transform: scale(1.15);
}

/* --- Footer --- */
footer {
    padding: 50px 20px;
    text-align: center;
    background: linear-gradient(transparent, rgba(224, 176, 132, 0.05));
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.social-links a {
    color: var(--text-muted);
    font-size: 1.4rem;
    transition: all 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.6;
}

/* --- Animations --- */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Tweaks */
@media (max-width: 480px) {
    .hero {
        height: 70vh;
    }

    .official-logo {
        width: 200px;
    }

    .category-image {
        width: 120px;
        height: 110px;
    }

    .category-info {
        padding: 0 20px;
    }

    .category-info h2 {
        font-size: 1.1rem;
    }
}

/* --- Reservation Button --- */
.reservation-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(224, 176, 132, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(224, 176, 132, 0.4);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.reservation-btn:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 25px rgba(224, 176, 132, 0.5);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* --- Botón Flotante para Alérgenos --- */
.toggle-allergens-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(18, 20, 23, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    transition: all 0.3s ease;
}

.toggle-allergens-btn:hover {
    transform: scale(1.05);
    background: var(--primary-color);
    color: var(--bg-dark);
}

.toggle-allergens-btn.active {
    background: var(--primary-color);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(224, 176, 132, 0.6);
}

/* Ajuste Mobile */
@media (max-width: 480px) {
    .toggle-allergens-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}