
/* Definición de fuentes */
@font-face {
    font-family: 'Avenir Medium';
    src: url('/fonts/Avenir-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Medium';
    src: url('/fonts/Avenir-LT-Std-65-Medium.ttf') format('truetype');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir';
    src: url('/fonts/Avenir-Roman.ttf') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Black';
    src: url('/fonts/Avenir-Black.ttf') format('truetype');
    font-weight: 900;
    font-display: swap;
}

/* Reset y estilos base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#root * {
    font-family: "Avenir Medium", Sans-serif, serif;
}

/* Header - Mobile First */
.header {
    position: relative;
    background-image: url("https://newuce.uce.edu.do/wp-content/uploads/2025/04/Banner-biblioteca.webp");

    --background-overlay: '';

    background-position: center center;

    background-repeat: no-repeat;

    background-size: cover;
    min-height: 400px;
    display: flex;
}

.header .logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 80px;
    height: auto;
    z-index: 10;
}

.header .logo img {
    width: 100%;
    height: auto;
    display: block;
}

.header .heading {
    display: flex;
    color: white;
    flex-direction: column;
    justify-content: center;
    padding: 80px 20px 40px 20px;
    background-color: transparent;
    --background-overlay: '';
    background-image: linear-gradient(90deg, #46BB84 19%, #46BB8400 69%);
    width: 100%;
}

.header .heading .title {
    font-size: clamp(24px, 5vw, 42px);
    font-weight: bold;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.header .heading .subtitle {
    font-size: clamp(14px, 3vw, 20px);
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

/* Main content */
.main {
    padding: 32px 20px;
    flex: 1;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #9EBC95 -1%, #46BB84 25.68%, #326295 57.27%, #727272 85.01%, #000 104.03%);
    padding: 24px 20px;
    color: white;
    text-align: center;
    font-size: clamp(12px, 2vw, 16px);
}

.footer p {
    margin: 0;
}

/* Tablet (768px y más) */
@media (min-width: 768px) {
    .header {
        min-height: 500px;
    }

    .header .logo {
        top: 24px;
        left: 40px;
        width: 100px;
    }

    .header .heading {
        padding: 80px 60px 40px 60px;
    }

    .main {
        padding: 64px 60px;
    }

    .footer {
        padding: 26px 60px;
    }
}

/* Desktop (1024px y más) */
@media (min-width: 1024px) {
    .header {
        min-height: 65vh;
    }

    .header .logo {
        top: 26px;
        left: 60px;
        width: 111px;
    }

    .header .heading {
        padding: 80px 120px 40px 120px;
    }

    .main {
        padding: 96px 120px;
    }

    .footer {
        padding: 26px 120px;
    }
}

/* Large Desktop (1440px y más) */
@media (min-width: 1440px) {
    .header .logo {
        left: 195px;
    }

    .header .heading {
        padding-left: 195px;
        padding-right: 195px;
    }

    .main {
        padding-left: 195px;
        padding-right: 195px;
    }

    .footer {
        padding-left: 195px;
        padding-right: 195px;
    }
}

/* Extra Large Desktop (1920px y más) */
@media (min-width: 1920px) {
    .header .heading .title {
        font-size: 48px;
    }

    .header .heading .subtitle {
        font-size: 24px;
    }
}
