/* =========================================
   1. VARIABLES Y FUENTES
   ========================================= */

/* Definimos la tipografía */
@font-face {
    font-family: 'AmsiPro';
    src: url('../data/fonts/AmsiProCond-Regular.otf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
    font-display: swap; /* Mejora la carga visual */
}

@font-face {
    font-family: 'AmsiPro';
    src: url('../data/fonts/AmsiProCond-Bold.otf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Variables Globales: Cambiá los colores acá y se aplican en todo el sitio */
:root {
    --color-azul: #023A55;
    --color-violeta: #6752C1;
    --color-naranja: #EA5B0C;
    --color-oscuro: #212529;
    --color-blanco: #ffffff;
    --fuente-principal: 'AmsiPro', 'Segoe UI', sans-serif;
    --altura-header: 15px; /* Espacio para que el header fijo no tape contenido */
}

/* =========================================
   2. ESTILOS GENERALES (BASE)
   ========================================= */

html {
    height: 100%;
}

#global-footer-container {
    margin-top: auto; /* La magia: empuja el contenedor al final del flex */
    width: 100%;      /* Asegura que ocupe el ancho total */
}

body {
    font-family: var(--fuente-principal);
    background-color: #f8f9fa; /* Gris muy suave de fondo general */
    color: var(--color-oscuro);
    padding-top: var(--altura-header); /* IMPORTANTE: Compensa el header fijo */
    overflow-x: hidden;

    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Altura mínima: 100% de la ventana (Viewport Height) */
}

h1, h2, h3, h4, h5, h6, .hero-title {
    font-weight: bold;
    letter-spacing: -0.5px;
}

a {
    text-decoration: none;
}

/* Clases de utilidad personalizadas */
.section-padding {
    padding: 80px 0;
}

.img-rounded-custom {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* =========================================
   3. HEADER (PERSONALIZACIÓN BOOTSTRAP)
   ========================================= */



.navbar {
    background-color: var(--color-azul);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    
    /* 1. Definimos la altura mínima de la barra completa */
    min-height: 70px; 
    
    /* 2. Le damos muy poquito aire arriba y abajo */
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* El contenedor del logo (el link) */
.navbar-brand {
    padding: 10 !important;   /* Le sacamos el relleno extra de Bootstrap */
    margin: 10 !important;
    display: flex;           /* Para centrar la imagen perfectamente */
    align-items: center;
}

/* LA IMAGEN DEL LOGO */
.navbar-brand img {
    /* 3. ACÁ ESTÁ LA CLAVE: Forzamos la altura */
    height: 60px !important; /* Tamaño fijo, bien grande */
    width: auto;             /* Que el ancho se acomode solo */
    
    /* Opcional: si el logo tiene mucho espacio vacío alrededor en el diseño,
       podés usar "transform: scale(1.2);" para agrandarlo visualmente sin mover nada */
    
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}


 /* =========================================
   3. SECCIÓN BANNER (HERO)
   ========================================= */
        .hero-banner {
            height: 60vh;
            min-height: 400px;
            background: linear-gradient(#02395570, #012435de), url('../data/imagenes/pabe_2.jpg');
            background-color: #023A55; 
            background-size: cover;
            background-position: center;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            padding: 0 20px;
        }

        .hero-title {
            font-size: 3.5rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 20px;
            text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* =========================================
           4. CONTENEDOR Y RESPONSIVE
           ========================================= */
        .container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 15px;
        }

        .section-padding {
            padding: 80px 0;
        }

        @media (max-width: 767px) {
            .container {
                padding-left: 30px !important;
                padding-right: 30px !important;
            }
            .hero-title {
                font-size: 2.5rem !important; 
            }
            .section-padding {
                padding: 60px 0 !important;
            }
            .hero-banner {
                height: 50vh;
            }
        }
/* =========================================
   5. ESTILOS ESPECÍFICOS DEL CONTENIDO (ADAPTADO)
   ========================================= */
.instruction-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    padding: 40px;
    margin-top: -60px; /* Mantiene el efecto de superposición */
    position: relative;
    z-index: 10;
    max-width: 800px; /* Opcional: para que no se estire demasiado en pantallas anchas */
    margin-left: auto;
    margin-right: auto;
}

h2.step-title {
    color: var(--color-azul);
    border-bottom: 3px solid var(--color-violeta);
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Estilo para el nuevo párrafo */
.card-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 30px;
}

/* Contenedor de botones con Flexbox */
.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Para que en móviles se pongan uno debajo del otro */
    margin-bottom: 30px;
}

/* Estilos base de los botones */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-family: 'AmsiPro', sans-serif;
}

.btn-primary {
    background-color: var(--color-violeta); /* El púrpura de tu línea */
    color: white;
}

.btn-primary:hover {
    background-color: var(--color-violeta);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--color-azul); /* El azul de tu título */
    color: white;
}

.btn-secondary:hover {
    background-color: var(--color-azul);
    transform: translateY(-2px);
}

.highlight-box {
    background-color: #e3f2fd;
    color: var(--color-azul);
    padding: 20px;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    border: 1px solid #bbdefb;
}

/* =========================================
7. FOOTER
 ========================================= */

footer {
    background-color: var(--color-oscuro);
    color: white;
    padding: 60px 0 30px;
    text-align: center;
    margin-top: 50px;
    border-top: 4px solid var(--color-naranja);
}

.footer-logo {
    max-width: 140px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Vuelve el logo blanco automáticamente si es SVG/PNG */
    opacity: 0.9;
}

/* Efecto hover suave para el link del footer */
.hover-effect:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-naranja) !important; /* Se pone naranja al pasar el mouse */
    transition: all 0.3s ease;
}

/* =========================================
   8. MEDIA QUERIES (RESPONSIVE)
   ========================================= */

@media (max-width: 768px) {
    :root {
        --altura-header: 66px; /* Header un poco más chico en móvil */
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 50px 0;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    /* En móvil las tarjetas ocupan todo el ancho para verse bien grandes */
    .flip-card {
        flex: 1 1 100%; 
        max-width: 100%;
    }
}