/*
 * READY4PADEL - Estilos de la Página de Equipo
 * Archivo: equipo.css
 * Descripción: Estilos específicos para la página de equipo
 * Autor: Daniel Mateu Sánchez
 */

/* ========================================
   HERO SECTION
   ======================================== */

/* Sección hero principal */
.equipo-hero {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #000000 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Overlay decorativo */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".1" fill="%23ffffff"/></svg>') no-repeat bottom;
    background-size: cover;
}

/* Contenido del hero */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
}

/* Título del hero */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

/* Subtítulo del hero */
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
}

/* ========================================
   SECCIÓN INTRODUCCIÓN
   ======================================== */

.intro-section {
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a2e;
    position: relative;
    display: inline-block;
}

/* Línea decorativa debajo del título */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ========================================
   TARJETAS DE MIEMBROS DEL EQUIPO
   ======================================== */

.team-members-section {
    background: #f8f9fa;
}

/* Card de cada miembro */
.member-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

/* Hover en la card */
.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.2);
}

/* Contenedor de la imagen */
.member-image-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

/* Imagen del miembro */
.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Zoom en la imagen al hover */
.member-card:hover .member-image {
    transform: scale(1.1);
}

/* Overlay sobre la imagen */
.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Mostrar overlay al hacer hover */
.member-card:hover .member-overlay {
    opacity: 1;
}

/* Redes sociales */
.member-social {
    display: flex;
    gap: 1rem;
}

/* Enlaces de redes sociales */
.social-link {
    width: 45px;
    height: 45px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Hover en enlaces sociales */
.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Información del miembro */
.member-info {
    padding: 2rem;
    text-align: center;
}

/* Nombre del miembro */
.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

/* Cargo del miembro */
.member-cargo {
    display: block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Descripción del miembro */
.member-descripcion {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================
   SECCIÓN VALORES
   ======================================== */

.valores-section {
    background: white;
}

/* Card de cada valor */
.valor-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid #f0f0f0;
}

/* Hover en card de valor */
.valor-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.15);
}

/* Icono del valor */
.valor-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

/* Rotación del icono al hover */
.valor-card:hover .valor-icon {
    transform: rotateY(360deg);
}

/* Título del valor */
.valor-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

/* Descripción del valor */
.valor-descripcion {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ========================================
   SECCIÓN CTA
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #000000 100%);
    color: white;
}

/* Título del CTA */
.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Subtítulo del CTA */
.cta-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Botón del CTA */
.btn-cta {
    background: white;
    color: var(--primary-color);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Hover en botón CTA */
.btn-cta:hover {
    background: #f0f0f0;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
}

/* ========================================
   RESPONSIVE (Móviles)
   ======================================== */

@media (max-width: 768px) {
    /* Hero */
    .equipo-hero {
        height: 300px;
    }

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

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

    /* Secciones */
    .section-title {
        font-size: 2rem;
    }

    /* Miembros */
    .member-image-container {
        height: 300px;
    }

    .member-name {
        font-size: 1.3rem;
    }

    /* CTA */
    .cta-title {
        font-size: 2rem;
    }

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