﻿

.fondo-pagina {
    background-image: url('/imagenes/Fondo2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    padding: 50px;
    text-align: center;
    min-height: 100vh
}

    .sombra-texto {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    }

    .boton-primario {
        text-align: center;
        font-size: 15px;
        font-style:italic;
        font-weight:bold;
        background-color: #007bff;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        position: center;
    }
.boton-ver-lotes {
    background: linear-gradient(to bottom, #c8ec74, #a6d13b); /* Degradado verde */
    border: 3px solid #7a9c28;
    border-radius: 25px; /* Bordes redondeados */
    color: black;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 5px 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0px 6px 0px #5f7c20, 0px 10px 20px rgba(0, 0, 0, 0.3); /* Sombra inferior */
    transition: all 0.2s ease-in-out;
}

    .boton-ver-lotes:hover {
        background: linear-gradient(to bottom, #d4f07d, #b0db4d);
    }

    .boton-ver-lotes:active {
        box-shadow: 0px 3px 0px #5f7c20;
        transform: translateY(4px); /* Efecto de hundimiento */
    }

.carousel {
    max-width: 90%; /* Aumentar el ancho en móviles */
    margin: auto;
}
.carousel-inner {
    display: flex;
    align-items: center;
}

.carousel-item {
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.carousel-image {
    width: 100%; /* Ocupar todo el ancho del contenedor */
    height: auto; /* Mantener la proporción */
    max-height: 510px; /* Ajustar altura máxima en pantallas grandes */
    object-fit: contain; /* Evitar que la imagen se recorte */
}

@media (max-width: 768px) {
    .carousel-image {
        max-height: 380px; /* Altura más grande en móviles */
    }
}

/* Estilos para imágenes laterales */
.carousel-item-prev,
.carousel-item-next {
    transform: scale(0.7);
    opacity: 0.5;
    border: 2px solid black;
    filter: invert(0);
}

.carousel-item.active {
    transform: scale(1);
    opacity: 1;
}

.info-section {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background-color: white;
    padding: 5px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 20px; /* Asegura que no se superponga */
    position: relative; /* Evita superposición */
    z-index: 1; /* Asegura que no quede debajo de otros elementos */
}

.info-box {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    padding: 5px;
    text-align: center;
    border: 2px solid #FFA500; /* Color naranja del borde */
    border-radius: 10px;
    margin: 10px;
    background-color: white;
    position: relative; /* Asegura que respete el flujo */

}
.whatsapp-icon {
    width: 50px; /* Ajusta el tamaño según lo necesites */
    height: auto; /* Mantiene la proporción */
    cursor: pointer; /* Cambia el cursor a una mano para indicar que es un enlace */
}

/* 📌 RESPONSIVE: en pantallas pequeñas, apila los elementos */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
        align-items: center;
    }

    .info-box {
        width: 90%;
        max-width: 90%;
    }
}
.loading-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background-color: rgba(255, 255, 255, 0.8); /* Fondo semi-transparente */
    border-radius: 10px;
    z-index: 1000;
}

.loading-progress {
    width: 80px;
    height: 80px;
}

.loading-circle {
    fill: none;
    stroke: #007bff;
    stroke-width: 5;
    stroke-dasharray: 250;
    stroke-dashoffset: 0;
    animation: spin 2s linear infinite;
}

.loading-progress-text {
    margin-top: 10px;
    font-size: 14px;
    color: #333;
}

@keyframes spin {
    from {
        stroke-dashoffset: 250;
    }

    to {
        stroke-dashoffset: 0;
    }
}
