﻿/* Estilos globales reutilizables */
html, body { 
    margin: 0 !important;
    padding: 0 !important;
}

body { 
    background: #fff; 
    color: #444;
    line-height: 1.8;
}

main.container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Utilidades */
.prewrap { 
    white-space: pre-line; 
}

/* Navegación */
.navbar-brand { 
    font-weight: 700; 
}

.navbar-dark .nav-link {
    opacity: 1 !important;
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 500;
}

.navbar-dark .nav-link:hover {
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
}

/* Títulos de sección */
.section-title {
    color: #1a237e;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: #1a237e;
}

/* Tarjetas informativas */
.info-card {
    background: linear-gradient(120deg, #f5f7ff 0%, #e8f0fe 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(33, 150, 243, 0.1);
    overflow: hidden;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2), 0 8px 15px rgba(33, 150, 243, 0.15);
}

.info-card .row {
    flex: 1;
    display: flex;
    align-items: stretch;
}

.info-card .col-md-6 {
    display: flex;
    flex-direction: column;
}

.info-card .card-body {
    padding: 20px;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    text-align: center;
}

.info-card .text-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.info-card .card-text {
    font-size: 0.9rem;
    text-align: center;
    margin-bottom: 0;
    font-weight: 500;
    line-height: 1.5;
}

/* Contenedores de imágenes */
.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/* Botones personalizados */
.btn-custom {
    background: #1a237e;
    color: white;
    border-radius: 8px;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

.btn-custom:hover {
    background: #2196F3;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

/* Formularios */
.form-control, .form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 10px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

/* Contenedor principal */
.main-container {
    padding: 2rem 0;
}

/* Textos */
.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}
