body,
html {
    margin: 0;
    padding: 0;
}

.navbar {
    background-color: #E4DFD7;
}

.btn-option {
    background-color: transparent;
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-check:checked+.btn-option {
    background-color: white;
    color: black;
    border: 2px solid #E4B700;
    position: relative;
}

.btn-check:checked+.btn-option::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 10px;
    right: 10px;
    height: 2px;
    background-color: #E4B700;
}


.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-section .carousel-item {
    height: 100vh;
}

.hero-section .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100vh;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px;
    color: #fff;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    /* opcional, para dar contraste al texto */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Alinear arriba */
    padding-top: 130px;
    /* Ajusta según necesites */
}

.hero-overlay h1 {
    font-size: 64px;
    font-family: 'Luminary Serif', serif;
    color: #E4DFD7;
    margin-top: -20px;
}

.btn-carousel {
    background-color: #E4B700;
    color: black;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
}

/* Contenedor para colocar todo en una fila */
.toggle-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

/* CONTENEDOR DE: Comercial / Residencial */
.toggle-container {
    position: relative;
    display: flex;
    gap: 40px;
}

/* Ocultar los radio reales */
.toggle-radio {
    display: none;
}

/* Estilo general del label */
.toggle-label {
    color: white;
    font-weight: 500;
    cursor: pointer;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.3s;
}

/* Ícono */
.toggle-label img {
    height: 20px;
    margin-right: 8px;
    filter: brightness(0) invert(1);
}

/* Línea amarilla inferior animada */
.toggle-label::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0%;
    background-color: #f1c40f;
    /* Amarillo */
    transition: width 0.3s ease-in-out;
}

/* Activar línea cuando está seleccionado */
.toggle-radio:checked+.toggle-label::after {
    width: 100%;
}

/* -------------------------- */
/* CONTENEDOR DE: Venta / Renta */
.operation-toggle {
    display: flex;
    gap: 30px;
    align-items: center;
}

.op-radio {
    display: none;
}

.op-label {
    display: flex;
    align-items: center;
    color: white;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    padding-left: 25px;
}

/* Círculo visual para radio */
.op-label .circle {
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-radius: 50%;
    margin-right: 8px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Cuando está activo (relleno blanco) */
.op-radio:checked+.op-label .circle {
    background-color: white;
}

/* -------------------------- */
/* Responsivo para móviles */
@media (max-width: 768px) {
    .toggle-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .toggle-container,
    .operation-toggle {
        gap: 20px;
    }
}

.search-box {
    display: flex;
    align-items: center;
    background-color: #1d1815;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid white;
    width: fit-content;
    gap: 30px;
}

.search-select {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    font-family: inherit;
    padding: 5px 0;
    appearance: none;
    position: relative;
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23f1c40f" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 16px;
    padding-right: 25px;
}

/* Remove default arrow in some browsers */
.search-select::-ms-expand {
    display: none;
}

.search-select option {
    background-color: #1d1815;
    /* Color de fondo */
    color: #f7f7f7;
    /* Color del texto */
}



.btn-avanzada {
    color: white;
    background-color: rgba(211, 150, 18, 0.2);
    /* fondo negro con baja opacidad */
    border: 1.5px solid #c89c0e;
    /* línea dorada */
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-avanzada:hover {
    background-color: #c89c0e;
    color: black;
}

/* SEGUNDA SECCION CARDS PROPIEDADES CERCAD DE TI */

.property-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    /* recorta la imagen al borde redondeado */
    position: relative;
}

.property-card .property-img {
    /* quita border-radius de la imagen */
    object-fit: cover;
    width: 100%;
    height: 220px;

    transition: transform 0.6s ease-in-out;
    transform-origin: center center;
}

.property-card:hover .property-img {
    transform: scale(1.1);
}



.tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e9dcc2;
    color: #4e3e2f;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 10px;
}

.tag-bottom {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #e9dcc2;
    color: #4e3e2f;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 10px;
}

.prop-cerca h1 {
    font-size: 64px;
    font-family: 'Luminary Serif', serif;
    /* margin-top: -90px;
    margin-right: 150px; */
}

.card-cerca h6,
small,
strong {
    color: #65411f;
}

/* misma seccion pero texto con imagen */

.bg-light-custom {
    background-color: #e7dfd7;
}

.image-container {
    position: relative;
    left: -80px;
    z-index: 2;
    max-width: 600px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.image-container:hover {
    transform: scale(1.02);
}

.img-modern {
    border-radius: 12px;
    object-fit: cover;
    width: 100%;
    height: auto;
    display: block;
}

.text-emphasis {
    color: #5C4438;
    font-weight: 700;
}

.btn-modern {
    background-color: #61431e;
    color: #fff;
    /* border-radius: 8px; */
    /* font-weight: 500; */
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-modern:hover {
    background-color: #814f32;
    color: #fff;
    transform: translateY(-2px);
}

.ornament {
    width: 60px;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .image-container {
        left: 0;
        margin-bottom: 2rem;
    }

    .ornament {
        margin: 0 auto;
        display: block;
    }

    .text-emphasis {
        font-size: 1.5rem;
    }
}

.letra-ornamento {
    color: #65411f;
}

/*SEPARADOR CAFE*/

.separador-cafe {
    background-color: #6b4f36;
    /* color café */
    width: 100%;
}

/* Limitar tamaño máximo del logo */
.logo-erben-blanco {
    max-width: 150px;
    filter: brightness(0) invert(1);
}

.sidebar {
    width: 660px;
    /* lo que quieras */
    min-width: 200px;
    /* opcional */
    max-width: 320px;
    /* opcional */
}

.filtro {
    background-color: #F6F5F2;
}

.form-check-label {
    cursor: pointer;
}

.btn-toggle-group button {
    /* border-radius: 6px; */
    padding: 6px 20px;
    font-weight: 600;
    color: #6b564d;
    border: 1px solid transparent;
    background: #d7cbbd;
}

.btn-toggle-group button.active {
    background: #a7936b;
    color: white;
}

.btn-toggle-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.form-select {
    border-color: #a7936b;
    background: #f5f2eb;
}

.input-group-text {
    /* background: #d7cbbd;
    border-color: #a7936b; */
    color: #6b564d;
}

.accordion-button {
    background: #f5f2eb;
    color: #6b564d;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    background: #a7936b;
    color: white;
}

.checkbox-count {
    background: #a7936b;
    color: white;
    border-radius: 10px;
    font-size: 12px;
    padding: 0 6px;
    margin-left: 6px;
    font-weight: 600;
}

.btn-clear {
    margin-top: 20px;
    background: #c3b5af;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    padding: 10px 0;
    border: none;
}

.btn-search {
    margin-top: 20px;
    background: #6b564d;
    color: white;
    font-weight: 600;
    border-radius: 8px;
    width: 100%;
    padding: 10px 0;
    border: none;
}

.toggle-switch {
    width: 40px;
    height: 20px;
    background: #c5b7a0;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

.toggle-switch::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 2px;
    transition: left 0.3s;
}

.toggle-switch.active {
    background: #a7936b;
}

.toggle-switch.active::before {
    left: 22px;
}

#slider-precio .noUi-connect {
    background: #e74c3c;
}

#slider-precio .noUi-handle {
    border: 2px solid #e74c3c;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.input-group .form-control {
    max-width: 100px;
    /* ajusta al tamaño que quieras */
    font-size: 0.85rem;
    /* más pequeño */
    padding: 0.25rem 0.5rem;
    color: white;
}

.search-box .form-control,
.search-box .input-group-text {
    background-color: #1d1815;
    color: #fff;
    border: none;
    border-radius: 0;
    height: 40px;
    font-size: 14px;
}

.search-box .form-control::placeholder {
    color: #e0e0e0;
    /* placeholder más claro */
}

.search-box .botonFiltroSlider {
    background-color: #322b23;
    /* un tono más oscuro */
    color: #fff;
    border: none;
    height: 40px;
    font-size: 14px;
    border-radius: 4px 4px 4px 4px;
    /* esquinas redondeadas solo a la izquierda */
}

.modal-backdrop {
    z-index: 1040 !important;
}

.modal {
    z-index: 1055 !important;
}

.btnmodalGuardar {
    background-color: #322b23 !important;
    /* color café */
    color: #fff !important;
    font-size: 0.8rem;
    /* tamaño de letra más pequeño */
    padding: 0.25rem 0.5rem;
    /* más compacto */
    border: none;
    border-radius: 4px;
}

.btnmodalGuardar:hover {
    background-color: #4e342e;
    /* tono más oscuro al pasar el mouse */
}

.btn-filtrohome {
    background-color: #d6a130 !important;
    /* café */
    color: white !important;
    border: none;
}

.btn-filtrohome:hover {
    background-color: #E4B700 !important;
    /* café más oscuro al pasar el mouse */
    color: white !important;
}

.btnVerMas {
    padding: 6px 6px;
    color: #f2f0ee !important;
    border: 1px solid transparent;
    background: #614B3C !important;
}

.btnBuscarFiltro {
    color: #f2f0ee !important;

    background: #614B3C !important;
}

.img-container {
    width: 100%;
    display: block;
    /* o flex si quieres centrar */
    overflow: hidden;
    /* por si acaso */
}

.property-img {
    width: 100%;
    height: 220px; /* todas igual */
    /*  deja que la imagen defina el alto */
    object-fit: cover;
    /* recorta si la imagen es muy grande */
    border-radius: 8px;
    display: block;
}

.tituloInfoWindow {
    background-color: #E4DFD7;
    width: 100%;
    display: block;
}

#map {
    width: 100%;
    height: 50vh;
    min-height: 350px;
}

/* .gm-style-iw {
    top: 0 !important;
}*/

/* .gm-style-iw-d {
    padding-top: 0 !important;
} */

/* .gm-ui-hover-effect {
    display: none !important;
} */

/* .gm-ui-hover-effect img {
    display: none !important;
} */

.gm-ui-hover-effect {

    top: 0px !important;      /* distancia desde arriba */
    right: 4px !important;    /* distancia desde la derecha */
}

/* .gm-ui-hover-effect img {
    width: 100% !important;
    height: 100% !important;
} */



