/* ============================================================
   ERCU EMLAK — Premium Real Estate Web Site
   style.css — Main Stylesheet
   Version: 1.0.0
   ============================================================ */

/* ============================================================
   0. GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* Colors */
  --color-primary:       #0F2D3A;
  --color-primary-light: #1a4558;
  --color-primary-dark:  #091e27;
  --color-gold:          #C8A96B;
  --color-gold-light:    #d9bc88;
  --color-gold-dark:     #b0913a;
  --color-bg:            #FAFAF8;
  --color-card:          #FFFFFF;
  --color-text:          #1F2937;
  --color-text-muted:    #6B7280;
  --color-text-light:    #9CA3AF;
  --color-border:        #E5E7EB;
  --color-border-light:  #F3F4F6;
  --color-success:       #059669;
  --color-warning:       #D97706;
  --color-error:         #DC2626;
  --color-overlay:       rgba(9, 30, 39, 0.72);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes (fluid) */
  --text-xs:   clamp(0.7rem,  1vw, 0.75rem);
  --text-sm:   clamp(0.8rem,  1.2vw, 0.875rem);
  --text-base: clamp(0.9rem,  1.5vw, 1rem);
  --text-md:   clamp(1rem,    1.8vw, 1.125rem);
  --text-lg:   clamp(1.1rem,  2vw, 1.25rem);
  --text-xl:   clamp(1.2rem,  2.5vw, 1.5rem);
  --text-2xl:  clamp(1.4rem,  3vw, 2rem);
  --text-3xl:  clamp(1.8rem,  4vw, 2.5rem);
  --text-4xl:  clamp(2.2rem,  5vw, 3.5rem);
  --text-5xl:  clamp(2.8rem,  6vw, 4.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:  0 1px 2px rgba(15, 45, 58, 0.04);
  --shadow-sm:  0 1px 3px rgba(15, 45, 58, 0.08), 0 1px 2px rgba(15, 45, 58, 0.04);
  --shadow-md:  0 4px 6px rgba(15, 45, 58, 0.06), 0 2px 4px rgba(15, 45, 58, 0.04);
  --shadow-lg:  0 10px 15px rgba(15, 45, 58, 0.08), 0 4px 6px rgba(15, 45, 58, 0.04);
  --shadow-xl:  0 20px 25px rgba(15, 45, 58, 0.10), 0 10px 10px rgba(15, 45, 58, 0.04);
  --shadow-2xl: 0 25px 50px rgba(15, 45, 58, 0.15);
  --shadow-gold: 0 4px 20px rgba(200, 169, 107, 0.30);

  /* Transitions */
  --transition-fast:   all 0.15s ease;
  --transition-base:   all 0.25s ease;
  --transition-slow:   all 0.4s ease;
  --transition-spring: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-Index Scale */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-modal:    300;
  --z-overlay:  400;
  --z-toast:    500;

  /* Layout */
  --container-max: 1280px;
  --header-height: 80px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.text-gold { color: var(--color-gold); }
.text-primary { color: var(--color-primary); }
.text-muted { color: var(--color-text-muted); }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
}

.section--sm {
  padding: var(--space-16) 0;
}

.section--lg {
  padding: var(--space-32) 0;
}

.grid {
  display: grid;
}

.flex {
  display: flex;
}

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

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

.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* ============================================================
   5. LOADING SCREEN
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-screen__logo {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: #fff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.loading-screen__sub {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: var(--space-8);
}

.loading-screen__spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(200, 169, 107, 0.2);
  border-top-color: var(--color-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.header--transparent {
  background: transparent;
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border), 0 4px 20px rgba(15, 45, 58, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 var(--space-8);
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Logo */
.header__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
  flex-shrink: 0;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition-base);
  line-height: 1.15;
}

.header__logo-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: var(--transition-base);
  line-height: 1.2;
  margin-top: 4px;
}

.header--transparent .header__logo-name {
  color: #fff;
}

.header--transparent .header__logo-sub {
  color: var(--color-gold-light);
}

.header--scrolled .header__logo-name {
  color: var(--color-primary);
}

.header--scrolled .header__logo-sub {
  color: var(--color-gold);
}

/* Logo image (görsel mod) */
.header__logo-img {
  display: none; /* JS tarafından kontrol edilir */
  height: 68px;
  max-height: 80px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
  border-radius: 0;
  transition: var(--transition-base);
}

.header--transparent .header__logo-img {
  filter: brightness(1.1);
}


/* Nav Links */
.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  padding: var(--space-2) 0;
  transition: var(--transition-base);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width 0.3s ease;
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header--transparent .nav__link {
  color: rgba(255, 255, 255, 0.9);
}

.header--transparent .nav__link:hover {
  color: #fff;
}

.header--scrolled .nav__link {
  color: var(--color-text);
}

.header--scrolled .nav__link:hover {
  color: var(--color-primary);
}

/* Header Actions */
.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Language Selector */
.lang-selector {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-2);
  transition: var(--transition-base);
}

.header--scrolled .lang-selector {
  background: var(--color-border-light);
  border-color: var(--color-border);
}

.lang-selector__btn {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  cursor: pointer;
}

.header--transparent .lang-selector__btn {
  color: rgba(255, 255, 255, 0.7);
}

.header--transparent .lang-selector__btn.active,
.header--transparent .lang-selector__btn:hover {
  background: var(--color-gold);
  color: #fff;
}

.header--scrolled .lang-selector__btn {
  color: var(--color-text-muted);
}

.header--scrolled .lang-selector__btn.active,
.header--scrolled .lang-selector__btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* WhatsApp Button in Header */
.btn-whatsapp-header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: #25D366;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  transition: var(--transition-spring);
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-header svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  z-index: 10;
}

.hamburger__line {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  transition: var(--transition-base);
}

.header--transparent .hamburger__line {
  background: #fff;
}

.header--scrolled .hamburger__line {
  background: var(--color-primary);
}

.hamburger.open .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--color-primary) !important;
}

.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--color-primary) !important;
}

/* Mobile Navigation Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: var(--z-modal);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
}

.mobile-nav__link {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  font-weight: 500;
  transition: var(--transition-base);
}

.mobile-nav__link:hover {
  color: var(--color-gold);
}

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.mobile-nav__lang {
  display: flex;
  gap: var(--space-2);
}

.mobile-nav__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  background: transparent;
  border: none;
  color: var(--color-primary);
  cursor: pointer;
  padding: var(--space-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-nav__close svg {
  width: 28px;
  height: 28px;
}

.mobile-nav__close:hover {
  color: var(--color-gold);
  transform: rotate(90deg);
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition-spring);
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Primary Button */
.btn--primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 15px rgba(15, 45, 58, 0.25);
}

.btn--primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 45, 58, 0.3);
}

/* Gold / CTA Button */
.btn--gold {
  background: var(--color-gold);
  color: #fff;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 169, 107, 0.4);
}

/* Outline Button */
.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline White Button */
.btn--outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

/* WhatsApp Button */
.btn--whatsapp {
  background: #25D366;
  color: #fff;
  border-color: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn--whatsapp:hover {
  background: #1fb855;
  border-color: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Button Sizes */
.btn--sm {
  padding: 10px 20px;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 18px 42px;
  font-size: var(--text-md);
}

/* ============================================================
   8. SECTION HEADER
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-header__eyebrow::before,
.section-header__eyebrow::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}

.section-header__title {
  font-family: var(--font-heading);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-header__desc {
  max-width: 560px;
  margin: 0 auto;
  color: var(--color-text-muted);
}

/* ============================================================
   9. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url('../../public/images/hero-alanya.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero__bg.loaded {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(9, 30, 39, 0.55) 0%,
    rgba(9, 30, 39, 0.70) 50%,
    rgba(9, 30, 39, 0.85) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-8);
  max-width: 860px;
  animation: heroFadeUp 1s ease 0.3s both;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-6);
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--color-gold-light);
  opacity: 0.6;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-6);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero__title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero__desc {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-10);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounce 2s ease infinite;
}

.hero__scroll-icon {
  width: 28px;
  height: 44px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius-full);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.hero__scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--color-gold-light);
  border-radius: var(--radius-full);
  animation: scrollDot 1.8s ease infinite;
}

@keyframes scrollDot {
  0%   { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-6px); }
}

/* ============================================================
   10. TRUST CARDS (below hero)
   ============================================================ */
.trust-strip {
  background: var(--color-primary);
  padding: var(--space-8) 0;
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-strip__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  background: var(--color-primary);
  transition: var(--transition-base);
}

.trust-strip__item:hover {
  background: var(--color-primary-light);
}

.trust-strip__icon {
  width: 48px;
  height: 48px;
  background: rgba(200, 169, 107, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(200, 169, 107, 0.2);
}

.trust-strip__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--color-gold);
}

.trust-strip__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2px;
}

.trust-strip__desc {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

/* ============================================================
   11. FEATURED PROPERTIES SECTION
   ============================================================ */
.featured {
  background: var(--color-bg);
}

/* Property Grid */
.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

/* Property Card */
.property-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-slow);
  position: relative;
}

.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.property-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--color-border-light);
}

.property-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .property-card__image {
  transform: scale(1.06);
}

.property-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  display: flex;
  gap: var(--space-2);
  z-index: 2;
}

.badge {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.badge--status-satilik {
  background: var(--color-primary);
  color: #fff;
}

.badge--status-kiralik {
  background: var(--color-gold);
  color: #fff;
}

.badge--type {
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-text);
}

.property-card__fav {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
  transition: var(--transition-spring);
}

.property-card__fav:hover {
  background: #fff;
  transform: scale(1.15);
}

.property-card__fav svg {
  width: 16px;
  height: 16px;
  fill: var(--color-text-muted);
  transition: var(--transition-base);
}

.property-card__body {
  padding: var(--space-6);
}

.property-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.property-card__title {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-card__location {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.property-card__location svg {
  width: 14px;
  height: 14px;
  fill: var(--color-gold);
  flex-shrink: 0;
}

.property-card__specs {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-4);
}

.property-card__spec {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.property-card__spec svg {
  width: 14px;
  height: 14px;
  fill: var(--color-text-light);
}

.property-card__actions {
  display: flex;
  gap: var(--space-3);
}

.property-card__actions .btn {
  flex: 1;
  padding: 10px 12px;
  font-size: var(--text-xs);
}

/* Empty State */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: var(--space-24) var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.empty-state__icon {
  width: 72px;
  height: 72px;
  background: var(--color-border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state__icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-text-light);
}

.empty-state__title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  color: var(--color-text);
}

.empty-state__desc {
  max-width: 360px;
  font-size: var(--text-sm);
}

.section-footer {
  text-align: center;
  margin-top: var(--space-12);
}

/* ============================================================
   12. SERVICES SECTION
   ============================================================ */
.services {
  background: var(--color-primary);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(200, 169, 107, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.services .section-header__eyebrow {
  color: var(--color-gold-light);
}

.services .section-header__eyebrow::before,
.services .section-header__eyebrow::after {
  background: var(--color-gold-light);
}

.services .section-header__title {
  color: #fff;
}

.services .section-header__desc {
  color: rgba(255, 255, 255, 0.6);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200, 169, 107, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(200, 169, 107, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: rgba(200, 169, 107, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  border: 1px solid rgba(200, 169, 107, 0.2);
  transition: var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: rgba(200, 169, 107, 0.2);
}

.service-card__icon svg {
  width: 26px;
  height: 26px;
  fill: var(--color-gold);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-3);
}

.service-card__desc {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ============================================================
   13. WHY US SECTION
   ============================================================ */
.why-us {
  background: var(--color-bg);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.why-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
  transition: var(--transition-slow);
}

.why-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.why-card__num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.why-card:hover .why-card__num {
  opacity: 1;
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.why-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   14. MAHMUTLAR SECTION
   ============================================================ */
.mahmutlar {
  background: var(--color-bg);
  position: relative;
}

.mahmutlar__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.mahmutlar__content .section-header {
  text-align: left;
  margin-bottom: var(--space-8);
}

.mahmutlar__content .section-header__eyebrow {
  justify-content: flex-start;
}

.mahmutlar__desc {
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-8);
  font-size: var(--text-base);
}

.mahmutlar__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.mahmutlar__feature {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--color-border-light);
  transition: var(--transition-base);
}

.mahmutlar__feature:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.mahmutlar__feature-icon {
  width: 42px;
  height: 42px;
  background: rgba(200, 169, 107, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mahmutlar__feature-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-gold);
}

.mahmutlar__feature-title {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.mahmutlar__feature-desc {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Mahmutlar Image Collage */
.mahmutlar__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: var(--space-4);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.mahmutlar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mahmutlar__img:hover {
  transform: scale(1.04);
}

.mahmutlar__img-wrap {
  overflow: hidden;
  background: var(--color-border-light);
}

.mahmutlar__img-wrap--tall {
  grid-row: 1 / 3;
}

/* Image placeholder for no-image state */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #E5E7EB 0%, #D1D5DB 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.img-placeholder svg {
  width: 32px;
  height: 32px;
  fill: #9CA3AF;
}

.img-placeholder span {
  font-size: var(--text-xs);
  color: #9CA3AF;
}

/* ============================================================
   15. STATS SECTION
   ============================================================ */
.stats {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a4558 100%);
  padding: var(--space-16) 0;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.stat-item {
  padding: var(--space-6);
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-item__label {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  line-height: 1.3;
}

/* ============================================================
   16. TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--color-card);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonial-card {
  flex: 0 0 calc(33.333% - var(--space-4));
  background: var(--color-bg);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border-light);
  transition: var(--transition-base);
}

.testimonial-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.testimonial-card__stars {
  display: flex;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.testimonial-card__stars svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

.testimonial-card__quote {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-gold);
  line-height: 0.6;
  margin-bottom: var(--space-4);
  opacity: 0.4;
}

.testimonial-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: #fff;
  flex-shrink: 0;
}

.testimonial-card__name {
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.2;
}

.testimonial-card__location {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-card);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.slider-btn svg {
  width: 16px;
  height: 16px;
  fill: var(--color-text-muted);
  transition: var(--transition-base);
}

.slider-btn:hover svg {
  fill: #fff;
}

.slider-dots {
  display: flex;
  gap: var(--space-2);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: var(--transition-base);
}

.slider-dot.active {
  background: var(--color-primary);
  width: 24px;
  border-radius: var(--radius-full);
}

/* ============================================================
   17. CONTACT SECTION
   ============================================================ */
.contact {
  background: var(--color-bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-16);
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.contact-info-item {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--color-border-light);
  transition: var(--transition-base);
}

.contact-info-item:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.contact-info-item__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item__icon--primary {
  background: rgba(15, 45, 58, 0.08);
}

.contact-info-item__icon--whatsapp {
  background: rgba(37, 211, 102, 0.1);
}

.contact-info-item__icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-item__icon--primary svg {
  fill: var(--color-primary);
}

.contact-info-item__icon--whatsapp svg {
  fill: #25D366;
}

.contact-info-item__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-1);
}

.contact-info-item__value {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.contact-info-item__value a {
  color: inherit;
}

.contact-info-item__value a:hover {
  color: var(--color-primary);
}

.contact__map {
  margin-top: var(--space-6);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  height: 250px;
  background: var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Contact Form */
.contact-form {
  background: var(--color-card);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.contact-form__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.contact-form__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: var(--transition-base);
  outline: none;
}

.form-control:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 45, 58, 0.07);
}

.form-control::placeholder {
  color: var(--color-text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-submit {
  width: 100%;
  margin-top: var(--space-2);
}

/* ============================================================
   18. FOOTER
   ============================================================ */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-16) 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__brand-name {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
}

.footer__brand-sub {
  font-size: var(--text-xs);
  color: var(--color-gold);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--space-6);
}

.footer__socials {
  display: flex;
  gap: var(--space-3);
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-base);
}

.social-btn:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #fff;
}

.social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(200, 169, 107, 0.3);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__link {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: var(--transition-base);
}

.footer__link:hover {
  color: var(--color-gold-light);
  padding-left: var(--space-2);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  padding: var(--space-5) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__copyright {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  display: flex;
  gap: var(--space-6);
}

.footer__legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  transition: var(--transition-base);
}

.footer__legal a:hover {
  color: var(--color-gold);
}

.footer__attribution {
  text-align: center;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.35);
  width: 100%;
  padding-bottom: var(--space-6);
  margin-top: var(--space-2);
}

.footer__attribution a {
  color: var(--color-gold);
  font-weight: 600;
  transition: var(--transition-base);
}

.footer__attribution a:hover {
  color: var(--color-gold-light);
  text-decoration: underline;
}


/* ============================================================
   19. FLOATING ELEMENTS
   ============================================================ */
/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: var(--z-dropdown);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.whatsapp-float__tooltip {
  background: var(--color-text);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-base);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-float__tooltip {
  opacity: 1;
  transform: translateX(0);
}

.whatsapp-float__btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: var(--transition-spring);
  text-decoration: none;
}

.whatsapp-float__btn:hover {
  transform: scale(1.12) rotate(-5deg);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float__btn svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-float__pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  70%  { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: var(--space-8);
  left: var(--space-8);
  width: 46px;
  height: 46px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: var(--z-dropdown);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-spring);
  pointer-events: none;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.scroll-top:hover {
  background: var(--color-primary-light);
  transform: translateY(-4px);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

/* Mobile CTA Bar */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: #fff;
  border-top: 1px solid var(--color-border);
  padding: var(--space-3) var(--space-4);
  box-shadow: 0 -4px 20px rgba(15, 45, 58, 0.08);
}

.mobile-cta-bar__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.mobile-cta-bar .btn {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--text-sm);
}

/* ============================================================
   20. LISTINGS PAGE
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, #1a4558 100%);
  padding: calc(var(--header-height) + var(--space-12)) 0 var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: var(--space-4);
}

.page-hero__breadcrumb a {
  color: inherit;
}

.page-hero__breadcrumb a:hover {
  color: var(--color-gold-light);
}

.page-hero__breadcrumb-sep {
  opacity: 0.4;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-3);
}

.page-hero__desc {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.6);
}

/* Listings Layout */
.listings-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-10) 0;
}

/* Filter Panel */
.filter-panel {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  position: sticky;
  top: calc(var(--header-height) + var(--space-4));
  overflow: hidden;
}

.filter-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-border-light);
  background: var(--color-primary);
}

.filter-panel__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: #fff;
  font-weight: 600;
}

.filter-panel__clear {
  font-size: var(--text-xs);
  color: var(--color-gold-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  background: none;
  border: none;
}

.filter-panel__clear:hover {
  color: #fff;
}

.filter-panel__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.filter-group__label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.filter-group__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.filter-tag {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-base);
  background: transparent;
  user-select: none;
}

.filter-tag:hover,
.filter-tag.active {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.filter-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.filter-range .form-control {
  padding: 10px 14px;
  font-size: var(--text-sm);
}

/* Listings Results Header */
.listings-results__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.listings-results__count {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.listings-results__count strong {
  color: var(--color-primary);
  font-weight: 700;
}

.view-toggle {
  display: flex;
  gap: var(--space-2);
  background: var(--color-border-light);
  border-radius: var(--radius-md);
  padding: var(--space-1);
}

.view-toggle__btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.view-toggle__btn.active {
  background: var(--color-card);
  box-shadow: var(--shadow-xs);
}

.view-toggle__btn svg {
  width: 16px;
  height: 16px;
  fill: var(--color-text-muted);
}

.view-toggle__btn.active svg {
  fill: var(--color-primary);
}

/* Listings Grid */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.listings-grid.list-view {
  grid-template-columns: 1fr;
}

.listings-grid.list-view .property-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: var(--radius-xl);
}

.listings-grid.list-view .property-card__image-wrap {
  aspect-ratio: auto;
  height: 100%;
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

/* Mobile Filter Toggle */
.filter-toggle-btn {
  display: none;
  align-items: center;
  gap: var(--space-2);
  padding: 12px var(--space-5);
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: var(--space-6);
}

.filter-toggle-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Mobile Filter Bottom Sheet */
.filter-sheet-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: var(--z-overlay);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.filter-sheet-overlay.open {
  opacity: 1;
}

.filter-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-card);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  z-index: calc(var(--z-overlay) + 1);
  max-height: 85vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.filter-sheet.open {
  transform: translateY(0);
}

.filter-sheet__handle {
  width: 40px;
  height: 4px;
  background: var(--color-border);
  border-radius: var(--radius-full);
  margin: var(--space-4) auto var(--space-2);
}

/* Sort Select */
.sort-select {
  padding: 10px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  background: var(--color-card);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition-base);
  outline: none;
}

.sort-select:focus {
  border-color: var(--color-primary);
}

/* ============================================================
   21. PROPERTY DETAIL PAGE
   ============================================================ */
.detail-page {
  padding-top: var(--header-height);
  min-height: 100vh;
  background-color: var(--color-bg);
}

.detail-breadcrumb {
  padding: var(--space-4) 0;
  background: var(--color-bg);
}

.detail-breadcrumb__inner {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.detail-breadcrumb__inner a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-base);
}

.detail-breadcrumb__inner a:hover {
  color: var(--color-gold);
}

.detail-breadcrumb__sep {
  opacity: 0.5;
}

.detail-breadcrumb__current {
  color: var(--color-primary);
  font-weight: 600;
  max-width: 250px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Premium Header Block */
.detail-hero-header {
  padding: var(--space-4) 0 var(--space-6);
  background: var(--color-bg);
}

.detail-hero-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--space-6);
}

.detail-hero-header__main {
  flex: 1;
}

.detail-hero-header__price-sec {
  text-align: right;
  flex-shrink: 0;
}

.detail-price-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: 2px;
  font-weight: 600;
}

.detail-title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  color: var(--color-primary);
  line-height: 1.2;
  margin: var(--space-2) 0 var(--space-3);
  font-weight: 700;
}

.detail-location-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.detail-location {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.detail-location svg {
  width: 16px;
  height: 16px;
  fill: var(--color-gold);
}

.detail-portfolio-no {
  font-size: var(--text-xs);
  color: var(--color-gold-dark);
  background: rgba(200, 169, 107, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  border: 1px solid rgba(200, 169, 107, 0.2);
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
}

.detail-price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold-dark);
}

/* Gallery Container */
.detail-gallery-section {
  margin-bottom: var(--space-8);
}

.detail-gallery {
  display: grid;
  gap: 12px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  position: relative;
  background: var(--color-border-light);
}

/* Gallery count designs */
.detail-gallery--count-5 {
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 2 / 1;
}
.detail-gallery--count-5 .detail-gallery__main {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 100%;
}
.detail-gallery--count-5 .detail-gallery__thumb {
  height: 100%;
}

.detail-gallery--count-4 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  aspect-ratio: 2 / 1.1;
}
.detail-gallery--count-4 .detail-gallery__main {
  grid-column: 1;
  grid-row: 1 / 4;
  height: 100%;
}
.detail-gallery--count-4 .detail-gallery__thumb {
  height: 100%;
}

.detail-gallery--count-3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 2 / 1.1;
}
.detail-gallery--count-3 .detail-gallery__main {
  grid-column: 1;
  grid-row: 1 / 3;
  height: 100%;
}
.detail-gallery--count-3 .detail-gallery__thumb {
  height: 100%;
}

.detail-gallery--count-2 {
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 2 / 1.1;
}
.detail-gallery--count-2 .detail-gallery__main {
  height: 100%;
}
.detail-gallery--count-2 .detail-gallery__thumb {
  height: 100%;
}

.detail-gallery--count-1 {
  grid-template-columns: 1fr;
  aspect-ratio: 21 / 9;
}
.detail-gallery--count-1 .detail-gallery__main {
  height: 100%;
}

.detail-gallery__main,
.detail-gallery__thumb {
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--color-border-light);
}

.detail-gallery__main img,
.detail-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.detail-gallery__main:hover img,
.detail-gallery__thumb:hover img {
  transform: scale(1.04);
}

.detail-gallery__more {
  position: absolute;
  inset: 0;
  background: rgba(15, 45, 58, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-1);
  color: #fff;
  cursor: pointer;
  transition: var(--transition-base);
}

.detail-gallery__more:hover {
  background: rgba(15, 45, 58, 0.85);
}

.detail-gallery__more-num {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-gold-light);
}

.detail-gallery__more-text {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

/* Premium all photos button overlay */
.detail-gallery__all-btn {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: var(--text-xs);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  z-index: 10;
}

.detail-gallery__all-btn:hover {
  background: var(--color-border-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.detail-gallery__all-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Detail Layout Grid */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-10);
  align-items: start;
  padding-bottom: var(--space-16);
}

/* Left Column Styling */
.detail-quick-specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  background: #ffffff;
  padding: var(--space-5);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  margin-bottom: var(--space-8);
}

.detail-quick-spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  border-right: 1px solid var(--color-border-light);
}

.detail-quick-spec:last-child {
  border-right: none;
}

.detail-quick-spec__icon {
  width: 40px;
  height: 40px;
  background: rgba(200, 169, 107, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.detail-quick-spec:hover .detail-quick-spec__icon {
  transform: scale(1.1);
  background: rgba(200, 169, 107, 0.15);
}

.detail-quick-spec__icon svg {
  width: 18px;
  height: 18px;
  fill: var(--color-gold-dark);
}

.detail-quick-spec__label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-quick-spec__value {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-primary);
}

/* Tabs section */
.detail-tabs-wrapper {
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: var(--space-6);
}

.detail-tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: -2px;
}

.detail-tab {
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  transition: all 0.2s ease;
}

.detail-tab:hover {
  color: var(--color-primary);
}

.detail-tab.active {
  color: var(--color-gold-dark);
  border-bottom-color: var(--color-gold-dark);
}

.tab-panel {
  display: none;
  animation: tabFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-panel.active {
  display: block;
}

.detail-description-content {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.8;
  background: #ffffff;
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Features Table */
.features-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.features-table__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-4);
  background: #ffffff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.01);
}

.features-table__key {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  font-weight: 500;
}

.features-table__val {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-primary);
}

/* Map Container */
.detail-map-container {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 400px;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

/* Sticky Info Card */
.detail-info-card {
  position: sticky;
  top: calc(var(--header-height) + var(--space-6));
  background: #ffffff;
  border-radius: var(--radius-2xl);
  box-shadow: 0 10px 40px rgba(9, 30, 39, 0.06);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
}

.detail-info-card__header {
  background: var(--color-primary);
  padding: var(--space-6) var(--space-7);
  color: #ffffff;
}

.detail-info-card__price-wrapper {
  margin-bottom: var(--space-3);
}

.detail-info-card__price {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-gold-light);
}

.detail-info-card__badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.detail-info-card__status {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.detail-info-card__portfolio {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.detail-info-card__specs {
  padding: var(--space-4) var(--space-7);
  max-height: 280px;
  overflow-y: auto;
}

.detail-info-spec {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-light);
  font-size: var(--text-xs);
  gap: var(--space-4);
}

.detail-info-spec:last-child {
  border-bottom: none;
}

.detail-info-spec__label {
  color: var(--color-text-muted);
  font-weight: 500;
}

.detail-info-spec__value {
  color: var(--color-primary);
  font-weight: 700;
}

.detail-info-card__actions {
  padding: var(--space-4) var(--space-7) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-light);
}

.detail-info-card__actions .btn {
  width: 100%;
  justify-content: center;
  padding: 12px var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 2;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox__close svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.lightbox__prev { left: var(--space-4); }
.lightbox__next { right: var(--space-4); }

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.15);
}

.lightbox__prev svg,
.lightbox__next svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.lightbox__counter {
  position: absolute;
  bottom: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.6);
  background: rgba(0,0,0,0.4);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
}

/* ============================================================
   22. 404 PAGE
   ============================================================ */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg);
  padding: var(--space-8);
}

.not-found__inner {
  max-width: 480px;
}

.not-found__code {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.08;
  line-height: 1;
  margin-bottom: calc(-1 * var(--space-10));
}

.not-found__icon {
  width: 80px;
  height: 80px;
  background: var(--color-border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

.not-found__icon svg {
  width: 36px;
  height: 36px;
  fill: var(--color-text-light);
}

.not-found__title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.not-found__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.not-found__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   23. TOAST NOTIFICATION
   ============================================================ */
.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-text);
  color: #fff;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  z-index: var(--z-toast);
  opacity: 0;
  transition: var(--transition-base);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--success {
  background: var(--color-success);
}

/* ============================================================
   24. ANIMATION UTILITIES
   ============================================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   25. RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --container-max: 960px;
  }

  .header__nav { display: none; }
  .btn-whatsapp-header { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

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

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

  .mahmutlar__layout {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .mahmutlar__images {
    grid-template-rows: 180px 180px;
  }

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

  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .detail-info-card {
    position: static;
  }

  .detail-hero-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .detail-hero-header__price-sec {
    text-align: left;
  }

  .detail-title {
    font-size: var(--text-2xl);
  }

  .detail-quick-specs {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-3);
    padding: var(--space-4);
  }

  .detail-quick-spec {
    border-right: none;
  }

  .features-table {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .listings-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    display: none;
  }

  .filter-toggle-btn {
    display: flex;
  }

  .filter-sheet-overlay {
    display: block;
  }
}

/* ============================================================
   26. RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --header-height: 68px;
  }

  .header__inner {
    padding: 0 var(--space-4);
  }

  .header__logo-img {
    height: 48px;
    align-self: flex-start;
  }

  .header__actions .lang-selector {
    display: none;
  }

  .section { padding: var(--space-16) 0; }
  .section--lg { padding: var(--space-20) 0; }

  .container { padding: 0 var(--space-4); }

  /* Hero */
  .hero__title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero__actions { gap: var(--space-3); }
  .hero__actions .btn--lg { padding: 14px 28px; font-size: var(--text-sm); }

  /* Trust Strip */
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
  .trust-strip__item { padding: var(--space-5); }

  /* Properties */
  .property-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }

  /* Why Us */
  .why-us-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 90%; }

  /* Stats */
  .stats__grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Detail Gallery */
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery__main {
    grid-row: auto;
    aspect-ratio: 16 / 10;
  }

  .detail-gallery__thumb {
    display: none;
  }

  .detail-gallery__thumb:first-of-type {
    display: block;
  }

  /* Features table */
  .features-table { grid-template-columns: 1fr; }

  /* Contact Form */
  .contact-form { padding: var(--space-6); }
  .form-row { grid-template-columns: 1fr; }

  /* Mobile CTA Bar */
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 80px; }

  /* Scroll top repositioned */
  .scroll-top { bottom: 100px; }

  /* Gallery more button on mobile */
  .detail-gallery__thumb:last-of-type {
    display: block;
  }
}

/* ============================================================
   27. RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.5rem, 8vw, 2rem); }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .whatsapp-float { right: var(--space-4); bottom: var(--space-4); }
  .scroll-top { left: var(--space-4); }
  .whatsapp-float__btn { width: 52px; height: 52px; }
  .hero__desc { font-size: var(--text-base); }

  .header__logo-name {
    font-size: 1.35rem;
  }
  .header__logo-sub {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
  }
  .header__logo-img {
    height: 40px;
    align-self: flex-start;
  }
}

/* ============================================================
   28. PRINT
   ============================================================ */
@media print {
  .header,
  .footer,
  .whatsapp-float,
  .scroll-top,
  .mobile-cta-bar,
  .loading-screen {
    display: none !important;
  }
}

/* ============================================================
   29. SKELETON LOADERS
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.skeleton-card__image {
  aspect-ratio: 4 / 3;
}

.skeleton-card__body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.skeleton-line {
  height: 14px;
  border-radius: var(--radius-sm);
}

.skeleton-line--short { width: 40%; }
.skeleton-line--medium { width: 70%; }
.skeleton-line--long { width: 95%; }
.skeleton-line--title { height: 20px; width: 80%; }

/* ============================================================
   30. ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   31. USER ANNOUNCEMENT / NOTIFICATION POPUP
   ============================================================ */
.user-announcement {
  position: fixed;
  bottom: 104px; /* Positioned above the WhatsApp float button */
  right: var(--space-6);
  width: 380px;
  max-width: calc(100vw - 48px);
  background: rgba(15, 45, 58, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 4px solid var(--color-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-3);
  z-index: var(--z-toast); /* Above standard elements */
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.user-announcement--visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.user-announcement--info {
  border-left-color: var(--color-gold);
}

.user-announcement--success {
  border-left-color: var(--color-success);
}

.user-announcement--warning {
  border-left-color: var(--color-warning);
}

.user-announcement--danger {
  border-left-color: var(--color-error);
}

.user-announcement__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.user-announcement__icon svg {
  width: 24px;
  height: 24px;
}

.user-announcement--info .user-announcement__icon svg {
  fill: var(--color-gold-light);
}

.user-announcement--success .user-announcement__icon svg {
  fill: #10B981; /* bright success emerald */
}

.user-announcement--warning .user-announcement__icon svg {
  fill: #F59E0B; /* amber warning */
}

.user-announcement--danger .user-announcement__icon svg {
  fill: #EF4444; /* red error */
}

.user-announcement__content {
  flex: 1;
  min-width: 0;
}

.user-announcement__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.user-announcement__link:hover .user-announcement__title {
  color: var(--color-gold-light);
}

.user-announcement__title {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 4px;
  line-height: 1.4;
  transition: var(--transition-fast);
}

.user-announcement__message {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0;
}

.user-announcement__close {
  flex-shrink: 0;
  background: none;
  border: none;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-fast);
}

.user-announcement__close:hover {
  color: #FFFFFF;
  transform: scale(1.1);
}

.user-announcement__close svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Responsiveness for User Announcement */
@media (max-width: 768px) {
  .user-announcement {
    bottom: 96px; /* Above the mobile CTA bar */
    right: var(--space-4);
    left: var(--space-4);
    width: auto;
    max-width: none;
    box-shadow: 0 10px 25px rgba(9, 30, 39, 0.25);
  }
}

