/* Importar fontes */
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

/* Variáveis */
:root {
    --primary-color: #540244;
    --secondary-color: #6a0082;
    --light-color: #f8f9fa;
    --dark-color: #4A0D4A;
    --gray-color: #6c757d;
}

/* Fontes */
@font-face {
    font-family: 'Angella White';
    src: url('assets/fonts/angellawhite.woff2') format('woff2'),
         url('assets/fonts/angellawhite.woff') format('woff');
}

@font-face {
    font-family: 'Helvetica World';
    src: url('assets/fonts/helveticaworld.woff2') format('woff2'),
         url('assets/fonts/helveticaworld.woff') format('woff');
}

/* Reset e Estilos Gerais */
html {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Helvetica World', 'Helvetica', sans-serif;
    background-color: #4A0D4A;
    color: #ffffff;
    margin: 0;
}

main {
    flex: 1 0 auto;
}

/* Estilos do Logo */
.brand-real {
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--light-color);
}

.brand-x {
    font-family: 'Angella White', cursive;
    font-style: italic;
    font-size: 1.8rem;
    color: var(--light-color);
    margin: 0 0.2rem;
}

.brand-properties {
    font-family: 'Helvetica World', 'Helvetica', sans-serif;
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--light-color);
}

/* Navbar */
.navbar {
    background-color: var(--primary-color); /* Cor primária */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    padding: 1rem 0;
}

.nav-font {
    font-family: 'Quicksand', sans-serif !important;
    font-weight: 500;
    font-size: 1.1rem;
    color: #ffffff !important;
    transition: opacity 0.3s ease;
}

.nav-font:hover {
    opacity: 0.8;
}

.nav-font.active {
    font-weight: 700;
}

.navbar .nav-link {
    color: #fff !important;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: opacity 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    opacity: 0.8;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark-color);
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary-color);
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    margin-top: -76px;
}

.hero-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.hero-image {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 27, 27, 0.4);
}

.hero-overlay {
    display: none;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    background-size: 50%;
}

.hero-section:hover .carousel-control-prev,
.hero-section:hover .carousel-control-next {
    opacity: 1;
}

.carousel-indicators {
    margin-bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #fff;
    transform: scale(1.2);
}

.hero-content {
    color: white;
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.display-4 {
    font-size: 2.8rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.lead {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.property-info {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 20px 30px;
    border-radius: 5px;
    display: inline-block;
    margin-top: 1rem;
    backdrop-filter: blur(5px);
    color: #f8f9fa;
}

.property-info h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 400;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.property-info p {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 15px;
    opacity: 0.9;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-details {
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.hero-details span {
    display: inline-flex;
    align-items: center;
    margin: 0 10px;
}

.hero-details i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.hero-link:hover .btn-primary {
    background-color: var(--secondary-color); /* Hover do botão com roxo mais claro */
    border-color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Search Bar */
.search-bar {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin: -50px auto 0;
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 90%;
}

.search-bar .form-select,
.search-bar .form-control {
    height: 48px;
    border: 1px solid #e0e0e0;
}

.search-bar .btn-primary {
    height: 48px;
    font-weight: 600;
}

/* Properties Section */
.properties-section {
    background-color: #fff;
}

.properties-section h2 {
    color: #333;
    font-weight: 600;
}

.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.property-card .card-img-top {
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
    width: 100%;
}

.property-card .card-body {
    padding: 1.5rem;
    background: white;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-card .card-title {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: 'Quicksand', sans-serif;
}

.property-card .price {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.property-card .location {
    color: var(--gray-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.property-card .location i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.property-features {
    display: flex;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-color);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.property-card .btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}

.property-card .btn-primary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.properties-grid {

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 768px) {
    .properties-grid {
        padding-top: 100px;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .property-card .card-img-top {
        height: 180px;
    }
}

/* Estilos para os filtros na lateral */
.sticky-top {
    position: sticky;
    top: 20px;
    z-index: 100;
    background: white;
    border-radius: 0.25rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control:focus, .form-select:focus {
    border-color: #540244;
    box-shadow: 0 0 0 0.2rem rgba(84, 2, 68, 0.25);
}

/* Newsletter Section */
.newsletter-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.newsletter-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.newsletter-section p {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.newsletter-section .input-group {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-section .form-control {
    height: 50px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.newsletter-section .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.newsletter-section .btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

/* Numbers Section */
.numbers-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.numbers-section h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 50px;
}

.number-card {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.number-card:hover {
    transform: translateY(-10px);
}

.number-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.number-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.number-card p {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin: 0;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 8px 25px;
    font-size: 1rem;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.property-card:hover .btn-primary,
.number-card h3,
.nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: #211c21; /* Novo tom mais escuro e suave */
    color: rgba(255, 255, 255, 0.9); /* Texto levemente suavizado */
    padding: 30px 0;
    flex-shrink: 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1); /* Sombra suave superior */
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer h5 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-family: 'Quicksand', sans-serif; /* Usando a fonte do logo */
    font-weight: 600;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer a {
    text-decoration: none;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer .social-links {
    margin-top: 1rem;
}

.footer .social-links a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Copyright text */
.footer .text-center p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
        padding: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .search-bar {
        margin-top: -30px;
        padding: 1.5rem;
    }

    .property-card {
        margin-bottom: 20px;
    }

    .property-features {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 576px) {
    .hero-image {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .search-bar {
        padding: 1rem;
    }

    .property-image {
        height: 180px;
    }
}

/* Property Page Styles */
.property-gallery {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.property-gallery img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.property-content {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.property-header h1 {
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.price-tag h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

.location {
    color: var(--gray-color);
    font-size: 1.1rem;
}

.property-features {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feature-item {
    padding: 1rem;
    transition: transform 0.2s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.property-description {
    color: #333;
    line-height: 1.6;
}

.property-description h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.contact-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
}

.agent-info i {
    color: var(--primary-color);
}

.agent-info h4 {
    color: var(--dark-color);
}

.contact-form h4 {
    color: var(--dark-color);
}

.breadcrumb {
    background-color: transparent;
    padding: 0.75rem 0;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--gray-color);
}

/* Make the page background white */
.property-page {
    background-color: #fff;
    padding: 2rem 0;
    min-height: 100vh;
}

.property-title {
    color: var(--dark-color);
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.property-price {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
}

.property-location {
    color: var(--gray-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-location i {
    color: var(--primary-color);
}

.property-details {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-value {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.detail-label {
    color: var(--gray-color);
    font-size: 0.9rem;
}

.property-description {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.property-description h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.description-content {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Contact Card */
.contact-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    top: 2rem;
}

.agent-info {
    text-align: center;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.agent-info i {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.agent-info h4 {
    color: var(--dark-color);
}

.agent-info p {
    color: var(--gray-color);
    margin: 0;
}

.agent-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--primary-color);
}

.contact-form h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.form-control {
    border: 1px solid #e0e0e0;
    padding: 0.8rem;
    font-size: 0.9rem;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.btn-primary {
    padding: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 991.98px) {
    .contact-card {
        position: static;
        margin-top: 2rem;
    }
    
    .property-title {
        font-size: 1.75rem;
    }
    
    .property-price {
        font-size: 1.5rem;
    }
}


.property-price {
    background-color: rgba(255,255,255,0.51);
    
}

/* Estilos para o banner de cookies */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 1000;
}

#cookie-banner p {
    margin: 0;
    display: inline;
}

#cookie-banner a {
    color: #4CAF50; /* Cor do link */
    text-decoration: underline;
}

#cookie-banner button {
    background-color: #540244; /* Nova cor do botão */
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    margin-left: 10px;
}

#cookie-banner button:hover {
    background-color: #6a0082; /* Cor do botão ao passar o mouse */
}

/* Estilos para a página de imóveis */
.property-card {
    transition: transform 0.2s ease-in-out;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.property-image {
    height: 200px;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.sticky-top {
    z-index: 100;
    background: white;
    margin-top: 1rem;
}

/* Estilos para os filtros */
.form-label {
    font-weight: 500;
    color: #333;
}

.form-control:focus, .form-select:focus {
    border-color: #540244;
    box-shadow: 0 0 0 0.2rem rgba(84, 2, 68, 0.25);
}

.btn-primary {
    background-color: #540244;
    border-color: #540244;
}

.btn-primary:hover {
    background-color: #3d0231;
    border-color: #3d0231;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

/* Estilos para a página de imóveis */
.sticky-top {
    position: sticky;
    top: 20px;
    z-index: 100;
}

.property-card {
    transition: transform 0.2s ease-in-out;
    height: 100%;
    border: 1px solid rgba(0,0,0,.125);
    box-shadow: 0 2px 4px rgba(0,0,0,.05);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.property-image {
    height: 250px;
    object-fit: cover;
    width: 100%;
}

.card-body {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
}

/* Estilos para os filtros */
.form-label {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.form-control, .form-select {
    margin-bottom: 1rem;
}

.form-control:focus, .form-select:focus {
    border-color: #540244;
    box-shadow: 0 0 0 0.2rem rgba(84, 2, 68, 0.25);
}

.btn-primary {
    background-color: #540244;
    border-color: #540244;
    padding: 0.5rem 1rem;
}

.btn-primary:hover {
    background-color: #3d0231;
    border-color: #3d0231;
}

.btn-outline-secondary {
    margin-top: 0.5rem;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

/* Responsividade */
@media (max-width: 768px) {
    .col-3, .col-9 {
        width: 100%;
    }
    
    .sticky-top {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
}

/* Estilos para o range slider */
/* Removido os estilos da seção de Procura da página inicial */

/* Estilos para a seção de Procura na página inicial */
.search-section {
    background-color: #f8f9fa;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.search-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.search-form .form-select-lg {
    height: 3.5rem;
    font-size: 1rem;
    border-color: #e0e0e0;
}

.search-form .form-select-lg:focus {
    border-color: #540244;
    box-shadow: 0 0 0 0.2rem rgba(84, 2, 68, 0.25);
}

.search-form .btn-lg {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .search-form {
        padding: 1rem;
    }
    
    .search-form .form-select-lg {
        height: 3rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .search-form .btn-lg {
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .blc-search-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-field {
        width: 100%;
    }
    
    .filter-button {
        width: 100%;
    }
    
    .filter-button .btn-primary {
        width: 100%;
    }
}

/* Estilos do Filtro Mobile */
.mobile-only {
    display: none !important;
}

.search-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.search-icon:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.search-icon i {
    color: white;
    font-size: 22px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#filter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2000;
}

.popup-content {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    max-height: 80vh;
    overflow-y: auto;
}

.popup-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-color);
}

@media (max-width: 768px) {
    .mobile-only {
        display: block !important;
    }
    
    .search-icon {
        display: block !important;
    }
    
    .col-3 {
        display: none;
    }
    
    .col-9 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Navbar fixa para página de imóveis */
body.imoveis-page {
    padding-top: 76px;
}

.imoveis-page .navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Ajuste do conteúdo principal para a navbar fixa */
.imoveis-page main {
    margin-top: 2rem;
}

/* Ajuste do filtro lateral para a navbar fixa */
.imoveis-page .sticky-top {
    top: 96px;
}

/* Responsive styles for the property page on mobile devices */
@media (max-width: 768px) {
    .property-gallery {
        height: auto;
    }

    .gallery-main {
        height: 300px;
        width: 300px;
        margin: 0 auto;
    }

    .gallery-thumbs {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 100px;
        margin-top: 1rem;
    }

    .gallery-thumbs .swiper-slide {
        width: 100px;
        height: 100px;
    }

    .property-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .property-details {
        grid-template-columns: 1fr;
    }

    .property-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .property-info-card {
        margin-top: 80px;
        padding: 1rem;
    }

    .property-gallery {
        height: auto;
        margin: 1rem 0;
    }

    .gallery-main {
        width: 100%;
        height: 300px;
    }

    .gallery-main .swiper-slide img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .gallery-thumbs {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: 80px;
        margin-top: 1rem;
    }

    .gallery-thumbs .swiper-slide {
        width: 80px !important;
        height: 80px !important;
    }

    .gallery-thumbs .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .property-features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin: 1rem 0;
    }

    .feature-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: var(--primary-color);
        padding: 0.8rem;
        border-radius: 8px;
        text-align: center;
    }

    .property-main-info {
        text-align: center;
    }

    .agent-info {
        margin-top: 1rem;
        text-align: center;
    }

    .property-description {
        margin-top: 1rem;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .property-gallery {
        height: auto;
        margin: 1rem 0;
    }

    .gallery-main {
        width: 100%;
        height: 300px;
    }

    .gallery-main .swiper-slide img {
        width: 100%;
        height: 300px;
        object-fit: cover;
    }

    .gallery-thumbs {
        display: none;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #fff;
        background: rgba(0, 0, 0, 0.3);
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #fff;
        opacity: 0.5;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
    }

    .property-info-card {
        margin-top: 80px;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .property-gallery {
        height: auto;
        margin: 1rem 0;
        position: relative;
    }

    .gallery-main {
        width: 100%;
        aspect-ratio: 1/1;
        height: auto !important;
        margin: 0 auto;
    }

    .gallery-main .swiper-slide {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .gallery-main .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-thumbs {
        display: none !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #fff;
        background: rgba(0, 0, 0, 0.3);
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }

    .swiper-pagination {
        position: absolute;
        bottom: 10px !important;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #fff;
        opacity: 0.5;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
    }

    .property-info-card {
        margin-top: 1rem;
        padding: 1rem;
    }
}

/* Estilos para desktop */
.property-gallery {
    position: relative;
    width: 100%;
    height: 500px;
    margin-bottom: 2rem;
}

.gallery-main {
    width: calc(100% - 170px);
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-main .swiper-slide {
    width: 100%;
    height: 100%;
}

.gallery-main .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbs {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 150px;
}

.gallery-thumbs .swiper-slide {
    width: 150px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Estilos para mobile */
@media (max-width: 768px) {
    .property-gallery {
        height: auto;
        margin: 1rem 0;
        position: relative;
    }

    .gallery-main {
        width: 100%;
        aspect-ratio: 1/1;
        height: auto !important;
        margin: 0 auto;
    }

    .gallery-main .swiper-slide {
        width: 100%;
        aspect-ratio: 1/1;
    }

    .gallery-main .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .gallery-thumbs {
        display: none !important;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #fff;
        background: rgba(0, 0, 0, 0.3);
        width: 35px;
        height: 35px;
        border-radius: 50%;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 18px;
    }

    .swiper-pagination {
        position: absolute;
        bottom: 10px !important;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: #fff;
        opacity: 0.5;
    }

    .swiper-pagination-bullet-active {
        opacity: 1;
        background: #fff;
    }

    .property-info-card {
        margin-top: 1rem;
        padding: 1rem;
    }
}
.nav-menu .btn-primary {
    font-family: quicksand;
}

@media (max-width: 768px) {
    .slide-text h1 {
        font-size: 2em; /* Reduzir o tamanho da fonte */
    }
    .swiper-slide {
        margin-bottom: 10px; /* Ajustar o espaço em branco abaixo dos slides */
    }
}