/* ==========================================================================
   BUSINESS 5: REAL ESTATE (ARCHITECTURE 1, VIBRANT THEME)
   ========================================================================== */

:root {
    --primary: #0f172a;        /* Slate Navy */
    --brand-primary: #7c3aed;  /* Vibrant Violet */
    --brand-secondary: #06b6d4;/* Vibrant Cyan */
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography Limits Enforced */
h1, h2, h3, h4, .logo { color: var(--primary); font-weight: 700; line-height: 1.2; }
h2 { font-size: clamp(2rem, 3vw, 2.4rem); margin-bottom: 15px; } 

.container { max-width: 1150px; margin: 0 auto; padding: 0 5%; }
img { max-width: 100%; display: block; border-radius: 16px; }
a { text-decoration: none; }

/* Utilities & Tight Spacing (60px-80px max) */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.vibrant-text { color: var(--brand-primary); }
.bg-light { background-color: var(--bg-light); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.flex-between { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.flex-center { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 20px; }
.align-center { align-items: center; }
.eyebrow { font-weight: 800; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 10px; }
.font-sm { font-size: 0.9rem; }
.mb-4 { margin-bottom: 30px; } .mt-2 { margin-top: 10px; } .mt-4 { margin-top: 30px; } .pt-3 { padding-top: 20px; }

/* Banner */
.josef-preview-banner { background: var(--bg-light); color: var(--text-main); text-align: center; padding: 8px; font-size: 13px; border-bottom: 1px solid var(--border); }

/* =========================================================
   MASTER PROTOCOL: ARCHITECTURE 1 (SCULPTED FLOATING BAR)
   ========================================================= */
.header-1-wrapper { padding: 20px 0; position: sticky; top: 0; z-index: 100; }
.header-1 {
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px);
    border-radius: 100px; padding: 10px 15px 10px 30px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.08); 
    display: flex; justify-content: space-between; align-items: center;
    border: 1px solid rgba(124, 58, 237, 0.1);
}
.logo { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.5px; }

.header-1-nav { background: var(--bg-light); padding: 12px 30px; border-radius: 50px; display: flex; gap: 30px; }
.nav-link { color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover { color: var(--brand-primary); }

.btn-primary { 
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); 
    color: white; padding: 14px 28px; border-radius: 50px; font-weight: 700; 
    transition: all 0.3s; display: inline-block; box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3); 
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4); }
.btn-outline { border: 2px solid var(--border); color: var(--primary); padding: 12px 24px; border-radius: 50px; font-weight: 700; transition: all 0.2s; }
.btn-outline:hover { border-color: var(--brand-primary); color: var(--brand-primary); }

/* 1. Hero Section (Image Background with Search) */
.estate-hero { position: relative; padding: 120px 0; display: flex; align-items: center; justify-content: center; min-height: 80vh; margin-top: -100px; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.bg-img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(15,23,42,0.4)); }

.hero-content { position: relative; z-index: 10; color: white; text-align: center; max-width: 800px; }
.hero-content h1 { color: white; font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: 20px; letter-spacing: -1px; }
.hero-content p { font-size: 1.15rem; color: rgba(255,255,255,0.9); margin-bottom: 40px; }
.vibrant-badge { display: inline-block; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); color: var(--brand-secondary); padding: 8px 16px; border-radius: 50px; font-weight: 700; font-size: 0.85rem; margin-bottom: 20px; border: 1px solid rgba(6,182,212,0.3); }

/* Property Search Bar */
.property-search { background: white; padding: 10px; border-radius: 100px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.search-input { display: flex; align-items: center; gap: 10px; padding: 0 20px; flex: 1; border-right: 1px solid var(--border); }
.search-input:last-of-type { border-right: none; }
.search-input i { color: var(--brand-primary); font-size: 1.2rem; }
.search-input input, .search-input select { border: none; outline: none; font-family: 'Outfit', sans-serif; font-size: 1rem; color: var(--primary); width: 100%; background: transparent; }
.btn-search { background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: white; border: none; padding: 15px 35px; border-radius: 50px; font-weight: 700; font-family: 'Outfit', sans-serif; font-size: 1rem; cursor: pointer; transition: transform 0.2s; display: flex; align-items: center; gap: 8px; }
.btn-search:hover { transform: translateY(-2px); }

/* 2. Trust Bar */
.trust-bar { padding: 30px 0; }
.trust-text { font-weight: 700; color: var(--text-muted); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; }
.trust-logos { display: flex; gap: 40px; flex-wrap: wrap; }
.pub-logo { font-size: 1.5rem; font-weight: 900; color: #cbd5e1; font-family: serif; letter-spacing: 1px; }

/* 3. About Section */
.about-section { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-content p { font-size: 1.05rem; margin-bottom: 30px; }
.stat-flex { display: flex; gap: 40px; }
.stat-box h3 { font-size: 2.2rem; margin-bottom: 5px; }
.stat-box p { color: var(--primary); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin: 0; }

/* 4. Featured Properties */
.properties-section { padding: 80px 0; }
.property-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.prop-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: transform 0.3s; }
.prop-card:hover { transform: translateY(-5px); border-color: var(--brand-primary); }

/* CSS Placeholders for properties so you don't need 3 more AI images instantly */
.prop-img-placeholder { height: 240px; position: relative; padding: 15px; }
.bg-gradient-1 { background: linear-gradient(45deg, #334155, #0f172a); }
.bg-gradient-2 { background: linear-gradient(45deg, #475569, #1e293b); }
.bg-gradient-3 { background: linear-gradient(45deg, #64748b, #334155); }

.status-tag { background: var(--brand-primary); color: white; padding: 6px 12px; border-radius: 6px; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.prop-details { padding: 25px; }
.price { font-size: 1.8rem; color: var(--primary); margin-bottom: 5px; }
.address { color: var(--text-muted); font-size: 1rem; margin-bottom: 15px; }
.prop-metrics { display: flex; gap: 15px; border-top: 1px solid var(--border); padding-top: 15px; color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.prop-metrics span { display: flex; align-items: center; gap: 5px; }
.prop-metrics i { color: var(--brand-secondary); }

/* 5. Services Section */
.services-section { padding: 80px 0; }
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.service-box { background: var(--bg-light); padding: 40px 30px; border-radius: 16px; text-align: center; border: 1px solid var(--border); transition: all 0.3s; }
.service-box:hover { background: white; box-shadow: 0 15px 30px rgba(124, 58, 237, 0.08); border-color: var(--brand-secondary); }
.icon-wrap { width: 60px; height: 60px; background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 20px auto; }

/* 6. Reviews Section */
.review-section { padding: 80px 0; }
.review-card { max-width: 800px; margin: 0 auto; background: white; padding: 40px; border-radius: 16px; box-shadow: 0 10px 30px rgba(124, 58, 237, 0.05); border: 1px solid var(--border); }
.review-card .stars { color: var(--brand-secondary); font-size: 1.5rem; margin-bottom: 20px; }
.review-card blockquote { font-size: 1.2rem; font-style: italic; color: var(--primary); margin-bottom: 20px; }

/* 7. Footer */
.vibrant-footer { padding: 60px 0 20px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-links a { display: block; color: var(--text-muted); margin-bottom: 10px; font-weight: 500; transition: color 0.2s; }
.footer-links a:hover { color: var(--brand-primary); }
.footer-contact p { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--text-muted); font-weight: 500; }
.socials a { color: var(--text-muted); font-size: 1.4rem; margin-left: 15px; transition: color 0.2s; }
.socials a:hover { color: var(--brand-primary); }

/* Animations */
.fade-in-up { animation: fadeInUp 0.8s ease forwards; opacity: 0; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Mobile */
@media (max-width: 992px) {
    .hide-mobile { display: none; }
    .property-search { flex-direction: column; border-radius: 16px; gap: 15px; background: transparent; box-shadow: none; padding: 0; }
    .search-input { background: white; width: 100%; border-right: none; padding: 15px; border-radius: 8px; }
    .btn-search { width: 100%; justify-content: center; border-radius: 8px; }
    .about-grid, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .stat-flex { flex-direction: column; gap: 20px; }
}