/* General Styles */
body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: var(--secondary-color);
    background-image: radial-gradient(circle, var(--primary-color) 1px, #f8f1e6 1px);
    background-size: 20px 20px;
}


:root {
    --primary-color: #8c0001;
    --secondary-color: #dcdcdc;
    --text-color: #000;
    --menu-padding: 0.5rem;
    --menu-item-spacing: 2rem;
    --transition-duration: 0.3s;
}

header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: #f8f1e6;
    color: var(--text-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

header h1 {
    margin: 0;
    font-family: 'Merriweather', serif;
}

header h1 a img {
    height: 50px;
    margin-left: 100%;
}

nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    margin-left: var(--menu-item-spacing);
    position: relative;
}

.menu-item a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    padding: var(--menu-padding);
    transition: color var(--transition-duration) ease, background-color var(--transition-duration) ease;
    font-family: 'Lato', sans-serif;
}

/* Hover Effect */
.menu-item a:hover {
    color: var(--primary-color);
    background-color: rgba(140, 0, 1, 0.1);
    /* Agregado un fondo semi-transparente */
    text-decoration: underline;
    /* Agregado subrayado para mayor visibilidad */
}


/* Active Item */
.menu-item.current a {
    color: var(--primary-color);
    font-weight: bold;
}

/* Indicator for Active Item */
.menu-item.current::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Arrow Button */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 1rem;
    justify-content: center;
    align-items: center;
}

.menu-toggle.open .arrow {
    transform: rotate(180deg);
}

.arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid var(--primary-color);
    transition: transform var(--transition-duration) ease;
}

/* Responsive Styles */
@media (max-width: 1110px) {
    .container {
        flex-direction: column;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .menu {
        flex-direction: column;
        background-color: #f8f1e6;
        width: 100%;
    }

    .menu-item {
        text-align: center;
        margin: 0;
        padding: 1.2rem 0;
        border-top: 1px solid #f8f1e6;
    }

    .menu-toggle {
        display: flex;
    }

    nav.show-menu {
        display: flex;
    }

    header h1 a img {
        margin-left: 0%;
    }
}

@media (max-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
}

/*PAGINA*/
main {
    width: 70%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about-us {
    padding: 60px 30px;
    font-family: 'Lato', sans-serif;

}

.about-us .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f1e6;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.about-us h2,
.about-us h3 {
    color: #8c0001;
    margin-bottom: 25px;
    font-family: 'Merriweather', serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.about-us h2 {
    font-size: 2.5em;
    border-bottom: 3px solid #f8f1e6;
    padding-bottom: 10px;
}

.about-us h3 {
    font-size: 1.8em;
    border-bottom: 2px solid #f8f1e6;
    padding-bottom: 5px;
}

.about-us p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1em;
    color: #555;
}

.about-us p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-us {
        padding: 40px 15px;
    }

    .about-us h2 {
        font-size: 2em;
    }

    .about-us h3 {
        font-size: 1.5em;
    }

    .about-us p {
        font-size: 1em;
    }
}

.content-divider {
    width: 300px;
    height: 3px;
    background-color: #8c0001;
    margin: 20px auto;
    border: none;
}

b {
    color: #8c0001;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
    z-index: 1000;
    /* Asegura que esté por encima de otros elementos */
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
}

/* Footer */
.footer {
    background-color: #f8f1e6;
    color: #000;
    padding: 60px 20px;
    /* Aumentado el padding */
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    font-family: 'Lato', sans-serif;
}

.footer-content {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 40px;
    /* Aumentado el margen inferior */
}

.footer-info p {
    margin: 10px 0;
    /* Aumentado el margen entre párrafos */
    line-height: 1.6;
    /* Aumentado el line-height */
}

.footer a {
    color: #8c0001;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #e63946;
}

.footer-social {
    margin: 30px 0;
    /* Aumentado el margen */
}

.footer-social a {
    margin: 0 20px;
    /* Aumentado el espacio entre iconos */
    display: inline-block;
}

.footer-social .iconos-footer {
    font-size: 32px;
    color: #8c0001;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social .iconos-footer:hover {
    color: #e63946;
    transform: scale(1.2);
}

.footer-map {
    margin-top: 40px;
    /* Aumentado el margen superior */
}

.footer iframe {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.logof {
    width: 15%;
}