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

:root {
    /* Refined Premium Palette */
    --bg-color: #ffffff;
    --bg-secondary: #f8fafc;
    --text-primary: #0f172a;
    --text-muted: #475569;
    --border-color: #e2e8f0;
    
    /* Warmer, High-trust Orange/Copper */
    --accent-color: #ea580c; 
    --accent-hover: #c2410c; 
    --accent-light: #ffedd5; 
    
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    
    --font-family: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Slightly softer radius for premium feel */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    
    /* Smoother diffused shadows */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 10px 10px -5px rgba(15, 23, 42, 0.04);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --section-spacing-y: 6rem;
}

@media (max-width: 768px) {
    :root {
        --section-spacing-y: 4rem;
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: var(--font-family); 
    background-color: var(--bg-color); 
    color: var(--text-primary); 
    line-height: 1.6; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}
a { color: var(--text-primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent-color); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Layout Utilities */
.container { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; width: 100%; }
.section { padding: var(--section-spacing-y) 0; }
.section-light { background-color: var(--bg-secondary); }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-column { display: flex; flex-direction: column; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* Grid System - Responsive First */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
    .grid-2, .grid-3, .grid-4 { gap: 1.5rem; }
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); } /* 2 on tablet */
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .grid { gap: 2.5rem; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Sidebar & Layout */
.page-with-sidebar, .page-with-right-sidebar { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 992px) {
    .page-with-sidebar, .page-with-right-sidebar { flex-direction: row; align-items: flex-start; gap: 4rem; }
    .sidebar { width: 300px; flex-shrink: 0; position: sticky; top: 110px; }
    .right-sidebar { width: 360px; flex-shrink: 0; position: sticky; top: 110px; }
    .main-content { flex-grow: 1; min-width: 0; }
}

/* Refined Sidebar Widgets */
.sidebar-widget { 
    background: #ffffff; 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius-lg); 
    padding: 1.75rem; 
    margin-bottom: 2rem; 
    box-shadow: var(--shadow-md); 
}
.sidebar-widget-title { 
    font-size: 1.15rem; 
    font-weight: 600; 
    margin-bottom: 1.25rem; 
    padding-bottom: 0.75rem; 
    border-bottom: 2px solid var(--gray-100); 
    color: var(--text-primary); 
    letter-spacing: -0.01em;
}
.filter-list { list-style: none; }
.filter-label { 
    display: flex; align-items: center; gap: 0.75rem; cursor: pointer; 
    color: var(--text-muted); font-size: 0.95rem; margin-bottom: 0.75rem; 
    transition: var(--transition);
}
.filter-label:hover { color: var(--text-primary); }
.filter-label input { accent-color: var(--accent-color); width: 1.1rem; height: 1.1rem; cursor: pointer; }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; margin-bottom: 1rem; color: var(--text-primary); letter-spacing: -0.025em; }
h1 { font-size: 2.5rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}
h1 span, h2 span, h3 span { color: var(--accent-color); }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.section-title { margin-bottom: 4rem; }

/* Refined Buttons */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; 
    padding: 0.85rem 2rem; font-weight: 600; border-radius: var(--radius-md); 
    border: 1px solid transparent; cursor: pointer; transition: var(--transition); 
    font-size: 1.05rem; text-align: center; letter-spacing: -0.01em; 
}
.btn:active { transform: scale(0.98); }
.btn-primary { 
    background-color: var(--accent-color); color: #ffffff !important; 
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25); 
}
.btn-primary:hover { 
    background-color: var(--accent-hover); 
    box-shadow: 0 6px 15px rgba(234, 88, 12, 0.35); 
    transform: translateY(-2px); 
}
.btn-secondary { 
    background-color: var(--accent-light); color: var(--accent-hover) !important; 
}
.btn-secondary:hover { 
    background-color: #ffd9ad; transform: translateY(-2px); 
}
.btn-outline { 
    background-color: transparent; border-color: var(--border-color); color: var(--text-primary) !important; 
}
.btn-outline:hover { 
    background-color: var(--gray-50); border-color: var(--text-muted); transform: translateY(-2px); 
}
.btn-whatsapp { 
    background-color: #25D366; color: #ffffff !important; 
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.25); 
    display: inline-flex; align-items: center; gap: 0.5rem; justify-content: center; 
}
.btn-whatsapp:hover { 
    background-color: #128C7E; box-shadow: 0 6px 15px rgba(37, 211, 102, 0.35); 
    transform: translateY(-2px); 
}
.btn-block { display: flex; width: 100%; }

/* Refined Form Styling */
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-label { display: block; margin-bottom: 0.6rem; font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.form-control { 
    width: 100%; padding: 0.95rem 1.25rem; font-family: var(--font-family); 
    font-size: 1rem; color: var(--text-primary); background-color: #ffffff; 
    border: 1px solid var(--border-color); border-radius: var(--radius-md); 
    transition: var(--transition); box-shadow: var(--shadow-sm);
}
.form-control::placeholder { color: #94a3b8; }
.form-control:focus { 
    outline: none; border-color: var(--accent-color); 
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15); 
}
select.form-control { 
    appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E"); 
    background-repeat: no-repeat; background-position: right 1.25rem center; background-size: 1.25rem; padding-right: 3rem; 
}

/* Premium Property Card */
.property-card { 
    background-color: #ffffff; border-radius: var(--radius-lg); 
    border: 1px solid var(--gray-100); overflow: hidden; 
    transition: var(--transition); display: flex; flex-direction: column; 
    box-shadow: var(--shadow-md); 
}
.property-card:hover { 
    box-shadow: var(--shadow-xl); border-color: var(--border-color); transform: translateY(-6px); 
}
.property-card-image { position: relative; padding-top: 66.66%; overflow: hidden; }
.property-card-image img { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
}
.property-card:hover .property-card-image img { transform: scale(1.08); }
.property-badge { 
    position: absolute; top: 1.25rem; left: 1.25rem; 
    background-color: rgba(255, 255, 255, 0.95); color: var(--text-primary); 
    padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.85rem; 
    font-weight: 600; box-shadow: var(--shadow-md); z-index: 10; 
    backdrop-filter: blur(8px); display: flex; align-items: center;
}
.property-card-content { padding: 1.75rem; flex-grow: 1; display: flex; flex-direction: column; }
.property-price { font-size: 1.6rem; font-weight: 800; color: var(--accent-color); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.property-title { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--text-primary); line-height: 1.4; }
.property-location { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }

/* Sticky Lead Panel */
.sticky-lead-panel { 
    background: #ffffff; border: 1px solid var(--gray-200); 
    border-radius: var(--radius-lg); padding: 2.5rem; 
    box-shadow: var(--shadow-xl); text-align: center; 
}
.sticky-lead-panel h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }

/* Header & Dropdown Alignment */
.site-header { 
    background-color: rgba(255, 255, 255, 0.98); 
    backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--gray-200); 
    position: sticky; top: 0; z-index: 50; 
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.site-header .container { height: 90px; }
.brand { font-size: 1.85rem; font-weight: 800; color: var(--text-primary) !important; letter-spacing: -0.03em; display: flex; align-items: center; gap: 0.5rem; }
.brand-icon { color: var(--accent-color); }
.brand span { color: var(--accent-color); }
.nav-links { display: flex; gap: 2.25rem; align-items: center; }
.nav-link { color: var(--text-muted); font-weight: 600; padding: 0.5rem 0; position: relative; transition: color 0.2s; font-size: 1.05rem; }
.nav-link:hover, .nav-link.active { color: var(--accent-color); }

/* Dropdown */
.nav-dropdown { position: relative; display: inline-block; }
.dropdown-trigger { display: flex; align-items: center; gap: 0.25rem; cursor: pointer; }
.dropdown-menu { 
    display: none; position: absolute; top: 100%; left: 0; 
    background-color: #ffffff; min-width: 240px; 
    box-shadow: var(--shadow-xl); border: 1px solid var(--gray-100); 
    border-radius: var(--radius-md); padding: 0.75rem 0; z-index: 100; 
}
.nav-dropdown:hover .dropdown-menu { display: block; animation: fadeIn 0.25s ease forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-menu a { display: block; padding: 0.85rem 1.75rem; color: var(--text-muted); font-weight: 500; transition: all 0.2s; }
.dropdown-menu a:hover { background-color: var(--gray-50); color: var(--accent-color); padding-left: 2rem; }

/* Enhanced Footer */
.site-footer { 
    background-color: #0f172a; 
    color: #cbd5e1;
    padding: 6rem 0 2rem; 
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; margin-bottom: 4rem; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-widget h3 { font-size: 1.25rem; margin-bottom: 2rem; color: #ffffff; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { color: #94a3b8; transition: color 0.2s; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); text-align: center; color: #64748b; font-size: 0.95rem; }

/* Specific Shared Content */
.gallery-container { margin-bottom: 3rem; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.gallery-main { width: 100%; height: 50vh; min-height: 450px; max-height: 650px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.75rem; margin-top: 0.75rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: none; }
.gallery-thumb { width: 140px; height: 90px; object-fit: cover; cursor: pointer; border-radius: var(--radius-sm); opacity: 0.6; transition: var(--transition); flex-shrink: 0; border: 2px solid transparent; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--accent-color); }

.detail-badge { display: inline-block; padding: 0.4rem 1.2rem; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 1rem; letter-spacing: 0.02em; }
.badge-success { background-color: #dcfce7; color: #166534; }
.badge-accent { background-color: var(--accent-light); color: var(--accent-hover); }

/* Detail Lists and Amenities */
.detail-list { 
    display: flex; flex-direction: column; gap: 1rem; 
    background: #ffffff; padding: 2.5rem; border-radius: var(--radius-lg); 
    border: 1px solid var(--gray-200); margin-bottom: 3rem; box-shadow: var(--shadow-md); 
}
.detail-item { display: flex; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px dashed var(--gray-200); }
.detail-item:last-child { padding-bottom: 0; border-bottom: none; }
.detail-item .label { color: var(--text-muted); font-weight: 500; font-size: 1.05rem; }
.detail-item .value { font-weight: 600; color: var(--text-primary); font-size: 1.05rem; text-align: right; }

.amenities-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 4rem; }
@media (min-width: 640px) { .amenities-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .amenities-grid { grid-template-columns: repeat(3, 1fr); } }
.amenity-item { display: flex; align-items: center; gap: 1rem; color: var(--text-primary); font-weight: 500; font-size: 1.05rem; }
.amenity-icon { color: var(--accent-color); flex-shrink: 0; background: var(--accent-light); padding: 0.5rem; border-radius: 50%; width: 44px; height: 44px; }

/* Hero Slider Utilities */
.hero-slider { position: relative; min-height: 85vh; display: flex; align-items: center; background-size: cover; background-position: center; color: #fff; padding: 6rem 0; background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80'); }
.hero-slider::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 100%); }
.hero-slider .container { position: relative; z-index: 2; }

/* Carousel Track (City cards) */
.carousel-track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 2rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel-track::-webkit-scrollbar { display: none; }
.city-card { scroll-snap-align: start; min-width: 280px; }

/* Mobile Exclusives */
.mobile-menu-btn { display: none; background: transparent; border: none; color: var(--text-primary); cursor: pointer; }
@media (max-width: 991px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
}
/* Hero Animation Refinements */
.hero-slide.active h1 { animation: fadeInUp 0.8s ease forwards; }
.hero-slide.active p { animation: fadeInUp 0.8s ease forwards 0.2s; opacity: 0; }
.hero-slide.active .flex { animation: fadeInUp 0.8s ease forwards 0.4s; opacity: 0; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 02. Filter Bar Styles */
.filter-bar-container { margin-top: -50px; position: relative; z-index: 10; padding-bottom: 2rem; }
.filter-bar-wrapper { 
    background: #fff; padding: 2rem; border-radius: var(--radius-xl); 
    box-shadow: var(--shadow-xl); display: grid; grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; align-items: flex-end; border: 1px solid var(--gray-100);
}
.filter-item { display: flex; flex-direction: column; gap: 0.5rem; }
.filter-item label { font-size: 0.8rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.filter-item select { 
    padding: 0.75rem; border: 1px solid var(--gray-200); border-radius: var(--radius-md); 
    font-family: var(--font-family); font-weight: 500; appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 0.75rem center; background-size: 1rem;
}
.filter-submit { height: 46px; width: 100%; font-size: 1rem; }

@media (max-width: 991px) {
    .filter-bar-wrapper { grid-template-columns: 1fr 1fr; }
    .filter-bar-container { margin-top: -20px; }
}
@media (max-width: 640px) {
    .filter-bar-wrapper { grid-template-columns: 1fr; }
}

/* 04. Refined Feature Card */
.feature-card { 
    display: flex; gap: 1.5rem; align-items: flex-start; padding: 2.5rem; 
    background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--gray-100);
    transition: var(--transition);
}
.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent-light); }
.feature-icon { 
    width: 60px; height: 60px; background: var(--accent-light); border-radius: 12px; 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--accent-color);
}
.feature-icon img { width: 32px; height: 32px; object-fit: contain; }
.feature-content h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.feature-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* 05. How It Works */
.how-it-works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 2rem; }
.step-card { text-align: center; position: relative; }
.step-number { 
    width: 60px; height: 60px; background: #fff; border: 2px solid var(--accent-color); 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 1.5rem; font-weight: 800; color: var(--accent-color); font-size: 1.25rem;
    box-shadow: 4px 4px 0 var(--accent-light);
}
.step-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

@media (max-width: 768px) {
    .how-it-works-grid { grid-template-columns: 1fr; gap: 4rem; }
}

/* 06. Trust Stats */
.stats-wrapper { padding: 4rem 0; }
.stat-item { padding: 1rem; }
.stat-value { font-size: 3.5rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.stat-title { font-size: 1.1rem; color: #cbd5e1; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; }

/* 07. Lead Section */
.lead-box { 
    background: var(--text-primary); border-radius: var(--radius-xl); padding: 5rem 3rem; 
    text-align: center; position: relative; overflow: hidden;
}
.lead-box::before { 
    content: ''; position: absolute; top: 0; right: 0; width: 300px; height: 300px; 
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%); 
    opacity: 0.1; transform: translate(30%, -30%);
}
.lead-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.lead-content h2 { color: #fff; font-size: 2.5rem; margin-bottom: 1rem; }
.lead-content p { color: #94a3b8; font-size: 1.15rem; margin-bottom: 3rem; }
.lead-form-grid { 
    max-width: 800px; margin: 0 auto; 
}
.lead-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: #fff;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: var(--transition);
}
.lead-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.1);
}

@media (max-width: 768px) {
    .lead-form-grid .grid-3 { grid-template-columns: 1fr; }
}

/* 10. Logo Slider Styles */
.logo-slider { overflow: hidden; white-space: nowrap; position: relative; padding: 1rem 0; }
.logo-slider::before, .logo-slider::after {
    content: ""; position: absolute; top: 0; width: 100px; height: 100%; z-index: 2;
}
.logo-slider::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.logo-slider::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
.logo-track { display: inline-flex; animation: logoScroll 30s linear infinite; }
.logo-slide { width: 200px; padding: 0 2rem; display: flex; align-items: center; justify-content: center; }
.logo-slide img { 
    max-width: 140px; max-height: 60px; filter: grayscale(1); opacity: 0.5; 
    transition: var(--transition); object-fit: contain;
}
.logo-slide:hover img { filter: grayscale(0); opacity: 1; transform: scale(1.1); }
@keyframes logoScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* SEO Section */
.seo-content-wrapper { max-width: 1000px; margin: 0 auto; }
.seo-content-wrapper h2 { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 2rem; border-left: 4px solid var(--accent-color); padding-left: 1.5rem; }
.seo-text { color: var(--text-muted); font-size: 1rem; line-height: 1.8; text-align: justify; }
