/* PALETA DE COLORES MAPSA
Azul Marino: #1A283A
Dorado/Cobre: #B5855A
Fondo Arena: #EBE5DA
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    /* Color arena + Efecto granulado mediante SVG integrado */
    background-color: #EBE5DA;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    color: #1A283A;
    line-height: 1.6;
}

/* NAVEGACIÓN */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(235, 229, 218, 0.95); /* Arena semi-transparente */
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 65px; 
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #1A283A;
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover, .active-link {
    color: #B5855A !important;
}

/* HERO CON CARRUSEL (index.html) */
.hero-carousel-section {
    position: relative;
    height: 85vh;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: absolute;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: rgba(26, 40, 58, 0.5); /* Capa azul marino para que resalte el texto */
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-overlay h1 {
    color: #EBE5DA;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.hero-overlay p {
    color: #B5855A; /* Texto en dorado */
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 40px;
}

/* CONTENEDOR WIDGET GUESTY */
.guesty-widget-container {
    background: #EBE5DA; 
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    width: 100%;
    max-width: 900px;
    min-height: 120px;
    display: block; /* Esto le da libertad al widget para expandirse */
    margin: 0 auto;
    border: 1px solid #B5855A;
}

.logo-img {
    height: 85px; /* Aumenté el tamaño disponible para tu logo */
    object-fit: contain;
}

/* SECCIÓN PROPIEDADES */
.properties-section {
    padding: 80px 50px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    color: #1A283A;
    font-size: 2.2rem;
    font-weight: 700;
}

.divider {
    height: 3px;
    width: 60px;
    background-color: #B5855A;
    margin: 15px auto 0;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.property-card {
    background: #FFFFFF;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(26, 40, 58, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(26, 40, 58, 0.2);
}

.property-img {
    height: 220px;
    background-size: cover;
    background-position: center;
}

.property-info {
    padding: 25px;
}

.property-info h3 {
    color: #1A283A;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.location {
    color: #B5855A;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.description {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: #4A4A4A;
}

.features {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #1A283A;
    margin-bottom: 20px;
    border-top: 1px solid #EBE5DA;
    padding-top: 15px;
}

.features i {
    color: #B5855A;
}

/* BOTONES */
.btn-primary {
    display: inline-block;
    background-color: #B5855A; /* Botón dorado */
    color: #FFFFFF;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #1A283A; /* Cambia a azul al pasar el mouse */
}

/* FOOTER */
footer {
    background-color: #1A283A;
    color: #EBE5DA;
    padding: 60px 50px 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    border-bottom: 1px solid rgba(181, 133, 90, 0.3);
    padding-bottom: 40px;
}

.footer-brand p {
    color: #B5855A;
    font-weight: 600;
}

.footer-content h4 {
    color: #B5855A;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-contact i {
    margin-right: 10px;
    color: #B5855A;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #EBE5DA;
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #B5855A;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: rgba(235, 229, 218, 0.6);
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}
/* ESTILOS PARA OCULTAR EL LOGO DE GOOGLE Y MEJORAR EL TRADUCTOR */
.goog-te-gadget {
    font-size: 0px !important; 
    color: transparent !important;
}
.goog-te-gadget img {
    display: none !important;
}
.goog-te-gadget .goog-te-combo {
    font-size: 14px !important;
    color: #1A283A !important;
    background-color: #EBE5DA !important;
    border: 1px solid #B5855A !important;
    padding: 5px 10px;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    cursor: pointer;
}
.goog-logo-link {
    display: none !important;
}
.goog-te-banner-frame.skiptranslate {
    display: none !important; /* Oculta la barra superior de Google */
}
body {
    top: 0px !important; /* Evita que la página brinque */
}
/* --- ESTILOS DEL CARRUSEL DE PROPIEDADES --- */
.prop-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.prop-carousel-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 20px 5px;
    list-style: none;
    scrollbar-width: none; /* Oculta barra en Firefox */
}

.prop-carousel-track::-webkit-scrollbar {
    display: none; /* Oculta barra en Chrome/Safari */
}

.prop-slide {
    scroll-snap-align: start;
    flex: 0 0 calc(100% - 10px); /* 1 tarjeta en celular */
    max-width: 380px;
}

@media (min-width: 768px) {
    .prop-slide { flex: 0 0 calc(50% - 15px); } /* 2 tarjetas en tablet */
}
@media (min-width: 1024px) {
    .prop-slide { flex: 0 0 calc(33.333% - 20px); } /* 3 tarjetas en escritorio */
}

.prop-nav {
    background: #1A283A;
    color: #EBE5DA;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prop-nav:hover {
    background: #B5855A;
}

.prev-prop { left: 0; }
.next-prop { right: 0; }