/* ========================================
   LANDING PAGE HERO - ESTILO MODERNO
   ======================================== */

/* Hero Section Principal */
.hero-landing {
    min-height: 90vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Decoraciones de fondo */
.hero-landing::before {
    content: '★';
    position: absolute;
    font-size: 120px;
    color: rgba(255, 215, 0, 0.15);
    top: 10%;
    left: 10%;
    animation: twinkle 3s ease-in-out infinite;
}

.hero-landing::after {
    content: '★';
    position: absolute;
    font-size: 80px;
    color: rgba(255, 215, 0, 0.1);
    bottom: 15%;
    right: 15%;
    animation: twinkle 4s ease-in-out infinite 1s;
}

.star-decoration {
    position: absolute;
    font-size: 60px;
    color: rgba(255, 215, 0, 0.12);
    animation: twinkle 5s ease-in-out infinite 2s;
}

.star-decoration.star-1 {
    top: 20%;
    right: 20%;
}

.star-decoration.star-2 {
    bottom: 25%;
    left: 15%;
    font-size: 70px;
}

.star-decoration.star-3 {
    top: 60%;
    right: 10%;
    font-size: 50px;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Contenedor Principal */
.hero-content {
    position: relative;
    z-index: 10;
}

/* Texto Principal */
.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.hero-title-line {
    display: block;
}

/* Texto destacado con fondo amarillo */
.hero-highlight {
    background: #FFD700; /* Cambiado a dorado */
    padding: 0 15px;
    display: inline-block;
    position: relative;
    transform: rotate(-1deg);
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
}

/* Subtítulo */
.hero-subtitle {
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 500;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

/* Botón Principal */
.hero-btn {
    background: #000000;
    color: #ffffff;
    padding: 18px 50px;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #FFE55C;
    transition: height 0.3s ease;
    z-index: -1;
}

.hero-btn:hover::before {
    height: 100%;
}

.hero-btn:hover {
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* Decoración ondulada amarilla */
.wave-decoration {
    position: absolute;
    left: 0;
    bottom: 50px;
    width: 250px;
    height: 8px;
    background: #FFE55C;
    border-radius: 10px;
    animation: wave-pulse 2s ease-in-out infinite;
}

@keyframes wave-pulse {
    0%, 100% { width: 250px; }
    50% { width: 300px; }
}

/* Imagen Hero */
.hero-image-container {
    position: relative;
    z-index: 5;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transition: transform 0.4s ease;
    transform: rotate(0deg) !important; /* FORZAR a que la imagen esté recta */
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }

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

    .hero-image {
        max-width: 100%;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-landing {
        min-height: auto;
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

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

    .hero-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }

    .wave-decoration {
        width: 150px;
    }
}

/* Animación de entrada */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.fade-in-up-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.fade-in-right {
    animation: fadeInRight 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   CARRUSEL DEL HERO
   ======================================== */

/* Carrusel Container */
.hero-carousel {
    position: relative;
    overflow: hidden;
}

.hero-carousel-inner {
    position: relative;
    width: 100%;
}

.hero-slide {
    display: none;
    width: 100%;
    animation: slideIn 0.8s ease-out;
}

.hero-slide.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Indicadores del Carrusel */
.hero-carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.hero-indicator {
    width: 40px;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active {
    background: #FFD700; /* Cambiado a dorado */
    width: 60px;
    box-shadow: 0 2px 10px rgba(255, 229, 92, 0.5);
}

.hero-indicator:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Controles del Carrusel */
.hero-carousel-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
    pointer-events: none;
}

.hero-carousel-control {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel-control:hover {
    background: #FFD700; /* Cambiado a dorado */
    color: #000;
    transform: scale(1.1);
}

.hero-carousel-control:active {
    transform: scale(0.95);
}

/* Slide 2 - About Section */
.about-hero {
    min-height: 90vh;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-hero::before {
    content: '✦';
    position: absolute;
    font-size: 100px;
    color: rgba(76, 175, 80, 0.1);
    top: 15%;
    left: 8%;
    animation: twinkle 4s ease-in-out infinite;
}

.about-hero::after {
    content: '✦';
    position: absolute;
    font-size: 90px;
    color: rgba(76, 175, 80, 0.15);
    bottom: 10%;
    right: 12%;
    animation: twinkle 3.5s ease-in-out infinite 1.5s;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.about-title .name-highlight {
    color: #4CAF50;
    font-weight: 900;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    max-width: 600px;
    text-align: justify;
}

.about-image-container {
    display: inline-block;
    background: linear-gradient(180deg, #ffffff, #f0f0f0);
    padding: 0.75rem; /* Padding para el borde */
    box-shadow: 0 15px 45px rgba(0, 80, 0, 0.15); /* Sombra más pronunciada y verdosa */
    transition: all 0.4s ease;
    width: 340px; /* Ancho fijo para el contenedor - AUMENTADO */
    height: 340px; /* Alto fijo para el contenedor - AUMENTADO */
    width: 350px; /* Ancho fijo para el contenedor - AUMENTADO DE NUEVO */
    height: 350px; /* Alto fijo para el contenedor - AUMENTADO DE NUEVO */
    border-radius: 50%; /* Asegurar que el contenedor sea un círculo perfecto */
}

.about-image-container:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0, 80, 0, 0.2);
}

.about-image-circle {
    width: 100%; /* La imagen ocupa todo el contenedor */
    height: 100%; /* La imagen ocupa todo el contenedor */
    object-fit: cover; /* Asegura que la imagen cubra el círculo sin deformarse */
    border-radius: 50%;
    border: 6px solid #fff; /* Borde blanco interno para separar del fondo */
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1); /* Sombra interna sutil */
}

/* Responsive para carrusel */
@media (max-width: 992px) {
    .hero-carousel-controls {
        padding: 0 10px;
    }

    .hero-carousel-control {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

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

    .about-text {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel-indicators {
        bottom: 15px;
    }

    .hero-indicator {
        width: 30px;
        height: 4px;
    }

    .hero-indicator.active {
        width: 45px;
    }

    .hero-carousel-control {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .about-title {
        font-size: 2rem;
        text-align: center;
    }

    .about-text {
        font-size: 0.95rem;
        text-align: center;
    }

    .about-image-container {
        width: 260px; /* Tamaño más pequeño para móviles - AUMENTADO */
        height: 260px;
        width: 280px; /* Tamaño más pequeño para móviles - AUMENTADO DE NUEVO */
        height: 280px;
        margin-top: 2rem; /* Espacio superior en móviles */
    }

    .about-image-circle {
        /* Los estilos de ancho y alto se heredan del contenedor */
        margin-top: 0;
    }
}
