/*
Theme Name: Modern Real Estate
Theme URI: 
Author: 
Author URI: 
Description: A modern WordPress theme for real estate agencies
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: modern-real-estate
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Gilda+Display&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Reset e estilos base */
:root {
    --primary-beige: #F5F0E6;
    --secondary-beige: #E6DFD3;
    --dark-beige: #8B8378;
    --text-dark: #2C2420;
    --text-white: #FFFFFF;
    --accent-color: #BF9D7A;
    --title-font: "Gilda Display", Sans-serif;
    --body-font: "Montserrat", Sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--title-font);
    font-weight: normal;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Property Single Page Styles */
.property-single {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.property-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #2c3e50;
}

.property-categories {
    margin-bottom: 30px;
}

.categories-wrapper {
    display: flex;
    gap: 15px;
}

.category-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 500;
}

.category-badge.transaction-type {
    background-color: #e3f2fd;
    color: #1976d2;
}

.category-badge.property-type {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

/* Property Gallery Styles */
.property-gallery {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 100%;
}

.property-swiper {
    width: 100%;
    height: 600px;
}

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

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

/* Swiper Navigation Styles */
/* Comment out or remove these Gallery Navigation Styles */
/*
.swiper-button-next,
.swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    color: #2d3748 !important;
    font-weight: bold !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff !important;
    transform: scale(1.1);
}

.swiper-button-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}
*/

/* Keep the pagination bullets styles */
.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    opacity: 0.5 !important;
}

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

/* Responsive Styles */
@media (max-width: 768px) {
    .property-swiper {
        height: 400px;
    }

    .property-title {
        font-size: 2em;
    }

    .property-swiper .swiper-button-next,
    .property-swiper .swiper-button-prev {
        width: 30px;
        height: 30px;
    }

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

@media (max-width: 480px) {
    .property-swiper {
        height: 300px;
    }
}

.property-highlights {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.property-price {
    font-size: 2.5em;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.property-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.meta-label {
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
    font-size: 0.9em;
}

.meta-value {
    font-size: 1.2em;
    color: #222;
}

.property-details {
    max-width: 800px;
    margin: 0 auto;
}

.property-location {
    margin: 40px 0;
    text-align: center;
}

.property-location h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #222;
}

.maps-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: #4285F4;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.maps-button:hover {
    background-color: #3367D6;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.maps-icon {
    font-size: 1.2em;
}

.location-text {
    color: #666;
    font-style: italic;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    display: inline-block;
}

.property-description {
    margin-bottom: 40px;
    line-height: 1.8;
}

.property-features {
    margin-top: 40px;
}

.property-features h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
    color: #222;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
}

.features-list li {
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 4px;
    position: relative;
    padding-left: 30px;
}

.features-list li:before {
    content: "✓";
    position: absolute;
    left: 10px;
    color: #4CAF50;
}

/* Header Styles */
.real-estate-header {
    width: 100%;
    background-color: var(--primary-beige);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--accent-color);
    padding: 8px 0;
}

.contact-info {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: center;
}

.contact-info a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.contact-info a:hover {
    color: var(--accent-dark);
}

.main-header {
    padding: 10px 0;
    background-color: #222222;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex-shrink: 0;
    padding: 10px 0;
}

.logo img,
.custom-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
}

.main-nav {
    flex-grow: 1;
    margin: 0 20px;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 280px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-radius: 8px;
    z-index: 1001;
    padding: 10px 0;
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu {
    display: block;
}

.nav-menu .sub-menu a {
    color: var(--text-dark);
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    text-transform: none;
    background: none;
    border: none;
    display: block;
    transition: background 0.2s, color 0.2s;
}

.nav-menu .sub-menu a:hover {
    background: var(--primary-beige);
    color: var(--accent-color);
}

.nav-menu li a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 5px 0;
    display: block;
    position: relative;
    text-transform: uppercase;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    
    transition: width 0.3s ease;
}

.nav-menu li a:hover::after {
    width: 100%;
}

/* Adiciona ícone de seta para itens com submenu */
.nav-menu li.menu-item-has-children > a::after {
    content: "\f107"; /* Código do ícone arrow-down do Font Awesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
    font-size: 14px;
    transition: transform 0.3s ease;
    position: relative;
    top: 0px;
    transform: translateY(-50%);
}

.nav-menu li.menu-item-has-children:hover > a::after,
.nav-menu li.menu-item-has-children:focus-within > a::after {
    transform: translateY(-50%) rotate(180deg);
}

.mobile-menu-toggle span {
    display: block;
    width: 30px !important;
    height: 2px !important;
    background-color: #FFFFFF !important;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.btn-contact {
  
    color: var(--accent-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.btn-contact:hover {
    background-color: #A88967;
    transform: translateY(-2px);
    color: #fff;
}

/* Responsividade */
@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .main-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .main-nav {
        margin: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

/* Homepage Styles */
.hero-section {
    min-height: 83vh;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/wp-content/themes/modern-landing/assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

#sale-properties .hero-section {
    min-height: 45vh;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/wp-content/uploads/2025/05/6japtijuqoi.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
}

.hero-title {
    font-family: var(--title-font);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-family: var(--body-font);
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.hero-cta .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #000;
}

.hero-cta .btn-primary {
    background-color: var(--accent-color) !important;
    border: 2px solid var(--accent-color) !important;
}

.hero-cta .btn-primary:hover {
    background-color: transparent !important;
    color: white !important;
    border: 2px solid var(--accent-color) !important;
}

.hero-cta .btn-outline {
    border: 2px solid white;
    color: white;
}

.hero-cta .btn-outline:hover {
    background-color: white;
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        padding: 80px 0;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
}

.section-title {
    font-family: var(--title-font);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.section-description {
    font-family: var(--body-font);
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-beige);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.featured-properties {
    padding: 100px 0;
    background-color: var(--color-background-alt);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}
.properties-grid-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.about-section {
    padding: 80px 0;
    background-color: var(--color-background);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-light);
}

.contact-section {
    padding: 80px 0;
    background-color: var(--color-background-alt);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    padding-right: 0rem;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.contact-details {
    margin-top: 2rem;
}

.contact-details p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.contact-form {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .properties-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .properties-grid-featured {
        
        grid-template-columns: repeat(1, 1fr);
        
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    #arrow.btn {
        width: 100%;
        text-align: right;
    }
}

/* Property Card Styles - Updated */
.property-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.property-image-carousel {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.swiper-container {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.single-property-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Swiper Navigation Styles */
/* Comment out or remove these Gallery Navigation Styles */
/*
.swiper-button-next,
.swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    color: #2d3748 !important;
    font-weight: bold !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #fff !important;
    transform: scale(1.1);
}

.swiper-button-disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
}
*/

/* Property Badges */
.property-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    z-index: 2;
    padding: 0 15px;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: rgba(0, 0, 0, 0.85);
}

.badge i {
    font-size: 0.7rem;
    color: var(--accent-color);
}

/* Cores específicas apenas para os ícones dos badges */
.badge-transaction i {
    color: #ffffff  !important;
}

.badge-type i {
    color: #ffffff !important;
}

.badge-typology i {
    color: #ffffff  !important;
}

.badge-energy i {
    color: #ffffff  !important;
}

.property-price {
    position: absolute;
    bottom: -10px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.property-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-family: var(--title-font);
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.property-title a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.property-title a:hover {
    color: var(--accent-color);
}

.property-location {
    font-family: var(--body-font);
    color: var(--dark-beige);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.property-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--primary-beige);
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-beige);
    font-size: 0.9rem;
    cursor: help;
}

.feature i {
    color: var(--accent-color);
    font-size: 1rem;
}

.property-excerpt {
    color: var(--dark-beige);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* No Properties Found Message */
.no-properties-found {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    grid-column: 1 / -1;
    color: var(--dark-beige);
}

.no-properties-found i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    opacity: 0.5;
}

.no-properties-found p {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.no-properties-found small {
    font-size: 0.9rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background-color: var(--primary-beige);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-beige);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--accent-color);
}

.service-icon i {
    font-size: 2rem;
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon i {
    color: white !important;
}

.service-card h3 {
    font-family: var(--title-font);
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    font-family: var(--body-font);
    color: var(--dark-beige);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
}

.service-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Responsive Styles for Services */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-section {
        padding: 50px 0;
    }

    .featured-properties {
        padding: 50px 0;
    }

    .about-section {
        padding: 50px 0 !important;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .service-icon i {
        font-size: 1.5rem;
    }
}

/* Property Filters */
.property-filters {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 3rem;
}

.filter-form {
    width: 100%;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.filter-group select,
.filter-group input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--primary-beige);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    background-color: white;
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(191, 157, 122, 0.1);
}

.filter-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%232C2420' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid var(--primary-beige);
}

.filter-submit,
.filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.filter-submit {
    background-color: var(--accent-color);
    color: white;
    border: none;
}

.filter-submit:hover {
    background-color: #A88967;
    transform: translateY(-2px);
}

.filter-reset {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--primary-beige);
}

.filter-reset:hover {
    background-color: var(--primary-beige);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .property-filters {
        padding: 1.5rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-actions {
        flex-direction: column;
    }

    .filter-submit,
    .filter-reset {
        width: 100%;
        justify-content: center;
    }
}

/* Filter Results Count */
.filter-results-count {
    
    padding: 1rem 0;
    border-radius: 8px;
    margin: 2rem 0;
    text-align: left;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.filter-results-count p {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.property-video-section {
    margin: 30px 0;
}

.property-video-section h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Hero buttons responsive adjustments */
@media (max-width: 768px) {
    .filter-results-count {    
        padding: 0rem 0;
        margin: 0rem 0;
    }
    .filter-results-count p {
        text-align: center;
    }

    .col-md-4 .btn {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
    
    .col-md-4 .btn i {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .col-md-4 {
        flex-direction: column;
    }
    
    .col-md-4 .btn {
        flex-grow: 1;
    }
}

/* Video Modal Styles */
.video-modal-container {
    height: 70vh;
    position: relative;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-container-modal {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.video-container-modal iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

/* Modal overrides for video */
#videoModal .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#videoModal .modal-body {
    padding: 0 !important;
}

@media (max-width: 768px) {
    .video-modal-container {
        height: 60vh;
    }
}

@media (max-width: 576px) {
    .video-modal-container {
        height: 50vh;
    }
}

/* Hero Gallery Standardization */
.hero-gallery-wrapper {
    height: 70vh;
    min-height: 500px;
    max-height: 800px;
    border-radius: 0px;
    overflow: hidden;
}

.property-gallery-carousel,
.property-single-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.property-swiper {
    width: 100%;
    height: 100%;
}

.property-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
    padding: 30px 0px;
}

/* Remove any existing inline styles conflicts */
.hero-gallery-wrapper .position-relative {
    position: relative !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .hero-gallery-wrapper {
        height: 60vh;
        min-height: 400px;
    }
    
    .property-overlay .container {
        padding: 2rem 15px;
    }
    
    .property-overlay .display-5 {
        font-size: 1.8rem;
    }
    
    .property-overlay .h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-gallery-wrapper {
        height: 100vh;
        min-height: 350px;
    }
    
    .col-md-4 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .col-md-4 .btn {
        flex-grow: 1;
        width: 100%;
    }
}

/* Hero Action Buttons */
.hero-action-buttons {
    flex-direction: row;
    flex-wrap: wrap;
}

/* Desktop behavior */
@media (min-width: 577px) {
    .hero-action-buttons {
        flex-wrap: nowrap;
    }
    
    .secondary-buttons {
        flex-direction: row;
    }
}

/* Mobile behavior */
@media (max-width: 576px) {
    .hero-action-buttons {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    /* Contact button takes full width */
    .hero-action-buttons .btn:first-child {
        width: 100%;
        flex-grow: 1;
    }
    
    /* Secondary buttons (Gallery, Video, Share) side by side */
    .secondary-buttons {
        flex-direction: row;
        gap: 0.75rem;
        width: 100%;
    }
    
    .secondary-buttons .btn {
        flex: 1;
        min-width: 0;
        font-size: 0.85rem;
        padding: 0.75rem 0.5rem;
    }
    
    /* Adjust icon size for smaller buttons */
    .secondary-buttons .btn i {
        font-size: 0.85rem;
    }
}

/* Remove conflicting styles */
@media (max-width: 576px) {
    /* Override the previous rules */
    .col-md-4 {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .col-md-4 .btn {
        flex-grow: 1;
        width: auto; /* Changed from 100% */
    }
}

/* Remove the duplicated mobile styles that conflict */
/* Comment out or remove the "Alternative approach" section in the CSS */

/* ... existing styles ... */

/* Property Details Slider */
.property-details-slider {
    width: 100%;
    height: auto;
    padding-bottom: 2rem;
}

.property-details-slider .swiper-slide {
    width: auto;
    height: auto;
}

.property-details-slider .swiper-pagination {
    position: static;
    margin-top: 1rem;
    text-align: center;
}

.property-details-slider .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: var(--accent-color) !important;
    opacity: 0.3 !important;
    margin: 0 3px !important;
}

.property-details-slider .swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.2);
}

/* Mobile-specific adjustments for property details */
@media (max-width: 767px) {
    .property-details-slider .swiper-slide {
        max-width: 250px;
        width: 100%;
    }
    
    .property-details-slider .d-flex {
        margin: 0 10px;
    }
}

/* ... existing styles ... */ 