@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600;700&display=swap');

:root {
    --fola-blue: #0b3d91; /* Azul profundo / Olas */
    --fola-blue-light: #1c52b0;
    --fola-orange: #f26522; /* Naranjo cálido / Personas */
    --fola-orange-hover: #e05310;
    --fola-neutral: #f4ecdf; /* Tono suave / Neutro */
    --fola-text: #333333;
    --fola-white: #ffffff;
}

body {
    font-family: 'Barlow', sans-serif;
    color: var(--fola-text);
    background-color: var(--fola-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1; /* Permite que el contenido principal empuje el footer hacia abajo */
}

/* Tipografía Institucional */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--fola-blue);
}

/* Botones FOLA */
.btn-fola-primary {
    background-color: var(--fola-orange);
    border-color: var(--fola-orange);
    color: var(--fola-white);
    font-weight: 500;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-fola-primary:hover {
    background-color: var(--fola-orange-hover);
    color: var(--fola-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(242, 101, 34, 0.3);
}

.btn-fola-secondary {
    background-color: var(--fola-blue);
    border-color: var(--fola-blue);
    color: var(--fola-white);
    font-weight: 500;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-fola-secondary:hover {
    background-color: var(--fola-blue-light);
    color: var(--fola-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(11, 61, 145, 0.3);
}

/* Navbar Institucional */
.navbar-fola {
    background-color: var(--fola-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.navbar-fola .nav-link {
    color: var(--fola-blue) !important;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: 0.3s;
}
.navbar-fola .nav-link:hover, .navbar-fola .nav-link.active {
    color: var(--fola-orange) !important;
}
.navbar-fola .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--fola-orange);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}
.navbar-fola .nav-link:hover::after, .navbar-fola .nav-link.active::after {
    width: 100%;
}

.navbar-brand img {
    height: 60px;
}

/* Footer Institucional */
.footer-fola {
    background-color: var(--fola-blue);
    color: var(--fola-white);
    padding: 60px 0 20px;
}
.footer-fola a {
    color: var(--fola-neutral);
    text-decoration: none;
    transition: 0.3s;
}
.footer-fola a:hover {
    color: var(--fola-orange);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0;
    background-size: cover;
    background-position: center;
    color: var(--fola-white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(11, 61, 145, 0.75); /* Overlay azul */
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Tarjetas */
.card-fola {
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    background-color: var(--fola-white);
    overflow: hidden;
    transition: 0.3s;
}
.card-fola:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.card-fola .card-title {
    color: var(--fola-blue);
    font-weight: 600;
}
.card-fola-img {
    height: 200px;
    object-fit: cover;
}

/* Decoraciones y separadores */
.section-title {
    color: var(--fola-blue);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--fola-orange);
}
.section-title-left::after {
    left: 0;
    transform: none;
}

/* WhatsApp Flotante */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    color: #FFF;
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0,0,0,0.4);
}
