:root {
    --azul-oscuro: #1f4fa3;
    --azul-medio: #1d6fb8;
    --azul-claro: #27a3d6;
    --blanco: #ffffff;
    --gris-claro: #f4f6f9;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--blanco);
    color: #333;
}

/* ===== NAVBAR PROFESIONAL ===== */

.navbar {
    background: linear-gradient(90deg, #1f4fa3, #1d6fb8);
    padding: 12px 60px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 55px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.club-name {
    font-size: 12px;
    color: #cfe9ff;
    letter-spacing: 1px;
}

.club-main {
    font-size: 20px;
    font-weight: bold;
    color: white;
    letter-spacing: 2px;
}

/* NAV LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-links a {
    position: relative;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
    transition: 0.3s ease;
}

/* Línea animada debajo */
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: #27a3d6;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #27a3d6;
}

.nav-links a:hover::after {
    width: 100%;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
    }

    .nav-links {
        gap: 20px;
    }

    .club-main {
        font-size: 16px;
    }
}


/* HERO */
/* ===== HERO PROFESIONAL NATACIÓN ===== */

.hero {
    position: relative;
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1530549387789-4c1017266635?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Overlay azul institucional */
.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(31,79,163,0.75),
        rgba(29,111,184,0.75)
    );
    top: 0;
    left: 0;
}

/* Contenido encima del overlay */
.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero p {
    font-size: 26px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }
}


/* ===== ESTILOS FULL IMAGE ===== */

.estilos-full {
    padding: 100px 40px;
    background: #0b1d3a;
    text-align: center;
}

.titulo-estilos {
    color: white;
    font-size: 2.7rem;
    margin-bottom: 60px;
    font-weight: 700;
}

.grid-estilos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card-estilo {
    position: relative;
    height: 520px;
    border-radius: 30px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 40px;
    transition: transform 0.4s ease;
}

.card-estilo:hover {
    transform: scale(1.04);
}

.card-estilo h3 {
    position: relative;
    color: white;
    font-size: 2rem;
    z-index: 2;
    margin: 0;
    font-weight: 600;
    letter-spacing: 1px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85),
        rgba(0, 119, 182, 0.3)
    );
}

/* ===== IMÁGENES CORRECTAS Y ESTABLES ===== */

.pecho { background-image: url('images/pecho.jpg'); }
.libre { background-image: url('images/libre.jpg'); }
.mariposa { background-image: url('images/mariposa.jpg'); }
.espalda { background-image: url('images/espalda.jpg'); }




/* ===== AGUAS ABIERTAS PREMIUM ===== */

.aguas-abiertas {
    position: relative;
    min-height: 750px;
    padding: 120px 40px;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.aguas-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 20, 45, 0.85),
        rgba(0, 40, 80, 0.9)
    );
}

.aguas-contenido {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.aguas-contenido h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.subtitulo {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    letter-spacing: 1px;
}

.descripcion {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 50px;
    opacity: 0.9;
}

.btn-aguas {
    display: inline-block;
    padding: 14px 35px;
    background: #00b4d8;
    color: white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-aguas:hover {
    background: #0077b6;
    transform: translateY(-3px);
}

/* ===== BENEFICIOS PREMIUM ===== */

.beneficios-premium {
    padding: 120px 40px;
    background: #f4f9fc;
    text-align: center;
}

.beneficios-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #003566;
}

.beneficios-header p {
    margin-bottom: 70px;
    color: #555;
    font-size: 1.1rem;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.beneficio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.beneficio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.beneficio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.beneficio-content {
    padding: 25px;
}

.beneficio-content h3 {
    margin-bottom: 15px;
    color: #0077b6;
}

.beneficio-content p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}


/* ===== HORARIOS PREMIUM ===== */

.horarios-premium {
    padding: 120px 40px;
    background: linear-gradient(135deg, #003566, #001d3d);
    color: white;
    text-align: center;
}

.horarios-container {
    max-width: 1100px;
    margin: auto;
}

.horarios-premium h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitulo-horarios {
    margin-bottom: 60px;
    font-size: 1.1rem;
    opacity: 0.85;
}

.horarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.horario-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 50px 30px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.horario-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.icono {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.horario-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.horario-card p {
    font-size: 1rem;
    opacity: 0.9;
}


/* ===== CONTACTO PREMIUM ===== */

.contacto-premium {
    position: relative;
    padding: 120px 40px;
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e');
    background-size: cover;
    background-position: center;
    color: white;
}

.contacto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 30, 70, 0.85);
}

.contacto-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.contacto-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.subtitulo {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.datos p {
    margin-bottom: 15px;
    font-size: 1rem;
}

.btn-contacto {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 35px;
    background: #00b4d8;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-contacto:hover {
    background: #0077b6;
    transform: translateY(-3px);
}

.contacto-mapa iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 20px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contacto-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}


footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 15px;
}
