* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #111;
    color: #fff;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: transparent; /* CLAVE */
    transition: background .4s ease;
}

.navbar.scrolled {
    background: rgba(0,0,0,.85);
    backdrop-filter: blur(10px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    animation: aclarar 3s forwards;
}

@keyframes aclarar {
    to { filter: brightness(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.6), #111);
}

.hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* ===== SECTIONS ===== */
.section {
    padding: 120px 8%;
    background: linear-gradient(to bottom, #111, #1a1a1a);
}

.section:nth-child(even) {
    background: linear-gradient(to bottom, #1a1a1a, #111);
}

.nolink {
    text-decoration: none;
    color: inherit;
}


/* ===== ABOUT ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-images {
    display: grid;
    gap: 20px;
}

.img-box {
    overflow: hidden;
    border-radius: 20px;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.img-box:hover img {
    transform: scale(1.1);
}

/* ===== MENU ===== */
.menu-slider {
    display: flex;
    gap: 40px;
    overflow: hidden; 
    padding: 60px 0;
    will-change: transform;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.menu-track {
    display: flex;
    gap: 40px;
    width: max-content; /* CLAVE ABSOLUTA */
    will-change: transform;
}

.menu-slider::before,
.menu-slider::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.menu-slider::before {
    left: 0;
    background: linear-gradient(to right, #111, transparent);
}

.menu-slider::after {
    right: 0;
    background: linear-gradient(to left, #111, transparent);
}


.menu-card {
    min-width: 280px;
    background: #1e1e1e;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.menu-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #000;
}

.menu-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* NO contain */
    display: block;
}

.menu-info {
    padding: 20px;
    text-align: center;
}


/* PROMOS */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.promo-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
}

.promo-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.promo-info {
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
}

/* EVENTOS */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
    gap: 30px;
}

.event-card {
    border-radius: 25px;
    overflow: hidden;
}

.event-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.event-text {
    padding: 20px;
}

/* ===== ORDERS ===== */
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.order-card {
    background: #1e1e1e;
    border-radius: 25px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* ===== FOOTER ===== */
footer {
    text-align: center;
    padding: 30px;
    background: #000;
}
