/*
Theme Name: F3 Imoveis
Theme URI: https://f3fabioramos.com.br
Author: F3 Fábio Ramos
Author URI: https://f3fabioramos.com.br
Description: Tema personalizado para F3 Imoveis - Desenvolvimento de Sites e Soluções Digitais
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: f3-imoveis
Tags: responsivo, personalizado, ecommerce, woocommerce, portfolio

Este tema foi desenvolvido para atender às necessidades específicas do site F3 Fábio Ramos.
*/

/* Global Styles */

/* Base Styles */
:root {
    --primary-color: #1b1c56;
    --secondary-color: #ed3237;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --text-light: #7f8c8d;
    --white: #fff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* Evita rolagem quando o menu mobile está aberto */
body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: #d34825;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    padding: 15px 25px;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-whatsapp i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.btn-whatsapp:hover {
    background: #128c7e;
    transform: translateY(-3px);
    color: var(--white);
}


.btn-whatsapp-section {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: white !important;
    padding: 15px 5px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  }
  
  .btn-whatsapp-section i  {
    font-size: 1.5rem;
    margin-right: 10px;
  }
  
  .btn-whatsapp-section:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }


  .btn-contact-single-section {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:#1a5276;
    color: white !important;
    padding: 15px 5px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  }
  
  .btn-contact-single-section i  {
    font-size: 1.5rem;
    margin-right: 10px;
  }
  
  .btn-contact-single-section:hover {
    background: #13425f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  }


.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.divider {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 0 15px;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    transition: var(--transition);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header.scrolled .navbar {
    padding: 8px 0;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1002;
}

.logo img {
    height: 45px;
    margin-right: 10px;
    transition: var(--transition);
}

.logo span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-links li {
    margin-left: 20px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 8px 0;
    display: block;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100; /* acima do painel */
    padding: 10px;
    margin: -10px;
    position: relative;
    width: 28px;
    height: 22px;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease, top 0.25s ease;
    border-radius: 3px;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

/* Melhor visibilidade do X quando ativo */
.hamburger.active span {
    background: var(--dark-color);
}

/* Menu Mobile Ativo - controlado apenas no media query de 992px */

/* Ajustes para telas menores */
@media (max-width: 1024px) {
    .nav-links li {
        margin-left: 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }
    /* Quando o menu estiver aberto, mantém o botão no topo */
    .hamburger.active {
        position: fixed;
        top: 18px;
        right: 18px;
        z-index: 1101; /* acima de .nav-links (1002) */
    }
    
    .hamburger.active span:nth-child(1) {
        top: 9px;
        transform: rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    .hamburger.active span:nth-child(3) {
        top: 9px;
        transform: rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0; /* ancorado na direita */
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 80px 30px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%); /* fora da tela por padrão */
        transition: transform 0.35s ease-in-out;
        z-index: 1002; /* acima do header */
    }
    
    .nav-links.active {
        transform: translateX(0); /* entra */
    }
    
    .nav-links li {
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        width: 100%;
        text-align: center;
    }
    
    .nav-links.active li {
        animation: fadeInUp 0.5s ease forwards;
    }
    
    .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links li:nth-child(4) { animation-delay: 0.4s; }
    .nav-links li:nth-child(5) { animation-delay: 0.5s; }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 10px 0;
        display: block;
        width: 100%;
    }
    
    .header.scrolled .navbar {
        padding: 8px 0;
    }
    
    .header.scrolled .logo img {
        height: 40px;
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .nav-links {
        width: 100%;
        max-width: 100%;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--hero-bg-image) no-repeat center center/cover;
    z-index: -1;
    transition: transform 8s ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: -1;
}

.hero:hover::before {
    transform: scale(1.05);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.2rem;
    margin: 0 auto 30px;
    max-width: 700px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f9f9f9;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* Tablet - 2 colunas */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - 1 coluna */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Properties Section */
.properties {
    padding: 100px 0;
    background: #f9f9f9;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.property-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}



.property-details {
    padding: 25px;
}

.property-details h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.property-details p {
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.property-details p i {
    margin-right: 8px;
    color: var(--primary-color);
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.btn-details {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}



.btn-details:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-more {
    display: inline-block;
    margin-top: 50px;
    padding: 12px 35px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn-more:hover {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-center {
    text-align: center;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-slider {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.testimonial {
    min-width: 100%;
    scroll-snap-align: start;
}

.testimonial-content {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.stars {
    color: #f1c40f;
    margin-bottom: 5px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f9f9f9;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(26, 82, 118, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--secondary-color);
}

/* Sell Property Section */
.sell-property {
    padding: 80px 0;
    background: #f8f9fa;
}

.sell-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.sell-option {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sell-option:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.sell-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: #fff;
    font-size: 30px;
    transition: all 0.3s ease;
}

.sell-option:hover .sell-icon {
    background: var(--secondary-color);
    transform: rotateY(180deg);
}

.sell-option h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.sell-option p {
    color: #666;
    margin-bottom: 25px;
    flex-grow: 1;
}

.finance-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
}

.finance-buttons .btn {
    width: 100%;
    margin: 5px 0;
    padding: 12px 15px;
    font-size: 0.9rem;
}

.btn-whatsapp {
    background: #25D366;
    color: white !important;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: auto;
}

/* Responsive styles for sell section */
/* Tablet - 2 colunas */
@media (max-width: 1024px) {
    .sell-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile - 1 coluna */
@media (max-width: 768px) {
    .sell-options {
        grid-template-columns: 1fr;
    }
    
    .sell-option {
        max-width: 100%;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--bg-image) no-repeat center center/cover;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Properties Grid Section */
.properties-grid-section {
    padding: 80px 0;
}

/* Filters */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background: white;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Property Single Page */
.property-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), var(--bg-image) no-repeat center center / cover;
    color: white;
    padding: 100px 0 40px;
    margin-bottom: 40px;
}

.property-header-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.property-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.property-address {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.property-price-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.property-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.property-price-single-header {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    border: 1px solid #fff;
    padding: 1px 10px 1px 10px;
    border-radius: 5px;
}

/* Gallery */
.property-gallery {
    margin-bottom: 60px;
}

.gallery-main {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-thumb {
    border-radius: 8px;
    overflow: hidden;
    height: 100px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumb:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Property Details */
.property-details-section {
    /*padding: 60px 0;*/
    background-color: #f9f9f9;
}

.property-details-grid {
    display: grid;
    grid-template-columns: auto;
    gap: 40px;
}

.property-description h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.property-description h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.property-description p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-color);
}

.property-features {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.property-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.property-features i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.property-features span {
    font-weight: 500;
    color: var(--dark-color);
}

.property-amenities {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin: 25px 0;
    padding: 0;
    list-style: none;
}

.property-amenities li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.property-amenities i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.property-location {
    margin-top: 40px;
}

.property-map {
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Sidebar */
.property-sidebar {
    position: relative;
}

.contact-agent {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: sticky;
    top: 30px;
}

.contact-agent h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    text-align: center;
}

.agent-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.agent-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    padding: 2px;
}

.agent-details h4 {
    margin: 0 0 5px;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.agent-details p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.agent-details i {
    color: var(--primary-color);
    margin-right: 5px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.property-documents {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.property-documents h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.property-documents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-documents li {
    margin-bottom: 10px;
}

.property-documents a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.property-documents a:hover {
    color: var(--primary-color);
}

.property-documents i {
    color: var(--primary-color);
}

/* Similar Properties */
.similar-properties {
    padding: 60px 0;
    background-color: white;
}

.similar-properties h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.similar-properties h2:after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* Property Card */
.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-details {
    padding: 20px;
}

.property-details h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.property-details p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.property-details i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.property-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 15px 0;
}

.btn-details {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.btn-details:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 8px;
}

.page-btn, .page-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.page-next {
    width: auto;
    padding: 0 15px;
}

.page-btn:hover, .page-next:hover,
.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Responsive Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 170px; /* Ajustado para ficar acima do botão do Instagram */
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1002; /* Aumentado para ficar acima de todos os botões flutuantes */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px) scale(1.1);
}

.back-to-top.visible:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
        bottom: 180px;
        right: 20px;
    }
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: white;
}

/* Responsive styles for sell section */
@media (max-width: 1024px) {
    .sell-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sell-options {
        grid-template-columns: 1fr;
    }
    
    .sell-option {
        max-width: 100%;
    }
}

/* Property Map Section */
.property-map {
    padding: 80px 0;
    background: #f9f9f9;
}

.map-container {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
    flex: 1 1 60%;
    min-height: 500px;
    position: relative;
}

.map-with-markers {
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.properties-list {
    flex: 1 1 40%;
    background: #fff;
    padding: 25px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
}

.properties-list h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.scrollable-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px;
}

/* Estilizando a barra de rolagem */
.scrollable-list::-webkit-scrollbar {
    width: 6px;
}

.scrollable-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.scrollable-list::-webkit-scrollbar-thumb:hover {
    background: #154a6e;
}

.property-marker-item {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    cursor: pointer;
}

.property-marker-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.property-marker-thumb {
    width: 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px;
    flex-shrink: 0;
}

.property-marker-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-marker-item:hover .property-marker-thumb img {
    transform: scale(1.05);
}

.property-marker-info {
    flex: 1;
}

.property-marker-info h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.property-marker-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.property-marker-info p i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.price {
    display: inline-block;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 5px;
    font-size: 1rem;
}

/* Map Section */
.map {
    width: 100%;
    height: 450px;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive styles for property map */
@media (max-width: 992px) {
    .map-container {
        flex-direction: column;
    }
    
    .map-wrapper,
    .properties-list {
        flex: 1 1 100%;
    }
    
    .properties-list {
        max-height: 400px;
    }
}

@media (max-width: 576px) {
    .property-marker-item {
        flex-direction: column;
    }
    
    .property-marker-thumb {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);

}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: var(--white);
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bdc3c7;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact p,
.footer-contact a {
    color: #bdc3c7;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    transition: color 0.3s ease;
   
}

.footer-contact a {
    color: #ffffff !important; /* Força a cor branca para todos os links */
}

.footer-contact a:hover {
    color: var(--secondary-color) !important; /* Cor do hover */
    text-decoration: underline;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: #bdc3c7;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* Property Filters */
#property-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
    padding: 25px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.filter-group {
    position: relative;
    margin-bottom: 0;
}

#property-filters label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#property-filters select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background-color: #fff;
    font-size: 0.95rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a5276' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

#property-filters select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

#property-filters select:hover {
    border-color: #bdc3c7;
}

.filter-actions {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

#filter-submit,
#filter-reset {
    flex: 1;
    padding: 13px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

#filter-submit {
    background-color: var(--primary-color);
    color: white;
}

#filter-submit:hover {
    background-color: #154360;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(26, 82, 118, 0.15);
}

#filter-reset {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

#filter-reset:hover {
    background-color: #e9ecef;
    color: #495057;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #property-filters {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    #filter-submit,
    #filter-reset {
        width: 100%;
        margin-top: 0;
    }
}

/* Existing styles below */
.developer-credits {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 15px;
    line-height: 1.5;
}

.developer-credits a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.developer-credits a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Instagram Float */
.instagram-float {
    position: fixed;
    bottom: 105px;
    right: 30px;
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    font-size: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.instagram-float:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    animation: none; /* Remove a animação ao passar o mouse */
}

/* Efeito de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(193, 53, 132, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(193, 53, 132, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(193, 53, 132, 0);
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    color: white;
    animation: none; /* Remove a animação ao passar o mouse */
}

/* Efeito de pulso para o WhatsApp */
@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text,
    .about-image {
        width: 100%;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact p {
        justify-content: center;
    }

    .footer-contact p,
.footer-contact a {
    color: #bdc3c7;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    transition: color 0.3s ease;
   justify-content: center;
}
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        min-height: 600px;
        background-attachment: scroll;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .btn,
    .btn-whatsapp {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}




.error-404 {
    padding: 80px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
}

.error-title {
    font-size: 120px;
    font-weight: 700;
    color: #e74c3c;
    line-height: 1;
    margin-bottom: 20px;
}

.error-subtitle {
    font-size: 32px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.error-text {
    font-size: 18px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.search-form-wrapper {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-form-wrapper .search-field {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-form-wrapper .search-field:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.search-form-wrapper .search-submit {
    display: none; /* Hide the submit button as we'll use Enter key */
}

.btn-primary {
    background-color: #ed3237;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

.suggested-links {
    margin-top: 40px;
}

.suggested-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.suggested-menu li {
    display: inline-block;
    margin: 0 10px;
}

.suggested-menu a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.suggested-menu a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Responsive styles */
@media (max-width: 768px) {
    .error-title {
        font-size: 80px;
    }
    
    .error-subtitle {
        font-size: 24px;
    }
    
    .error-text {
        font-size: 16px;
    }
    
    .suggested-menu li {
        display: block;
        margin: 10px 0;
    }
}

/* Search Results Page */
.search-results-page {
    padding: 60px 0;
}

.search-results-page .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-results-page .page-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.search-results-page .page-title span {
    color: #e74c3c;
    font-weight: 700;
}

.search-form-container {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-form-container .search-field {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-form-container .search-field:focus {
    border-color: #3498db;
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.search-form-container .search-submit {
    display: none; /* Hide the submit button as we'll use Enter key */
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.property-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.property-details {
    padding: 20px;
}

.property-details h3 {
    margin: 0 0 10px;
    font-size: 18px;
}

.property-details h3 a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-details h3 a:hover {
    color: var(--primary-color);
}

.property-details p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 15px;
}

.property-details p i {
    margin-right: 5px;
    color: var(--primary-color);
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.property-features span {
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #555;
}

.property-features i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 14px;
}

.property-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 10px 0 0;
}

.property-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.property-meta .btn {
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.property-meta .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* No results */
.no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-results p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #555;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0 30px;
    flex-wrap: wrap;
    gap: 5px;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    margin: 0 2px;
    border-radius: 4px;
    background: #fff;
    color: #3e4095;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.pagination .page-numbers.current {
    background: #3e4095;
    color: #fff;
    border-color: #3e4095;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(62, 64, 149, 0.2);
}

.pagination .page-numbers:hover:not(.current) {
    background: #f5f5f5;
    border-color: #d0d0d0;
    color: #2a2b6b;
}

.pagination .page-numbers.dots {
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: auto;
    padding: 0 5px;
}

.pagination .page-numbers.prev,
/* Página Sobre */
.sobre-section {
    background-color: #fff;
    padding: 0px 20px;
}

.sobre-title {
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
    font-size: 2.5rem;
}

.sobre-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sobre-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-box {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

.feature-box h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

.depoimentos-section {
    margin-top: 80px;
    text-align: center;
}

.depoimentos-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
}

.depoimentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.depoimento-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.depoimento-card:hover {
    transform: translateY(-5px);
}

.depoimento-conteudo {
    padding: 30px;
    font-style: italic;
    color: #555;
    line-height: 1.7;
    position: relative;
    flex-grow: 1;
}

.depoimento-conteudo:before {
    content: '"';
    font-size: 60px;
    font-family: Georgia, serif;
    color: var(--secondary-color);
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 15px;
    line-height: 1;
}

.depoimento-autor {
    padding: 20px 30px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.depoimento-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.depoimento-autor h4 {
    margin: 0 0 5px;
    color: var(--dark-color);
}

.depoimento-autor .cargo {
    display: block;
    font-size: 0.9em;
    color: var(--text-light);
}

/* Responsivo */
@media (max-width: 768px) {
    .sobre-title {
        font-size: 2rem;
    }
    
    .sobre-features {
        grid-template-columns: 1fr;
    }
    
    .depoimentos-grid {
        grid-template-columns: 1fr;
    }
    
    .depoimento-autor {
        flex-direction: column;
        text-align: center;
    }
    
    .depoimento-avatar {
        margin-bottom: 10px;
    }
}

.pagination .page-numbers.next {
    padding: 0 20px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.pagination .page-numbers.prev i,
.pagination .page-numbers.next i {
    font-size: 12px;
    margin: 0 5px;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 3px;
    }
    
    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 14px;
    }
    
    .pagination .page-numbers.prev,
    .pagination .page-numbers.next {
        padding: 0 15px;
        font-size: 13px;
    }
}

/* Responsive styles for search results */
@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .search-results-page .page-title {
        font-size: 24px;
    }
    
    .property-features {
        gap: 10px;
    }
    
    .property-features .feature {
        font-size: 12px;
    }
    
    .pagination .page-numbers {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

/* Modern Property Cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 25px 0;
}

.property-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.property-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* Proporção 3:2 (200/300) */
    overflow: hidden;
    flex-shrink: 0;
}

.property-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.property-slide.active {
    opacity: 1;
}

.property-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slider-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    color: var(--primary-color) !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    opacity: 0.8 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
}

.slider-arrow:hover {
    background-color: var(--primary-color);
    color: white;
}

.property-slider:hover .slider-arrow {
    opacity: 1;
    visibility: visible;
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

/* Torna as setas mais visíveis em telas menores */
@media (max-width: 768px) {
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
        opacity: 0.8;
        visibility: visible;
    }
    
    .slider-arrow.prev {
        left: 10px;
    }
    
    .slider-arrow.next {
        right: 10px;
    }
}

.property-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 66.67%; /* Proporção 3:2 (200/300) */
    flex-shrink: 0;
}

.property-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-details {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.property-details h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.property-details h3 a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-details h3 a:hover {
    color: var(--primary-color);
}

.property-address {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-address i {
    margin-right: 8px;
    color: var(--white);
    font-size: 1rem;
}

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.property-features span {
    display: inline-flex;
    align-items: center;
    color: #555;
    font-size: 0.8rem;
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    line-height: 1.2;
}

.property-features i {
    margin-right: 5px;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.property-price {
    margin-top: auto;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 8px 0 12px;
    line-height: 1.2;
}

.property-price::before {
    content: 'R$ ';
    font-size: 0.9em;
    font-weight: 500;
}

.property-price.sob-consulta {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.property-price.sob-consulta::before {
    content: '';
}

.btn-details {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid var(--primary-color);
    margin-top: auto;
}

.btn-details:hover {
    background: transparent;
    color: var(--primary-color);
}

/* Responsive styles for property cards */
@media (max-width: 1024px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .property-slider,
    .property-image {
        padding-bottom: 75%; /* Proporção 4:3 para dispositivos móveis */
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
    
    .property-details {
        padding: 12px;
    }
    
    .property-details h3 {
        font-size: 1rem;
        min-height: auto;
        -webkit-line-clamp: 2;
    }
    
    .property-features {
        gap: 6px;
        margin: 6px 0 8px;
        padding-bottom: 8px;
    }
    
    .property-features span {
        font-size: 0.75rem;
        padding: 3px 6px;
    }
    
    .property-price {
        font-size: 1.1rem;
        margin: 6px 0 10px;
    }
    
    .btn-details {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .properties-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .property-card {
        width: 100%;
        margin: 0;
    }
}