/* Custom CSS for Corporación Santa Fe Landing Page */

/* Variables CSS para la paleta de colores */
:root {
    --primary-color: #2E8B57;      /* Verde Mar Oscuro */
    --secondary-color: #DAA520;    /* Goldenrod */
    --accent-color: #4682B4;       /* Azul Acero */
    --dark-color: #333333;         /* Gris Carbón Oscuro */
    --light-color: #F8F8F8;        /* Gris Muy Claro */
    --white-color: #FFFFFF;        /* Blanco Puro */
}

/* Fuentes */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

/* Colores Bootstrap personalizados */
.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: #236B43;
    border-color: #236B43;
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white-color);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: #B8941C;
    border-color: #B8941C;
    color: var(--white-color);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-secondary {
    color: var(--secondary-color) !important;
}

/* Navegación */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.navbar-brand img {
    margin-right: 10px;
}

.nav-link {
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e5f3f 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-section .lead {
    font-size: 1.2rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-section .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-section img {
    animation: fadeInRight 1s ease-out 0.8s both;
    border-radius: 15px;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.card-body {
    padding: 2rem;
}

/* Secciones */
section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--light-color) !important;
}

/* Iconos */
.fa-3x {
    color: var(--secondary-color);
}

.fa-2x {
    color: var(--primary-color);
}

/* Proceso de admisión - círculos numerados */
.bg-primary.rounded-circle {
    background-color: var(--primary-color) !important;
    box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.bg-secondary.rounded-circle {
    background-color: var(--secondary-color) !important;
    box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

/* Formulario */
.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.25);
}

.form-select {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 139, 87, 0.25);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Testimonios */
.card img {
    border: 3px solid var(--primary-color);
}

.text-warning .fas {
    color: var(--secondary-color) !important;
}

/* Footer */
footer {
    background-color: var(--dark-color) !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.2rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }
    
    .whatsapp-float i {
        margin-top: 12px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section h2 {
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1.5rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Efectos adicionales */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Mejoras de accesibilidad */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: none;
}

/* Gradientes sutiles */
.card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
}

.bg-light {
    background: linear-gradient(145deg, var(--light-color) 0%, #ffffff 100%) !important;
}

