/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* New Sophisticated Color Palette */
    --primary-gradient: linear-gradient(135deg, #d95737 0%, #b8472a 100%);
    --secondary-gradient: linear-gradient(135deg, #a9c9cc 0%, #8bb5b9 100%);
    --accent-gradient: linear-gradient(135deg, #d95737 0%, #b8472a 100%);
    --success-gradient: linear-gradient(135deg, #d95737 0%, #b8472a 100%);
    
    /* Sophisticated Text Colors */
    --text-dark: #34201e;
    --text-light: #5a4a48;
    --white: #ffffff;
    
    /* New Theme Colors */
    --cream: #ede7cb;
    --charcoal: #34201e;
    --orange: #d95737;
    --blue-gray: #a9c9cc;
    
    /* Enhanced Shadows with new colors */
    --shadow-soft: 0 20px 60px rgba(52, 32, 30, 0.08);
    --shadow-medium: 0 25px 50px rgba(52, 32, 30, 0.15);
    --shadow-strong: 0 35px 70px rgba(52, 32, 30, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(237, 231, 203, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo .logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 2rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder, .hero-image img {
    width: 100%;
    height: 400px;
    background: rgba(169, 201, 204, 0.1);
    border: 2px dashed rgba(169, 201, 204, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.hero-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--blue-gray);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background: var(--orange);
    color: var(--white);
}

/* Sections */
section {
    padding: 5rem 0;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    border: 1px solid rgba(169, 201, 204, 0.2);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: var(--charcoal);
}

/* Properties Section */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.property-card {
    height: 400px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    background: #f8f6f0;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.property-image {
    position: relative;
    height: 250px;
    background: rgba(169, 201, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-placeholder {
    color: var(--text-light);
    text-align: center;
}

.property-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--blue-gray);
}

.property-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--accent-gradient);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.property-content {
    padding: 1.5rem;
}

.property-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.property-location {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-details span {
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
}

.properties-cta {
    text-align: center;
    margin-top: 3rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.about-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(169, 201, 204, 0.1);
    border: 2px dashed rgba(169, 201, 204, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--blue-gray);
}

/* Blog Section */
.blog {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    height: 520px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    background: #f8f6f0;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.blog-image {
    height: 200px;
    background: rgba(169, 201, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-placeholder {
    color: var(--text-light);
    text-align: center;
}

.blog-placeholder i {
    font-size: 3rem;
    color: var(--blue-gray);
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.blog-date {
    color: var(--text-light);
}

.blog-category {
    color: var(--orange);
    font-weight: 600;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--charcoal);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid rgba(169, 201, 204, 0.4);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
    color: var(--text-dark);
    box-shadow: 0 2px 4px rgba(217, 87, 55, 0.05);
}

.form-group textarea {
    padding: 1rem;
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #d95737;
    box-shadow: 0 0 0 3px rgba(217, 87, 55, 0.1);
    transform: translateY(-1px);
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus + .form-icon,
.form-group select:focus + .form-icon {
    color: #d95737;
}

.submit-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    background: #d95737;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
}

.btn-icon {
    transition: all 0.3s ease;
}

.submit-btn:hover .btn-icon {
    transform: translateX(3px);
}


.success-message.show {
    opacity: 1;
    visibility: visible;
}

.success-message i {
    font-size: 3rem;
    background: var(--success-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-message p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-logo .logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-logo span {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

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

.footer-section ul li a:hover {
    color: var(--orange);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(237, 231, 203, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 1rem 2rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-text h2 {
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .services-grid,
    .properties-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
}

/* Property Pages Styles */
.properties-header {
    background: var(--white);
    padding: 8rem 0 4rem;
    text-align: center;
}

.header-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.header-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Property Filters */
.property-filters {
    background: var(--cream);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(169, 201, 204, 0.2);
}

.filter-container {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
    justify-content: center;
}

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

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

.filter-group select {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(169, 201, 204, 0.4);
    border-radius: 8px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 0.9rem;
    min-width: 150px;
}

.filter-group select:focus {
    border-color: var(--orange);
    outline: none;
}

/* Properties Listing */
.properties-listing {
    padding: 4rem 0;
    background: var(--white);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

/* Individual Property Page Styles */
.property-header {
    background: var(--white);
    padding: 8rem 0 2rem;
}

.breadcrumb {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--orange);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.property-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.property-address {
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.property-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
}

/* Property Gallery */
.property-gallery {
    background: var(--cream);
    padding: 2rem 0;
}

.gallery-main {
    margin-bottom: 1rem;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f6f0;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(169, 201, 204, 0.1);
    border: 2px dashed rgba(169, 201, 204, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--blue-gray);
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f6f0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--orange);
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(169, 201, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
}

/* Property Details */
.property-details {
    padding: 4rem 0;
    background: var(--white);
}

.details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.details-main h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: left;
}

.details-main h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
    color: var(--text-dark);
}

.details-main p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.feature-list i {
    color: var(--orange);
    font-size: 0.9rem;
}

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

.info-item {
    padding: 1rem;
    background: rgba(169, 201, 204, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--orange);
}

.info-item strong {
    color: var(--text-dark);
}

/* Details Sidebar */
.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(169, 201, 204, 0.2);
    margin-bottom: 2rem;
}

.contact-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info .contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}


.property-stats {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(169, 201, 204, 0.2);
}

.property-stats h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(169, 201, 204, 0.2);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

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

/* Property Map */
.property-map {
    background: var(--cream);
    padding: 4rem 0;
}

.property-map h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f6f0;
    box-shadow: var(--shadow-medium);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(169, 201, 204, 0.1);
    border: 2px dashed rgba(169, 201, 204, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
}

.map-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--blue-gray);
}

.map-placeholder small {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Navigation Active State */
.nav-link.active {
    color: var(--orange);
    font-weight: 600;
}

/* Responsive Design for Property Pages */
@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group select {
        min-width: auto;
    }
    
    .gallery-thumbnails {
        flex-wrap: wrap;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .property-title h1 {
        font-size: 2rem;
    }
    
    .property-price {
        font-size: 1.5rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Hero Image Specific Styles */
.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
}

.hero-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(169, 201, 204, 0.1);
    border: 2px dashed rgba(169, 201, 204, 0.3);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive Hero Image */
@media (max-width: 768px) {
    .hero-image img,
    .hero-placeholder {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .hero-image img,
    .hero-placeholder {
        height: 200px;
    }
}

/* Featured Property Styles */
.featured-property {
    background: var(--white);
    padding: 4rem 0;
}

.featured-property h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.featured-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    background: #f8f6f0;
    border: 1px solid rgba(169, 201, 204, 0.2);
}

.featured-image {
    position: relative;
    height: 400px;
    background: rgba(169, 201, 204, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.featured-badge {
    background: var(--accent-gradient);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.property-description {
    color: var(--text-light);
    line-height: 1.6;
    margin: 1rem 0;
}

.featured-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    margin: 1rem 0;
}

.featured-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.property-mls {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

/* Agent Information Styles */
.agent-info {
    margin-bottom: 1.5rem;
}

.agent-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.agent-phone,
.agent-email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.agent-phone i,
.agent-email i {
    color: var(--orange);
    width: 20px;
}

.agent-phone a,
.agent-email a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.agent-phone a:hover,
.agent-email a:hover {
    color: var(--orange);
}

/* School Information Styles */
.school-info {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(169, 201, 204, 0.05);
    border-radius: 12px;
    border-left: 3px solid var(--orange);
}

.school-details {
    margin: 1rem 0;
}

.school-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.school-rating {
    color: var(--orange);
    font-weight: 600;
}

.school-distance {
    color: var(--text-light);
    font-size: 0.9rem;
}

.school-disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 1rem;
}

/* Cost Breakdown Styles */
.cost-breakdown {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(169, 201, 204, 0.2);
    margin-top: 1rem;
}

.cost-breakdown h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.monthly-cost {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 0.5rem;
}

.cost-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

/* MLS Disclaimer Styles */
.mls-disclaimer {
    background: var(--cream);
    padding: 3rem 0;
}

.disclaimer-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(169, 201, 204, 0.2);
}

.disclaimer-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.disclaimer-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Contact CTA Styles */
.contact-cta {
    background: var(--accent-gradient);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.contact-cta h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta .btn {
    background: var(--white);
    color: var(--orange);
}

.contact-cta .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* No Properties Message */
.no-properties {
    text-align: center;
    padding: 4rem 2rem;
}

.no-properties-content i {
    font-size: 4rem;
    color: var(--blue-gray);
    margin-bottom: 1rem;
}

.no-properties-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.no-properties-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Responsive Design for Featured Property */
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-image {
        height: 250px;
    }
    
    .featured-content {
        padding: 1.5rem;
    }
    
    .featured-actions {
        flex-direction: column;
    }
    
    .featured-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Interactive Photo Gallery Styles */
.gallery-main {
    position: relative;
    margin-bottom: 2rem;
}

.main-image {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
    border-radius: 20px;
    overflow: hidden;
    background: #f8f6f0;
    box-shadow: var(--shadow-strong);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.02);
}

.image-counter {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 1rem;
}

.gallery-nav.next {
    right: 1rem;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 0.75rem;
    max-width: 100%;
    overflow-x: auto;
    padding: 1rem 0;
}

.thumbnail {
    position: relative;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    background: #f8f6f0;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    border-color: var(--orange);
    opacity: 1;
    transform: scale(1.05);
}

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

/* Responsive Gallery */
@media (max-width: 768px) {
    .main-image {
        height: 300px;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .gallery-nav.prev {
        left: 0.5rem;
    }
    
    .gallery-nav.next {
        right: 0.5rem;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 0.5rem;
    }
    
    .thumbnail {
        width: 60px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 250px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(6, 1fr);
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .thumbnail {
        min-width: 50px;
        height: 40px;
    }
}

/* Simple Featured Property Section */
.featured-property-simple {
    background: var(--white);
    padding: 4rem 0;
}

.featured-property-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
    overflow: hidden;
    background: #f8f6f0;
    border: 1px solid rgba(169, 201, 204, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.featured-property-image {
    height: 400px;
    overflow: hidden;
    background: #f8f6f0;
}

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

.featured-property-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-property-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.property-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--orange);
    margin: 1rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .featured-property-card {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .featured-property-image {
        height: 250px;
    }
}

/* Property Detail Page Gallery - Maintain 820x542 aspect ratio */
.property-details-page .property-gallery .main-image {
    width: 100%;
    max-width: 820px;
    height: auto;
    aspect-ratio: 820/542;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    overflow: hidden;
    background: #f8f6f0;
    box-shadow: var(--shadow-strong);
}

.property-details-page .property-gallery .main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Responsive for property detail page only */
@media (max-width: 900px) {
    .property-details-page .property-gallery .main-image {
        max-width: 100%;
    }
}

/* Map Styling */
#map {
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(169, 201, 204, 0.2);
}

/* Custom marker styling */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Map container */
.map-container {
    position: relative;
    margin: 2rem 0;
}

/* Responsive map */
@media (max-width: 768px) {
    #map {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    #map {
        height: 250px !important;
    }
}

/* Enhanced Success Message */

.success-message.show {
    opacity: 1;
    visibility: visible;
    animation: successPulse 0.6s ease-out;
}

.success-message i {
    font-size: 3.5rem;
    color: #d95737;
    animation: successBounce 0.8s ease-out;
}

.success-message p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

.success-message p:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Success animations */
@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Mobile Gallery Touch Improvements */
@media (max-width: 768px) {
    .gallery-nav {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
        background: rgba(0, 0, 0, 0.8) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
    }
    
    .gallery-nav:active {
        transform: translateY(-50%) scale(0.95) !important;
        background: rgba(0, 0, 0, 0.9) !important;
    }
    
    .thumbnail {
        min-width: 70px !important;
        height: 55px !important;
        border-radius: 8px !important;
        border: 3px solid transparent !important;
        transition: all 0.2s ease !important;
    }
    
    .thumbnail:active {
        transform: scale(0.95) !important;
    }
    
    .thumbnail.active {
        border-color: var(--orange) !important;
        transform: scale(1.05) !important;
    }
    
    /* Make main image touch-friendly */
    .main-image {
        cursor: grab;
    }
    
    .main-image:active {
        cursor: grabbing;
    }
}

/* Touch feedback for all interactive elements */
.gallery-nav,
.thumbnail {
    -webkit-tap-highlight-color: rgba(217, 87, 55, 0.3);
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Ensure touch events work properly */
.gallery-nav,
.thumbnail,
.main-image {
    touch-action: manipulation;
}


.success-message.show {
    opacity: 1;
    visibility: visible;
    animation: successPulse 0.6s ease-out;
}

.success-message i {
    font-size: 3.5rem;
    color: #d95737;
    animation: successBounce 0.8s ease-out;
}

.success-message p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

.success-message p:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Success animations */
@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Contact Form Container - needs relative positioning */
.contact-form-container {
    position: relative;
}

/* Contact Form Success Message - overlays the form */
.success-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(237, 231, 203, 0.98);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
    border: 2px solid rgba(217, 87, 55, 0.2);
    box-shadow: 0 10px 30px rgba(52, 32, 30, 0.1);
    padding: 2rem;
}

.success-message.show {
    opacity: 1;
    visibility: visible;
    animation: successPulse 0.6s ease-out;
}

.success-message i {
    font-size: 3.5rem;
    color: #d95737;
    animation: successBounce 0.8s ease-out;
}

.success-message p {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin: 0;
}

.success-message p:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    margin-top: 0.5rem;
}

/* Success animations */
@keyframes successPulse {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes successBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Blog Post Styles */
.blog-post {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #f8f6f0 0%, #ede7cb 100%);
    min-height: 100vh;
}

.blog-article {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(52, 32, 30, 0.1);
    overflow: hidden;
    background: #f8f6f0;
}

.blog-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #e8e0d0;
    background: linear-gradient(135deg, #ede7cb 0%, #f8f6f0 100%);
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #6b5b73;
}

.blog-date {
    background: #6b5b73;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.blog-category {
    background: #d4af37;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 500;
}

.blog-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #34201e;
    line-height: 1.2;
    margin-bottom: 20px;
}

.blog-author {
    display: flex;
    gap: 10px;
    align-items: center;
    color: #6b5b73;
    font-size: 14px;
}

.blog-source {
    font-style: italic;
    color: #8a7a82;
}

.blog-content {
    padding: 40px;
    line-height: 1.8;
    color: #34201e;
}

.blog-content .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #6b5b73;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f6f0;
    border-left: 4px solid #d4af37;
    border-radius: 0 8px 8px 0;
}

.blog-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #34201e;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e8e0d0;
}

.blog-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #6b5b73;
    margin: 30px 0 15px;
}

.blog-content p {
    margin-bottom: 20px;
    font-size: 16px;
}

.blog-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.blog-content li {
    margin-bottom: 8px;
}

.blog-content strong {
    color: #34201e;
    font-weight: 600;
}

blockquote {
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(135deg, #f8f6f0 0%, #ede7cb 100%);
    border-left: 5px solid #d4af37;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    position: relative;
}

blockquote p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #34201e;
}

blockquote cite {
    display: block;
    font-size: 14px;
    color: #6b5b73;
    font-weight: 500;
    font-style: normal;
    text-align: right;
}

.blog-sources {
    margin: 40px 0;
    padding: 25px;
    background: #f8f6f0;
    border-radius: 10px;
    border: 1px solid #e8e0d0;
}

.blog-sources h3 {
    margin-top: 0;
    color: #34201e;
    font-size: 1.3rem;
}

.blog-sources ul {
    list-style: none;
    padding-left: 0;
}

.blog-sources li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.blog-sources li:before {
    content: "•";
    color: #d4af37;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.blog-footer {
    padding: 30px 40px 40px;
    background: #f8f6f0;
    border-top: 1px solid #e8e0d0;
}

.blog-tags {
    margin-bottom: 30px;
}

.tag {
    display: inline-block;
    background: #6b5b73;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin: 5px 8px 5px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-navigation {
    text-align: center;
}

/* Responsive Design for Blog */
@media (max-width: 768px) {
    .blog-post {
        padding: 100px 0 40px;
    }
    
    .blog-article {
        margin: 0 20px;
        border-radius: 10px;
    }
    
    .blog-header,
    .blog-content,
    .blog-footer {
        padding: 30px 25px;
    }
    
    .blog-title {
        font-size: 2rem;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-content .lead {
        font-size: 1.1rem;
        padding: 15px;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    blockquote {
        padding: 20px;
        margin: 20px 0;
    }
    
    .blog-sources {
        padding: 20px;
    }
}

/* Blog Page Specific Logo Fix */
.blog-post .navbar .nav-logo .logo-image {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
}

.blog-post .navbar .nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post .navbar .logo-text {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: var(--text-dark);
}

/* Fix contact icons distortion */

/* Contact Form Popup Modal */
.contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-modal.show {
    display: flex;
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 32, 30, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(52, 32, 30, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    animation: modalSlideIn 0.4s ease-out;
    border: 1px solid rgba(169, 201, 204, 0.2);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e8e0d0;
    background: linear-gradient(135deg, #f8f6f0 0%, #ede7cb 100%);
    border-radius: 20px 20px 0 0;
}

.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(52, 32, 30, 0.1);
    color: var(--text-dark);
}

.contact-form-modal {
    padding: 30px;
}

.contact-form-modal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-modal .form-group {
    position: relative;
    margin-bottom: 1rem;
}

.contact-form-modal .form-group input,
.contact-form-modal .form-group select,
.contact-form-modal .form-group textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e8e0d0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.contact-form-modal .form-group input:focus,
.contact-form-modal .form-group select:focus,
.contact-form-modal .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(217, 87, 55, 0.1);
}

.contact-form-modal .form-group textarea {
    padding-left: 15px;
    resize: vertical;
    min-height: 100px;
}

.contact-form-modal .form-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 14px;
    pointer-events: none;
}

.contact-form-modal .form-group textarea + .form-icon {
    top: 20px;
    transform: none;
}

.contact-form-modal .submit-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.contact-form-modal .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 87, 55, 0.3);
}

.contact-form-modal .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.contact-form-modal .success-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px;
}

.contact-form-modal .success-message.show {
    opacity: 1;
    visibility: visible;
}

.contact-form-modal .success-message i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 15px;
}

.contact-form-modal .success-message p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 5px 0;
    font-weight: 500;
}

/* Responsive Design for Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 20px 25px 15px;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .contact-form-modal {
        padding: 25px;
    }
    
    .contact-form-modal .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form-modal .form-group {
        margin-bottom: 1rem;
    }
}

/* Email Popup Modal Styles */
.email-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.email-modal.show {
    display: flex;
    opacity: 1;
}

.email-modal .modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 32, 30, 0.8);
    backdrop-filter: blur(5px);
}

.email-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(52, 32, 30, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
    animation: modalSlideIn 0.4s ease-out;
    border: 1px solid rgba(169, 201, 204, 0.2);
}

.email-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e8e0d0;
    background: linear-gradient(135deg, #f8f6f0 0%, #ede7cb 100%);
    border-radius: 20px 20px 0 0;
}

.email-modal .modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.3;
}

.email-modal .modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.email-modal .modal-close:hover {
    background: rgba(52, 32, 30, 0.1);
    color: var(--text-dark);
}

.email-form-modal {
    padding: 30px;
}

.email-form-modal .form-group {
    position: relative;
    margin-bottom: 20px;
}

.email-form-modal .form-group input {
    width: 100%;
    padding: 15px 15px 15px 50px;
    border: 2px solid #e8e0d0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.email-form-modal .form-group input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(217, 87, 55, 0.1);
}

.email-form-modal .form-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 16px;
    pointer-events: none;
}

.email-form-modal .submit-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.email-form-modal .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(217, 87, 55, 0.3);
}

.email-form-modal .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.email-form-modal .success-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px;
}

.email-form-modal .success-message.show {
    opacity: 1;
    visibility: visible;
}

.email-form-modal .success-message i {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 15px;
}

.email-form-modal .success-message p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 5px 0;
    font-weight: 500;
}

/* Responsive Design for Email Modal */
@media (max-width: 768px) {
    .email-modal .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 95vh;
    }
    
    .email-modal .modal-header {
        padding: 20px 25px 15px;
    }
    
    .email-modal .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .email-form-modal {
        padding: 25px;
    }
}

/* Hero Properties Section */
.hero-properties {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.property-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(52, 32, 30, 0.1);
    overflow: hidden;
    background: #f8f6f0;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    /* max-width: 280px; */
    width: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(52, 32, 30, 0.15);
}

.property-card .property-image {
    height: 100%;
    overflow: hidden;
    background: #f8f6f0;
    position: relative;
}

.property-card .property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-card .property-info {
    padding: 1.5rem;
    padding: 1.5rem;
    text-align: center;
}

.property-card .property-info h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.5rem 0;
}

.property-card .property-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
}

.property-card .property-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--orange);
    background: linear-gradient(135deg, var(--orange), #e67e22);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Design for Hero Properties */
@media (max-width: 768px) {
    .hero-properties {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .property-card {
    height: 500px;
        max-width: 100%;
        width: 100%;
    }
    
    .property-card .property-image {
        height: 200px;
    }
}







/* Featured Properties - Match Blog Section Styling */
.featured-properties {
    background: var(--white);
    padding: 4rem 0;
}

.featured-properties h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    position: relative;
}

.featured-properties h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.property-card {
    height: 400px;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    background: #f8f6f0;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.property-image {
    height: 200px;
    overflow: hidden;
}

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

.property-info {
    padding: 1.5rem;
    padding: 1.5rem;
}

.property-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.property-location {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.property-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.property-specs span {
    color: var(--text-light);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.property-specs i {
    color: var(--orange);
    font-size: 0.8rem;
}

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

.property-btn {
    background: var(--orange);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.property-btn:hover {
    background: var(--text-dark);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .featured-properties {
        padding: 3rem 0;
    }
    
    .featured-properties h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .properties-grid {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .property-info {
    padding: 1.5rem;
        padding: 1.25rem;
    }
}
