/*
 * 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
   ======================================== */

.hero-section-small {
    background: linear-gradient(135deg, #000000 0%, #1a1a2e 50%, #0066ff 100%);
    padding: 80px 0 40px;
    color: white;
    text-align: center;
}

.hero-section-small h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   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;
    object-position: top center;
    transition: transform 0.3s ease;
}

/* Ajuste específico para Ana - centrado vertical */
.member-image.img-ana {
    object-position: center 30%;
}

/* 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 */
    .hero-section-small h1 {
        font-size: 2rem;
    }

    /* 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;
    }
}
