/* Estilos específicos para escritorio (1025px en adelante) */

/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100vh;
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    background-color: #F9FAFB;
    color: #1F2937;
    padding: 0.9375rem;
    overflow-x: hidden;
}

/* Contenedor principal */
.container {
    display: grid;
    grid-template-columns: 25rem 1fr;
    height: 100vh;
    max-height: 100vh;
    gap: 1rem;
}

/* Sin scroll en body */
body.home-page {
    overflow: hidden;
}

/* Secciones principales */
.profile,
.content-section, 
.content-section-information {
    background-color: #00549F;
    padding: 1.25rem;
    border-radius: 0.625rem;
    /* overflow: hidden; */
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Scroll interno */
.content-section,
.content-section-information {
    overflow-y: auto;
    /* padding-right: 0.5rem; */
    max-height: calc(100vh - 1.875rem);
}

/* Estructura del perfil */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
}

.profile-header img {
    width: 65%;
    max-width: 13.75rem;
    border-radius: 50%;
    border: 0.3125rem solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0, 0, 0, 0.2);
    margin: 1rem 0;
}

.profile-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.profile-header p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem !important;
    max-width: 85%;
}

.bio {
    color: #E5E7EB;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    text-align: center;
    padding: 0 1.25rem;
    margin: 1.25rem 0;
}

/* Botones */
.botones {
    display: flex;
    justify-content: center;
    gap: 0.625rem;
    margin-bottom: 1rem;
}

.button {
    background: transparent;
    border: 0.0625rem solid #ccc;
    padding: 0.5rem 1.25rem;
    border-radius: 1.875rem;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: 0.3s;
}

.button:hover {
    background: #006ece;
}

.counter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 1rem;
    color: #fff;
    font-size: 1.300rem;
    font-family: 'Poppins', sans-serif; /* Fuente personalizada */
}

.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Tarjetas de información */
.content-section .informations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9375rem;
    height: calc(100% - 37 rem);
}



/* @media (min-width: 1494px) {
    .content-section .informations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9375rem;
    height: calc(100% - 31rem);
    }   
} */

/* @media screen {
    
} */

.content-section-information .informations {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5625rem;
    height: calc(100% - 4.375rem);
}

.information {
    background: #e5f0facb;
    border-radius: 0.625rem;
    padding: 1.5rem;
    min-height: 15rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
}

.information:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.information h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    color: #00549F;
    text-align: center;
    margin-bottom: 1.25rem;
}

.information p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.300em;
    flex-grow: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 84, 159, 0.3);
    border-radius: 10px;
}

/* Modo oscuro */
.dark-mode .profile,
.dark-mode .content-section,
.dark-mode .content-section-information {
    background-color: #003B70;
}

.dark-mode .information {
    background: #1E3A54;
    color: #E5E7EB;
}

/* Pantallas muy grandes (más de 1920px) */
@media (min-width: 1921px) {
    .container {
        max-width: 1920px;
        margin: 0 auto;
    }
    
    body {
        overflow-y: auto;
    }
    
    .content-section .informations {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .content-section-information .informations {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Pantallas de altura reducida */
@media (max-height: 800px) {
    .profile-header img {
        max-width: 11rem;
    }
    
    .information {
        min-height: 13rem;
    }
}

/* Pantallas ultra anchas */
@media (min-width: 2000px) and (max-height: 1080px) {
    .content-section .informations {
        grid-template-columns: repeat(4, 1fr);
    }
}