﻿:root {
    --nav-height: 150px;
    --footer-height: 80px;
}

html {
    font-size: 14px;
    height: 100%; /* Importante */
}

html, body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    height: 100%; /* Importante */
}

body {
    /*display: flex;
    flex-direction:column;
    min-height: 100vh;
    margin: 0;
    align-items:center;
    justify-content:center;*/


    /*DESCOMENTAR ESTILOS PARA QUE FUNCIONE BIEN EL NAV*/

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: var(--nav-height);
    margin: 0;
}

/* Firefox */
body {
    scrollbar-width: thin;
    scrollbar-color: #4993cc #c4bfb6;
}

    /* Chrome, Edge, Safari */
    body::-webkit-scrollbar {
        width: 10px;
    }

    body::-webkit-scrollbar-track {
        background: #c4bfb6;
        border-radius: 5px;
    }

    body::-webkit-scrollbar-thumb {
        background: #4993cc;
        border-radius: 5px;
        border: 2px solid #c4bfb6;
    }

        body::-webkit-scrollbar-thumb:hover {
            background: #192854;
        }

/* Contenedor principal que envuelve todo el contenido después del nav */
.main-container {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Para páginas con container */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
    flex: 1 0 auto; /* Importante para que empuje el footer */
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1 0 auto;
    width: 100%;
    padding-bottom: 30px;
}

/* Para páginas FullWidth */
.full-width-wrapper {
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Footer */
#site-footer {
    background-color: #192854;
    border-top: 2px solid #fdd757;
    box-shadow: 0 -4px 15px rgba(187,208,0,0.2);
    color: #fff;
    min-height: var(--footer-height);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 100%;
}
.footer-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Redes sociales - izquierda */
.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-icon {
    color: white;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

    .social-icon:hover {
        color: #192854;
        background: #fdd757;
        transform: translateY(-3px);
    }

/* Información - derecha */
.footer-info {
    font-size: 0.95rem;
    text-align: right;
    opacity: 0.9;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 15px 0;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-info {
        text-align: center;
    }
}

.footer-content {
    text-align: center;
    width: 100%;
}

/* Si quieres que una sección ocupe toda la altura restante (opcional) */
.full-height {
    min-height: calc(100vh - var(--nav-height) - var(--footer-height));
    display: flex;
    align-items: center;
}

/* Scroll snap home */
body.home-bg {
    scroll-snap-type: y proximity;
    overflow-y: scroll;
}

/* ============================= */
/* TITULO CON DEGRADADO */
/* ============================= */

.title-gradient {
    background: linear-gradient(90deg, #192854, #4993cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    position: relative;
}

    /* Línea decorativa opcional */
    .title-gradient::after {
        content: "";
        width: 60px;
        height: 5px;
        background: #fdd757;
        display: block;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 0 8px rgba(253, 215, 87, 0.7);
    }
