/* Estilos generales */
body {
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

/* Estilos para el encabezado */
header {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

header.nav-scroll {
    background-color: rgba(44, 62, 80, 0.8);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #3498db;
}

/* Estilos para el encabezado normal en pantallas más grandes */
.navbar {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #ecf0f1;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

/* Estilos para el menú hamburguesa en dispositivos móviles */
.menu-icon {
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 30px;
}

.bar {
    background-color: #ecf0f1;
    height: 4px;
    width: 100%;
    transition: transform 0.3s ease;
}

.menu-icon.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Estilos para dispositivos móviles (menú hamburguesa) */
@media (max-width: 768px) {

    .menu-icon {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: center;
        width: 100%;
        background-color: #2c3e50;
        position: absolute;
        top: 60px;
        left: 0;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        opacity: 1;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .nav-links a {
        font-size: 16px;
    }

    header {
        padding: 10px 0;
        /* Reduce el espaciado vertical */
    }

    nav {
        flex-direction: column;
        /* Muestra los elementos de navegación en una columna */
        align-items: center;
        /* Centra los elementos horizontalmente */
        padding: 10px 0;
        position: relative;
        /* Añade posición relativa para que funcione el menú hamburguesa */
    }

    nav ul {
        position: absolute;
        /* Coloca la lista de navegación en la parte superior en dispositivos móviles */
        top: 60px;
        /* Ajusta la posición superior según sea necesario */
        left: -100%;
        /* Inicialmente oculta la lista de navegación */
        width: 100%;
        background-color: #2c3e50;
        transition: left 0.3s ease;
    }

    nav.active ul {
        left: 0;
        /* Muestra la lista de navegación cuando está activa */
    }

    nav ul li {
        margin: 10px 0;
        /* Añade espacio entre los elementos de navegación */
    }

    nav ul li:last-child {
        margin-bottom: 0;
        /* Elimina el espacio inferior del último elemento */
    }

    .menu-icon {
        cursor: pointer;
        color: #ecf0f1;
        font-size: 24px;
        position: absolute;
        top: 20px;
        right: 20px;
        display: block;
    }

     /* Sección Valores y Filosofía */
     .values-philosophy .section-title {
        font-size: 24px;
    }

    .values-philosophy .section-text {
        font-size: 14px;
        max-width: 100%;
    }

    /* Valores */
    .value-title {
        font-size: 16px;
    }

    .value-description {
        font-size: 12px;
    }

  

    /* Footer */
    .footer-logo {
        font-size: 20px;
    }

    .footer-text {
        font-size: 14px;
    }

    .footer-social a {
        font-size: 18px;
    }

    /* Sección Quién Soy */
    .about-me .section-title {
        font-size: 20px;
    }

    .about-me .section-text {
        font-size: 14px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
    }

    .about-me-subtitle {
        font-size: 16px;
    }

    .about-me-details p {
        font-size: 12px;
    }
  
}

/* Estilos para la sección Valores y Filosofía */
.values-philosophy {
    background-color: #f9f9f9;
    padding: 80px 0;
    text-align: center;
}

.values-philosophy .section-title {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
    text-transform: uppercase;
}

.values-philosophy .section-text {
    font-size: 18px;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilos para los valores */
.values-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.value-description {
    font-size: 16px;
    color: #777;
}





/* Estilos para el footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
}

.footer-logo a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.footer-logo a:hover {
    color: #3498db;
}

.footer-text {
    font-size: 18px;
    max-width: 800px;
    text-align: center;
}

.footer-social {
    margin-top: 20px;
}

.footer-social a {
    font-size: 24px;
    margin: 0 15px;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #3498db;
}

/* Estilos para la sección de Quién Soy */
.about-me {
    background-color: #f8f8f8;
    padding: 60px 0;
    text-align: center;
}

.about-me .section-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #333;
}

.about-me .section-text {
    font-size: 18px;
    color: #555;
}

/* Estilos para el contenido de Quién Soy */
.about-me-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 40px;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-top: 20px;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.about-me-details {
    max-width: 400px;
    text-align: left;
    margin-top: 20px;
}

.about-me-subtitle {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.about-me-details p {
    font-size: 16px;
    color: #777;
    margin-bottom: 10px;
}
