/**
 * Plantilla Minimalista - Estilos de Portada
 * Diseño limpio con máximo enfoque en contenido
 */

/* Contenedor principal */
.plantilla-minimalista {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ========================================
   HERO MINIMALISTA
   ======================================== */

.minimal-hero-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #2c3e50;
}

/* Contenedor de imagen de fondo */
.hero-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-full-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

/* Contenido del hero */
.hero-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
}

.hero-overlay-content .row {
    width: 100%;
}

.hero-content {
    padding: 2rem 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* Buscador minimalista */
.minimal-search-box {
    max-width: 700px;
    margin: 0 auto;
}

.search-form-minimal {
    display: flex;
    gap: 0;
    background: #ffffff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background: #ffffff;
}

.search-icon {
    color: #999;
    font-size: 1.1rem;
    margin-right: 1rem;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1.25rem 0;
    font-size: 1rem;
    color: #333;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.btn-minimal-search {
    padding: 1.25rem 2.5rem;
    background: #1e3a5f;
    color: #ffffff;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.btn-minimal-search:hover {
    background: #152b47;
}

/* Controles del slider */
.hero-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-arrow {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-dots {
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-dot.active,
.hero-dot:hover {
    background: #ffffff;
    transform: scale(1.2);
}

/* ========================================
   ACCESOS RÁPIDOS
   ======================================== */

.accesos-rapidos-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.acceso-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.acceso-card:hover {
    border-color: #1e3a5f;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.acceso-icon {
    width: 60px;
    height: 60px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.acceso-icon i {
    font-size: 1.8rem;
    color: #1e3a5f;
}

.acceso-card:hover .acceso-icon {
    background: #1e3a5f;
}

.acceso-card:hover .acceso-icon i {
    color: #ffffff;
}

.acceso-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.acceso-link {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.acceso-link i {
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.acceso-card:hover .acceso-link {
    color: #1e3a5f;
}

/* ========================================
   ESTADÍSTICAS
   ======================================== */

.estadisticas-section {
    background: #ffffff;
    padding: 4rem 0;
}

.estadistica-item {
    padding: 2rem 1rem;
}

.estadistica-numero {
    font-size: 3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.estadistica-texto {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

/* ========================================
   MÓDULOS DE CONTENIDO
   ======================================== */

.modulos-minimalistas {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.modulos-minimalistas section {
    background: transparent;
    border: none;
    padding: 0;
}

/* Títulos minimalistas */
.modulos-minimalistas section h2,
.modulos-minimalistas section h3 {
    font-size: 2rem;
    font-weight: 300;
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    letter-spacing: 0.5px;
}

/* Contenido limpio */
.modulos-minimalistas section > div {
    padding: 0;
}

/* Cards minimalistas */
.modulos-minimalistas .card {
    border: 1px solid #e8e8e8;
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.3s ease;
    background: #fff;
}

.modulos-minimalistas .card:hover {
    border-color: var(--color-primary);
}

/* Tipografía amplia */
.modulos-minimalistas p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Links sutiles */
.modulos-minimalistas a {
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.modulos-minimalistas a:hover {
    border-bottom-color: var(--color-primary);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero-minimalista {
        min-height: 500px;
        height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .search-form {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-button {
        padding: 1rem;
        border-radius: 0 0 12px 12px;
    }
    
    .hero-controls {
        bottom: 1rem;
        gap: 1rem;
    }
    
    .accesos-rapidos-section {
        padding: 3rem 0;
    }
    
    .acceso-card {
        padding: 1.5rem 1rem;
    }
    
    .acceso-icon {
        width: 50px;
        height: 50px;
    }
    
    .acceso-icon i {
        font-size: 1.5rem;
    }
    
    .acceso-title {
        font-size: 1rem;
    }
    
    .estadisticas-section {
        padding: 3rem 0;
    }
    
    .estadistica-numero {
        font-size: 2.5rem;
    }
    
    .estadistica-texto {
        font-size: 0.9rem;
    }
    
    .modulos-minimalistas {
        padding: 3rem 1rem;
        gap: 3rem;
    }
    
    .modulos-minimalistas section h2,
    .modulos-minimalistas section h3 {
        font-size: 1.5rem;
    }
}
