/* ================================================================
   EMLAK PRO — ThemeForest Ultra-Premium Real Estate Theme
   Inspired by: HomeID, Flavor, Flavor Dark, Flavor RE
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&display=swap');

:root {
    /* — Color System — */
    --primary: #0c1220;
    --primary-800: #101828;
    --primary-700: #162032;
    --primary-600: #1c2a40;
    --secondary: #1e3a5f;

    --accent: #10b981;
    --accent-hover: #34d399;
    --accent-light: #a7f3d0;
    --accent-dark: #059669;
    --accent-glow: rgba(16,185,129,0.2);
    --accent-gradient: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);

    /* — Surface & Text — */
    --bg: #f7f8fb;
    --bg-alt: #eef1f6;
    --white: #ffffff;
    --text: #0d1b2a;
    --text-secondary: #475569;
    --text-muted: #8896a6;
    --text-light: rgba(255,255,255,0.85);

    /* — Effects — */
    --border: #e4e9f0;
    --border-glass: rgba(255,255,255,0.08);
    --shadow-xs: 0 1px 3px rgba(11,20,38,0.04);
    --shadow-sm: 0 2px 8px rgba(11,20,38,0.05);
    --shadow: 0 4px 24px rgba(11,20,38,0.07);
    --shadow-md: 0 8px 32px rgba(11,20,38,0.09);
    --shadow-lg: 0 16px 48px rgba(11,20,38,0.11);
    --shadow-xl: 0 24px 64px rgba(11,20,38,0.15);
    --shadow-accent: 0 8px 32px rgba(16,185,129,0.25);
    --glass: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.1);

    /* — Radius — */
    --r-xs: 6px;
    --r-sm: 10px;
    --r-md: 14px;
    --r-lg: 20px;
    --r-xl: 28px;
    --r-2xl: 36px;
    --r-full: 9999px;

    /* — Transitions — */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --t-fast: 0.2s;
    --t-normal: 0.35s;
    --t-slow: 0.5s;

    /* — Fonts — */
    --font-heading: 'Plus Jakarta Sans', -apple-system, system-ui, sans-serif;
    --font-body: 'DM Sans', -apple-system, system-ui, sans-serif;

    /* — Status — */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
}

/* ——— RESET ——— */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; scroll-padding-top:90px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

a { text-decoration:none; color:inherit; transition: all var(--t-normal) var(--ease); }
img { max-width:100%; height:auto; display:block; }
button { cursor:pointer; font-family:inherit; }
ul,ol { list-style:none; }
input,select,textarea { font-family:inherit; }

.container { width:100%; max-width:1340px; margin:0 auto; padding:0 28px; }
section { padding: 110px 0; }

/* ================================================================
   NAVBAR — Glassmorphism Premium
   ================================================================ */
.emlak-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: all var(--t-normal) var(--ease);
}

/* Transparent overlay gradient for non-scrolled state */
.emlak-navbar::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(11,20,38,0.65) 0%, transparent 100%);
    transition: opacity var(--t-normal) var(--ease);
    pointer-events: none;
}

.emlak-navbar.scrolled {
    padding: 12px 0;
}

.emlak-navbar.scrolled::before { opacity: 0; }

.emlak-navbar.scrolled::after {
    content:'';
    position:absolute; inset:0;
    background: rgba(11,20,38,0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.55rem;
    letter-spacing: -0.04em;
}

.logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.15)); }
.logo i { font-size: 1.7rem; color: var(--accent); filter: drop-shadow(0 0 12px var(--accent-glow)); }

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-links a {
    color: rgba(255,255,255,0.72);
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--r-sm);
    position: relative;
    letter-spacing: 0.01em;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 50%;
    width: 0; height: 2.5px;
    background: var(--accent);
    border-radius: 3px;
    transform: translateX(-50%);
    transition: width var(--t-normal) var(--ease);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 22px; }

/* Nav Actions */
.nav-actions { display:flex; align-items:center; gap:14px; }

.nav-phone {
    color: rgba(255,255,255,0.65);
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--r-full);
    border: 1px solid rgba(255,255,255,0.12);
    transition: all var(--t-normal) var(--ease);
}

.nav-phone:hover { border-color: var(--accent); color: var(--accent); }

/* ——— Buttons ——— */
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    background: var(--accent-gradient);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    border-radius: var(--r-md);
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
    text-shadow: none;
}

.btn-accent::before {
    content:'';
    position:absolute; inset:0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.25) 100%);
    opacity:0;
    transition: opacity var(--t-fast) var(--ease);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-accent);
}

.btn-accent:hover::before { opacity:1; }

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    background: transparent;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: var(--r-md);
    transition: all var(--t-normal) var(--ease);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255,255,255,0.12);
}

/* Mobile */
.mobile-toggle {
    display: none;
    background: none; border: none;
    color: var(--white);
    font-size: 1.8rem;
    padding: 4px;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 999;
    padding: 110px 36px 40px;
    flex-direction: column;
    gap: 6px;
    overflow-y: auto;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-family: var(--font-heading);
}

.mobile-menu a:hover { color: var(--accent); }

/* ================================================================
   HERO — Modern Centered with BG Image
   ================================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
}

/* Full Background Image */
.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

/* Dark Gradient Overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(12,18,32,0.82) 0%,
            rgba(12,18,32,0.7) 30%,
            rgba(12,18,32,0.75) 60%,
            rgba(12,18,32,0.92) 100%
        );
}

.hero::before {
    content:'';
    position:absolute; inset:0;
    background:
        radial-gradient(ellipse 80% 70% at 50% 45%, rgba(16,185,129,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 10% 90%, rgba(59,130,246,0.03) 0%, transparent 50%);
    z-index:2;
}

.hero::after {
    content:'';
    position:absolute; inset:0;
    background-image:
        linear-gradient(rgba(255,255,255,0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.012) 1px, transparent 1px);
    background-size: 64px 64px;
    z-index:2;
    pointer-events:none;
}

/* Decorative Orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 2;
    pointer-events: none;
}

.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,0.08) 0%, transparent 70%);
    top: -10%; right: 5%;
    animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    bottom: -5%; left: 10%;
    animation: orbFloat 15s ease-in-out infinite reverse;
}

@keyframes orbFloat {
    0%,100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 15px) scale(0.95); }
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 140px 0 100px;
}

.hero-center { text-align: center; max-width: 820px; margin: 0 auto; }

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px 10px 14px;
    background: rgba(16,185,129,0.08);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: var(--r-full);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 36px;
    backdrop-filter: blur(12px);
}

.hero-badge .dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 12px var(--accent-glow);
}

.hero-badge .dot::after {
    content:'';
    position:absolute; inset:-4px;
    border-radius:50%;
    border: 2px solid var(--accent);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0%,100% { transform:scale(1); opacity:0.8; }
    50% { transform:scale(2.2); opacity:0; }
}

/* Hero Heading */
.hero h1 {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    color: var(--white);
    margin-bottom: 28px;
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.hero h1 .text-gradient,
.hero h1 .accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    color: rgba(255,255,255,0.5);
    font-size: 1.12rem;
    line-height: 1.85;
    max-width: 560px;
    margin-bottom: 44px;
}

/* Hero Stats Row */
.hero-stats-row {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-2xl);
    padding: 28px 12px;
}

.hero-stat-item {
    padding: 0 36px;
    text-align: center;
}

.hero-stat-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.08);
}

.stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    display: block;
    color: rgba(255,255,255,0.4);
    font-size: 0.78rem;
    font-weight: 500;
    margin-top: 8px;
    letter-spacing: 0.02em;
}

/* ================================================================
   TEAM CARDS — Modern
   ================================================================ */
.team-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--t-normal) var(--ease);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.team-card-img {
    height: 260px;
    overflow: hidden;
    position: relative;
}

.team-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.team-card:hover .team-card-img img { transform: scale(1.06); }

.team-card-avatar {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-700), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
}

.team-card-body {
    padding: 28px 24px;
}

.team-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.team-role {
    display: block;
    color: var(--accent);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-heading);
    margin-bottom: 18px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.team-social a {
    width: 38px; height: 38px;
    border-radius: var(--r-sm);
    background: var(--bg);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    transition: all var(--t-normal) var(--ease);
}

.team-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

/* ================================================================
   SEARCH BOX — Floating Premium
   ================================================================ */
.search-section { margin-top:-48px; position:relative; z-index:10; }

.search-box {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 1px var(--border);
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.search-field-wrap {
    flex: 1;
    position: relative;
}

.search-field-wrap i {
    position:absolute; left:16px; top:50%;
    transform:translateY(-50%);
    color: var(--text-muted);
    font-size: 1.15rem;
    pointer-events: none;
}

.search-field {
    width: 100%;
    padding: 17px 18px 17px 46px;
    border: 2px solid transparent;
    background: var(--bg);
    border-radius: var(--r-md);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    outline: none;
    transition: all var(--t-normal) var(--ease);
    appearance: none;
    -webkit-appearance: none;
}

.search-field:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

select.search-field {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238896a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 36px;
}

.search-btn {
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    padding: 17px 40px;
    border-radius: var(--r-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--t-normal) var(--ease);
    white-space: nowrap;
}

.search-btn:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-accent);
}

/* ================================================================
   SECTION HEADERS
   ================================================================ */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.76rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    display: inline-block;
    width: 30px; height: 2.5px;
    background: var(--accent-gradient);
    border-radius: 3px;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    color: var(--primary);
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 560px;
}

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header.center .section-label::before { display: none; }
.section-header.center .section-label::after {
    content:''; display:inline-block; width:30px; height:2.5px;
    background: var(--accent-gradient); border-radius:3px; margin-left:10px;
}
.section-header.center .section-desc { margin: 0 auto; }

/* ================================================================
   PROPERTY CARDS — Premium
   ================================================================ */
.property-card {
    background: var(--white);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--t-normal) var(--ease);
    border: 1px solid var(--border);
    display: block;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.property-card .card-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.property-card .card-img::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: linear-gradient(0deg, rgba(11,20,38,0.45) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.property-card .card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.property-card:hover .card-img img { transform: scale(1.1); }

/* Badges */
.card-badges {
    position: absolute;
    top: 16px; left: 16px;
    display: flex;
    gap: 6px; flex-wrap: wrap;
    z-index: 2;
}

.badge-type {
    background: var(--accent);
    color: #fff;
    padding: 6px 15px;
    border-radius: var(--r-xs);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: var(--font-heading);
}

.badge-featured {
    background: var(--danger);
    color: var(--white);
    padding: 6px 13px;
    border-radius: var(--r-xs);
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Favorite */
.card-favorite {
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(8px);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    z-index: 2;
    transition: all var(--t-normal) var(--ease);
}

.card-favorite:hover {
    background: var(--danger);
    color: var(--white);
    transform: scale(1.15);
}

/* Price Tag */
.card-price,
.card-price-tag {
    position: absolute;
    bottom: 16px; left: 16px;
    z-index: 2;
    background: rgba(11,20,38,0.82);
    backdrop-filter: blur(16px);
    color: var(--white);
    padding: 10px 22px;
    border-radius: var(--r-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}

.card-price .currency,
.card-price-tag .currency {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.7;
    margin-left: 3px;
}

/* Card Body */
.property-card .card-body { padding: 26px; }

.property-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    transition: color var(--t-fast) var(--ease);
}

.property-card:hover .card-title { color: var(--accent-dark); }

.property-card .card-location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.84rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.property-card .card-location i { color: var(--accent); font-size: 1rem; }

.property-card .card-features {
    display: flex;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.property-card .feature {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--bg);
    border-radius: var(--r-xs);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.property-card .feature i { color: var(--accent-dark); font-size: 0.95rem; }
.property-card .feature strong { color: var(--text); font-weight: 700; }

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ================================================================
   SERVICE CARDS
   ================================================================ */
.service-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 44px 32px;
    border: 1px solid var(--border);
    transition: all var(--t-normal) var(--ease);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-card .icon-box,
.service-card .icon-wrap {
    width: 68px; height: 68px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    font-size: 1.6rem;
    background: linear-gradient(135deg, rgba(16,185,129,0.12), rgba(16,185,129,0.04));
    color: var(--accent-dark);
    transition: all var(--t-normal) var(--ease);
}

.service-card:hover .icon-box,
.service-card:hover .icon-wrap {
    background: var(--accent-gradient);
    color: #fff;
    transform: scale(1.1);
    box-shadow: var(--shadow-accent);
}

.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; color: var(--text); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.75; }

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    background: var(--primary);
    border-radius: var(--r-2xl);
    padding: 100px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.cta-section::before {
    content:'';
    position:absolute;
    top:-60%; right:-15%;
    width:600px; height:600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-section::after {
    content:'';
    position:absolute;
    bottom:-40%; left:-10%;
    width:400px; height:400px;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(1.8rem,3vw,2.6rem);
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    color: rgba(255,255,255,0.55);
    font-size: 1.08rem;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ================================================================
   FOOTER
   ================================================================ */
.emlak-footer {
    background: var(--primary);
    color: var(--white);
    padding: 100px 0 0;
    position: relative;
}

.emlak-footer::before {
    content:'';
    position:absolute; top:0; left:50%; transform:translateX(-50%);
    width:80%; height:1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 52px;
    padding-bottom: 64px;
}

.footer-brand .logo-text,
.footer-brand .logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer-brand .logo-text i,
.footer-brand .logo i { color: var(--accent); font-size: 1.6rem; }

.footer-brand p {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    line-height: 1.8;
    margin-top: 20px;
    max-width: 300px;
}

.footer-social { display:flex; gap:8px; margin-top:28px; }

.footer-social a {
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    font-size: 1.15rem;
    transition: all var(--t-normal) var(--ease);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 26px;
    color: var(--white);
    position: relative;
    padding-bottom: 14px;
}

.footer-col h4::after {
    content:''; position:absolute; bottom:0; left:0;
    width:26px; height:2.5px;
    background: var(--accent-gradient);
    border-radius:3px;
}

.footer-col ul li { margin-bottom: 14px; }

.footer-col ul a {
    color: rgba(255,255,255,0.45);
    font-size: 0.88rem;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all var(--t-normal) var(--ease);
}

.footer-col ul a:hover { color: var(--accent); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.28);
    font-size: 0.82rem;
}

/* ================================================================
   PAGE HEADER (Inner pages)
   ================================================================ */
.page-header {
    background: var(--primary);
    padding: 140px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content:''; position:absolute; inset:0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(16,185,129,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 80%, rgba(59,130,246,0.04) 0%, transparent 50%);
}

.page-header::after {
    content:''; position:absolute; bottom:0; left:0; right:0;
    height: 56px;
    background: var(--bg);
    border-radius: 56px 56px 0 0;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    position: relative; z-index: 1;
}

.page-header .breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb a { color: var(--accent); font-weight: 600; }
.page-header .breadcrumb a:hover { opacity:0.8; }
.page-header .breadcrumb .separator { opacity:0.3; }

/* ================================================================
   FILTER SIDEBAR
   ================================================================ */
.filter-sidebar {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.filter-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-sidebar h3 i { color: var(--accent); }

.filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.filter-group:last-of-type { border-bottom:none; padding-bottom:0; margin-bottom:0; }

.filter-group label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.filter-group select,
.filter-group input[type="text"],
.filter-group input[type="number"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: all var(--t-normal) var(--ease);
    appearance: none;
}

.filter-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238896a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 34px;
}

.filter-group select:focus,
.filter-group input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.btn-filter {
    width: 100%;
    padding: 14px;
    background: var(--accent-gradient);
    color: var(--primary);
    border: none;
    border-radius: var(--r-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    transition: all var(--t-normal) var(--ease);
}

.btn-filter:hover { box-shadow: var(--shadow-accent); transform: translateY(-2px); }

.btn-reset {
    display: block;
    text-align: center;
    padding: 12px;
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 10px;
    transition: all var(--t-normal) var(--ease);
    text-decoration: none;
}

.btn-reset:hover { border-color: var(--danger); color: var(--danger); }

/* ================================================================
   HORIZONTAL FILTER BAR
   ================================================================ */
.filter-bar {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 16px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.filter-bar-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.filter-bar-fields {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    flex-wrap: wrap;
}

.filter-bar-field {
    flex: 1;
    min-width: 120px;
}

.filter-bar-field select,
.filter-bar-field input[type="text"],
.filter-bar-field input[type="number"] {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: all var(--t-normal) var(--ease);
    appearance: none;
    -webkit-appearance: none;
}

.filter-bar-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 12 12'%3E%3Cpath fill='%238896a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 30px;
    cursor: pointer;
}

.filter-bar-field select:focus,
.filter-bar-field input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Price range inline */
.filter-bar-field--price {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 200px;
}

.filter-bar-field--price input {
    flex: 1;
    min-width: 0;
}

.filter-bar-field--price .price-sep {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* Actions */
.filter-bar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.filter-bar-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--r-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    border: none;
    cursor: pointer;
    transition: all var(--t-normal) var(--ease);
    white-space: nowrap;
    text-decoration: none;
}

.filter-bar-btn--search {
    background: var(--accent-gradient);
    color: #fff;
}

.filter-bar-btn--search:hover {
    box-shadow: var(--shadow-accent);
    transform: translateY(-1px);
}

.filter-bar-btn--reset {
    width: 38px;
    height: 38px;
    padding: 0;
    background: var(--bg);
    color: var(--text-muted);
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 1.1rem;
}

.filter-bar-btn--reset:hover {
    border-color: var(--danger);
    color: var(--danger);
    background: rgba(239,68,68,0.06);
}

/* Filter Tags */
.filter-bar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px 5px 14px;
    background: rgba(16,185,129,0.08);
    color: var(--accent-dark);
    border: 1px solid rgba(16,185,129,0.18);
    border-radius: var(--r-full);
    font-size: 0.76rem;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.01em;
}

.filter-tag a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16,185,129,0.15);
    color: var(--accent-dark);
    font-size: 0.85rem;
    transition: all var(--t-fast) var(--ease);
}

.filter-tag a:hover {
    background: var(--danger);
    color: #fff;
}

/* Responsive filter bar */
@media (max-width: 1100px) {
    .filter-bar-main {
        flex-wrap: wrap;
    }
    .filter-bar-fields {
        gap: 6px;
    }
    .filter-bar-field {
        min-width: 100px;
        flex: 1 1 calc(33.333% - 6px);
    }
    .filter-bar-field--price {
        flex: 1 1 calc(33.333% - 6px);
        min-width: 160px;
    }
}

@media (max-width: 768px) {
    .filter-bar {
        padding: 14px 16px;
    }
    .filter-bar-fields {
        flex-direction: column;
        gap: 8px;
    }
    .filter-bar-field,
    .filter-bar-field--price {
        min-width: 100%;
        flex: 1 1 100%;
    }
    .filter-bar-actions {
        width: 100%;
        margin-top: 4px;
    }
    .filter-bar-btn--search {
        flex: 1;
    }
}

/* ================================================================
   PROPERTY DETAIL
   ================================================================ */
.detail-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.detail-price {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text);
    letter-spacing: -0.02em;
}

.detail-price .currency { color: var(--accent); }

.detail-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0;
}

.detail-feature {
    background: var(--bg);
    border-radius: var(--r-sm);
    padding: 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: all var(--t-normal) var(--ease);
}

.detail-feature:hover {
    border-color: var(--accent);
    background: rgba(16,185,129,0.04);
    transform: translateY(-2px);
}

.detail-feature i {
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.detail-feature .val {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text);
    font-size: 1.15rem;
    display: block;
}

.detail-feature .lbl {
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 500;
    margin-top: 4px;
}

.detail-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    background: var(--bg);
    border-radius: var(--r-sm);
    font-size: 0.88rem;
}

.spec-label { color: var(--text-muted); font-weight: 500; }
.spec-value { color: var(--text); font-weight: 700; }

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: var(--bg);
    border-radius: var(--r-sm);
    font-size: 0.85rem;
    font-weight: 500;
}

.amenity i { color: var(--success); font-size: 1.05rem; }
.amenity.inactive { opacity: 0.35; }
.amenity.inactive i { color: var(--text-muted); }

/* Contact Card */
.contact-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: sticky;
    top: 100px;
}

.agent {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.agent-avatar {
    width: 60px; height: 60px;
    border-radius: var(--r-md);
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
}

.agent-name { font-family: var(--font-heading); font-weight: 700; font-size: 1rem; }
.agent-role { color: var(--text-muted); font-size: 0.82rem; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--border);
    border-radius: var(--r-sm);
    font-size: 0.88rem;
    outline: none;
    margin-bottom: 12px;
    transition: all var(--t-normal) var(--ease);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

/* ================================================================
   PAGINATION
   ================================================================ */
.no-results { text-align: center; padding: 90px 20px; grid-column: 1/-1; }
.no-results i { font-size: 4rem; color: var(--border); margin-bottom: 18px; }
.no-results h3 { font-weight: 700; margin-bottom: 10px; }
.no-results p { color: var(--text-muted); }

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 52px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 11px 18px;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    transition: all var(--t-normal) var(--ease);
}

.pagination a:hover { border-color: var(--accent); color: var(--accent); }

.pagination .active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
    display:none; position:fixed; inset:0;
    background:rgba(0,0,0,0.94);
    z-index:9999;
    align-items:center; justify-content:center;
}
.lightbox.open { display:flex; }
.lightbox img {
    max-width:90vw; max-height:85vh;
    border-radius: var(--r-md);
    box-shadow: 0 0 100px rgba(0,0,0,0.3);
}
.lightbox .lb-btn,
.lightbox .close-lb,
.lightbox .nav-lb {
    position:absolute; color:#fff; font-size:1.8rem; cursor:pointer;
    background:rgba(255,255,255,0.06);
    backdrop-filter:blur(8px);
    border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    border:1px solid rgba(255,255,255,0.1);
    transition: all var(--t-normal) var(--ease);
}
.lightbox .lb-btn:hover,
.lightbox .close-lb:hover,
.lightbox .nav-lb:hover { background:rgba(255,255,255,0.15); }
.lightbox .close-lb { top:28px; right:28px; width:50px; height:50px; }
.lightbox .nav-lb { top:50%; transform:translateY(-50%); width:54px; height:54px; }
.lightbox .prev-lb { left:28px; }
.lightbox .next-lb { right:28px; }
.lightbox .img-counter {
    position:absolute; bottom:28px; left:50%; transform:translateX(-50%);
    color:rgba(255,255,255,0.6);
    font-size:0.88rem; font-weight:600;
    font-family: var(--font-heading);
}

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.reveal,
.fade-up {
    opacity: 0;
    transform: translateY(44px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible,
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width:1200px) {
    .properties-grid { grid-template-columns: repeat(2,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap:36px; }
}

@media (max-width:991px) {
    .nav-links, .nav-phone { display:none !important; }
    .mobile-toggle { display:block; }
    .detail-features-grid { grid-template-columns:repeat(2,1fr); }
    .detail-specs { grid-template-columns:1fr; }
    .amenity-grid { grid-template-columns:repeat(2,1fr); }
}

/* ================================================================
   DETAIL GALLERY
   ================================================================ */
.detail-gallery {
    display: grid;
    grid-template-columns: 65% 1fr;
    gap: 10px;
    border-radius: var(--r-xl);
    overflow: hidden;
    height: 480px;
    background: var(--bg-alt);
}

.detail-gallery .main-img {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.detail-gallery .main-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow) var(--ease);
}

.detail-gallery:hover .main-img img {
    transform: scale(1.03);
}

.detail-gallery .side-imgs {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    height: 100%;
    overflow: hidden;
}

.detail-gallery .side-img {
    position: relative;
    overflow: hidden;
}

.detail-gallery .side-img > img,
.detail-gallery .side-img > div {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100% !important;
}

.detail-gallery .side-img img {
    object-fit: cover;
    display: block;
    transition: transform var(--t-slow) var(--ease);
}

.detail-gallery .side-img:hover img {
    transform: scale(1.05);
}

/* Detail Info Card */
.detail-info-card {
    background: var(--white);
    border-radius: var(--r-xl);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

@media (max-width:768px) {
    section { padding: 70px 0; }
    .container { padding: 0 20px; }
    .properties-grid { grid-template-columns: 1fr; }
    .hero { min-height:auto; padding:120px 0 70px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-stats-row { flex-wrap:wrap; gap:20px; padding:20px 16px; border-radius:var(--r-lg); }
    .hero-stat-divider { display:none; }
    .hero-stat-item { padding:0 20px; }
    .stat-num { font-size: 1.6rem; }
    .hero-orb { display: none; }
    .search-box { flex-direction:column; padding:14px; }
    .search-section { margin-top:-28px; }
    .footer-grid { grid-template-columns:1fr; gap:32px; }
    .cta-section { padding:52px 28px; border-radius:var(--r-xl); }
    .footer-bottom { flex-direction:column; gap:10px; text-align:center; }
    .page-header { padding:120px 0 52px; }
    .detail-gallery { grid-template-columns:1fr; height:auto; }
    .detail-gallery .main-img { border-radius:var(--r-xl) var(--r-xl) 0 0; height:280px; }
    .detail-gallery .side-imgs { grid-template-columns:1fr 1fr; grid-template-rows:auto; }
    .detail-gallery .side-img { height:160px; }
    .detail-gallery .side-img:first-child { border-radius:0; }
    .detail-gallery .side-img:last-child { border-radius:0 0 var(--r-xl) var(--r-xl); }
}