/* =========================================
   CSS Variables
   ========================================= */
:root {
    --brand-navy: #1B3A6B;
    --brand-navy-dark: #122A52;
    --brand-green: #1E6B3C;
    --brand-gold: #C9A84C;
    --brand-gold-light: #E8C96A;
    --brand-steel: #2E7DB5;
    --brand-bg: #F5F7FA;
    --brand-dark: #1A1A2E;
    --brand-text: #1C2333;
    --brand-muted: #6B7280;
    --brand-border: #E2E8F0;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--brand-text);
    background-color: var(--brand-bg);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.mt-4 {
    margin-top: 1rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--brand-gold);
    color: var(--brand-navy);
}

.btn-primary:hover {
    background-color: var(--brand-gold-light);
}

.btn-outline-light {
    background-color: transparent;
    border: 1px solid white;
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255,255,255,0.1);
}

/* =========================================
   Navbar (Mobile First)
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
}

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

.nav-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand-name {
    font-family: var(--font-heading);
    color: var(--brand-navy);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.logo-placeholder {
    font-family: var(--font-heading);
    color: var(--brand-navy);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.tagline {
    font-size: 0.8rem;
    color: var(--brand-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.rc-number {
    font-size: 0.7rem;
    color: var(--brand-muted);
    font-weight: 600;
    margin-top: 1px;
}

/* Hide desktop elements on mobile */
.desktop-only {
    display: none;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--brand-navy);
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 100%; /* Hidden by default off-screen */
    width: 100%;
    height: 100vh;
    background-color: var(--brand-navy);
    z-index: 2000;
    transition: left 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-menu-container {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.mobile-nav-links {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-link {
    color: white;
    font-family: var(--font-heading);
    font-size: 2rem;
    position: relative;
    display: inline-block;
    width: fit-content;
}

.mobile-nav-link.active {
    color: var(--brand-gold);
}

.mobile-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--brand-gold);
}

.mobile-nav-actions {
    margin-top: auto; /* Push to bottom */
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--brand-dark);
    color: white;
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 5px;
    font-family: var(--font-heading);
}

.footer-tagline {
    color: var(--brand-gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-heading {
    color: var(--brand-gold);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--brand-gold);
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.footer-contact-item i {
    color: var(--brand-gold);
    margin-top: 4px;
}

.footer-contact-item a:hover {
    color: var(--brand-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
}

.copyright {
    color: var(--brand-muted);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.05);
    color: white;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--brand-gold);
    color: var(--brand-navy);
}

/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--brand-green);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 100;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0,0,0,0.4);
}

/* =========================================
   Utility Classes
   ========================================= */
.section-padding { padding: 80px 0; }
.text-center { text-align: center; }
.text-white { color: white; }
.w-100 { width: 100%; display: block; text-align: center; }
.mt-5 { margin-top: 3rem; }
.section-title {
    font-size: 2.5rem;
    color: var(--brand-navy);
    margin-bottom: 3rem;
    position: relative;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--brand-gold);
    margin-top: 15px;
}
.text-center.section-title::after { margin: 15px auto 0; }
.text-white.section-title { color: white !important; }

.btn-navy { background-color: var(--brand-navy); color: white; }
.btn-navy:hover { background-color: var(--brand-navy-dark); color: white; }
.btn-outline-navy { background-color: transparent; border: 1px solid var(--brand-navy); color: var(--brand-navy); }
.btn-outline-navy:hover { background-color: var(--brand-navy); color: white; }
.btn-outline-white-cta { background-color: transparent; border: 2px solid white; color: white; font-weight: 600; }
.btn-outline-white-cta:hover { background-color: white; color: var(--brand-gold); }

/* =========================================
   1. Hero Section
   ========================================= */
.hero-section {
    min-height: 90vh;
    background: linear-gradient(rgba(27, 58, 107, 0.85), rgba(27, 58, 107, 0.85)), url('images/hero_bg_mansion.png') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px; /* Offset for fixed navbar */
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.1;
    background-image: linear-gradient(45deg, var(--brand-navy-dark) 25%, transparent 25%, transparent 75%, var(--brand-navy-dark) 75%, var(--brand-navy-dark)), 
                      linear-gradient(45deg, var(--brand-navy-dark) 25%, transparent 25%, transparent 75%, var(--brand-navy-dark) 75%, var(--brand-navy-dark));
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px 40px;
}
.hero-title {
    color: white;
    font-size: 32px;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-family: var(--font-body);
    color: var(--brand-gold);
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 500;
}
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.trust-strip {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 30px 20px;
    background-color: rgba(255,255,255,0.05);
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: auto;
}
.trust-item {
    text-align: center;
    color: white;
}
.trust-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-gold);
    font-family: var(--font-heading);
}
.trust-label {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* =========================================
   2. Services Overview
   ========================================= */
.services-section {
    background-color: white;
}
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.service-card {
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--brand-border);
    transition: var(--transition);
    text-align: left;
}
.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transform: translateY(-5px);
    border-color: var(--brand-gold-light);
}
.service-icon {
    font-size: 2.5rem;
    color: var(--brand-navy);
    margin-bottom: 20px;
}
.service-title {
    color: var(--brand-navy);
    margin-bottom: 15px;
    font-size: 1.25rem;
}
.service-desc {
    color: var(--brand-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}
.service-link {
    color: var(--brand-gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.service-link:hover {
    color: var(--brand-navy);
}

/* =========================================
   3. Featured Properties
   ========================================= */
.properties-section {
    background-color: var(--brand-bg);
}
.properties-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}
.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.property-image-placeholder {
    height: 240px;
    background-color: var(--brand-navy-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.property-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
}
.property-badge.sale { background-color: var(--brand-green); }
.property-badge.rent { background-color: var(--brand-steel); }
.property-content { padding: 25px; }
.property-price {
    color: var(--brand-gold);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: var(--font-heading);
}
.property-title {
    font-size: 1.2rem;
    color: var(--brand-navy);
    margin-bottom: 10px;
}
.property-location {
    color: var(--brand-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.property-features {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
    padding: 15px 0;
    margin-bottom: 20px;
    font-size: 0.9rem;
    color: var(--brand-muted);
}
.property-features span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.property-features i { color: var(--brand-navy); }
.view-all-link {
    color: var(--brand-navy);
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.view-all-link:hover { color: var(--brand-gold); }

/* =========================================
   4. Why Choose Us
   ========================================= */
.why-us-section {
    background-color: white;
    position: relative;
}
.why-us-content {
    border-left: 5px solid var(--brand-navy);
    padding-left: 30px;
}
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}
.why-point {
    display: flex;
    gap: 20px;
}
.why-icon {
    color: var(--brand-gold);
    font-size: 1.5rem;
    flex-shrink: 0;
}
.why-text h4 {
    color: var(--brand-navy);
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.why-text p {
    color: var(--brand-muted);
    font-size: 0.95rem;
}

/* =========================================
   5. Testimonials
   ========================================= */
.testimonials-section {
    background-color: var(--brand-navy);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}
.testimonial-card {
    background-color: var(--brand-navy-dark);
    padding: 40px;
    border-radius: 8px;
    text-align: left;
}
.quote-icon {
    color: var(--brand-gold);
    font-size: 2rem;
    margin-bottom: 20px;
}
.testimonial-text {
    color: white;
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}
.testimonial-author h4 {
    color: var(--brand-gold);
    font-size: 1.1rem;
    margin-bottom: 5px;
}
.testimonial-author span {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* =========================================
   6. CTA Banner
   ========================================= */
.cta-banner {
    background: linear-gradient(rgba(27, 58, 107, 0.9), rgba(27, 58, 107, 0.9)), url('images/hero_bg_mansion.png') center/cover no-repeat;
    padding: 80px 20px;
}
.cta-title {
    color: var(--brand-navy);
    font-size: 2rem;
    margin-bottom: 40px;
}
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   7. Location
   ========================================= */
.location-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
}
.address-card {
    padding: 40px;
    background-color: var(--brand-navy);
    color: white;
}
.address-card h3 {
    color: var(--brand-gold);
    font-size: 1.5rem;
    margin-bottom: 25px;
}
.address-card p {
    margin-bottom: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}
.address-card i {
    color: var(--brand-gold);
    margin-top: 5px;
}
.map-container {
    min-height: 350px;
}

/* =========================================
   Global/Shared Additions
   ========================================= */
.pt-100 { padding-top: 100px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.position-relative { position: relative; }
.top-0 { top: 0; }
.right-0 { right: 0; }
.text-brand { color: var(--brand-navy); }
.text-muted { color: var(--brand-muted); }
.d-inline-block { display: inline-block; }
.d-flex-center { display: flex; align-items: center; justify-content: center; }
.placeholder-bg { background-color: var(--brand-border); width: 100%; height: 100%; }
.btn-whatsapp { background-color: var(--brand-green); color: white; border: none; }
.btn-whatsapp:hover { background-color: #17542d; color: white; }
.form-control { width: 100%; padding: 12px 15px; border: 1px solid var(--brand-border); border-radius: 4px; font-family: var(--font-body); font-size: 1rem; margin-bottom: 15px; outline: none; transition: var(--transition); }
.form-control:focus { border-color: var(--brand-gold); }

/* =========================================
   Page Header
   ========================================= */
.page-header { background: linear-gradient(rgba(27, 58, 107, 0.9), rgba(27, 58, 107, 0.9)), url('images/service_management.png') center/cover no-repeat; padding: 60px 0; border-bottom: 5px solid var(--brand-gold); }
.page-header h1 { font-size: 2.5rem; margin-bottom: 10px; }
.page-header p { opacity: 0.8; font-size: 1.1rem; color: white; }

/* =========================================
   Properties Listing Layout
   ========================================= */
.layout-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Sidebar Filters */
.sidebar-filters {
    background: white;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    padding: 25px;
    height: fit-content;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--brand-border);
}
.close-btn { background: none; border: none; font-size: 1.5rem; color: var(--brand-navy); cursor: pointer; }
.filter-widget { margin-bottom: 25px; }
.filter-widget:last-child { margin-bottom: 0; }
.widget-title { display: block; font-weight: 600; color: var(--brand-navy); margin-bottom: 12px; font-size: 1.05rem; }

.search-box { position: relative; }
.search-box i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--brand-muted); }
.search-box input { width: 100%; padding: 12px 15px 12px 40px; border: 1px solid var(--brand-border); border-radius: 4px; font-family: var(--font-body); outline: none; transition: var(--transition); }
.search-box input:focus { border-color: var(--brand-gold); }

.checkbox-group, .radio-group { display: flex; flex-direction: column; gap: 10px; }
.check-item, .radio-item { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--brand-text); font-size: 0.95rem; }
.check-item input, .radio-item input { accent-color: var(--brand-gold); cursor: pointer; width: 16px; height: 16px; }

.price-slider-placeholder { padding-top: 10px; }
.slider-track { height: 6px; background-color: var(--brand-border); border-radius: 3px; position: relative; margin-bottom: 15px; }
.slider-progress { position: absolute; left: 20%; right: 30%; top: 0; bottom: 0; background-color: var(--brand-navy); border-radius: 3px; }
.slider-progress::before, .slider-progress::after { content:''; position: absolute; width:16px; height:16px; background:var(--brand-gold); border-radius:50%; top:50%; transform:translateY(-50%); cursor:pointer; }
.slider-progress::before { left: -8px; }
.slider-progress::after { right: -8px; }
.slider-labels { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--brand-muted); font-weight: 500; }

.pill-group { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { padding: 6px 14px; border: 1px solid var(--brand-border); background: transparent; border-radius: 20px; font-family: var(--font-body); font-size: 0.9rem; cursor: pointer; transition: var(--transition); color: var(--brand-text); }
.pill:hover { border-color: var(--brand-navy); }
.pill.active { background: var(--brand-navy); color: white; border-color: var(--brand-navy); }

.filter-buttons { margin-top: 30px; display: flex; flex-direction: column; gap: 15px; }
.clear-link { font-size: 0.95rem; color: var(--brand-muted); text-decoration: underline; transition: var(--transition); display: block; }
.clear-link:hover { color: var(--brand-gold); }

/* Mobile sidebar hidden state */
@media (max-width: 1023px) {
    .sidebar-filters {
        position: fixed; top: 0; left: -100%; width: 300px; height: 100vh; overflow-y: auto;
        z-index: 2000; border-radius: 0; border: none; box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        transition: left 0.3s ease;
    }
    .sidebar-filters.active { left: 0; }
}

/* Main Grid Area */
.main-content { flex: 1; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding: 15px; background: white; border-radius: 8px; border: 1px solid var(--brand-border); }
.results-count { font-size: 1.05rem; color: var(--brand-text); }
.toolbar-actions { display: flex; align-items: center; gap: 20px; }
.sort-select { padding: 8px 15px; border: 1px solid var(--brand-border); border-radius: 4px; font-family: var(--font-body); outline: none; background: transparent; cursor: pointer; }
.view-toggles { display: flex; gap: 5px; }
.view-toggle { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--brand-border); background: white; color: var(--brand-muted); border-radius: 4px; cursor: pointer; transition: var(--transition); }
.view-toggle.active { background: var(--brand-navy); color: white; border-color: var(--brand-navy); }
.view-toggle:hover:not(.active) { background: var(--brand-bg); }

/* List View Mode Override */
.properties-grid.list-view-mode { display: flex; flex-direction: column; gap: 20px; }
.properties-grid.list-view-mode .property-card { display: flex; flex-direction: row; align-items: stretch; }
.properties-grid.list-view-mode .property-image-placeholder { width: 300px; height: auto; min-height: 220px; flex-shrink: 0; }
.properties-grid.list-view-mode .property-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.properties-grid.list-view-mode .btn { margin-top: auto; }
@media (max-width: 767px) {
    .properties-grid.list-view-mode .property-card { flex-direction: column; }
    .properties-grid.list-view-mode .property-image-placeholder { width: 100%; height: 200px; }
}

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 50px; }
.page-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 4px; border: 1px solid var(--brand-border); background: white; color: var(--brand-text); font-weight: 500; transition: var(--transition); }
.page-link:hover { background: var(--brand-bg); }
.page-link.active { background: var(--brand-navy); color: white; border-color: var(--brand-navy); }
.page-dots { color: var(--brand-muted); }

/* Property Badges specifically */
.property-badge.featured { background: var(--brand-gold); left: 20px; right: auto; }
.property-badge.short-let { background: #D97706; }

/* =========================================
   Property Detail Page
   ========================================= */
.breadcrumbs-section { padding: 20px 0; background: var(--brand-bg); border-bottom: 1px solid var(--brand-border); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 0.9rem; margin-bottom: 0;}
.breadcrumbs li { display: flex; align-items: center; }
.breadcrumbs li a { color: var(--brand-muted); }
.breadcrumbs li a:hover { color: var(--brand-navy); }
.breadcrumbs i { font-size: 0.7rem; color: var(--brand-muted); margin: 0 5px;}
.breadcrumbs .current { color: var(--brand-navy); font-weight: 500; }

.property-detail-section { background-color: white; }

/* Gallery */
.property-gallery { display: flex; flex-direction: column; gap: 15px; margin-bottom: 40px; }
.main-photo { height: 400px; border-radius: 8px; overflow: hidden; }
.thumbnail-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.thumb { height: 100px; border-radius: 8px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); }
.thumb:hover { border-color: var(--brand-gold); }

/* Detail Layout */
.property-detail-layout { display: flex; flex-direction: column; gap: 40px; }
.property-info-col { flex: 1; }
.property-sidebar-col { width: 100%; display: flex; flex-direction: column; gap: 30px; }

/* Header Info */
.property-header { border-bottom: 1px solid var(--brand-border); padding-bottom: 25px; margin-bottom: 30px; }
.detail-badges { display: flex; gap: 10px; margin-bottom: 15px; }
.property-detail-title { font-size: 2rem; color: var(--brand-navy); margin-bottom: 10px; }
.property-detail-location { font-size: 1.1rem; color: var(--brand-muted); margin-bottom: 15px; }
.property-detail-price { font-size: 2.5rem; color: var(--brand-gold); font-family: var(--font-heading); font-weight: 700; }

/* Features Bar */
.property-detail-features-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; background: var(--brand-bg); padding: 25px; border-radius: 8px; margin-bottom: 40px; }
.feature-item { display: flex; align-items: center; gap: 15px; }
.feat-icon { width: 50px; height: 50px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--brand-navy); font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.feat-text { color: var(--brand-text); font-size: 1.05rem; }

/* Content Blocks */
.property-section-block { margin-bottom: 40px; }
.property-section-block h3 { font-size: 1.5rem; color: var(--brand-navy); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--brand-border); position: relative; }
.property-section-block h3::after { content:''; position: absolute; bottom: -2px; left: 0; width: 50px; height: 2px; background: var(--brand-gold); }
.property-section-block p { color: var(--brand-text); margin-bottom: 15px; line-height: 1.8; font-size: 1.05rem; }
.features-checklist { display: grid; grid-template-columns: 1fr; gap: 15px; padding-left: 0;}
.features-checklist li { display: flex; align-items: center; gap: 10px; color: var(--brand-text); }
.features-checklist i { color: var(--brand-green); }
.detail-map { border-radius: 8px; overflow: hidden; }

/* Sticky Sidebars */
.sidebar-card { background: white; border: 1px solid var(--brand-border); border-radius: 8px; padding: 25px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); }
.sidebar-card h3 { color: var(--brand-navy); font-size: 1.3rem; margin-bottom: 20px; }
.agent-profile { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.agent-photo-placeholder { flex-shrink: 0; width: 70px; height: 70px; border-radius: 50%; background: var(--brand-navy); display: flex; align-items: center; justify-content: center; }
.agent-name { font-size: 1.1rem; color: var(--brand-navy); margin-bottom: 5px; }
.agent-title { font-size: 0.9rem; color: var(--brand-muted); }
.agent-info { flex: 1; }

/* =========================================
   Services Alternating Layout
   ========================================= */
.justify-content-center { justify-content: center; }
.mt-3 { margin-top: 1rem; }
.bg-light { background-color: var(--brand-bg); }

.layout-img-text { display: flex; flex-direction: column; gap: 40px; align-items: center; }
.service-img-col { width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.service-img-placeholder { height: 350px; background-color: var(--brand-border); width: 100%; }
.service-text-col { width: 100%; }
.service-heading { color: var(--brand-navy); font-size: 2.2rem; margin-bottom: 20px; font-family: var(--font-heading); }
.service-desc { color: var(--brand-text); font-size: 1.1rem; line-height: 1.8; margin-bottom: 25px; }
.service-features-list { display: grid; grid-template-columns: 1fr; gap: 15px; }
.service-features-list li { display: flex; align-items: flex-start; gap: 10px; color: var(--brand-navy); font-weight: 500; font-size: 1.05rem; }
.service-features-list i { color: var(--brand-gold); margin-top: 4px; }


/* =========================================
   About & Contact Pages Additions
   ========================================= */
.text-gold { color: var(--brand-gold); }
.pr-lg-5 { padding-right: 0; }

.story-img-placeholder { height: 400px; background-color: var(--brand-navy); border: 4px solid var(--brand-gold); border-radius: 8px; box-shadow: 10px 10px 0 var(--brand-gold-light); }

.ceo-card { max-width: 800px; margin: 0 auto; background: white; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); padding: 40px; display: flex; flex-direction: column; gap: 30px; align-items: center; text-align: center; }
.ceo-photo-wrap { flex-shrink: 0; }
.ceo-photo-circle { width: 150px; height: 150px; border-radius: 50%; background: var(--brand-navy); border: 3px solid var(--brand-gold); }
.ceo-info { flex: 1; }
.ceo-name { color: var(--brand-navy); font-size: 1.8rem; margin-bottom: 5px; }
.ceo-title { color: var(--brand-gold); font-size: 1.1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.ceo-bio { color: var(--brand-text); font-size: 1.05rem; line-height: 1.8; margin-bottom: 20px; }
.ceo-contact { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ceo-contact a { color: var(--brand-navy); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.ceo-contact a:hover { color: var(--brand-gold); }

.values-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
.value-card { background: white; border: 1px solid var(--brand-border); border-radius: 8px; padding: 40px 30px; text-align: center; transition: var(--transition); }
.value-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-color: var(--brand-gold); }
.value-icon { font-size: 3rem; color: var(--brand-navy); margin-bottom: 20px; }
.value-card h4 { color: var(--brand-navy); font-size: 1.4rem; margin-bottom: 15px; }
.value-card p { color: var(--brand-muted); line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
.team-card { text-align: center; }
.team-photo { width: 200px; height: 200px; margin: 0 auto 20px; background: var(--brand-navy-dark); border-radius: 8px; }
.team-card h4 { color: var(--brand-navy); font-size: 1.25rem; margin-bottom: 5px; }
.team-card p { color: var(--brand-gold); font-weight: 500; }

.stats-bar { background: var(--brand-navy); padding: 40px 0; }
.stats-bar .trust-strip { background: transparent; border: none; padding: 0; margin: 0; box-shadow: none; grid-template-columns: repeat(2, 1fr); gap: 40px; }

/* Contact Specific */
.contact-two-col { display: flex; flex-direction: column; gap: 50px; }
.contact-form-col { flex: 1; }
.contact-info-col { flex: 0 0 100%; }
.contact-info-card { background: var(--brand-navy-dark); color: white; padding: 40px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.contact-info-card h3 { color: var(--brand-gold); font-size: 1.8rem; margin-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 15px; }
.contact-info-item { display: flex; gap: 20px; margin-bottom: 25px; align-items: flex-start; }
.contact-info-item i { color: var(--brand-gold); font-size: 1.5rem; margin-top: 4px; }
.contact-info-item h4 { color: white; font-size: 1.1rem; margin-bottom: 8px; }
.contact-info-item p { color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 4px; }
.contact-info-item a { color: rgba(255,255,255,0.8); }
.contact-info-item a:hover { color: var(--brand-gold); }

.alert { padding: 15px; border-radius: 4px; margin-bottom: 20px; }
.alert-success { background-color: #d1e7dd; color: #0f5132; border: 1px solid #badbcc; }
.d-none { display: none !important; }

.full-map { display: block; width: 100%; line-height: 0; }

/* =========================================
   Media Queries
   ========================================= */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }

    .hero-title { font-size: 42px; }
    .trust-strip { grid-template-columns: repeat(4, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .properties-grid { grid-template-columns: repeat(2, 1fr); }
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }

    .property-gallery .main-photo { height: 500px; }
    .property-detail-features-bar { grid-template-columns: repeat(4, 1fr); }
    .features-checklist { grid-template-columns: repeat(2, 1fr); }

    .service-features-list { grid-template-columns: repeat(2, 1fr); }

    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-bar .trust-strip { grid-template-columns: repeat(4, 1fr); }
    .ceo-card { flex-direction: row; text-align: left; }
    .ceo-contact { flex-direction: row; gap: 20px; }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom-container {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .container {
        max-width: 1000px;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: flex;
    }

    .nav-links {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .nav-link {
        font-weight: 500;
        position: relative;
        padding-bottom: 5px;
    }

    .nav-link:hover, .nav-link.active {
        color: var(--brand-navy);
    }

    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: var(--brand-gold);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .phone-icon {
        color: var(--brand-navy);
        font-size: 1.2rem;
    }

    .phone-icon:hover {
        color: var(--brand-gold);
    }

    .hero-title { font-size: 52px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .properties-grid { grid-template-columns: repeat(3, 1fr); }
    .location-container { grid-template-columns: 1fr 2fr; }

    .layout-sidebar { flex-direction: row; align-items: flex-start; }
    .sidebar-filters { flex: 0 0 300px; position: sticky; top: 100px; }
    
    .property-detail-layout { flex-direction: row; }
    .property-info-col { flex: 1; }
    .property-sidebar-col { flex: 0 0 350px; position: sticky; top: 100px; }

    .layout-img-text { flex-direction: row; gap: 60px; }
    .layout-img-text.reverse { flex-direction: row-reverse; }
    .service-img-col, .service-text-col { flex: 1; }
    .service-img-placeholder { height: 400px; }

    .values-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-two-col { flex-direction: row; gap: 60px; }
    .contact-form-col { flex: 3; }
    .contact-info-col { flex: 2; }
    .pr-lg-5 { padding-right: 3rem; }

    .footer-container {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
