/* =========================================
   INDIANA LOUNGE — Styles
   Estética: Oscura, elegante, minimalista
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
    --color-bg:        #0a0a0a;
    --color-bg-alt:    #111111;
    --color-bg-card:   #1a1a1a;
    --color-text:      #e8e4df;
    --color-text-muted:#8a8580;
    --color-accent:    #c8956c;
    --color-accent-hover:#daa882;
    --color-white:     #ffffff;
    --color-border:    rgba(255,255,255,0.08);

    --font-display:    'Playfair Display', Georgia, serif;
    --font-body:       'Montserrat', 'Helvetica Neue', sans-serif;

    --container-width: 1200px;
    --section-padding: 120px;
    --gap:             40px;

    --transition:      0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
.section__label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 32px;
}

.section {
    padding: var(--section-padding) 0;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 16px 32px;
    border-radius: 4px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.btn--primary {
    background-color: var(--color-accent);
    color: var(--color-bg);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 149, 108, 0.25);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn--outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn--large {
    padding: 20px 40px;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
}

/* ============ HEADER / NAV ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
}

.nav {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo-img {
    height: 50px;
    width: auto;
    transition: height var(--transition);
}

.header.scrolled .nav__logo-img {
    height: 38px;
}

.nav__menu {
    display: flex;
    gap: 36px;
}

.nav__link {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-accent);
    transition: width var(--transition);
}

.nav__link:hover {
    color: var(--color-white);
}

.nav__link:hover::after {
    width: 100%;
}

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background-color: var(--color-text);
    transition: all var(--transition);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero__slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFade 28s infinite;
}

/* Cada slide arranca desfasado: duración total / cantidad de slides */
.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 4s; }
.hero__slide:nth-child(3) { animation-delay: 8s; }
.hero__slide:nth-child(4) { animation-delay: 12s; }
.hero__slide:nth-child(5) { animation-delay: 16s; }
.hero__slide:nth-child(6) { animation-delay: 20s; }
.hero__slide:nth-child(7) { animation-delay: 24s; }
.hero__slide:nth-child(8) { animation-delay: 28s; }

@keyframes heroFade {
    0%    { opacity: 0; }
    5%    { opacity: 1; }
    25%   { opacity: 1; }
    30%   { opacity: 0; }
    100%  { opacity: 0; }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.8) 50%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__logo {
    width: 180px;
    margin: 0 auto 24px;
    animation: fadeInUp 1s ease-out;
}

.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
    margin-bottom: 8px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero__sub {
    font-size: 0.85rem;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero__scroll span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* ============ ALMORZÁ CON NOSOTROS ============ */
.almuerzo {
    background-color: var(--color-bg);
}

.almuerzo__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0px 80px;
    align-items: start;
}

.almuerzo__header {
    grid-column: 1;
    grid-row: 1;
}

.almuerzo__body {
    grid-column: 1;
    grid-row: 2;
}

.almuerzo__image {
    grid-column: 2;
    grid-row: 1 / 3;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.almuerzo__slider {
    overflow: hidden;
    border-radius: 8px;
}

.almuerzo__slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.almuerzo__slides img {
    min-width: 100%;
    height: 520px;
    object-fit: cover;
    flex-shrink: 0;
}

.almuerzo__desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 28px;
}

.almuerzo__desc strong {
    color: var(--color-white);
    font-weight: 500;
}

.almuerzo__horario {
    display: inline-flex;
    gap: 24px;
    margin-bottom: 36px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.almuerzo__horario span {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* ============ TUS CENAS SON EXPERIENCIAS ============ */
.cenas {
    background-color: var(--color-bg-alt);
}

.cenas__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 40px 80px;
    align-items: center;
}

.cenas__header {
    grid-column: 2;
    grid-row: 1;
}

.cenas__body {
    grid-column: 2;
    grid-row: 2;
}

.cenas__image {
    grid-column: 1;
    grid-row: 1 / 3;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.cenas__slider {
    overflow: hidden;
    border-radius: 8px;
}

.cenas__slides {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cenas__slides img {
    min-width: 100%;
    height: 520px;
    object-fit: cover;
    flex-shrink: 0;
}

.cenas__desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 28px;
}

.cenas__desc strong {
    color: var(--color-white);
    font-weight: 500;
}

.cenas__horario {
    display: inline-flex;
    gap: 24px;
    margin-bottom: 36px;
    padding: 16px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cenas__horario span {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-accent);
}

/* ============ GALERÍA ============ */
.galeria {
    background-color: var(--color-bg-alt);
    text-align: center;
}

.galeria .container {
    margin-bottom: 48px;
}

.galeria__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    position: relative;
}

.galeria__item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.galeria__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.galeria__item:hover img {
    transform: scale(1.08);
}

.galeria__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(10, 10, 10, 0.8) 100%);
    pointer-events: none;
}

.galeria__item:hover::after {
    opacity: 1;
}

/* ============ QUIÉNES SOMOS ============ */
.nosotros {
    background-color: var(--color-bg);
}

.nosotros__layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: start;
}

.nosotros__desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.nosotros__info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.nosotros__item h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 6px;
}

.nosotros__item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.nosotros__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

/* ============ FOOTER ============ */
.footer {
    background-color: var(--color-bg-alt);
    padding: 20px 0 30px;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer__logo {
    width: 80px;
    margin: 0 auto 20px;
}

.footer__text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 24px 0;
}

.footer__links a {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color var(--transition);
}

.footer__links a:hover {
    color: var(--color-accent);
}

.footer__copy {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 3px;
}

.footer__credit {
    font-size: 0.72rem;
    color: var(--color-white);
    margin-top: 8px;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }

    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--color-bg-alt);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 28px;
        transition: right var(--transition);
        border-left: 1px solid var(--color-border);
    }

    .header {
        display: none;
    }

    .nav__menu.active {
        right: 0;
    }

    .nav__toggle {
        display: flex;
        z-index: 1001;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .almuerzo__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .almuerzo__header {
        grid-column: 1;
        grid-row: 1;
    }

    .almuerzo__image {
        grid-column: 1;
        grid-row: 2;
    }

    .almuerzo__slides img {
        height: 300px;
    }

    .almuerzo__body {
        grid-column: 1;
        grid-row: 3;
    }

    .almuerzo__image img {
        height: 300px;
    }

    .almuerzo__horario,
    .cenas__horario {
        display: flex;
        justify-content: center;
        gap: 12px;
        text-align: center;
        width: 100%;
    }

    .almuerzo__body,
    .cenas__body {
        text-align: center;
    }

    .almuerzo__horario span,
    .cenas__horario span {
        font-size: 0.75rem;
    }

    .almuerzo__body .btn,
    .cenas__body .btn {
        justify-content: center;
        text-align: center;
        width: 100%;
    }

    .cenas__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .cenas__header {
        grid-column: 1;
        grid-row: 1;
    }

    .cenas__image {
        grid-column: 1;
        grid-row: 2;
    }

    .cenas__body {
        grid-column: 1;
        grid-row: 3;
    }

    .cenas__slides img {
        height: 300px;
    }

    .galeria__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nosotros__layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .horario__sep {
    color: var(--color-accent);
    opacity: 0.5;
    }
    
}

@media (max-width: 600px) {
    :root {
        --section-padding: 60px;
    }

    .hero {
        background-attachment: scroll;
    }

    .hero__logo {
        width: 130px;
    }

    .btn--large {
        padding: 16px 24px;
        font-size: 0.8rem;
    }

    .galeria__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cenas__content {
        padding: 60px 0;
    }

/* ============ GALERÍA ZOOM MÓVIL ============ */
.galeria__zoom {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.galeria__zoom.active {
    display: flex;
}

.galeria__zoom img {
    max-width: 80%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

.galeria__zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 8px;
    opacity: 0.7;
    transition: opacity var(--transition);
}

.galeria__zoom-close:hover {
    opacity: 1;
}

.galeria__zoom-prev,
.galeria__zoom-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    padding: 12px 16px;
    border-radius: 50%;
    line-height: 1;
    opacity: 0.7;
    transition: all var(--transition);
}

.galeria__zoom-prev:hover,
.galeria__zoom-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
}

.galeria__zoom-prev {
    left: 16px;
}

.galeria__zoom-next {
    right: 16px;
}
}
