/* ============================================================
   PADEL SPIN OUT — Hoja de estilos compartida (hub + clubes)
   Reconstruida a partir del CSS en vivo de padelspinout.com
   ============================================================ */

:root {
    --green: #2E7D32;
    --green-light: #4CAF50;
    --green-bright: #76C442;
    --dark: #0f1a0f;
    --dark2: #1a2e1a;
    --white: #ffffff;
    --gray: #f5f5f5;
    --gray2: #e0e0e0;
    --text: #222222;
    --gold: #d4a017;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); }

/* ── NAVBAR ── */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(15,26,15,0.97);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 40px; height: 70px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo img { height: 48px; }
.nav-logo span { color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 800; letter-spacing: 1px; }
.nav-links { display: flex; gap: 22px; list-style: none; align-items: center; }
.nav-links a { color: #ccc; text-decoration: none; font-size: 0.82rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--green-bright); }
.btn-reservar {
    background: var(--green-bright); color: white !important;
    padding: 10px 22px; border-radius: 25px;
    font-weight: 700 !important; font-size: 0.82rem !important;
    transition: background 0.2s, transform 0.1s !important;
}
.btn-reservar:hover { background: var(--green-light) !important; transform: scale(1.05); }

/* ── HERO ── */
#inicio {
    min-height: 100vh; height: auto;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,40,0,0.45) 100%),
                url('fotos/hero.jpg') center/cover no-repeat,
                linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    display: flex; align-items: center; justify-content: center; text-align: center;
    padding: 120px 20px 60px;
}
.hero-content { max-width: 800px; color: var(--white); }
.hero-content h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 3.2rem; line-height: 1.15; margin-bottom: 20px; text-transform: uppercase; }
.hero-content h1 span { color: var(--green-bright); }
.hero-content p { font-size: 1.15rem; margin-bottom: 35px; opacity: 0.95; }
.hero-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    display: inline-block; padding: 15px 32px; border-radius: 30px;
    font-weight: 700; text-decoration: none; font-size: 0.95rem;
    transition: transform 0.2s, background 0.2s;
}
.btn-primary { background: var(--green-bright); color: var(--white); }
.btn-primary:hover { background: var(--green-light); transform: scale(1.05); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: scale(1.05); }

/* ── SECCIONES BASE ── */
section { padding: 90px 40px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.3rem; text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: #555; max-width: 650px; margin: 0 auto 20px; font-size: 1.05rem; }
.green-line { width: 60px; height: 4px; background: var(--green-bright); margin: 0 auto 40px; border-radius: 2px; }

/* ── EL CLUB ── */
#club { background: var(--white); }
.club-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 50px; }
.club-card { border-radius: 16px; overflow: hidden; background: var(--gray); box-shadow: 0 4px 18px rgba(0,0,0,0.08); transition: transform 0.25s; }
.club-card:hover { transform: translateY(-6px); }
.club-card img { width: 100%; height: 170px; object-fit: cover; display: block; }
.club-card-body { padding: 18px; }
.badge { display: inline-block; background: var(--green); color: var(--white); font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.5px; }
.club-card-body h3 { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; margin-bottom: 8px; }
.club-card-body p { font-size: 0.88rem; color: #555; line-height: 1.5; }

.price-section { background: var(--gray); border-radius: 18px; padding: 35px; margin-bottom: 30px; }
.price-section h3 { font-family: 'Montserrat', sans-serif; margin-bottom: 22px; font-size: 1.3rem; }
.price-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.price-card { background: var(--white); border-radius: 12px; padding: 20px 14px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.price-card.highlight { background: var(--green); color: var(--white); }
.price-card h4 { font-size: 0.82rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; }
.price-card .price-big-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; }

.outdoor-consulta { display: flex; align-items: center; justify-content: space-between; background: var(--dark); color: var(--white); border-radius: 16px; padding: 28px 35px; margin-bottom: 30px; }
.outdoor-consulta a { background: var(--green-bright); color: var(--white); padding: 12px 26px; border-radius: 25px; text-decoration: none; font-weight: 700; white-space: nowrap; }

.horarios-box { background: var(--gray); border-radius: 14px; padding: 22px 30px; text-align: center; font-weight: 600; margin-bottom: 30px; }

/* ── TABLAS DE PRECIO (Escuela) ── */
.price-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,0.06); }
.price-table th, .price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--gray2); }
.price-table th { background: var(--dark); color: var(--white); font-family: 'Montserrat', sans-serif; }
.price-table .section-row td { background: var(--gray); font-weight: 700; }
.price-table .highlight-row td { background: rgba(118,196,66,0.12); font-weight: 700; }

.competicion-box { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); color: var(--white); border-radius: 18px; padding: 40px; text-align: center; }
.competicion-box h3 { font-family: 'Montserrat', sans-serif; font-size: 1.6rem; margin-bottom: 15px; }
.price-big { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--green-bright); margin: 10px 0; }
.competicion-features { display: flex; justify-content: center; gap: 35px; margin: 25px 0; flex-wrap: wrap; }
.competicion-box .btn-primary { margin-top: 15px; }

/* ── CAFETERÍA ── */
#cafeteria { background: var(--gray); }
.cafe-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 50px; }
.cafe-intro img { width: 100%; height: 380px; object-fit: cover; border-radius: 18px; }
.cafe-features { list-style: none; margin-top: 20px; }
.cafe-features li { padding: 8px 0; font-size: 0.95rem; }
.cafe-features li::before { content: "✓ "; color: var(--green); font-weight: 800; }

.cafe-gallery-title { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; margin-bottom: 20px; color: var(--dark); }
.ambiente-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 40px; }
.ambiente-item { border-radius: 14px; overflow: hidden; aspect-ratio: 4/3; }
.ambiente-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.ambiente-item:hover img { transform: scale(1.05); }

.food-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 50px; }
.food-item { border-radius: 12px; overflow: hidden; aspect-ratio: 1; position: relative; }
.food-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; display: block; }
.food-item:hover img { transform: scale(1.05); }
.food-label { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: var(--white); font-size: 0.75rem; padding: 18px 10px 8px; text-align: center; }

.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 25px; }
.menu-item { background: var(--white); border-radius: 14px; padding: 24px 18px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.06); }
.menu-item h4 { font-family: 'Montserrat', sans-serif; font-size: 0.95rem; margin-bottom: 8px; }
.menu-item .price-big-num { color: var(--green); font-size: 1.4rem; font-weight: 800; }
.pluxee-note { text-align: center; font-size: 0.85rem; color: #555; }

/* ── ESCUELA ── */
#escuela { background: var(--white); }
.escuela-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-bottom: 45px; }
.niveles-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.niveles-tags span { background: var(--gray); border-radius: 20px; padding: 6px 16px; font-size: 0.82rem; font-weight: 600; }
.escuela-contact { font-weight: 700; color: var(--green); }

/* ── EVENTOS ── */
#eventos { background: var(--gray); }
.evento-dia { background: var(--white); border-radius: 16px; padding: 26px 30px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.evento-dia h3 { font-family: 'Montserrat', sans-serif; color: var(--green); margin-bottom: 10px; }
.evento-item { display: flex; justify-content: space-between; padding: 6px 0; flex-wrap: wrap; gap: 6px; }
.evento-item .precio { font-weight: 800; color: var(--dark); }

/* ── SERVICIOS EXTRA ── */
#servicios { background: var(--white); }
.servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 40px; }
.servicio-card { background: var(--gray); border-radius: 16px; padding: 28px; text-align: center; }
.servicio-card h4 { font-family: 'Montserrat', sans-serif; margin-bottom: 10px; }
.sponsor-box { background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); color: var(--white); border-radius: 18px; padding: 40px; margin-top: 30px; }
.sponsor-features { display: flex; justify-content: center; gap: 30px; margin: 20px 0; flex-wrap: wrap; }

/* ── REDES ── */
#redes { background: var(--gray); }
.redes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.red-card { background: var(--white); border-radius: 16px; padding: 30px 20px; text-align: center; text-decoration: none; color: var(--text); transition: transform 0.2s; position: relative; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.red-card:hover { transform: translateY(-5px); }
.red-logo { font-size: 2.2rem; margin-bottom: 12px; }
.handle { color: #777; font-size: 0.85rem; }
.red-card.disabled { opacity: 0.6; pointer-events: none; }
.proximo-badge { position: absolute; top: 10px; right: 10px; background: var(--gold); color: var(--white); font-size: 0.65rem; font-weight: 700; padding: 3px 9px; border-radius: 12px; }

/* ── CONTACTO ── */
#contacto { background: var(--white); }
.contacto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contacto-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contacto-icon { background: var(--green); color: var(--white); width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.map-embed { width: 100%; height: 100%; min-height: 380px; border-radius: 18px; overflow: hidden; border: 0; }

/* ── FOOTER ── */
footer { background: var(--dark); color: #aaa; text-align: center; padding: 40px 20px; font-size: 0.85rem; }
footer img { height: 38px; margin-bottom: 10px; }
footer p { margin-bottom: 5px; }
footer a { color: var(--green-bright); text-decoration: none; }

/* ============================================================
   SELECTOR DE CLUB (página hub / index.html) — NUEVO
   ============================================================ */
#elige-club { background: var(--white); }
.club-selector-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 620px; margin: 38px auto 0; }
.club-logo-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; border-radius: 22px; text-decoration: none;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35); transition: transform 0.25s, box-shadow 0.25s;
    padding: 24px; position: relative; overflow: hidden;
}
.club-logo-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 12px 32px rgba(0,0,0,0.45); }
.club-logo-card .logo-mark {
    width: 100px; height: 100px; margin-bottom: 14px;
    display: flex; align-items: center; justify-content: center;
}
.club-logo-card .logo-mark img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.club-logo-card .brand { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--white); letter-spacing: 1px; opacity: 0.85; }
.club-logo-card .city { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.6rem; letter-spacing: 2px; margin-top: 4px; color: var(--gold); }
.club-logo-card .estado { margin-top: 14px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 5px 14px; border-radius: 20px; }
.club-logo-card.valencia .estado { background: var(--green-bright); color: var(--white); }
.club-logo-card.cubas .estado { background: var(--green-bright); color: var(--white); }

@media (max-width: 600px) {
    .club-selector-grid { grid-template-columns: 1fr; max-width: 320px; }
}

/* ============================================================
   PÁGINA PRÓXIMA APERTURA (cubas.html) — NUEVO
   ============================================================ */
.proxima-hero {
    min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 100%); color: var(--white); padding: 40px 20px;
}
.proxima-hero .logo-mark-xl {
    width: 140px; height: 140px; margin: 0 auto 26px;
    display: flex; align-items: center; justify-content: center;
}
.proxima-hero .logo-mark-xl img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.proxima-hero h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2.6rem; margin-bottom: 14px; text-transform: uppercase; }
.proxima-hero .badge-apertura { display: inline-block; background: var(--gold); color: var(--white); font-weight: 700; font-size: 0.85rem; letter-spacing: 1px; padding: 8px 22px; border-radius: 30px; margin-bottom: 24px; text-transform: uppercase; }
.proxima-hero p { font-size: 1.05rem; opacity: 0.9; max-width: 520px; margin: 0 auto 30px; }
.proxima-hero .contacto-card { background: rgba(255,255,255,0.08); border-radius: 16px; padding: 26px 34px; display: inline-block; margin-bottom: 26px; }
.proxima-hero .contacto-card a { color: var(--green-bright); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.proxima-hero .volver { color: #ccc; font-size: 0.85rem; text-decoration: none; }
.proxima-hero .volver:hover { color: var(--white); }
