/* General: Asegurarse de que el contenido no se salga del viewport */
* {
    box-sizing: border-box;
}

/* Tipografía y Espaciado General */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #F4F4F4;
    color: #333;
    margin: 0;
    padding: 0;
    transition: background-color 0.3s ease-in-out;
    overflow-x: hidden;  /* Evitar que el contenido se desborde horizontalmente */
}

/* Header sticky */
header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

header .logo img {
    max-width: 150px;
}

/* Menú de navegación estilo principal */
nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Centrar el contenido del menú */
    gap: 20px;
    margin: 0;
    padding: 0 20px; /* Agregar padding para centrar el menú */
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    text-transform: uppercase;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 50px;
}

nav ul li a:hover {
    color: #fff;
    background-color: #F15A22;
}

/* Ajustes para el menú hamburguesa */
.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    position: absolute; /* Para posicionar el botón manualmente */
    right: 20px; /* Ajusta este valor para centrar más el botón */
    top: 20px; /* Ajusta este valor según el espacio superior que quieras */
}

.menu-toggle span {
    display: block;
    height: 3px;
    background-color: #333;
    border-radius: 5px;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        align-items: center; /* Centrar el menú en dispositivos móviles */
        position: absolute;
        top: 60px;
        right: 0;
        background-color: white;
        width: 100%;
        padding: 0;
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
        margin-right: auto; /* Centrar el botón del menú hamburguesa */
    }

    nav ul li {
        text-align: center;
        width: 100%;
        margin: 0;
    }

    nav ul li a {
        padding: 15px;
        display: block;
        width: 100%;
        text-align: center;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Sección Feria Inmobiliaria */
.feria-inmobiliaria {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px;
    background-color: #f15a22;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Estilo para texto */
.columna-texto {
    width: 50%;
    color: white;
}

.columna-texto h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.columna-texto p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Botón moderno */
.btn-registro {
    background-color: white;
    color: #F15A22;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
    font-size: 1.2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-registro:hover {
    background-color: #D42B1D;
    transform: translateY(-5px);
}

/* Imagen ajustada con sombra moderna */
.columna-imagen {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.columna-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .feria-inmobiliaria {
        flex-direction: column;
    }

    .columna-imagen {
        width: 100%;
        height: 300px;
    }
}

/* Sección de Eventos Destacados */
.eventos-destacados {
    padding: 40px 20px;
    background-color: #FFFFFF;
    text-align: center;
}

.eventos-destacados h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.eventos {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.evento {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
    max-width: 300px;
}

.evento:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.propiedad-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.evento h3 {
    font-size: 1.5rem;
    color: #333;
}

.evento p {
    font-size: 1rem;
    color: #666;
}

/* Sección de Empresas Participantes */
.empresas-participantes {
    padding: 40px 20px;
    background-color: #F4F4F4;
    text-align: center;
}

.empresas-participantes h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Botones de Categorías */
.categorias {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.btn-categoria {
    background-color: #6FAF34;
    color: white;
    padding: 10px 20px;
    margin: 0 10px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-categoria:hover {
    background-color: #D42B1D;
}

/* Sección de Mapa */
.mapa-feria {
    padding: 40px 20px;
    text-align: center;
}

.mapa-feria h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mapa-container {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

/* Sección de Auspiciadores */
.auspiciadores {
    text-align: center;
    padding: 40px 0;
    background-color: #FFFFFF;
}

.auspiciadores h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.carrusel-auspiciadores {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.carrusel-auspiciadores .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 180px;
    margin: 0 30px;
}

.carrusel-auspiciadores .swiper-slide img {
    width: 100%;
    height: auto;
    max-width: 140px;
    padding: 10px;
    transition: transform 0.3s ease;
}

.carrusel-auspiciadores .swiper-slide:hover img {
    transform: scale(1.1);
}

.carrusel-auspiciadores .swiper-button-next,
.carrusel-auspiciadores .swiper-button-prev {
    color: #333;
}

@media (max-width: 768px) {
    .carrusel-auspiciadores .swiper-slide {
        max-width: 100px;
    }

    .carrusel-auspiciadores .swiper-slide img {
        max-width: 80px;
    }
}

.registrate-feria {
    text-align: center;
    padding: 10px 0;
    animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Imagen de portada para versión móvil */
.btn-registro-img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.btn-registro-img:hover {
    transform: scale(1.05);
}

/* Imagen alternativa para móviles */
.mobile-img {
    display: none;
}

@media (max-width: 768px) {
    .btn-registro-img {
        display: none;
    }

    .mobile-img {
        display: block;
        width: 100%;
        height: auto;
    }
}

/* Sección de Inmobiliarias */
.slider-inmobiliarias {
    text-align: center;
    padding: 40px 0;
}

.slider-inmobiliarias h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.swiper-container {
    width: 100%;
    height: auto;
}

/* Para un espaciado más equilibrado entre los logos */
.swiper-wrapper {
    display: flex;
    justify-content: space-around; /* Distribuye de manera uniforme los logos */
}

.swiper-slide img {
    width: 100%;
    max-width: 150px; /* Controla el tamaño máximo de los logos */
    height: auto;
    margin: 0 auto; /* Centra las imágenes en el swiper */
    display: block;
}

/* Ajustes específicos para dispositivos móviles */
@media (max-width: 768px) {
    .swiper-container {
        padding: 10px 0;
    }

    .swiper-slide {
        text-align: center;
    }

    .swiper-slide img {
        max-width: 120px; /* Reduce el tamaño de las imágenes en móviles */
        width: 100%;
    }
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Botones de Leyenda */
.leyenda-botones {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.leyenda-botones .btn {
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    color: white;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.leyenda-sapa-inca {
    background-color: #6FAF34;
}

.leyenda-inti {
    background-color: #5ED2DA;
}

.leyenda-killa {
    background-color: #F15A22;
}

.leyenda-botones .btn:hover {
    opacity: 0.8;
}

/* Sección Acerca de la Feria */
.acerca-feria {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #F9F9F9;
    border-radius: 10px;
    margin-top: 50px;
}

.contenedor-feria {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.columna-imagen {
    width: 50%;
    padding-right: 20px;
}

.columna-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.columna-texto {
    width: 50%;
    padding-left: 20px;
}

.columna-texto h2 {
    color: #6FAF34;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.columna-texto p {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn-ver-ubicacion {
    display: inline-block;
    padding: 10px 20px;
    background-color: #327144;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-ver-ubicacion:hover {
    background-color: #285837;
}

/* Ajustes para la sección acerca de la feria en pantallas pequeñas */
@media (max-width: 768px) {
    .acerca-feria {
        flex-direction: column;
        padding: 30px 10px;
    }

    .contenedor-feria {
        flex-direction: column;
        align-items: center;
    }

    .columna-imagen, .columna-texto {
        width: 100%;
        padding: 0;
    }

    .columna-texto h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .columna-texto p {
        font-size: 1rem;
        text-align: center;
    }

    .btn-ver-ubicacion {
        margin-top: 20px;
        padding: 10px 15px;
        font-size: 1rem;
    }
}

/* Sección de Beneficios en Cards con Fondo Verde y Opacidad */
.beneficios-cards {
    position: relative;
    padding: 60px 20px;
    background-size: cover;
    background-position: center;
}

.beneficios-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(241, 90, 34, 0.8);
    z-index: 1;
}

.contenedor-beneficios {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 40px 20px;
    text-align: center;
    width: 30%;
    transition: transform 0.3s ease;
}

.card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.5rem;
    color: #327144;
    font-weight: bold;
}

.card:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .contenedor-beneficios {
        flex-direction: column;
        gap: 20px;
    }

    .card {
        width: 100%;
    }
}

/* Estilos del Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-column {
    flex: 1;
    margin-right: 20px;
}

.footer-column h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #6FAF34;
}

.footer-column p, 
.footer-column a {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 10px;
    text-decoration: none;
}

.footer-column a:hover {
    color: #6FAF34;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-column ul li a:hover {
    color: #6FAF34;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
    margin-top: 20px;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #aaa;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-column {
        margin: 0 0 20px 0;
    }

    .social-icons {
        justify-content: center;
    }
}

/* Sección de Propiedades Destacadas */
.propiedades-destacadas {
    padding: 40px 20px;
    background-color: #FFF;
    text-align: center;
}

.propiedades-destacadas h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.propiedades-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.propiedad {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease-in-out;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.propiedad:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.propiedad img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.propiedad-detalle h3 {
    font-size: 1.5rem;
    color: #333;
}

.propiedad-detalle p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.propiedad-detalle ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}

.propiedad-detalle ul li {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 5px;
}

.btn-ver-detalle {
    background-color: #327144;
    color: #fff;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-ver-detalle:hover {
    background-color: #285837;
}

/* Sección de Detalle de Propiedad */
.detalle-propiedad {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 50px;
}

.detalle-propiedad .detalle-imagen img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.detalle-informacion {
    max-width: 600px;
    margin-left: 20px;
}

.detalle-informacion h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.detalle-informacion p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 20px;
}

.detalle-informacion ul {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.detalle-informacion ul li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 10px;
}

.enlaces-detalle {
    display: flex;
    gap: 15px;
}

.enlaces-detalle a {
    background-color: #327144;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.enlaces-detalle a:hover {
    background-color: #285837;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
    .propiedades-container {
        flex-direction: column;
        align-items: center;
    }

    .detalle-propiedad {
        flex-direction: column;
        padding: 30px 10px;
    }

    .detalle-informacion {
        margin-left: 0;
        text-align: center;
    }
}














