/*
 * Archivo: index.css
 * Ruta: src/static/css/index.css
 * Descripción: Estilos para la página principal de Elephant IGSA
 * Autor: Equipo de Desarrollo IGSA
 * Fecha: 2025
 */

/* ================================
   1. Hero (Sección principal)
   ================================= */
.hero-elephant {
    background-image: url("../img/aDisenoGral/grua-igsa.png");
    background-size: cover;
    background-position: center;
    color: rgba(9, 162, 255, 0.85);

    /* Centrado vertical y horizontal con Flexbox */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 0 20px;
}

.hero-elephant .text {
    max-width: 900px;
}

.hero-elephant .text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.hero-elephant .text p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f1f1f1;
    margin: 0 auto;
    max-width: 900px;
}

/* ================================
   2. Bloques Operaciones / Control
   ================================= */
.two-blocks {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: stretch; /* igualar altura */
    margin: 40px 0;
}

.two-blocks .col-md-6 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: justify;

    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);

    padding: 30px;
    min-height: 280px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;

    height: auto;
    align-self: stretch;
}

/* Hover con efecto flotante */
.two-blocks .col-md-6:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
    border: 1px solid rgba(13, 110, 253, 0.15);
}

/* Títulos */
.two-blocks h2 {
    text-align: center;
    margin-bottom: 15px;
    color: #0d6efd;
    transition: color 0.3s ease;
}

.two-blocks .col-md-6:hover h2 {
    color: #084298;
}

/* Texto */
.two-blocks p {
    line-height: 1.7;
    color: #555;
}

/* ================================
   3. Ajustes de secciones
   ================================= */
.clean-block.features {
    padding-top: 30px !important;
    padding-bottom: 60px !important;
}

.block-heading {
    padding-top: 60px !important;
}

.section-index-personalized {
    padding-top: 100px;
    padding-bottom: 100px; /* corregido: antes estaba "100x" */
}

.container-index-personalized-1 {
    padding: 30px 0;
    margin-top: 30px;
}
