/* ============================================
   PANDILLA - Horizontal Scroll Website
   Fuentes: Denton Condensed Test, PP Fraktion Mono
   ============================================ */

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores del diseño Figma */
    --color-cream-1: #f9e0a4;
    --color-cream-2: #f7f1e8;
    --color-orange: #e3541b;
    --color-brown: #75391c;
    --color-blue: #3b5c75;
    --color-vector: #f6dfa8;
    --color-white: #ffffff;
    
    /* Fuentes */
    --font-display: 'Denton Condensed Test', 'Impact', 'Arial Black', sans-serif;
    --font-mono: 'PP Fraktion Mono', 'Courier New', monospace;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font-mono);
}

/* ============================================
   SCROLL HORIZONTAL
   ============================================ */
.horizontal-scroll {
    display: flex;
    height: 100vh;
    width: 500vw; /* 5 slides × 100vw */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.slide {
    flex: 0 0 100vw;
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
}

/* ============================================
   COLORES DE FONDOS POR SLIDE
   ============================================ */
.slide-1 { background-color: var(--color-cream-1); }
.slide-2 { background-color: var(--color-cream-2); }
.slide-3 { background-color: var(--color-orange); }
.slide-4 { background-color: var(--color-cream-1); }
.slide-5 { background-color: var(--color-cream-2); }

.slide-3 .section-title,
.slide-3 .drink-category h3,
.slide-3 .drink-category li {
    color: var(--color-white);
}

/* ============================================
   CONTENIDO DE SLIDES
   ============================================ */
.slide-content {
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 2rem;
}

.slide-content.center {
    align-items: center;
    text-align: center;
}

/* ============================================
   SLIDE 1 - PORTADA
   ============================================ */
.hero-text {
    margin-bottom: 3rem;
}

.title-line-1,
.title-line-2 {
    font-family: var(--font-display);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 300;
    line-height: 1;
    color: var(--color-brown);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.title-line-1 {
    font-weight: 300;
}

.title-line-2 {
    font-weight: 400;
    margin-top: -0.1em;
}

.slide-info {
    position: absolute;
    bottom: 3rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-blue);
    text-transform: uppercase;
}

.location, .hours, .instagram {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* ============================================
   SLIDE 2 - MENÚ
   ============================================ */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-blue);
    margin-bottom: 3rem;
    font-weight: 400;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem 4rem;
}

.menu-item {
    border-bottom: 1px solid rgba(59, 92, 117, 0.2);
    padding-bottom: 1.5rem;
}

.menu-item h3 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-blue);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.menu-item p {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-blue);
    line-height: 1.5;
    text-transform: uppercase;
}

/* ============================================
   SLIDE 3 - BEBIDAS
   ============================================ */
.drinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 800px;
}

.drink-category h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.drink-category ul {
    list-style: none;
}

.drink-category li {
    font-family: var(--font-mono);
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ============================================
   SLIDE 4 - CONTACTO
   ============================================ */
.contact-box {
    background: rgba(255, 255, 255, 0.5);
    padding: 4rem;
    border-radius: 2px;
    backdrop-filter: blur(10px);
}

.contact-info {
    margin-top: 2rem;
}

.contact-info p {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--color-blue);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.instagram-link {
    display: inline-block;
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    color: var(--color-blue);
    text-decoration: none;
    border-bottom: 2px solid var(--color-blue);
    padding-bottom: 0.2rem;
    transition: all 0.3s ease;
}

.instagram-link:hover {
    color: var(--color-orange);
    border-color: var(--color-orange);
}

/* ============================================
   SLIDE 5 - EQUIPO
   ============================================ */
.team-box {
    text-align: center;
}

.team-text {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--color-blue);
    margin: 2rem 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-family: var(--font-mono);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 1rem 3rem;
    text-decoration: none;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--color-brown);
    transform: translateY(-2px);
}

/* ============================================
   ILUSTRACIÓN ANIMADA (MASCOTA)
   ============================================ */
.floating-illustration {
    position: fixed;
    bottom: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    z-index: 100;
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-illustration svg {
    width: 100%;
    height: 100%;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Posiciones de la mascota por slide */
.floating-illustration.slide-0 {
    bottom: 15%;
    right: 10%;
    transform: rotate(-5deg) scale(1);
}

.floating-illustration.slide-1 {
    bottom: 5%;
    right: 5%;
    transform: rotate(10deg) scale(0.9);
}

.floating-illustration.slide-2 {
    bottom: 20%;
    right: 15%;
    transform: rotate(-15deg) scale(1.1);
}

.floating-illustration.slide-3 {
    bottom: 10%;
    right: 50%;
    transform: translateX(50%) rotate(0deg) scale(1);
}

.floating-illustration.slide-4 {
    bottom: 25%;
    right: 10%;
    transform: rotate(5deg) scale(1.05);
}

/* Animación de cambio de slide */
.floating-illustration.transitioning {
    animation: spin-bounce 0.6s ease-in-out;
}

@keyframes spin-bounce {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(0.8); }
    100% { transform: rotate(360deg) scale(1); }
}

/* ============================================
   INDICADOR DE SCROLL
   ============================================ */
.scroll-indicator {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--color-blue);
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    opacity: 1;
    transform: scale(1.3);
}

.scroll-dot:hover {
    opacity: 0.8;
}

.slide-3 ~ .scroll-indicator .scroll-dot,
.slide-3 .scroll-dot {
    background-color: var(--color-white);
}

/* ============================================
   FLECHAS DE NAVEGACIÓN
   ============================================ */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--color-blue);
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-arrow:hover {
    background: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-prev { left: 2rem; }
.nav-next { right: 2rem; }

.nav-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .drinks-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .floating-illustration {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .slide-content {
        padding: 2rem 1rem;
    }
    
    .title-line-1,
    .title-line-2 {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .slide-info {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }
    
    .menu-item h3 {
        font-size: 1.5rem;
    }
    
    .contact-box {
        padding: 2rem;
        width: 100%;
    }
    
    .scroll-indicator {
        right: 1rem;
    }
    
    .nav-prev { left: 1rem; }
    .nav-next { right: 1rem; }
    
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .floating-illustration {
        width: 80px;
        height: 80px;
        bottom: 5%;
        right: 5%;
    }
}

@media (max-width: 480px) {
    .floating-illustration {
        display: none; /* Ocultar en móviles muy pequeños */
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* ============================================
   REDUCCIÓN DE MOVIMIENTO (accesibilidad)
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    .horizontal-scroll {
        scroll-behavior: auto;
    }
    
    .floating-illustration svg {
        animation: none;
    }
    
    .floating-illustration {
        transition: none;
    }
}

/* ============================================
   ORIENTACIÓN HORIZONTAL EN MÓVIL
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .slide-content {
        padding: 1rem;
    }
    
    .hero-text {
        margin-bottom: 1rem;
    }
    
    .slide-info {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 1rem;
    }
    
    .floating-illustration {
        width: 60px;
        height: 60px;
    }
}