/* estilos.css */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.content-wrapper {
    flex: 1;
}

/* Estilos para el carrusel */
.carousel-item {
    height: 400px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
}

/* Estilos para tarjetas de noticias */
.noticia-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.noticia-destacada {
    border-left: 4px solid var(--warning-color);
}

.noticia-fecha {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.noticia-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 10px 0;
}

.noticia-descripcion {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.noticia-autor {
    font-size: 0.85rem;
    color: var(--info-color);
    margin-top: 10px;
}

/* Estilos para tarjetas de información */
.info-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    height: 250px;
    cursor: pointer;
}

.info-card:hover {
    transform: scale(1.05);
}

.info-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    text-align: center;
}

.info-card-overlay h4 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Estilos para iconos de nuestro colegio */
.icon-card {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.icon-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.icon-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.icon-card p {
    color: var(--secondary-color);
}

/* Estilos para el mapa */
.mapa-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.mapa-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* Secciones */
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-item {
        height: 250px;
    }
    
    .info-card {
        height: 200px;
    }
    
    .icon-card {
        margin-bottom: 20px;
    }
}

/* Agregar estos estilos al final del archivo estilos.css */

/* Estilos para la tabla de horarios */
.table-horario {
    font-size: 0.9rem;
}

.table-horario th {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    vertical-align: middle;
}

.table-horario td {
    vertical-align: middle;
}

.table-horario td:first-child {
    font-weight: bold;
    background-color: #f8f9fa;
}

/* Estilos para las tarjetas de estadísticas */
.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* Estilos para la leyenda de materias */
.materia-badge {
    font-size: 0.85rem;
    padding: 5px 10px;
    margin: 2px;
}

/* Estilos para la barra de progreso de distribución */
.progress-distribution {
    height: 25px;
    border-radius: 12px;
}

/* Estilos para la impresión */
@media print {
    .navbar, .footer, .btn, .card-header {
        display: none !important;
    }
    
    .table {
        border: 2px solid #000;
    }
    
    .table th {
        background-color: #ccc !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}