/* --- Estilos Globales --- */
:root {
    --primary-color: #8B0000; /* Rojo oscuro del logo */
    --secondary-color: #D4AF37; /* Dorado del logo */
    --background-color: #F5F5F5;
    --text-color: #333;
    --light-gray: #EAEAEA;
    --white: #FFFFFF;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Barra de Navegación --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 1rem 5%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo span {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    padding: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 700;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Menú Desplegable */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    list-style: none; /* Añadido para consistencia */
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* --- Sección Principal (Hero) --- */
#hero {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
    color: var(--white);
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/Background image.jpg') no-repeat center center/cover;
    margin-top: 70px; /* Desplazamiento por la barra de navegación fija */
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.cta-button {
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: var(--secondary-color);
}

/* --- Secciones de Contenido --- */
.content-section {
    padding: 4rem 5%;
    text-align: center;
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.card {
    background: var(--white);
    padding: 2rem;
    margin: 1rem auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
    max-width: 800px;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- Estilos para Listas de Objetivos (Nuevo) --- */
.objectives-list {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}

.objectives-list li {
    margin-bottom: 15px;
    line-height: 1.6;
}

.link-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.8rem 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.link-button:hover {
    background-color: var(--primary-color);
}

/* --- Sección Directiva --- */
#directiva {
    background-color: var(--light-gray);
}

.board {
    background-color: var(--white);
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    max-width: 800px;
}

.board h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.board ul {
    list-style: none;
    text-align: left;
}

.board li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.board li:last-child {
    border-bottom: none;
}

/* --- Sección Comités --- */
.committees ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0;
}

.committees li {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: 50px;
}


/* --- Sección Contacto --- */
#contacto {
    background-color: var(--light-gray);
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    margin: 0 0.5rem;
    border-radius: 50%; /* Esto crea el círculo */
    transition: background-color 0.3s, transform 0.3s;
}

.social-media a:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1); /* Efecto de crecimiento al pasar el mouse */
}

.social-media svg {
    height: 25px; /* Tamaño del logo */
    width: 25px;
    fill: var(--white); /* Color del logo (blanco) */
}

/* --- Pie de Página (Footer) --- */
footer {
    background-color: var(--text-color);
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}


/* --- Diseño Responsivo para Móviles --- */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: var(--white);
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 60%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
    }

    .nav-links li {
        opacity: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 1rem;
    }

    .burger {
        display: block;
    }
    
    .dropdown .dropbtn {
        pointer-events: none; /* Desactiva hover en móvil */
    }

    .dropdown-content {
        position: static;
        display: block;
        background: transparent;
        box-shadow: none;
        text-align: center;
        width: 100%;
    }
    
    .dropdown-content a {
        padding: 10px;
        color: var(--text-color);
        font-weight: normal;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .hero-text p {
        font-size: 1.2rem;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}