/* Reset & Variables */
:root {
    --whisper-white: #FFF2E6;
    --sand: #BBA590;
    --cabernet: #3D0000;
    --strike-red: #A8231C;
    --artichoke: #586357;
    --mulled-wine: #280D08;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Courier Prime', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--whisper-white);
    color: var(--mulled-wine);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .navbar .logo, .btn-primary, .btn-secondary {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

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

/* ================= Navbar ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(255, 242, 230, 0.85);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 68px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-links a:not(.btn-primary) {
    position: relative;
    padding-bottom: 5px;
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--strike-red);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.btn-primary {
    background-color: var(--cabernet);
    color: var(--whisper-white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(61, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: var(--strike-red);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(168, 35, 28, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--cabernet);
    border: 2px solid var(--cabernet);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--cabernet);
    color: var(--whisper-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}
.nav-toggle span {
    width: 26px;
    height: 3px;
    background-color: var(--cabernet);
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.soon-badge {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--strike-red);
    border: 1px solid var(--strike-red);
    border-radius: 50px;
    padding: 4px 12px;
}
@media (max-width: 768px) { .soon-badge { display: none; } }

/* ================= Hero Section ================= */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, var(--sand) 0%, var(--whisper-white) 100%);
    position: relative;
    padding-top: 5rem;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 0.9;
    font-weight: 900;
    color: var(--cabernet);
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--strike-red);
}

.hero-eyebrow {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: var(--strike-red);
    margin-bottom: 1rem;
}
.hero-cta { display: inline-block; margin-top: 2rem; }

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--artichoke);
    opacity: 0.8;
}

.scroll-mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--artichoke);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--strike-red);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { top: 6px; opacity: 1; }
    100% { top: 18px; opacity: 0; }
}

/* ================= Scroll Track Section (Animación) ================= */
.scroll-track-section {
    position: relative;
    height: 400vh;
    background-color: var(--mulled-wine);
}

.track-pinned-container {
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, var(--cabernet) 0%, var(--mulled-wine) 100%);
    box-shadow: inset 0 20px 50px rgba(0,0,0,0.5);
}

.impact-flash {
    position: absolute; inset: 0; background: radial-gradient(circle at center 78%, rgba(255,242,230,0.9), transparent 55%);
    opacity: 0; pointer-events: none; z-index: 25;
}
.bowling-ball { filter: drop-shadow(0 10px 12px rgba(0,0,0,0.5)); }

.track-lane {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60vw;
    max-width: 600px;
    background: linear-gradient(90deg, #180504 0%, #2a0b08 10%, #3a110a 50%, #2a0b08 90%, #180504 100%);
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
}

.lane-lines {
    width: 4px;
    height: 100%;
    background: rgba(255,255,255,0.05);
}

.track-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 5rem);
    color: rgba(255,255,255,0.03);
    white-space: nowrap;
    pointer-events: none;
}

/* Bola de Boliche */
.bowling-ball {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    z-index: 20;
}

.ball-inner {
    width: 100%;
    height: 100%;
}

/* Bolos */
.pins-container {
    position: absolute;
    bottom: 10vh;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 250px;
    z-index: 10;
}

.pin {
    position: absolute;
    width: 60px; /* Ensanchado para verse mejor proporcionado */
    height: 120px;
    left: 50%;
    transform: translateX(-50%);
    transform-origin: center center;
}

/* Fila 4 (atrás) */
.pin-7 { top: 0px; margin-left: -90px; }
.pin-8 { top: 0px; margin-left: -30px; }
.pin-9 { top: 0px; margin-left: 30px; }
.pin-10 { top: 0px; margin-left: 90px; }

/* Fila 3 */
.pin-4 { top: 40px; margin-left: -60px; }
.pin-5 { top: 40px; margin-left: 0px; }
.pin-6 { top: 40px; margin-left: 60px; }

/* Fila 2 */
.pin-2 { top: 80px; margin-left: -30px; }
.pin-3 { top: 80px; margin-left: 30px; }

/* Fila 1 (frente) */
.pin-1 { top: 120px; margin-left: 0px; z-index: 2;}

.strike-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    pointer-events: none;
    z-index: 30;
}

.strike-message h1 {
    font-size: clamp(5rem, 10vw, 12rem);
    color: var(--strike-red);
    font-style: italic;
    font-weight: 900;
    text-shadow: 4px 4px 0px var(--whisper-white), 8px 8px 20px rgba(0,0,0,0.5);
    margin: 0;
}

/* ================= Experience Section ================= */
.experience, .contact-section {
    padding: 8rem 0;
    background-color: var(--sand);
    overflow: hidden;
}

.contact-section {
    background-color: var(--cabernet);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.exp-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.section-title {
    font-size: 3rem;
    color: var(--mulled-wine);
    margin-bottom: 2rem;
    line-height: 1.1;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: rgba(40, 13, 8, 0.8);
}

.location-info {
    margin-top: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(40, 13, 8, 0.05);
    border-left: 4px solid var(--strike-red);
    border-radius: 4px;
}

.location-info p {
    font-size: 1rem;
    color: var(--mulled-wine);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.location-info p:last-child {
    margin-bottom: 0;
}

.exp-visual, .contact-visual {
    position: relative;
    height: 450px;
    background: var(--cabernet);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.exp-visual img, .contact-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.exp-visual:hover img, .contact-visual:hover img {
    transform: scale(1.05);
}

/* La imagen del formulario (registro) es vertical: mostrarla completa sin recortar */
.contact-visual img {
    object-fit: contain;
    object-position: center;
}

.visual-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: var(--strike-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--whisper-white);
    font-family: var(--font-heading);
    font-weight: 900;
    transform: rotate(-15deg);
    border: 8px solid var(--sand);
}

/* ================= Contact Form ================= */
.contact-form-container {
    background: rgba(40, 13, 8, 0.3);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--whisper-white);
    font-weight: 700;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255, 242, 230, 0.1);
    color: var(--whisper-white);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input:focus {
    background: rgba(255, 242, 230, 0.2);
    border-color: var(--strike-red);
}

.form-group input::placeholder {
    color: rgba(255, 242, 230, 0.5);
}

.form-btn {
    width: 100%;
    margin-top: 1rem;
}

.form-status { margin-top: 1rem; font-family: var(--font-heading); font-size: 0.9rem; min-height: 1.2em; }
.form-status.success { color: #7CFC9B; }
.form-status.error { color: #FF8A80; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

/* ================= Teasers ================= */
.teasers { padding: 6rem 0; background-color: var(--whisper-white); }
.teasers-title { color: var(--cabernet); text-align: center; margin-bottom: 3rem; }
.teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.teaser-card {
    background: var(--mulled-wine);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
}
.teaser-card img { width: 100%; height: 220px; object-fit: cover; }
.teaser-body { padding: 1.5rem; color: var(--whisper-white); }
.teaser-body h3 { font-family: var(--font-heading); color: var(--strike-red); margin-bottom: 0.6rem; }
.teaser-body p { font-size: 0.95rem; color: rgba(255,242,230,0.85); }
@media (max-width: 768px) { .teaser-grid { grid-template-columns: 1fr; } }

/* ================= Galería ================= */
.gallery { padding: 6rem 0; background-color: var(--mulled-wine); }
.gallery .teasers-title { color: var(--whisper-white); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-grid img:hover { transform: scale(1.04); }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ================= Ubicación ================= */
.location { padding: 6rem 0; background-color: var(--sand); }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.location-map { height: 380px; border-radius: 16px; overflow: hidden; box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.location-map iframe { display: block; height: 100%; }
@media (max-width: 768px) { .location-grid { grid-template-columns: 1fr; } .location-map { height: 300px; } }

/* ================= Footer ================= */
.site-footer {
    background-color: var(--mulled-wine);
    color: var(--whisper-white);
    padding: 3rem 0 1rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    height: 96px;
    width: auto;
    display: block;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-nav {
    display: flex;
    gap: 4rem;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 1rem;
}

.footer-nav a {
    color: rgba(255, 242, 230, 0.7);
    transition: color 0.3s ease;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--strike-red);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 242, 230, 0.5);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--whisper-white);
    transition: all 0.3s ease;
    cursor: pointer;
}

.icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.icon:hover {
    background-color: var(--strike-red);
    border-color: var(--strike-red);
    color: var(--whisper-white);
}

/* ================= Floating WhatsApp Button ================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* WhatsApp Official Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Ocultar el salto de línea en desktop */
.mobile-break {
    display: none;
}

/* Media Queries */
@media (max-width: 768px) {
    .exp-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }

    .navbar {
        padding: 0.8rem 1.5rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        width: auto;
        justify-content: center;
        margin: 0 auto;
    }

    .header-logo {
        height: 52px;
        margin: 0 auto;
    }

    .nav-toggle { display: flex; }
    .nav-links {
        display: flex;
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        background: var(--cabernet);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        z-index: 105;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a:not(.btn-primary) { color: var(--whisper-white); font-size: 1.2rem; }

    .mobile-break {
        display: block;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .scroll-wheel { animation: none; }
    .scroll-track-section { height: 100vh; }
}
