
.search-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0 20px;
    text-align: center;
}

.search-box h1 {
    color: white;
    font-size: 2.9vw;
    line-height: 1.2;
    margin-bottom: 60px;
}

.search-bar {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 10px;
    border-radius: 60px;
    border: 2px solid #816846;
    width: 100%;
    max-width: 900px;
}

.search-bar-line {
    display: flex;
    flex-wrap: wrap;
}

.search-bar select,
.search-bar input[type="text"] {
    flex: 1;
    height: 55px;
    border: none;
    border-radius: 0%;
    background-color: transparent;
    padding: 8px 15px;
    font-size: 16px;
    color: #333;
    box-shadow: none;
    outline: none;
}

.search-bar select {
    appearance: none;
    max-width: 23%;
    transition: background-color 0.3s ease, transform 0.2s ease; 
}

/* Estilizando as opções do select */
.search-bar select option {
    padding: 10px;
    border-radius: 5%;
    background-color:rgba(255, 255, 255, 0.9);
    border: none;
    color: #333;
}

/* Estilo para o hover nas opções */
.search-bar select option:hover {
    background-color: #816846;
    color: white;
}

.search-bar input::placeholder {
    color: #888;
}


.search-bar button {
    background: transparent;
    border: none;
    height: 55px;
    padding-right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lupa maior no botão */
.search-bar button i {
    font-size: 30px; /* Aumenta a lupa */
    color: #816846;
}

.search-bar button:hover i {
    color: #4d3e2a;
}

.advanced-search {
    display: none;
    width: 100%;
    gap: 20px;
    margin-top: 20px;
}
.advanced-search.active {
    display: grid;
    gap: 20px;
}
.show-advanced {
    cursor: pointer;
    color: #89704b;
    margin-top: 15px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 30px;
}
.slider-container input[type="range"] {
    flex: 1;
}
.slider-container span {
    min-width: 50px;
    text-align: right;
}

.card {
transition: transform 0.2s;
margin-bottom: 20px;
position: relative;
background: inherit;
border-color: transparent;
}

.card:hover {
transform: scale(1.02);
}

.card-img-top {
    aspect-ratio: 3 / 2;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 18px;
    max-width: 100%;
    height: auto;
}

.search-bar-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* fundo sutil para destacar */
}

/* Barra separadora */
.search-bar-line > select {
    border-right: 2px solid #816846;
}


.photo-count-overlay {
    position: absolute;
    display: flex;
    line-height: initial;
    top: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255);
    padding: 1.5px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.photo-count-overlay svg {
    margin-bottom: 1px;
    width: 12px; /* Ajusta o tamanho do ícone */
    fill: #1db2ff;/* Garante que o ícone fique branco */
    margin-left: 2px;
    margin-right: 2px;
}

.photo-count-overlay span {
    font-size: 12px;
    line-height: initial;
    color: #1db2ff;
    display: inline-block;
    margin-left: 2px;
    margin-right: 2px;
}

.card-body {
    padding: 0px;
}

.card-body svg{
    width: 18px;
    height: auto;
    fill: #1db2ff;
}


.card-title {
    font-size: 17px;
    font-weight: 700;
    color: rgb(51, 51, 51);
}

.card-location{
    margin-bottom: 8px;
}

.card-location p{
    font-size: 14px;
    color: gray;
    font-weight: 500;
    display: flex;
    column-gap: 5px;
    line-height: 21px;
    margin-bottom: 0px;
}

.card-text {
font-size: 0.9rem;
color: #555;
margin-bottom: 15px;
}
.card-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    column-gap: 10px;
    align-items: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1; /* Para o vídeo ficar atrás do conteúdo */
    pointer-events: none;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta o vídeo para cobrir toda a tela sem distorcer */
}


.search-bar-line .form-select,
.search-bar-line .form-group {
    flex: 1; /* Faz com que ambos os elementos ocupem 50% do espaço disponível */
}


/* Contêiner do input com 'position: relative' para a lista ficar dentro */
.form-group.position-relative {
    position: relative; /* Necessário para a lista ser posicionada corretamente em relação ao input */
    z-index: 1;
}
/* Contêiner da lista de sugestões */
.suggestions-list {
    position: absolute;
    display: none;
    top: 100%; /* fica logo abaixo do input */
    left: 0;
    width: 100%; /* igual ao input */
    background: rgba(255, 255, 255, 0.9);
    border-top: none;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    overflow-y: auto;
    border-radius: 8px;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-height: 200px;
}


/* Estilo de cada item da lista */
.suggestions-list li {
    padding: 8px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Estilo do hover nos itens da lista */
.suggestions-list li:hover {
    background-color: #816846; 
    color: white;
}

#suggestions li:focus, #suggestions li:active {
    outline: none;
    box-shadow: none;
}

/* Estilo quando não há resultados */
.suggestions-list li.no-results {
    font-style: italic;
    color: gray;
    padding: 12px;
}

.rhea_price_slider_wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rhea_price_slider {
    width: 70%;
    margin-right: 20px; /* Distância entre o slider e os valores */
    height: 10px;
}

.rhea_price_slider .ui-slider-range {
    background: #89704b; /* Cor verde da faixa */
    border-radius: 30px; /* Barras arredondadas */
}

.rhea_price_slider .ui-slider-handle {
    width: 20px; /* Tamanho das alças */
    height: 20px; /* Tamanho das alças */
    background-color: #6e5a3c; /* Cor laranja das alças */
    border-radius: 50%; /* Alças arredondadas */
    cursor: pointer; /* Cursor pointer ao passar sobre as alças */
}

/* Efeito ao passar o mouse sobre a alça */
.rhea_price_slider .ui-slider-handle:hover {
    background-color: #604e35; /* Cor laranja mais clara */
}

/* Efeito ativo da alça (ao clicar e arrastar) */
.rhea_price_slider .ui-slider-handle:active {
    background-color: #52432d; /* Cor vermelha ao arrastar */
}

/* Faixa não preenchida (fundo do slider) */
.rhea_price_slider .ui-widget-content {
    background: #e0e0e0; /* Cor cinza claro */
    border-radius: 10px; /* Barras arredondadas */
}

.rhea_price_range {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 22%;
}

.rhea_price_label {
    margin: 0 5px;
}

.rhea_price_display {
    font-weight: bold;
}

.rhea-ultra-properties-pagination {
    text-align: center;
    margin-bottom: 20px;
}

.rhea-pagination-clean {
    display: inline-flex;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.rhea-pagination-clean .real-btn {
    display: inline-block;
    min-width: 40px;
    padding: 8px 16px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #e6e1da;
    color: black;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.rhea-pagination-clean .real-btn:hover {
    background-color: #816846;
    color: white;
}

.rhea-pagination-clean .real-btn.current {
    background-color: #816846;
    color: white;
}




@media (max-width: 768px) {
    .search-bar-line {
        flex-direction: column;
    }

    .search-bar button {
        width: 100%;
    }
}

/* Responsividade: máximo 3 cards por linha */
@media (min-width: 1200px) {
    .col-lg-4 {
        flex: 0 0 33.33%; /* 3 cards por linha em telas grandes */
    }
}

/* Responsividade: 2 cards por linha em telas médias */
@media (max-width: 1199px) and (min-width: 768px) {
    .col-md-6 {
        flex: 0 0 50%; /* 2 cards por linha */
    }
}

@media (max-width: 768px) {
    .search-bar-line {
        flex-direction: column;  /* Torna a linha da barra de pesquisa vertical */
        gap: 15px;  /* Espaçamento entre os elementos */
    }

    .search-bar{
        background: none;
        border: none;
        padding: 20px 0px;
    }

    .search-bar-line > select {
        border-right:none ;
    }

    .search-bar select,
    .search-bar input[type="text"] {
        width: 100%;  /* Garantir que ocupem toda a largura disponível */
        max-width: 100%;
        padding: 15px;  /* Ajuste do padding para deixar mais espaçoso */
        font-size: 16px;  /* Fontes mais legíveis */
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50px;
    }

    .form-group{
        width: 100%;
    }

    .suggestions-list {
        background: none;
    }

    .search-bar button {
        width: 100%;  /* Botão ocupa toda a largura disponível */
        padding: 15px;
        font-size: 18px;  /* Aumenta o tamanho da lupa */
        background-color: #816846;  /* Cor de fundo para destacar */
        border-radius: 50px;  /* Botão com bordas arredondadas */
    }

    .search-bar button i {
        font-size: 24px;  /* Aumenta o ícone da lupa */
        color: #fff;  /* Cor do ícone */
    }

    .search-box h1 {
        font-size: 6vw;
        margin-bottom: 30px;
    }

    .card-title {
        font-size: 16px;
    }

    .card-location p {
        font-size: 13px;
    }

    .card-price p {
        font-size: 15px;
    }

   
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.testimonial-section {
  padding: 3rem 0 7rem 0; }

.testimonial-slider-wrap {
  position: relative; }
  .testimonial-slider-wrap .tns-inner {
    padding-top: 30px; }
  .testimonial-slider-wrap .item .testimonial-block blockquote {
    font-size: 16px; }
    @media (min-width: 768px) {
      .testimonial-slider-wrap .item .testimonial-block blockquote {
        line-height: 32px;
        font-size: 18px; } }
  .testimonial-slider-wrap .item .testimonial-block .author-info .author-pic {
    margin-bottom: 20px; }
    .testimonial-slider-wrap .item .testimonial-block .author-info .author-pic img {
      width: 80px;
      height: 80px;
      object-fit: cover;
      display: inline;
      border-radius: 50%; }
  .testimonial-slider-wrap .item .testimonial-block .author-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 0; }
  .testimonial-slider-wrap #testimonial-nav {
    position: absolute;
    top: 50%;
    z-index: 99;
    width: 100%;
    display: none; }
    @media (min-width: 768px) {
      .testimonial-slider-wrap #testimonial-nav {
        display: block; } }
    .testimonial-slider-wrap #testimonial-nav > span {
      cursor: pointer;
      position: absolute;
      width: 58px;
      height: 58px;
      line-height: 58px;
      border-radius: 50%;
      background: rgba(59, 93, 80, 0.1);
      color: #2f2f2f;
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease; }
      .testimonial-slider-wrap #testimonial-nav > span:hover {
        background: #816846;
        color: #ffffff; }
    .testimonial-slider-wrap #testimonial-nav .prev {
      left: -10px; }
    .testimonial-slider-wrap #testimonial-nav .next {
      right: 0; }
  .testimonial-slider-wrap .tns-nav {
    position: absolute;
    bottom: -50px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%); }
    .testimonial-slider-wrap .tns-nav button {
      background: none;
      border: none;
      display: inline-block;
      position: relative;
      width: 0 !important;
      height: 7px !important;
      margin: 2px; }
      .testimonial-slider-wrap .tns-nav button:active, .testimonial-slider-wrap .tns-nav button:focus, .testimonial-slider-wrap .tns-nav button:hover {
        outline: none;
        -webkit-box-shadow: none;
        box-shadow: none;
        background: none; }
      .testimonial-slider-wrap .tns-nav button:before {
        display: block;
        width: 7px;
        height: 7px;
        left: 0;
        top: 0;
        position: absolute;
        content: "";
        border-radius: 50%;
        -webkit-transition: .3s all ease;
        -o-transition: .3s all ease;
        transition: .3s all ease;
        background-color: #d6d6d6; }
      .testimonial-slider-wrap .tns-nav button:hover:before, .testimonial-slider-wrap .tns-nav button.tns-nav-active:before {
        background-color: #816846; }
