/* Estilos generales */
body {
       font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f0f0f0;
}
.texto-normal {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.texto-negrita {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Estilos del navbar */
.navbar {
    background-color: white;
    padding: 1rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.navbar ul li {
    margin: 0 20px;
}

.navbar ul li a {
    color: #003366;
    text-decoration: none;
    padding: 15px 30px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
}

.navbar ul li a:hover, .navbar ul li a.active {
    background-color: #e6f0ff;
    color: #003366;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Estilos del menú móvil */
.menu-button {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    background-color: #003366;
    border: none;
    color: white;
    padding: 10px;
    border-radius: 25px;
}

@media (max-width: 768px) {
    .menu-button {
        display: block;
    }

    .navbar ul {
        position: absolute;
        top: 50px;
        width: 100%;
        flex-direction: column;
        display: none;
    }

    .navbar ul.open {
        display: flex;
    }
}

/* Estilos del carrusel */
.carousel-section {
    margin-top: 20px;
    text-align: center;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
}

.carousel img {
    width: 100%;
    height: auto;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Estilos de la galería */
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery img {
    width: 100%;
    border-radius: 8px;
    cursor: pointer;
}

/* Estilos del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#caption {
    color: white;
    text-align: center;
    padding: 10px;
}

.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Estilos del footer */
footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
}

.social a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 1rem;
}

.social a:hover {
    text-decoration: underline;
}

footer p {
    margin-top: 1rem;
    font-size: 0.9rem;
}
