/* ============================================================
   HOUSE OF PADEL — CSS PREMIUM 2025 (VERSIÓN DEPURADA)
   ============================================================ */

/* ==========================
   VARIABLES
   ========================== */
:root {
    --black: #050814;
    --black-soft: #0d0f1a;
    --white: #ffffff;

    --gold: #ffc928;
    --gold-soft: rgba(255, 201, 40, 0.18);

    --red: #e30613;
    --red-light: #ff4d57;

    --text-light: #d7d7d7;
    --text-muted: #9ca3af;

    --radius: 14px;
    --transition: 0.25s ease;

    --section-height-desktop: 100vh;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--text-light);
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

/* ==========================
   CONTENEDOR GLOBAL
   ========================== */
.hop-container {
    width: 92%;
    max-width: 1300px;
    margin: auto;
}

/* ==========================
   NAVBAR
   ========================== */
.hop-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    background: rgba(5, 8, 20, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 201, 40, 0.08);
    transition: var(--transition);
}

.hop-navbar.scrolled {
    background: rgba(5, 8, 20, 0.95);
    padding: 4px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.nav-logo {
    color: var(--gold);
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: 1.5px;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: var(--text-light);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    font-size: 1.6rem;
    color: var(--white);
    cursor: pointer;
}

/* MENÚ MÓVIL */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: rgba(5, 8, 20, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 998;
}

.mobile-menu a {
    padding: 14px;
    text-align: center;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: rgba(255, 201, 40, 0.12);
}

/* ==========================
   SECCIONES
   ========================== */
.section {
    padding: 110px 0;
    height: var(--section-height-desktop);
    display: flex;
    align-items: center;
}

/* Fondo oscuro */
.section-dark {
    background: #050814;
}

/* Fondo claro */
.section-light {
    background: #0c1020;
}

/* Fondo especial CTA */
.section-cta {
    background:
        radial-gradient(circle at top left, rgba(255, 201, 40, 0.12), transparent 55%),
        linear-gradient(135deg, #050814, #0b1220);
    height: var(--section-height-desktop);
    display: flex;
    align-items: center;
}

/* TÍTULOS */
.section-title {
    text-align: center;
    font-size: 2.4rem;
    color: var(--white);
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 50px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto 30px;
}

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

.hero-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slides img.active {
    opacity: 1;
}

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

.hero-content {
    position: relative;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-subtitle {
    margin-top: 12px;
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-light);
    opacity: 0.85;
}

.hero-bullets {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 12;
}

.hero-bullets span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-bullets span.active {
    background: var(--white);
}

/* ==========================
   BOTONES
   ========================== */
.btn-red {
    display: inline-block;
    padding: 12px 26px;
    background: var(--red);
    color: var(--white);
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(227, 6, 19, 0.4);
}

.btn-red:hover {
    background: var(--red-light);
    transform: translateY(-3px);
    box-shadow: 0 0 14px rgba(255, 70, 80, 0.6);
}

.btn-red-outline {
    display: inline-block;
    padding: 11px 24px;
    border: 2px solid var(--red);
    color: var(--red);
    font-weight: 700;
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
}

.btn-red-outline:hover {
    background: var(--red);
    color: var(--white);
}

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

.event-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--gold-soft);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    min-height: 600px;
}

.event-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

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

.event-content {
    padding: 24px;
}

.event-date {
    color: var(--gold);
    font-weight: 700;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 8px 0;
}

.event-desc {
    color: var(--text-muted);
    margin-top: 10px;
}

.event-actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 14px;
}

/* ==========================
   CTA WHATSAPP
   ========================== */
.cta-whatsapp {
    max-width: 650px;
    margin: auto;
    text-align: center;
    padding: 50px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    border: 1px solid var(--gold-soft);
    transition: 0.4s ease;
}

.cta-whatsapp:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
}

.cta-icon {
    font-size: 3.8rem;
    color: #25D366;
    margin-bottom: 15px;
    transition: 0.3s ease;
}

.cta-whatsapp:hover .cta-icon {
    transform: scale(1.08);
}

.cta-title {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 12px;
}

.cta-text {
    margin-bottom: 25px;
    opacity: 0.9;
}

/* ==========================
   EXPERIENCIA
   ========================== */
.exp-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.exp-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.exp-img-wrapper img {
    width: 100%;
    border-radius: var(--radius);
}

.exp-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
}

/* ==========================
   CTA INSTAGRAM
   ========================== */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 180px);
    gap: 10px;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    transition: 0.4s ease;
    filter: brightness(0.85);
}

.insta-item img:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.insta-cta {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    background: rgba(255, 201, 40, 0.08);
    border: 1px solid var(--gold-soft);
    backdrop-filter: blur(6px);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.insta-cta h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
}

/* ==========================
   MERCHANDISING
   ========================== */
#merchandising {
    background: #070b18; /* distinto del CTA y del hero */
}

.merch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.merch-card {
    background: rgba(255, 255, 255, 0.04);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(255, 201, 40, 0.12);
    transition: var(--transition);
}

.merch-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.merch-img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 16px;
}

/* ==========================
   HISTÓRICO
   ========================== */
.historic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.historic-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--gold-soft);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}

.historic-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius);
}

.historic-date {
    color: var(--text-muted);
}

/* ==========================
   COLABORADORES
   ========================== */
#colaboradores {
    background: #0c1020; /* más claro para alternar correctamente */
}

.collab-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.collab-track {
    display: flex;
    width: max-content;
    gap: 60px;
    animation: scroll-left 22s linear infinite;
}

.collab-item img {
    height: 70px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: 0.3s ease;
    filter: grayscale(100%);
}

.collab-item img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.collab-carousel:hover .collab-track {
    animation-play-state: paused;
}

/* ==========================
   FOOTER
   ========================== */
.hop-footer {
    padding: 80px 0 40px;
    background: var(--black-soft);
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    width: 160px;
    margin-bottom: 30px;
}

.footer-grid {
    margin-top: 30px;
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 10px;
    font-weight: 700;
}

.footer-col a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-copy {
    margin-top: 40px;
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ==========================
   RESPONSIVE
   ========================== */
@media (max-width: 992px) {

    .section {
        height: auto;
        padding: 90px 0;
    }

    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .exp-container {
        grid-template-columns: 1fr;
        height: auto;
    }

    .exp-img-wrapper {
        order: -1;
        padding-left: 0 !important;
    }

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

    .insta-cta {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

@media (max-width: 768px) {

    .section {
        padding: 60px 0;
        height: auto;
    }

    .event-grid {
        grid-template-columns: 1fr;
    }

    .merch-grid {
        grid-template-columns: 1fr 1fr;
    }

    .historic-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 580px;
    }
}

@media (max-width: 480px) {

    .insta-grid {
        grid-template-columns: 1fr;
    }

    .merch-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================
   SCROLLREVEAL
   ========================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

#colaboradores {
    background: #050814 !important;
}
