/* 1. ESTILOS BASE Y RESET */
body {
    font-family: 'Verdana', sans-serif; /* Fuente clara y legible */
    margin: 0;
    padding: 0;
    background-color: #ecf0f1; /* Gris muy claro */
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* 2. CABECERA ESCOLAR */
.school-header {
    background-color: #34495e; /* Azul marino/Oscuro */
    color: white;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.school-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    width: 200;
}

.logo h1 {
    margin-left: 15px;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 0;
}

.school-header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.school-header nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s;
    font-weight: bold;
}

.school-header nav ul li a:hover {
    background-color: #4b637a;
}

/* 3. SECCIÓN HERO (BIENVENIDA) */
.hero-school {
    background-color: #2980b9; /* Azul medio */
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-school h2 {
    font-size: 2.8em;
    margin-bottom: 10px;
}

.cta-button {
    background-color: #27ae60; /* Verde vibrante */
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #2ecc71;
}

/* 4. SECCIONES DE CONTENIDO */
.content-section, .media-section {
    padding: 40px 0;
}

.content-section h3, .media-section h3 {
    color: #34495e;
    font-size: 2em;
    border-bottom: 2px solid #34495e;
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

/* Estilos de Avisos */
.notice-board {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.notice {
    background-color: white;
    padding: 20px;
    border-left: 5px solid #e67e22; /* Borde naranja para destacar */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.notice h4 {
    color: #e67e22;
    margin-top: 0;
}

/* Estilos de Recursos Multimedia */
.media-gallery {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.media-item {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    width: 300px;
    padding-bottom: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.media-item h4 {
    color: #2980b9;
    padding: 0 15px;
    margin-bottom: 5px;
}

.media-item p {
    font-size: 0.9em;
    padding: 0 15px;
}

.download-link {
    background-color: #f39c12; /* Naranja */
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 10px;
}

/* 5. PIE DE PÁGINA */
.school-footer {
    background-color: #34495e;
    color: #bdc3c7;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9em;
}

.school-footer p {
    margin: 5px 0;
}

.school-footer a {
    color: #bdc3c7;
    text-decoration: none;
}

/* 6. MEDIA QUERIES (Responsivo para móviles) */
@media (max-width: 768px) {
    .school-header .container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        justify-content: center;
        margin-bottom: 10px;
    }

    .school-header nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .notice-board, .media-gallery {
        flex-direction: column; 
        align-items: center;
    }

    .notice, .media-item {
        width: 90%;
        max-width: 400px;
    }
}
