/* =========================================
   INDEX.CSS - Página de inicio
   ========================================= */

/* Fondo completo morado - sin blanco */
html,
body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* === HERO SECTION === */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

/* === IMAGEN CON SLIDESHOW - MÁS GRANDE === */
.hero-image {
    flex-shrink: 0;
    width: 280px;  /* ← MÁS GRANDE (antes 170px) */
    height: 280px; /* ← MÁS GRANDE (antes 170px) */
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid rgba(255, 255, 255, 0.4); /* ← Borde más grueso */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4); /* ← Sombra más pronunciada */
    animation: fadeInScale 0.8s ease;
    position: relative; /* ← Para el slideshow */
}

/* Imágenes del slideshow */
.hero-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* ← Transición suave */
}

/* Imagen activa visible */
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-image {
        width: 220px;  /* ← Más grande en móvil también */
        height: 220px; /* ← (antes 150px) */
        margin: 0 auto;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* === Tablet === */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-image {
        width: 240px;
        height: 240px;
    }
}
