/* 
 * Configuración de fuentes personalizadas para el Sistema de Gestión Escolar
 */

@font-face {
    font-family: 'Raleway';
    src: url('../fuentes/Raleway-Regular.woff2') format('woff2'),
         url('../fuentes/Raleway-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Raleway';
    src: url('../fuentes/Raleway-Bold.woff2') format('woff2'),
         url('../fuentes/Raleway-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Aplicar la fuente Raleway como fuente principal */
body {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Configuración de fuentes para diferentes elementos */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

.navbar-brand {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

.btn {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.form-control, .form-select {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Fuentes para elementos específicos */
.stat-number {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
}

.feature-card h4 {
    font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
}

/* Fallback para navegadores que no soporten WOFF2 */
@supports not (font-display: swap) {
    @font-face {
        font-family: 'Raleway';
        src: url('../fuentes/Raleway-Regular.woff') format('woff');
        font-weight: 400;
        font-style: normal;
    }
    
    @font-face {
        font-family: 'Raleway';
        src: url('../fuentes/Raleway-Bold.woff') format('woff');
        font-weight: 700;
        font-style: normal;
    }
}
