/* Estilos base - Coherentes con la página principal */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* Header - Coherente con la página principal */
.encabezado {
    width: 100%;
    height: 150px;
    background-color: rgb(255, 255, 255);
    display: flex;
    align-items: center;
    padding: 0 5%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
}

.logo-imagen {
    width: 200px;
    height: 200px;
    background-image: url('../../logos/logoalicecolor_1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 10px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu li a {
    text-decoration: none;
    color: #000000;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu li a.active {
    color: #000000;
}

.nav-menu li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000000;
}

.nav-menu li a:hover {
    color: #000000;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1000;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #000000;
    transition: 0.3s;
}

/* Hero Section */
.hero-equipo {
    position: relative;
    height: 60vh;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
    color: white;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sección de Introducción */
.intro-equipo {
    padding: 5rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: #000000;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
}

/* Grid de Equipo */
.team-grid {
    padding: 5rem 0;
    background-color: #fff;
}

/* Grid de Miembros Principales */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

/* Miembros Individuales */
.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.team-member.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ===== CORRECCIONES PARA IMÁGENES DEL EQUIPO ===== */
.member-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    background-color: #f8f9fa;
}

.member-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

/* Imagen principal visible por defecto */
.member-image .main-image {
    opacity: 1;
    transform: translateX(0);
}

/* Imagen hover oculta por defecto */
.member-image .hover-image {
    opacity: 0;
    transform: translateX(100%);
}

/* Efecto hover para cambiar imagen */
.team-member:hover .main-image {
    opacity: 0;
    transform: translateX(-100%);
}

.team-member:hover .hover-image {
    opacity: 1;
    transform: translateX(0);
}

/* AJUSTES INDIVIDUALES DE IMÁGENES - MODIFICAR ESTOS VALORES SEGÚN NECESITES */
/* James - ajuste general */
.team-member:nth-child(1) .member-image img {
    object-position: center 25%;
}

/* Gina - ajuste para mostrar más hacia arriba */
.team-member:nth-child(2) .member-image img {
    object-position: center 20%;
}

/* Pablo - ajuste para mostrar más hacia arriba */
.team-member:nth-child(3) .member-image img {
    object-position: center 15%;
}

/* Nuevos miembros - ajuste general */
.team-member:nth-child(4) .member-image img,
.team-member:nth-child(5) .member-image img {
    object-position: center 25%;
}

/* Miembro próximo - ajuste general */
.team-member.coming-soon .member-image img {
    object-position: center center;
}

/* Placeholder para próximo miembro */
.coming-soon-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: white;
    color: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #000000;
    color: white;
    transform: scale(1.1);
}

.member-info {
    padding: 2.5rem;
}

.member-name {
    font-size: 1.6rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.member-role {
    font-size: 1.1rem;
    color: #000000;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #333333;
    margin-bottom: 1.2rem;
}

.member-bio:last-of-type {
    margin-bottom: 1.5rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: linear-gradient(135deg, #333333 0%, #000000 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Sección de Valores */
.valores-equipo {
    padding: 5rem 0;
    background: #000000;
    color: white;
    text-align: center;
}

.valores-equipo .section-title {
    color: white;
    margin-bottom: 4rem;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.valor-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.valor-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.valor-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    color: white;
}

.valor-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.valor-item p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    color: white;
}

/* Stats Section */
.stats-equipo {
    padding: 5rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.1rem;
    color: #333333;
    font-weight: 500;
}

/* CTA Section */
.cta-equipo {
    padding: 5rem 0;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    text-align: center;
}

.cta-equipo h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-equipo p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: #000000;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid white;
    font-size: 1.1rem;
}

.cta-button:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Footer - Coherente con la página principal */
.footer {
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-contenido {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    align-items: start;
}

.footer-columna {
    display: flex;
    flex-direction: column;
}

.logo_inferior {
    max-width: 180px;
    margin-bottom: 1.5rem;
}

.footer-descripcion {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #999;
    margin-top: auto;
}

.footer-subtitulo {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-contacto {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.footer-formulario {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-input,
.form-textarea {
    padding: 0.8rem 1rem;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #2a2a2a;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #999;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #ffffff;
    background-color: #333;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-boton {
    padding: 0.8rem 2rem;
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.form-boton:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.slogan_inferior{
            width: 300px;
            height: 200px;
            margin-top: 100px;
            margin-left: -200px;
        }

/* Responsive Design */
@media (max-width: 768px) {
    .encabezado {
        height: 120px;
        padding: 0 5%;
    }
    
    .logo-imagen {
        width: 150px;
        height: 150px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .member-info {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .member-info {
        padding: 1.5rem;
    }
    
    .member-name {
        font-size: 1.4rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}