:root {
    --primary-color: #141b22;
    --secondary-color: #02131f;
    --accent-color: #a0523d; 
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #faf6e3;
    color: #2d3748;
}

/* Navbar completamente transparente y flotando sobre el contenido */
.navbar {
    background-color: transparent; 
    backdrop-filter: none;        
    box-shadow: none;                                
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    position: absolute;                               
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;                                   
}

.navbar-brand {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1rem;
}

/* HERO SECTION */
.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35)), url('imagenes/Habitacion_fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgb(255, 255, 255);
    padding: 10rem 0 7rem 0; 
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.hero-section h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-section p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Sección títulos de catálogo */
h2.text-center {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 2.2rem;
}

/* Tarjetas de propiedades */
.property-card {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background-color: #ffffff;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.property-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.property-card .card-body {
    padding: 1.5rem;
}

.property-card .card-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary-color);
}

.property-card .price {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.property-card .features {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.property-card .feature {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.property-card .feature i {
    color: #a0aec0;
}

.property-card .location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: #718096;
    font-weight: 500;
}

.property-card .location i {
    color: #a0aec0;
}

.btn-contact {
    background-color: #6bb4b9; 
    border: none;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: #559da2;
}

/* FOOTER CON LA IMAGEN DE FONDO */
footer {
    background-image: url('imagenes/Fondo_negro.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgb(255, 255, 255);
    padding: 4.5rem 0 2rem 0;
    margin-top: 4rem;
}

footer h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

footer p {
    font-weight: 400;
    font-size: 0.95rem;
    color: #e2e8f0;
}

/* CONTENEDOR QR CON ZOOM */
.qr-container {
    background-color: #ffffff;
    padding: 16px;
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.qr-container:hover {
    transform: scale(1.15); 
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.25);
}

.qr-img {
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.qr-wrapper {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.qr-box-text {
    font-size: 0.85rem;
    color: #ffffff;
    margin-top: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* Carrusel de imágenes en tarjeta */
.image-carousel {
    position: relative;
    overflow: hidden;
}

.image-carousel img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.image-counter {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
}

/* Botón flotante de WhatsApp */
.wsp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.wsp-flotante:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
}

/* MEDIA QUERIES RESPONSIVE */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.3rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .property-card img {
        height: 190px;
    }

    footer {
        text-align: center !important;
    }

    .qr-wrapper {
        margin-top: 2rem;
        gap: 1.8rem;
    }

    .wsp-flotante {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }
}
/* Efecto visual al pasar el cursor sobre la foto del catálogo */
.image-carousel img:hover {
    transform: scale(1.02);
    filter: brightness(0.95);
}