/* ==========================================================================
   KREA İNŞAAT - KURUMSAL STİL SİSTEMİ (ENTERPRISE EDITION)
   Kurumsal Renkler (Eski Siteden Aktarılan Marka Kimliği):
   - Primary (KREA Mavisi): #198bc2
   - Primary Light: #E6F4FE / #38bdf8
   - Primary Dark: #0e6a96
   - Primary Gradient: linear-gradient(135deg, #198bc2 0%, #38bdf8 50%, #0e6a96 100%)
   ========================================================================== */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --theme-mode: 'dark';

  /* KREA Corporate Colors */
  --primary: #198bc2;
  --primary-light: #E6F4FE;
  --primary-dark: #0e6a96;
  --primary-gradient: linear-gradient(135deg, #198bc2 0%, #38bdf8 50%, #0e6a96 100%);
  --primary-glow: rgba(25, 139, 194, 0.35);

  /* Gold / Accent alias (Şablonlardaki text-gold ve border-gold ile tam uyumluluk) */
  --gold-primary: #198bc2;
  --gold-light: #38bdf8;
  --gold-hover: #0e6a96;
  --gold-gradient: linear-gradient(135deg, #198bc2 0%, #38bdf8 50%, #0e6a96 100%);
  --gold-glow: rgba(25, 139, 194, 0.35);
  --border-gold: rgba(25, 139, 194, 0.35);

  /* Dark Theme Surfaces */
  --bg-dark: #070e17;
  --bg-primary: #070e17;
  --bg-secondary: #0d1b2a;
  --bg-card: rgba(13, 27, 42, 0.85);
  --bg-card-hover: rgba(19, 39, 61, 0.95);
  --bg-modal: #0d1b2a;
  --bg-input: rgba(255, 255, 255, 0.04);
  --bg-glass: rgba(7, 14, 23, 0.92);
  --bg-nav-scrolled: rgba(7, 14, 23, 0.94);
  --bg-banner: linear-gradient(135deg, rgba(25, 139, 194, 0.12) 0%, rgba(13, 27, 42, 0.95) 100%);
  --bg-alt: #0b1120;
  --body-bg: radial-gradient(circle at 50% 0%, #0e273d 0%, #070e17 75%);
  --footer-bg: #04070d;

  --border-alt: rgba(25, 139, 194, 0.12);
  --border-color: rgba(25, 139, 194, 0.22);
  --border-focus: rgba(25, 139, 194, 0.7);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-invert: #0c1c2e;
  
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #38bdf8;

  --status-devam: #38bdf8;
  --status-tamam: #10b981;
  --status-gelecek: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-sans: 'Outfit', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-lux: 0 20px 40px -15px rgba(0, 0, 0, 0.7), 0 0 25px rgba(25, 139, 194, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] {
  color-scheme: light;
  --theme-mode: 'light';

  /* KREA Corporate Colors (Optimized for WCAG AA Contrast) */
  --primary: #198bc2;
  --primary-light: #E6F4FE;
  --primary-dark: #0e6a96;
  --primary-gradient: linear-gradient(135deg, #198bc2 0%, #0e6a96 100%);
  --primary-glow: rgba(25, 139, 194, 0.22);

  /* Accessible Accent & Link Variables (Contrast >= 5.8:1 on White/Light surfaces) */
  --accent-text: #0e6a96;
  --accent-text-hover: #084c6e;
  --text-gradient: linear-gradient(135deg, #0e6a96 0%, #084c6e 100%);

  /* Gold / Accent alias */
  --gold-primary: #198bc2;
  --gold-light: #0e6a96;
  --gold-hover: #084c6e;
  --gold-gradient: linear-gradient(135deg, #0e6a96 0%, #084c6e 100%);
  --gold-glow: rgba(14, 106, 150, 0.22);
  --border-gold: rgba(14, 106, 150, 0.25);

  /* Light Theme Surfaces */
  --bg-dark: #f4f8fb;
  --bg-primary: #f4f8fb;
  --bg-secondary: #e6f4fe;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-modal: #ffffff;
  --bg-input: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.94);
  --bg-nav-scrolled: rgba(255, 255, 255, 0.94);
  --bg-banner: linear-gradient(180deg, #e6f4fe 0%, #f4f8fb 100%);
  --bg-alt: #eaf4fb;
  --border-alt: rgba(14, 106, 150, 0.12);

  --border-color: rgba(25, 139, 194, 0.22);
  --border-focus: rgba(14, 106, 150, 0.85);

  --text-main: #0c1c2e;
  --text-muted: #475569;
  --text-dim: #506176; /* Adjusted for 5.7:1 contrast on #eaf4fb */
  --text-invert: #ffffff;

  --status-devam: #0284c7;
  --status-tamam: #059669;
  --status-gelecek: #d97706;

  --shadow-lux: 0 15px 35px -10px rgba(14, 106, 150, 0.14), 0 0 20px rgba(25, 139, 194, 0.06);
  --shadow-card: 0 8px 25px -8px rgba(14, 106, 150, 0.1);

  --body-bg: radial-gradient(circle at 50% 0%, #e6f4fe 0%, #f4f8fb 60%, #e4eef6 100%);
  --footer-bg: #091a2b;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  max-width: 100vw;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background: var(--body-bg);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }
}

/* --- Typo & Fluid Heading Hierarchy --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

h1, .h1 {
  font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
}

h2, .h2 {
  font-size: clamp(1.55rem, 1.15rem + 1.8vw, 2.35rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
}

h3, .h3 {
  font-size: clamp(1.2rem, 1rem + 0.9vw, 1.55rem);
  line-height: 1.3;
}

h4, .h4 {
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  line-height: 1.35;
}

.hero-title {
  font-size: clamp(2rem, 1.25rem + 3.5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(1.6rem, 1.18rem + 1.8vw, 2.4rem);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.65;
}

.text-gold, .text-primary, .text-krea {
  color: var(--primary);
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(25, 139, 194, 0.12);
  border: 1px solid rgba(25, 139, 194, 0.3);
  border-radius: var(--radius-full);
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-header.text-left,
.section-header[style*="text-align: left"] {
  text-align: left;
  margin-left: 0;
  margin-right: auto;
  max-width: 860px;
}

/* --- Buttons with Modern Micro-Interactions & a11y Focus Rings --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.25s ease,
              border-color 0.25s ease,
              color 0.25s ease,
              filter 0.25s ease;
  user-select: none;
  position: relative;
}

.plan-cta-wrapper {
  display: flex;
  align-items: center;
}

.plan-quote-btn {
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.btn:active {
  transform: scale(0.97) translateY(0);
  transition: transform 0.08s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:focus-visible,
.theme-toggle-btn:focus-visible,
.mobile-toggle:focus-visible,
.drawer-close-btn:focus-visible,
.lang-btn:focus-visible,
.calc-pill:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(25, 139, 194, 0.35);
}

[data-theme="light"] .btn:focus-visible,
[data-theme="light"] .theme-toggle-btn:focus-visible,
[data-theme="light"] .mobile-toggle:focus-visible,
[data-theme="light"] .drawer-close-btn:focus-visible,
[data-theme="light"] .lang-btn:focus-visible,
[data-theme="light"] .calc-pill:focus-visible {
  outline: 2px solid var(--primary-dark);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(14, 106, 150, 0.22);
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.55s ease;
  pointer-events: none;
}

.btn-primary:hover {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(25, 139, 194, 0.5);
  filter: brightness(1.05);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:active {
  transform: scale(0.97) translateY(0);
  box-shadow: 0 2px 10px var(--primary-glow);
  filter: brightness(0.95);
  transition: transform 0.08s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.08s cubic-bezier(0.4, 0, 0.2, 1),
              filter 0.08s ease;
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: #ffffff;
  background: rgba(25, 139, 194, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(25, 139, 194, 0.25);
}

.btn-outline:active {
  transform: scale(0.97) translateY(0);
  box-shadow: none;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding: 20px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-color);
  padding: 12px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 66px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease, height 0.3s ease;
}

.navbar.scrolled .brand-logo img {
  height: 58px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.brand-logo:hover img {
  transform: scale(1.03);
}

/* Logo Theme Switcher (Navbar & Mobile Drawer) */
.brand-logo .logo-dark,
.drawer-brand .logo-dark {
  display: block;
}
.brand-logo .logo-light,
.drawer-brand .logo-light {
  display: none;
}

[data-theme="light"] .brand-logo .logo-dark,
[data-theme="light"] .drawer-brand .logo-dark {
  display: none !important;
}
[data-theme="light"] .brand-logo .logo-light,
[data-theme="light"] .drawer-brand .logo-light {
  display: block !important;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(25, 139, 194, 0.12);
  border: 1px solid var(--border-color);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.theme-toggle-btn:hover {
  background: var(--primary);
  color: #ffffff;
  transform: rotate(30deg) scale(1.08);
  box-shadow: 0 0 15px var(--primary-glow);
}

[data-theme="light"] .theme-toggle-btn {
  background: #E6F4FE;
  border-color: rgba(25, 139, 194, 0.35);
  color: var(--primary-dark);
}

/* --- Base Navigation Styles (Desktop Shell) --- */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.drawer-header,
.drawer-footer,
.drawer-link-arrow,
.drawer-lang-chips {
  display: none;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: var(--primary-dark);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(25, 139, 194, 0.6);
}

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

/* 44x44px Accessible Mobile Hamburger Button */
.mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: var(--radius-sm);
  background: rgba(25, 139, 194, 0.12);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
  flex-shrink: 0;
}

.mobile-toggle:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.mobile-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Body Scroll Lock for Modal & Drawer Overlays */
body.nav-locked {
  overflow: hidden !important;
  touch-action: none;
  -webkit-overflow-scrolling: auto;
}

/* Off-Canvas Backdrop Blur Overlay */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

[data-theme="light"] .mobile-nav-backdrop {
  background: rgba(12, 28, 46, 0.55);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  background: radial-gradient(circle at 80% 20%, rgba(25, 139, 194, 0.14) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(13, 27, 42, 0.85) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(2rem, 1.25rem + 3.5vw, 3.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid var(--border-color);
}

.stat-item h3 {
  font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.95rem);
  color: #38bdf8;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.stat-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Hero Trust Bar (Güven & Başarı Vurgusu)
   ========================================================================== */
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 26px 0 0;
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(25, 139, 194, 0.06);
  border: 1px solid var(--border-alt);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: var(--transition);
}

.trust-item:hover {
  background: rgba(25, 139, 194, 0.12);
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5), 0 0 16px rgba(25, 139, 194, 0.2);
}

.trust-icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--primary-glow);
  flex-shrink: 0;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
  margin: 0;
}

.trust-text p {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

[data-theme="light"] .trust-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(25, 139, 194, 0.22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .trust-item:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(25, 139, 194, 0.14);
}

[data-theme="light"] .trust-text h4 {
  color: #0c1c2e;
}

[data-theme="light"] .trust-text p {
  color: #475569;
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 30px rgba(25, 139, 194, 0.18);
  height: 500px;
  min-height: 480px;
  display: flex;
  background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.98) 100%);
}

.hero-model-viewer {
  width: 100%;
  height: 100%;
  outline: none;
}

.hero-model-progressbar-slot {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 20;
}

.hero-model-progressbar-fill {
  background: linear-gradient(90deg, var(--gold-primary), #fbbf24);
  width: 0%;
  height: 100%;
  transition: width 0.15s ease;
}

.hero-model-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 50% 50%, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
  color: var(--gold-light);
  z-index: 15;
  transition: opacity 0.4s ease;
  padding: 20px;
}

.hero-model-spinner-wrap {
  position: relative;
  margin-bottom: 16px;
}

.hero-model-spinner-icon {
  color: var(--gold-primary);
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.6));
}

.hero-model-loading-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.hero-model-loading-percent {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-primary);
  margin-top: 6px;
}

/* Top Right Live Indicator Badge */
.hero-visual-status {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(10, 15, 26, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-status-pulse {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* Bottom Visual Project Badge */
.hero-visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  max-width: calc(100% - 48px);
  background: rgba(10, 15, 26, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  z-index: 10;
  pointer-events: none; /* Touch passthrough for 3D orbit gestures */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-visual-badge-content {
  display: flex;
  flex-direction: column;
}

.hero-visual-badge-tag {
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.hero-visual-badge-title {
  font-size: 1.35rem;
  margin: 0 0 4px 0;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}

.hero-visual-badge-location {
  color: #cbd5e1;
  font-size: 0.85rem;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-visual-badge-location i {
  color: #38bdf8;
}

.hero-visual-badge-btn {
  pointer-events: auto; /* Buttons capture clicks independently */
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* --- Project Cards --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(25, 139, 194, 0.6);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(25, 139, 194, 0.15);
}

.project-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 200px;
  max-height: 270px;
  overflow: hidden;
  background: #0b1120;
}

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

.project-card:hover .project-card-thumb img {
  transform: scale(1.06);
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.badge-devam { background: rgba(59, 130, 246, 0.9); color: #fff; }
.badge-tamam { background: rgba(16, 185, 129, 0.9); color: #fff; }
.badge-gelecek, .badge-on-talep { background: rgba(245, 158, 11, 0.9); color: #fff; }
.badge-ornek { background: linear-gradient(135deg, #7c3aed, #9333ea); color: #fff; box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35); }
.badge-custom { background: linear-gradient(135deg, #0284c7, #2563eb); color: #fff; box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35); }

.project-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-location {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-card-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.project-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.feature-tag {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.project-card-date {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Section Layouts --- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-alt);
  border-bottom: 1px solid var(--border-alt);
}

.section-cta {
  padding: 70px 0;
}

.page-header {
  padding: 140px 0 60px;
  background: var(--bg-alt);
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.quote-banner {
  background: var(--bg-banner);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lux);
  text-align: center;
}

.text-center {
  text-align: center !important;
}

.quote-banner-title {
  font-size: clamp(1.65rem, 1.25rem + 1.8vw, 2.4rem);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.quote-banner-desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
  line-height: 1.65;
  max-width: 720px;
  margin: 0 auto 32px;
}

/* --- Forms & Controls --- */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  min-height: 44px;
  padding: 11px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(25, 139, 194, 0.06);
  box-shadow: 0 0 0 3px rgba(25, 139, 194, 0.22);
}

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

select.form-control,
select {
  cursor: pointer;
  background-color: var(--bg-secondary);
  color: #ffffff;
}

select option {
  background-color: #0d1b2a;
  color: #f1f5f9;
  padding: 8px 12px;
}

[data-theme="light"] select.form-control,
[data-theme="light"] select {
  background-color: #ffffff;
  color: #0c1c2e;
}

[data-theme="light"] select option {
  background-color: #ffffff;
  color: #0c1c2e;
}

/* --- 360 Virtual Tour & Gallery Component --- */
.tour-container {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #000;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(25, 139, 194, 0.15);
}

.tour-canvas {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
}

.tour-canvas:active {
  cursor: grabbing;
}

.tour-overlay-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  background: rgba(7, 14, 23, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.tour-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  padding: 8px;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.tour-btn:hover {
  color: #38bdf8;
}

/* --- Proje Çoklu Fotoğraf Galerisi Slider (Carousel) --- */
.gallery-slider-viewport {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  background: #060b13;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(25, 139, 194, 0.15);
  user-select: none;
}

.gallery-slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.gallery-slide {
  min-width: 100%;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #060b13;
  flex-shrink: 0;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 23, 0.15) 0%, rgba(7, 14, 23, 0) 50%, rgba(7, 14, 23, 0.5) 100%);
  pointer-events: none;
}

.gallery-slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(7, 14, 23, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(25, 139, 194, 0.35);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.gallery-slider-nav-btn:hover {
  background: #198bc2;
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 25px rgba(25, 139, 194, 0.5);
}

.gallery-slider-nav-btn.prev {
  left: 20px;
}

.gallery-slider-nav-btn.next {
  right: 20px;
}

.gallery-slider-tools {
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.gallery-tool-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(7, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(25, 139, 194, 0.35);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.gallery-tool-btn:hover {
  background: #198bc2;
  color: #fff;
  transform: scale(1.08);
}

.gallery-counter-tag {
  position: absolute;
  bottom: 20px;
  left: 24px;
  background: rgba(7, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(25, 139, 194, 0.3);
  color: #e2e8f0;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 6px;
}

.gallery-counter-tag span {
  color: #38bdf8;
}

.gallery-thumbs-strip {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding: 4px 2px 10px 2px;
  scrollbar-width: thin;
}

.gallery-thumb-item {
  width: 110px;
  height: 72px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: all 0.25s ease;
  background: #000;
}

.gallery-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb-item:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.gallery-thumb-item.active {
  opacity: 1;
  border-color: #198bc2;
  box-shadow: 0 4px 14px rgba(25, 139, 194, 0.5);
  transform: translateY(-3px);
}

[data-theme="light"] .gallery-slider-viewport {
  background: #f8fafc;
  border-color: rgba(25, 139, 194, 0.3);
  box-shadow: 0 15px 35px rgba(14, 106, 150, 0.12);
}

[data-theme="light"] .gallery-slider-nav-btn {
  background: rgba(255, 255, 255, 0.92);
  color: #0c1c2e;
  border-color: rgba(25, 139, 194, 0.3);
}

[data-theme="light"] .gallery-slider-nav-btn:hover {
  background: #198bc2;
  color: #fff;
}

[data-theme="light"] .gallery-tool-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #0c1c2e;
  border-color: rgba(25, 139, 194, 0.3);
}

[data-theme="light"] .gallery-counter-tag {
  background: rgba(255, 255, 255, 0.92);
  color: #0c1c2e;
  border-color: rgba(25, 139, 194, 0.3);
}

@media (max-width: 768px) {
  .gallery-slider-viewport {
    height: 340px;
  }
  .gallery-slider-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
  .gallery-slider-nav-btn.prev {
    left: 10px;
  }
  .gallery-slider-nav-btn.next {
    right: 10px;
  }
  .gallery-thumb-item {
    width: 85px;
    height: 56px;
  }
}

/* ==========================================================================
   PROJE HAKKINDA & ÖNE ÇIKAN AYRICALIKLAR RESPONSIVE DÜZENİ
   ========================================================================== */
.project-cover-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
  border: 1px solid var(--border-gold);
  margin-bottom: 32px;
}

.project-about-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  margin-bottom: 80px;
  align-items: start;
}

.project-about-text {
  min-width: 0;
}

.project-features-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 32px;
  border-radius: var(--radius-lg);
  height: fit-content;
  box-shadow: var(--shadow-card);
}

.project-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

/* Tablet ve Mobil: Öne Çıkan Ayrıcalıkları Proje Hakkında Yazısının Altına Alma */
@media (max-width: 991px) {
  .project-cover-banner {
    height: 320px;
    margin-bottom: 24px;
  }

  .project-about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 50px;
  }

  .project-features-card {
    padding: 24px;
    width: 100%;
  }

  .project-features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px 20px;
  }
}

@media (max-width: 576px) {
  .project-cover-banner {
    height: 230px;
  }

  .project-features-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   PROJE GALERİSİ TAM EKRAN LIGHTBOX MODALI (SAĞA/SOLA GEÇİŞ & ÇIKIŞ)
   ========================================================================== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999999;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: rgba(3, 7, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
  user-select: none;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Lightbox Header */
.lightbox-header {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 32px;
  background: linear-gradient(180deg, rgba(3, 7, 14, 0.95) 0%, rgba(3, 7, 14, 0) 100%);
}

.lightbox-title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lightbox-project-badge {
  font-size: 0.78rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(25, 139, 194, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.lightbox-project-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.lightbox-counter {
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-action-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.lightbox-action-btn:hover {
  background: rgba(25, 139, 194, 0.3);
  border-color: #38bdf8;
  color: #38bdf8;
  transform: translateY(-1px);
}

.lightbox-action-btn.close-btn {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
  color: #fca5a5;
}

.lightbox-action-btn.close-btn:hover {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.45);
}

/* Lightbox Stage */
.lightbox-stage {
  position: relative;
  z-index: 5;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vh - 190px);
  padding: 0 24px;
}

.lightbox-img-container {
  max-width: 90vw;
  max-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.lightbox-img {
  max-width: 86vw;
  max-height: calc(100vh - 210px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 35px rgba(25, 139, 194, 0.25);
  transition: opacity 0.22s ease-in-out, transform 0.22s ease;
}

/* Sağa / Sola Navigasyon Butonları */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(10, 22, 38, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
}

.lightbox-nav-btn:hover {
  background: #198bc2;
  border-color: #38bdf8;
  color: #fff;
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 12px 35px rgba(25, 139, 194, 0.6);
}

.lightbox-nav-btn.prev {
  left: 36px;
}

.lightbox-nav-btn.next {
  right: 36px;
}

/* Lightbox Alt Thumbnail Önizleme Şeridi */
.lightbox-thumbs-wrap {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 12px 24px 20px;
  background: linear-gradient(0deg, rgba(3, 7, 14, 0.95) 0%, rgba(3, 7, 14, 0) 100%);
}

.lightbox-thumbs-strip {
  display: flex;
  gap: 12px;
  max-width: 90vw;
  overflow-x: auto;
  padding: 4px 6px;
  scrollbar-width: thin;
}

.lightbox-thumb-item {
  width: 76px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.45;
  transition: all 0.2s ease;
  background: #000;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb-item:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

.lightbox-thumb-item.active {
  opacity: 1;
  border-color: #38bdf8;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
  transform: scale(1.08);
}

@media (max-width: 768px) {
  .lightbox-header {
    padding: 12px 16px;
  }
  .lightbox-project-title {
    display: none;
  }
  .lightbox-action-btn.close-btn .btn-text {
    display: none;
  }
  .lightbox-action-btn.close-btn {
    padding: 8px 12px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
  }
  .lightbox-nav-btn {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }
  .lightbox-nav-btn.prev {
    left: 12px;
  }
  .lightbox-nav-btn.next {
    right: 12px;
  }
  .lightbox-thumb-item {
    width: 60px;
    height: 40px;
  }
  .lightbox-stage {
    padding: 0 8px;
  }
  .lightbox-img {
    max-width: 94vw;
    max-height: calc(100vh - 180px);
  }
}

@media (max-width: 480px) {
  .lightbox-header {
    padding: 12px 16px;
  }
}

/* --- Floor Plans Interactive Tabs & Block Navigation --- */
.block-nav-wrapper {
  margin-bottom: 20px;
}
.block-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.block-tab-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.block-tab-btn i {
  color: var(--gold-primary);
  transition: var(--transition);
}
.block-tab-btn:hover {
  border-color: var(--primary);
  color: var(--text-main);
}
.block-tab-btn.active {
  background: var(--primary-gradient);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 18px var(--primary-glow);
}
.block-tab-btn.active i {
  color: #ffffff;
}

[data-theme="light"] .block-tab-btn {
  background: #f0f7fb;
  border-color: rgba(25, 139, 194, 0.25);
  color: #334155;
}
[data-theme="light"] .block-tab-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
}

.plan-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.plan-tab-btn {
  padding: 10px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
}

.plan-tab-btn.active, .plan-tab-btn:hover {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(25, 139, 194, 0.35);
}

/* Pasif (Tükendi) Daire Stilleri */
.plan-tab-btn.is-passive {
  opacity: 0.72;
  border-style: dashed;
}
.plan-tab-btn.is-passive:hover {
  opacity: 0.9;
}
.plan-status-tag.sold {
  font-size: 0.68rem;
  background: #ef4444;
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 6px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-sold-notice {
  background: rgba(239, 68, 68, 0.15) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  font-size: 0.82rem !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.badge-avail-notice {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #34d399 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  font-weight: 700 !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  font-size: 0.82rem !important;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-sold-disabled {
  background: rgba(100, 116, 139, 0.22) !important;
  color: #94a3b8 !important;
  border: 1px solid rgba(100, 116, 139, 0.35) !important;
  cursor: not-allowed !important;
  pointer-events: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
[data-theme="light"] .badge-sold-notice {
  background: #fee2e2 !important;
  color: #b91c1c !important;
  border-color: #fca5a5 !important;
}
[data-theme="light"] .badge-avail-notice {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #86efac !important;
}

.plan-view-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: block;
}

/* Admin Blok & Daire Yönetimi Arayüz Stilleri */
.admin-block-card {
  background: rgba(13, 27, 42, 0.7);
  border: 1px solid rgba(25, 139, 194, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  transition: var(--transition);
}
.admin-block-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(25, 139, 194, 0.15);
}
.admin-unit-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-unit-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.3fr 1.5fr 36px;
  gap: 8px;
  align-items: center;
  background: rgba(15, 23, 42, 0.6);
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.admin-unit-row.passive-unit {
  opacity: 0.75;
  border-left: 3px solid #ef4444;
  background: rgba(239, 68, 68, 0.06);
}
@media (max-width: 900px) {
  .admin-unit-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Modal Dialogs --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: var(--bg-card);
  border-left: 4px solid var(--gold-primary);
  border-top: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  color: #fff;
  min-width: 280px;
  max-width: calc(100vw - 32px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease forwards;
}

.toast.toast-success { border-left-color: var(--success); }
.toast.toast-error { border-left-color: var(--danger); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* --- Modernized Architectural Footer --- */
.footer {
  background: var(--footer-bg);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 30px;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer p,
.footer-brand p,
.footer-col p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.65;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
}

.footer a {
  color: #e2e8f0;
  transition: color 0.25s ease;
}

.footer a:hover {
  color: #38bdf8;
}

.footer-col h4 {
  font-size: 1.08rem;
  margin-bottom: 22px;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-links a i {
  font-size: 0.8rem;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.footer-links a:hover {
  color: #38bdf8;
  transform: translateX(5px);
}

.footer-links a:hover i {
  transform: translateX(2px);
}

.footer-links a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer .text-gold,
.footer i.text-gold {
  color: #38bdf8 !important;
  background: none !important;
  -webkit-text-fill-color: #38bdf8 !important;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #94a3b8;
}

.footer-bottom a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (1024px, 991px, 768px, 600px, 480px, 360px)
   ========================================================================== */

/* --- Reusable Structural Classes --- */
.grid-2col-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.form-row-responsive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Milestone 3: Public Pages UI/UX Modernization & Mobile Optimization
   ========================================================================== */

/* --- Project Category Filters (Touch-Friendly Pill Carousel & Grid) --- */
.project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  margin-bottom: 8px;
}

.project-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease,
              color 0.2s ease,
              box-shadow 0.2s ease;
  touch-action: manipulation;
  white-space: nowrap;
  outline: none;
}

.project-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(25, 139, 194, 0.08);
  transform: translateY(-2px);
}

[data-theme="dark"] .project-filter-btn:hover {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.4);
  background: rgba(56, 189, 248, 0.1);
}

.project-filter-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.project-filter-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(25, 139, 194, 0.4), 0 0 12px rgba(56, 189, 248, 0.35);
}

[data-theme="dark"] .project-filter-btn.active {
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 4px 16px rgba(25, 139, 194, 0.45), 0 0 14px rgba(56, 189, 248, 0.4);
}

.project-filter-btn:active {
  transform: scale(0.97);
}

/* --- Services Modernization --- */
.service-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.35s ease;
  overflow: hidden;
}

.service-card-grid:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 139, 194, 0.45);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.6), 0 0 25px rgba(25, 139, 194, 0.15);
}

[data-theme="light"] .service-card-grid:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 36px -10px rgba(14, 106, 150, 0.16), 0 4px 16px rgba(25, 139, 194, 0.08);
}

.service-card-grid.featured {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-card);
}

.service-img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-secondary);
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-grid:hover .service-img-wrap img {
  transform: scale(1.04);
}

.service-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(25, 139, 194, 0.1);
  border: 1px solid rgba(25, 139, 194, 0.3);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

[data-theme="dark"] .service-step-badge {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.service-title {
  font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
  line-height: 1.3;
}

.service-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
  padding: 0;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.55;
}

.service-check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: var(--radius-full);
  background: rgba(25, 139, 194, 0.12);
  border: 1px solid rgba(25, 139, 194, 0.32);
  color: var(--primary);
  font-size: 0.72rem;
  margin-top: 2px;
}

[data-theme="dark"] .service-check-icon {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
}

/* --- 4-Step Architectural Process Timeline --- */
.process-section {
  margin-top: 20px;
  padding-top: 50px;
  border-top: 1px solid var(--border-color);
}

.process-timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
}

.process-step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(25, 139, 194, 0.5);
  box-shadow: 0 16px 32px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(25, 139, 194, 0.15);
}

[data-theme="light"] .process-step-card:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 30px -10px rgba(14, 106, 150, 0.16), 0 4px 14px rgba(25, 139, 194, 0.08);
}

.process-step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.process-step-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-sans);
  line-height: 1;
  opacity: 0.9;
}

[data-theme="dark"] .process-step-num {
  color: #38bdf8;
}

.process-step-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(25, 139, 194, 0.12);
  border: 1px solid rgba(25, 139, 194, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.15rem;
}

[data-theme="dark"] .process-step-icon {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.3);
  color: #38bdf8;
}

.process-step-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  line-height: 1.35;
}

.process-step-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}

/* --- About Page Enhancements --- */
.about-visual-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #08121e;
}

.about-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* About Stats / Milestones Counter Banner */
.about-stats-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 36px 32px;
  margin: 0 0 60px;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .about-stats-banner {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.25);
  box-shadow: 0 10px 30px rgba(14, 106, 150, 0.08);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.about-stat-card {
  text-align: center;
  padding: 16px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 8px 24px rgba(25, 139, 194, 0.15);
}

[data-theme="light"] .about-stat-card {
  background: #f4f8fb;
  border-color: rgba(25, 139, 194, 0.12);
}

[data-theme="light"] .about-stat-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(14, 106, 150, 0.12);
}

.about-stat-icon {
  font-size: 1.4rem;
  color: #38bdf8;
  margin-bottom: 8px;
}

[data-theme="light"] .about-stat-icon {
  color: #0e6a96;
}

.about-stat-number {
  font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  color: #38bdf8;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

[data-theme="light"] .about-stat-number {
  background: linear-gradient(135deg, #0e6a96 0%, #198bc2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
}

/* Principle Step Index Badge */
.principle-number-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.6);
  background: rgba(25, 139, 194, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

[data-theme="light"] .principle-number-badge {
  color: #0e6a96;
  background: rgba(25, 139, 194, 0.08);
  border-color: rgba(25, 139, 194, 0.25);
}

/* --- Blog Detail Article & Social Action Bar --- */
.blog-detail-cover-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--border-gold);
  max-height: 480px;
  aspect-ratio: 16 / 9;
  background: #08121e;
}

.blog-detail-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-detail-actions-bar {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-share-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

/* Global .btn-icon Touch Targets (>= 44px) */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
  touch-action: manipulation;
}

.btn-icon:hover {
  background: rgba(25, 139, 194, 0.15);
  border-color: var(--primary);
  color: #38bdf8;
  transform: translateY(-2px);
}

.btn-icon:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.btn-icon.btn-icon-whatsapp {
  color: #25d366;
}

.btn-icon.btn-icon-whatsapp:hover {
  background: rgba(37, 211, 102, 0.15);
  border-color: #25d366;
  color: #25d366;
}

[data-theme="light"] .btn-icon {
  background: #f0f7fc;
  border-color: rgba(25, 139, 194, 0.2);
  color: #0c1c2e;
}

[data-theme="light"] .btn-icon:hover {
  background: #e1f0fa;
  border-color: var(--primary);
  color: #0e6a96;
}

[data-theme="light"] .btn-icon.btn-icon-whatsapp:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #16a34a;
  color: #16a34a;
}

/* Article Typography Refinement */
.blog-article-content > p:first-of-type {
  font-size: clamp(1.1rem, 1.05rem + 0.3vw, 1.22rem);
  line-height: 1.8;
  color: var(--text-main);
  font-weight: 500;
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 80px;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.model-3d-wrapper {
  position: relative;
  width: 100%;
  height: 540px;
}

/* ==========================================================================
   Milestone 2: Unified Container & Responsive Card Systems
   ========================================================================== */

/* Detail Page Header (replaces inline styles in project_detail & blog_detail) */
.page-header-detail {
  text-align: left;
  padding: clamp(5.75rem, 12vw, 8.125rem) 0 clamp(1.75rem, 4vw, 2.5rem);
}

.container-narrow {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

/* Unified Contact Card */
.unified-contact-wrapper {
  max-width: 800px;
  margin: 0 auto 80px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  padding: clamp(1.5rem, 5vw, 2.75rem) clamp(1rem, 4vw, 2.375rem);
  transition: var(--transition);
}

[data-theme="light"] .unified-contact-wrapper {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.25);
  box-shadow: 0 10px 30px rgba(14, 106, 150, 0.08);
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.form-card-header {
  text-align: center;
  margin-bottom: 32px;
}

.form-card-title {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  margin-bottom: 10px;
  color: var(--text-main);
}

.form-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.btn-submit-unified {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Social Channels & Map Cards */
.social-channels-banner {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  padding: clamp(1.25rem, 4vw, 2rem);
  border-radius: var(--radius-lg);
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

[data-theme="light"] .social-channels-banner {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.25);
  box-shadow: 0 4px 16px rgba(14, 106, 150, 0.08);
}

.social-channels-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.map-card-header {
  padding: clamp(0.875rem, 3vw, 1.5rem) clamp(1rem, 3.5vw, 2rem);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  background: rgba(25, 139, 194, 0.04);
}

.map-header-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(25, 139, 194, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #38bdf8;
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* CTA Banner Cards & Nested Inners */
.cta-banner-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1rem, 4vw, 2.5rem);
  max-width: 960px;
  margin: 0 auto;
}

[data-theme="light"] .cta-banner-card {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.25);
  box-shadow: 0 10px 30px rgba(14, 106, 150, 0.08);
}

.cta-banner-title {
  font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2rem);
  margin-bottom: 16px;
  color: var(--text-main);
}

.cta-banner-desc {
  color: var(--text-muted);
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto 32px;
}

.cta-banner-inner {
  background: var(--bg-banner);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 2rem) clamp(1rem, 3.5vw, 1.75rem);
}

[data-theme="light"] .cta-banner-inner {
  background: linear-gradient(135deg, rgba(25, 139, 194, 0.08) 0%, rgba(244, 248, 251, 0.95) 100%);
  border-color: rgba(25, 139, 194, 0.3);
}

.cta-banner-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Project Detail Components */
.project-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

.project-detail-title {
  font-size: clamp(1.85rem, 1.2rem + 2.5vw, 2.8rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin: 4px 0 8px 0;
  word-break: break-word;
}

.project-header-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.project-specs-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: clamp(1rem, 3.5vw, 1.5rem);
  border-radius: var(--radius-md);
  margin-bottom: 60px;
}

.custom-section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: clamp(1.125rem, 4vw, 2rem) clamp(1rem, 3.5vw, 1.75rem);
}

.blog-detail-title {
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  line-height: 1.25;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

.blog-article-content {
  overflow-wrap: break-word;
  word-break: break-word;
}

.blog-article-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.blog-article-content img,
.blog-article-content iframe {
  max-width: 100%;
  height: auto;
}

/* --- Breakpoint: 1024px (Tablet Landscape / Laptop) --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .plan-view-card { grid-template-columns: 1fr; }
  .model-3d-wrapper { height: 460px; }
  .hero-visual-card { height: 440px; min-height: 420px; }
  .process-timeline-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* --- Breakpoint: 991px (Tablet Portrait - Activate Hamburger Drawer) --- */
@media (max-width: 991px) {
  .mobile-toggle {
    display: inline-flex;
  }

  /* Off-Canvas Sliding Drawer */
  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(85vw, 360px);
    height: 100vh;
    height: 100dvh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 24px 20px 32px;
    border-left: 1px solid var(--border-color);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    display: flex;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    gap: 0;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  /* Drawer Header */
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
  }

  .drawer-brand {
    display: flex;
    align-items: center;
  }

  .drawer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
  }

  .drawer-close-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
  }

  .drawer-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
  }

  /* Drawer Navigation Links */
  .drawer-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1 0 auto;
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    background: transparent;
  }

  .nav-link:hover {
    background: rgba(25, 139, 194, 0.08);
    color: var(--primary);
    padding-left: 18px;
  }

  .nav-link.active {
    background: rgba(25, 139, 194, 0.15);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 15px;
    font-weight: 700;
  }

  .nav-link.active::after {
    display: none;
  }

  .drawer-link-arrow {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--text-muted);
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease, color 0.2s ease;
  }

  .nav-link:hover .drawer-link-arrow,
  .nav-link.active .drawer-link-arrow {
    opacity: 1;
    color: var(--primary);
    transform: translateX(3px);
  }

  /* Drawer Footer & Conversion CTA */
  .drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
  }

  .drawer-quote-btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  /* Drawer Language Chips */
  .drawer-lang-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .drawer-lang-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    text-decoration: none;
  }

  .drawer-lang-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
  }

  .drawer-lang-chip.active {
    background: var(--primary);
    color: #ffffff !important;
    border-color: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
  }

  .drawer-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
  }

  .drawer-contact-item i {
    width: 16px;
    color: var(--primary);
    text-align: center;
  }

  .drawer-contact-item.drawer-whatsapp i {
    color: #25d366;
  }

  .drawer-contact-item:hover {
    color: var(--text-main);
  }
  .service-card-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px 20px;
  }
  .service-card-grid .service-img-wrap {
    order: -1;
    width: 100%;
    height: 250px;
  }
  .service-card-grid .service-content {
    order: 1;
    width: 100%;
  }
}

/* --- Breakpoint: 768px (Mobile & Foldable Devices) --- */
@media (max-width: 768px) {
  .brand-logo img {
    height: 48px;
  }
  .navbar.scrolled .brand-logo img {
    height: 42px;
  }
  .hero {
    min-height: auto;
    padding: 110px 0 50px;
  }
  .lang-name {
    display: none;
  }
  .lang-btn {
    padding: 8px 10px;
    gap: 4px;
    min-height: 40px;
  }
  .hero-btns {
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-bottom: 36px;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-card-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 26px 20px;
  }
  .service-card-grid .service-img-wrap {
    order: -1;
    width: 100%;
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .service-card-grid .service-content {
    order: 1;
    width: 100%;
  }
  .process-timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .process-step-card {
    padding: 24px 18px;
  }
  .process-step-num {
    font-size: 1.75rem;
  }
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
  }
  .model-3d-wrapper {
    height: 380px !important;
  }
  .hero-visual-card {
    height: 380px !important;
    min-height: 360px !important;
    position: relative !important;
    width: 100% !important;
    display: block !important;
  }
  .hero-model-viewer {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
  }
  .hero-visual-status {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 10 !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    padding: 6px 13px !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius-full) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    pointer-events: none !important;
  }
  .hero-status-pulse {
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    background: #10b981 !important;
    border-radius: 50% !important;
    box-shadow: 0 0 8px #10b981 !important;
    flex-shrink: 0 !important;
  }
  .hero-visual-badge {
    bottom: 12px !important;
    left: 12px !important;
    right: 12px !important;
    max-width: calc(100% - 24px) !important;
    padding: 10px 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    border-radius: var(--radius-md) !important;
    pointer-events: none !important;
  }
  .hero-visual-badge-content {
    min-width: 0;
    flex: 1;
  }
  .hero-visual-badge-tag {
    font-size: 0.72rem !important;
    margin-bottom: 2px !important;
  }
  .hero-visual-badge-title {
    font-size: 1.05rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }
  .hero-visual-badge-location {
    display: none !important;
  }
  .hero-visual-badge-btn {
    pointer-events: auto !important;
    flex-shrink: 0 !important;
    padding: 7px 14px !important;
    font-size: 0.78rem !important;
  }
  .hero-visual-badge h4 {
    font-size: 1.05rem;
  }
  .hero-visual-badge p {
    display: none !important;
  }
  .stats-bar,
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    padding: 18px 0 !important;
    text-align: center !important;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 18px 0 0 !important;
  }
  .trust-item {
    padding: 12px 14px !important;
    gap: 12px !important;
  }
  .trust-icon-box {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    font-size: 1.1rem !important;
  }
  .trust-text h4 {
    font-size: 0.95rem !important;
  }
  .trust-text p {
    font-size: 0.8rem !important;
  }
  .stat-item {
    position: relative;
    padding: 0 4px !important;
  }
  .stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 15%;
    right: 0;
    height: 70%;
    width: 1px;
    background: var(--border-color);
    opacity: 0.5;
  }
  .stat-item h3 {
    font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem) !important;
    margin-bottom: 4px !important;
  }
  .stat-item p {
    font-size: clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem) !important;
    line-height: 1.25 !important;
  }
  .grid-2col-responsive {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-row-responsive {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
  }
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .project-header-bar {
    align-items: flex-start;
  }
  .btn {
    padding: 11px 20px;
    font-size: 0.92rem;
  }
  .btn-sm {
    padding: 7px 14px;
    font-size: 0.82rem;
  }
  .gmap-container {
    height: 340px;
  }
  .plan-view-card {
    padding: 24px 18px;
  }

  /* Prevent iOS Safari auto-zoom on input focus & ensure 44px tap target */
  .form-control,
  .intl-phone-wrapper .country-code-select,
  .intl-phone-wrapper .phone-number-input,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 44px;
  }

  .intl-phone-wrapper .country-code-select {
    flex: 0 0 102px;
    width: 102px;
    font-size: 16px !important;
    min-height: 44px;
    padding: 10px 20px 10px 8px;
    background-size: 12px;
    background-position: right 5px center;
  }
}

/* --- Breakpoint: 600px (Plan CTA Full Width & Mobile Filters Carousel) --- */
@media (max-width: 600px) {
  .plan-cta-wrapper,
  .plan-quote-btn {
    width: 100%;
  }

  /* Mobile Horizontal Scroll Carousel for Category Filters */
  .project-filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 6px 16px 14px;
    margin: 24px -16px 0;
    gap: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
  }
  .project-filters::-webkit-scrollbar {
    display: none;
  }
  .project-filter-btn {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 0.85rem;
  }

  .process-timeline-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
  }
  .process-step-card {
    padding: 24px 18px;
  }
  .process-step-num {
    font-size: 1.75rem;
  }

  .blog-detail-actions-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .blog-share-group {
    width: 100%;
    justify-content: flex-start;
  }
}

/* --- Breakpoint: 480px (Standard Smartphones) --- */
@media (max-width: 480px) {
  .unified-contact-wrapper {
    padding: 22px 14px;
    margin-bottom: 45px;
    border-radius: var(--radius-md);
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 40px;
  }
  .project-header-actions {
    width: 100%;
  }
  .project-header-actions .btn {
    flex: 1 1 100%;
  }
  .project-specs-bar {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 40px;
  }
  .btn {
    padding: 10px 16px;
    font-size: 0.9rem;
    gap: 8px;
  }
  .btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
    gap: 6px;
  }
  .gmap-container {
    height: 290px;
  }
  .gmap-activate-badge {
    padding: 10px 16px;
    font-size: 0.82rem;
    gap: 7px;
  }
  .gmap-deactivate-btn {
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    font-size: 0.78rem;
  }
  .plan-view-card {
    padding: 18px 14px;
  }
  .brand-logo img {
    height: 42px;
  }
  .navbar.scrolled .brand-logo img {
    height: 36px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-quote-btn .btn-text {
    display: none;
  }
  .nav-quote-btn {
    padding: 8px 10px;
  }
  .nav-quote-btn i {
    margin: 0;
  }
  .hero-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }
  .stats-bar,
  .hero-stats {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    padding: 14px 0 !important;
    text-align: center !important;
  }
  .section {
    padding: 55px 0;
  }
  .page-header {
    padding: 95px 0 35px;
  }
  .section-desc {
    font-size: 0.95rem;
  }
  .model-3d-wrapper {
    height: 310px !important;
  }
  .hero-visual-card {
    height: 375px !important;
    min-height: 350px !important;
    position: relative !important;
    width: 100% !important;
    display: block !important;
  }
  .hero-visual-status {
    top: 12px !important;
    right: 12px !important;
    padding: 5px 12px !important;
    font-size: 0.72rem !important;
    gap: 6px !important;
    white-space: nowrap !important;
  }
  .hero-visual-badge {
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    max-width: calc(100% - 16px) !important;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    border-radius: var(--radius-full) !important;
    pointer-events: none !important;
  }
  .hero-visual-badge-tag {
    font-size: 0.68rem !important;
    margin-bottom: 2px !important;
  }
  .hero-visual-badge-title,
  .hero-visual-badge h4 {
    font-size: 0.95rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
  }
  .hero-visual-badge-btn,
  .hero-visual-badge a.btn {
    pointer-events: auto !important;
    flex-shrink: 0 !important;
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    border-radius: var(--radius-full) !important;
  }
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  .about-stats-banner {
    padding: 18px 14px !important;
    margin-bottom: 40px !important;
  }
  .feature-card {
    padding: 24px 18px !important;
  }
  .project-card-body {
    padding: 20px 16px !important;
  }
  .project-card-footer .btn {
    min-height: 44px !important;
    padding: 8px 16px !important;
  }
  model-viewer [slot="ar-button"] {
    top: 10px !important;
    right: 10px !important;
    padding: 7px 12px !important;
    font-size: 0.78rem !important;
  }
  .model-3d-toolbar {
    bottom: 8px !important;
    padding: 4px 8px !important;
    gap: 6px !important;
  }
  .model-3d-toolbar .tour-btn {
    width: 34px !important;
    height: 34px !important;
    font-size: 0.85rem !important;
  }
  .toast-container {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
  .toast {
    min-width: 0;
    width: 100%;
    padding: 12px 14px;
    font-size: 0.88rem;
  }
  .modal-dialog {
    padding: 24px 16px;
  }
  .quote-banner {
    padding: 28px 16px;
    border-radius: var(--radius-md);
  }
  .service-card-grid {
    padding: 20px 14px;
    gap: 18px;
  }
  .service-card-grid .service-img-wrap {
    height: 190px;
  }
}

/* --- Breakpoint: 360px / 320px (Compact Smartphones) --- */
@media (max-width: 360px) {
  .unified-contact-wrapper {
    padding: 18px 12px;
  }
  .brand-logo img {
    height: 36px;
  }
  .navbar.scrolled .brand-logo img {
    height: 32px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav-actions .btn-sm {
    display: none;
  }
  .lang-switcher {
    display: none;
  }
  .theme-toggle-btn {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
  }
  .toast-container {
    bottom: 10px;
    right: 10px;
    left: 10px;
  }
  .intl-phone-wrapper .country-code-select {
    flex: 0 0 92px !important;
    width: 92px !important;
    font-size: 16px !important;
    min-height: 44px !important;
    padding: 8px 18px 8px 6px !important;
    background-size: 11px !important;
    background-position: right 4px center !important;
  }
  .intl-phone-wrapper .phone-number-input {
    font-size: 16px !important;
    min-height: 44px !important;
    padding: 8px 10px !important;
  }
  .btn {
    padding: 9px 12px;
    font-size: 0.86rem;
    gap: 6px;
  }
  .btn-sm {
    padding: 6px 10px;
    font-size: 0.76rem;
    gap: 4px;
  }
  .gmap-container {
    height: 260px;
  }
  .gmap-activate-badge {
    padding: 8px 12px;
    font-size: 0.76rem;
    gap: 6px;
  }
  .plan-view-card {
    padding: 16px 12px;
  }
  .about-stats-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .process-step-card {
    padding: 20px 14px;
  }
  .process-step-title {
    font-size: 1.08rem;
  }
  .process-step-desc {
    font-size: 0.88rem;
  }
}

/* --- Light Theme Explicit Overrides --- */
[data-theme="light"] h1, 
[data-theme="light"] h2, 
[data-theme="light"] h3, 
[data-theme="light"] h4, 
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #0c1c2e;
}

[data-theme="light"] .hero {
  background: radial-gradient(circle at 80% 20%, rgba(25, 139, 194, 0.12) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(230, 244, 254, 0.8) 0%, transparent 60%);
}

[data-theme="light"] .hero-title {
  color: #0c1c2e;
}

[data-theme="light"] .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(25, 139, 194, 0.18);
  box-shadow: 0 10px 30px rgba(14, 106, 150, 0.08);
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover, 
[data-theme="light"] .nav-link.active {
  color: var(--primary-dark);
}

[data-theme="light"] .mobile-toggle {
  color: #0c1c2e;
}

@media (max-width: 991px) {
  [data-theme="light"] .nav-menu {
    background: #ffffff;
    border-left-color: rgba(25, 139, 194, 0.2);
    box-shadow: -12px 0 40px rgba(14, 106, 150, 0.18);
  }
  [data-theme="light"] .drawer-close-btn {
    background: rgba(25, 139, 194, 0.08);
    color: #0c1c2e;
    border-color: rgba(25, 139, 194, 0.2);
  }
  [data-theme="light"] .drawer-close-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
  }
}

[data-theme="light"] .section-badge {
  background: #E6F4FE;
  border-color: rgba(25, 139, 194, 0.35);
  color: var(--primary-dark);
}

[data-theme="light"] .btn-outline {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.3);
  color: var(--primary-dark);
}

[data-theme="light"] .btn-outline:hover {
  background: #E6F4FE;
  border-color: var(--primary);
  color: var(--primary-dark);
}

[data-theme="light"] .stat-item h3 {
  color: var(--primary-dark) !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: var(--primary-dark) !important;
}

[data-theme="light"] .form-control {
  background: #ffffff;
  color: #0c1c2e;
  border-color: rgba(25, 139, 194, 0.28);
}

[data-theme="light"] .form-control:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(25, 139, 194, 0.2);
}

[data-theme="light"] .section-alt {
  background: #eaf4fb;
  border-color: rgba(14, 106, 150, 0.1);
}

[data-theme="light"] .page-header {
  background: #eaf4fb;
  border-bottom: 1px solid rgba(25, 139, 194, 0.18);
}

[data-theme="light"] .quote-banner {
  background: linear-gradient(180deg, #e6f4fe 0%, #f4f8fb 100%);
  border-color: rgba(25, 139, 194, 0.25);
  box-shadow: 0 15px 35px -10px rgba(14, 106, 150, 0.14);
}

[data-theme="light"] .feature-tag {
  background: #E6F4FE;
  color: #0e6a96;
  border-color: rgba(25, 139, 194, 0.25);
}

[data-theme="light"] .admin-block-card {
  background: #f8fafc;
  border-color: rgba(25, 139, 194, 0.25);
}
[data-theme="light"] .admin-unit-row {
  background: #ffffff;
  border-color: #e2e8f0;
}
[data-theme="light"] .admin-unit-row.passive-unit {
  background: #fff5f5;
  border-left-color: #ef4444;
}

[data-theme="light"] .hero-visual-card {
  box-shadow: 0 20px 40px -10px rgba(14, 106, 150, 0.15);
  border-color: rgba(25, 139, 194, 0.25);
}

[data-theme="light"] .hero-visual-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(25, 139, 194, 0.25);
  box-shadow: 0 8px 24px rgba(14, 106, 150, 0.1);
}

[data-theme="light"] .hero-visual-badge-tag {
  color: #0284c7;
}

[data-theme="light"] .hero-visual-badge-title,
[data-theme="light"] .hero-visual-badge h4 {
  color: #0c1c2e;
}

[data-theme="light"] .hero-visual-badge-location,
[data-theme="light"] .hero-visual-badge p {
  color: #475569 !important;
}

[data-theme="light"] .hero-visual-badge-location i {
  color: #0284c7 !important;
}

[data-theme="light"] .hero-visual-status {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(25, 139, 194, 0.3);
  color: #0c1c2e;
  box-shadow: 0 4px 16px rgba(14, 106, 150, 0.12);
}

[data-theme="light"] .hero-visual-status i {
  color: #198bc2;
}

[data-theme="light"] .project-card {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.18);
  box-shadow: 0 8px 24px rgba(14, 106, 150, 0.08);
}

[data-theme="light"] .project-card:hover {
  border-color: var(--primary);
  box-shadow: 0 20px 40px -10px rgba(14, 106, 150, 0.18);
}

[data-theme="light"] .project-card-title {
  color: #0c1c2e;
}

[data-theme="light"] .project-location {
  color: var(--primary-dark);
}

[data-theme="light"] .plan-view-card {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.2);
  box-shadow: 0 10px 30px rgba(14, 106, 150, 0.08);
}

[data-theme="light"] .plan-tab-btn {
  background: #eef5fa;
  color: #475569;
  border-color: rgba(25, 139, 194, 0.2);
}

[data-theme="light"] .plan-tab-btn.active,
[data-theme="light"] .plan-tab-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

[data-theme="light"] .modal-dialog {
  background: #ffffff;
  color: #0c1c2e;
  border-color: rgba(25, 139, 194, 0.3);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .modal-dialog h2,
[data-theme="light"] .modal-dialog h3 {
  color: #0c1c2e;
}

[data-theme="light"] .tour-container {
  border-color: rgba(25, 139, 194, 0.3);
  box-shadow: 0 15px 35px rgba(14, 106, 150, 0.12);
}

[data-theme="light"] .tour-overlay-controls {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(25, 139, 194, 0.25);
  box-shadow: 0 6px 20px rgba(14, 106, 150, 0.15);
}

[data-theme="light"] .tour-btn {
  color: #0c1c2e;
}

[data-theme="light"] .tour-btn:hover {
  color: var(--primary);
}

[data-theme="light"] .footer {
  background: #091a2b;
  border-top: 1px solid rgba(25, 139, 194, 0.25);
  color: #cbd5e1;
}

[data-theme="light"] .footer h4 {
  color: #38bdf8;
}

[data-theme="light"] .footer p,
[data-theme="light"] .footer-brand p,
[data-theme="light"] .footer-col p,
[data-theme="light"] .footer-links a {
  color: #cbd5e1;
}

[data-theme="light"] .footer a {
  color: #e2e8f0;
}

[data-theme="light"] .footer a:hover,
[data-theme="light"] .footer-links a:hover {
  color: #38bdf8;
}

[data-theme="light"] .footer .text-gold,
[data-theme="light"] .footer i.text-gold {
  color: #38bdf8 !important;
  background: none !important;
  -webkit-text-fill-color: #38bdf8 !important;
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

[data-theme="light"] .footer-bottom a {
  color: #94a3b8;
}

[data-theme="light"] .footer-bottom a:hover {
  color: #38bdf8;
}

/* ==========================================================================
   LIGHT MODE WCAG AA CONTRAST ENFORCEMENTS
   ========================================================================== */

/* 1. Text Accents & Inline Brand Highlighting */
[data-theme="light"] .text-gold,
[data-theme="light"] .text-primary,
[data-theme="light"] .text-krea {
  color: var(--primary-dark);
  background: linear-gradient(135deg, #0e6a96 0%, #084c6e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

[data-theme="light"] i.text-gold,
[data-theme="light"] i.text-primary {
  color: var(--primary-dark) !important;
  background: none !important;
  -webkit-text-fill-color: var(--primary-dark) !important;
}

/* 2. Blog Card Title & Link Hover Contrast */
[data-theme="light"] .blog-card:hover .blog-card-title,
[data-theme="light"] .blog-card:hover .blog-card-title a,
[data-theme="light"] .blog-card:hover .blog-title,
[data-theme="light"] .blog-card:hover .blog-title a {
  color: var(--primary-dark);
}

[data-theme="light"] .blog-tag {
  background: #f0f7fc;
  border-color: rgba(25, 139, 194, 0.22);
  color: #475569;
}

[data-theme="light"] .blog-tag:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  background: #e6f4fe;
}

[data-theme="light"] .btn-read-more {
  color: var(--primary-dark);
}

[data-theme="light"] .blog-card:hover .btn-read-more {
  color: #084c6e;
}

/* 3. Category Filter Buttons Hover State */
[data-theme="light"] .category-filter-btn:hover {
  border-color: var(--primary-dark);
  color: var(--primary-dark);
  background: #e6f4fe;
}

/* 4. Financing Calculator Accent Labels */
[data-theme="light"] .calc-value-display {
  color: var(--primary-dark);
}

[data-theme="light"] .calc-badge-label {
  color: var(--primary-dark);
}

/* 5. Gallery & Viewer Tour Controls */
[data-theme="light"] .tour-btn:hover {
  color: var(--primary-dark);
}

[data-theme="light"] .gallery-counter-tag span {
  color: var(--primary-dark);
}

/* ==========================================================================
   DİL SEÇİCİ (I18N LANGUAGE SWITCHER)
   ========================================================================== */
.lang-switcher {
  position: relative;
  display: inline-block;
}

.lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  user-select: none;
}

.lang-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--bg-card-hover);
}

.lang-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  display: inline-block;
  flex-shrink: 0;
}

.lang-name {
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px;
  min-width: 150px;
  box-shadow: var(--shadow-lux);
  display: none;
  flex-direction: column;
  gap: 3px;
  z-index: 1100;
  backdrop-filter: blur(16px);
}

.lang-dropdown.show {
  display: flex;
}

.lang-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.lang-item:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.lang-item.active {
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 700;
}

.lang-item.active .lang-flag {
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   YÜZEN WHATSAPP İLETİŞİM BUTONU (FLOATING CTA)
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25d366;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-whatsapp i {
  font-size: 1.5rem;
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
  background: #20ba59;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 20px;
    right: 20px;
    padding: 14px;
    border-radius: 50%;
  }
  .floating-whatsapp .whatsapp-text {
    display: none;
  }
}

/* ==========================================================================
   SOSYAL MEDYA BAĞLANTILARI (FOOTER & İLETİŞİM)
   ========================================================================== */
.footer-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

/* 44x44px Accessible Social Touch Targets (WCAG 2.5.5) */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.15rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.social-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.social-btn:hover {
  transform: translateY(-3px) scale(1.08);
}

.social-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 6px 18px rgba(214, 36, 159, 0.45);
}

.social-btn.facebook:hover {
  background: #1877F2;
  color: #ffffff;
  border-color: #1877F2;
  box-shadow: 0 6px 18px rgba(24, 119, 242, 0.45);
}

.social-btn.linkedin:hover {
  background: #0A66C2;
  color: #ffffff;
  border-color: #0A66C2;
  box-shadow: 0 6px 18px rgba(10, 102, 194, 0.45);
}

.social-btn.whatsapp:hover {
  background: #25D366;
  color: #ffffff;
  border-color: #25D366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

/* ==========================================================================
   HARİTA BİLEŞENİ (LEAFLET / OPENSTREETMAP)
   ========================================================================== */
.map-card-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.leaflet-map-frame {
  width: 100%;
  height: 420px;
  z-index: 10;
}

/* Google Haritalar Açık ve Koyu Tema Uyumu */
.gmap-card-wrapper {
  position: relative;
  transition: var(--transition);
}

.gmap-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 430px;
  touch-action: pan-y;
}

.gmap-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  transition: filter 0.4s ease, opacity 0.3s ease;
}

[data-theme="dark"] .gmap-iframe {
  filter: invert(90%) hue-rotate(180deg) contrast(95%) saturate(85%) brightness(95%);
}

[data-theme="light"] .gmap-iframe {
  filter: none;
}

/* Mobile Gesture Trapping Overlay & Interaction Toggle */
.gmap-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 14, 23, 0.28);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  cursor: pointer;
  z-index: 5;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  touch-action: pan-y;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

[data-theme="light"] .gmap-overlay {
  background: rgba(244, 248, 251, 0.38);
}

.gmap-activate-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: rgba(13, 27, 42, 0.88);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.gmap-activate-badge i {
  color: #38bdf8;
  font-size: 1rem;
}

[data-theme="light"] .gmap-activate-badge {
  background: rgba(255, 255, 255, 0.94);
  color: #0c1c2e;
  border-color: rgba(25, 139, 194, 0.35);
  box-shadow: 0 8px 24px rgba(14, 106, 150, 0.18);
}

[data-theme="light"] .gmap-activate-badge i {
  color: var(--primary);
}

.gmap-overlay:hover .gmap-activate-badge {
  transform: scale(1.04);
  border-color: #38bdf8;
}

/* Deactivate (Lock) Button */
.gmap-deactivate-btn {
  display: none;
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(13, 27, 42, 0.9);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: all 0.2s ease;
}

[data-theme="light"] .gmap-deactivate-btn {
  background: rgba(255, 255, 255, 0.94);
  color: #0c1c2e;
  border-color: rgba(25, 139, 194, 0.35);
  box-shadow: 0 4px 16px rgba(14, 106, 150, 0.18);
}

.gmap-deactivate-btn i {
  color: #38bdf8;
  font-size: 0.85rem;
}

.gmap-deactivate-btn:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gmap-deactivate-btn:hover i {
  color: #ffffff;
}

/* Mobile & Touch Viewports (< 992px or coarse pointer) */
@media (max-width: 991px), (hover: none) and (pointer: coarse) {
  .gmap-container:not(.is-active) .gmap-iframe {
    pointer-events: none;
  }

  .gmap-container.is-active .gmap-iframe {
    pointer-events: auto;
  }

  .gmap-container.is-active .gmap-overlay {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .gmap-container.is-active .gmap-deactivate-btn {
    display: inline-flex;
  }
}

/* Desktop Devices (>= 992px with fine pointer): Friction-free direct interaction */
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .gmap-iframe {
    pointer-events: auto !important;
  }

  .gmap-overlay,
  .gmap-deactivate-btn {
    display: none !important;
  }
}

.leaflet-popup-content-wrapper {
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-lux) !important;
}

.leaflet-popup-tip {
  background: var(--bg-card) !important;
}

.leaflet-popup-content h4 {
  color: var(--primary);
  margin-bottom: 4px;
}

/* ==========================================================================
   FINANCING & PAYMENT CALCULATOR
   ========================================================================== */
.calculator-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .calc-grid {
    grid-template-columns: 1fr;
  }
}

.calc-slider-group {
  margin-bottom: 22px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.calc-value-display {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.1rem;
}

.calc-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border-color);
  outline: none;
  -webkit-appearance: none;
  accent-color: var(--primary);
  cursor: pointer;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(25, 139, 194, 0.5);
  border: 2px solid #fff;
}

.calc-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.calc-pill {
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.calc-pill.active, .calc-pill:hover {
  background: var(--primary-gradient);
  color: #fff;
  border-color: var(--primary);
}

/* Refined Results Panel & Sleek Metric Cards */
.calc-results-panel {
  background: linear-gradient(145deg, rgba(25, 139, 194, 0.05) 0%, rgba(15, 23, 42, 0.02) 100%);
  border: 1px solid rgba(25, 139, 194, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 10px 28px -6px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.calc-results-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient, linear-gradient(90deg, #198bc2, #38bdf8));
}

/* Hero Monthly Payment Card */
.calc-hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.calc-badge-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 6px;
}

.calc-hero-price-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 2px 0;
}

.calc-hero-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--gold-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.calc-hero-period {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.calc-hero-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Compact Details Grid for Down Payment and Balance */
.calc-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 480px) {
  .calc-details-grid {
    grid-template-columns: 1fr;
  }
}

.calc-detail-pill {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  transition: var(--transition);
}

.calc-detail-lbl {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.calc-detail-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.calc-legal-note {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-align: center;
  line-height: 1.35;
  margin: 0;
}

.calc-apply-btn {
  width: 100%;
  padding: 13px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

/* 100% Cash Payment & 10% Discount Enhancements */
.term-group-disabled {
  opacity: 0.38;
  pointer-events: none;
  user-select: none;
  filter: grayscale(0.85);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.term-cash-notice {
  font-size: 0.8rem;
  margin-top: 6px;
  color: #34d399;
  font-weight: 600;
}

.calc-pill-cash {
  border-color: rgba(16, 185, 129, 0.45) !important;
}

.calc-pill-cash.active {
  background: #059669 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.3);
}

.cash-discount-tag {
  font-size: 0.68rem;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.calc-pill-cash.active .cash-discount-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.calc-discount-alert {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(6, 78, 59, 0.18) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fadeInSlide 0.3s ease;
}

.calc-discount-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #34d399;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.calc-discount-title {
  color: #34d399;
  font-weight: 700;
  font-size: 0.92rem;
}

.calc-discount-badge {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.calc-discount-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.calc-discounted-price {
  color: #ffffff;
  font-weight: 700;
}

/* Light Mode Overrides for 100% Cash & Discount Alert */
[data-theme="light"] .calc-discount-alert {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #86efac;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .calc-discount-icon {
  background: #d1fae5;
  color: #047857;
}

[data-theme="light"] .calc-discount-title {
  color: #065f46;
}

[data-theme="light"] .calc-discount-badge {
  background: #d1fae5;
  color: #065f46;
  border-color: #6ee7b7;
}

[data-theme="light"] .calc-discount-sub {
  color: #475569;
}

[data-theme="light"] .calc-discounted-price {
  color: #064e3b;
  font-weight: 800;
}

[data-theme="light"] .term-cash-notice {
  color: #047857;
}

[data-theme="light"] .calc-pill-cash {
  border-color: #86efac !important;
  color: #065f46 !important;
}

[data-theme="light"] .calc-pill-cash .cash-discount-tag {
  background: #dcfce7;
  color: #15803d;
}

[data-theme="light"] .calc-pill-cash.active {
  background: #047857 !important;
  border-color: #065f46 !important;
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(4, 120, 87, 0.2);
}

[data-theme="light"] .calc-pill-cash.active .cash-discount-tag {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Backward compatibility for generic result boxes */
.calc-result-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

/* ==========================================================================
   CONSTRUCTION PROGRESS & MILESTONES
   ========================================================================== */
.progress-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.progress-overall-bar {
  height: 14px;
  background: var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  margin: 14px 0 28px 0;
  position: relative;
}

.progress-overall-fill {
  height: 100%;
  background: var(--primary-gradient);
  border-radius: 10px;
  transition: width 1s ease-in-out;
  box-shadow: 0 0 12px rgba(25, 139, 194, 0.5);
}

.milestones-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.milestone-item {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.milestone-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.milestone-status-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.milestone-status-badge.done {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.milestone-status-badge.in-progress {
  background: rgba(25, 139, 194, 0.15);
  color: var(--primary);
}

.milestone-status-badge.pending {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-muted);
}

.milestone-bar-wrap {
  height: 6px;
  background: var(--border-color);
  border-radius: 4px;
  overflow: hidden;
}

.milestone-bar-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.8s ease;
}

/* ==========================================================================
   BLOG & ARTICLE CARDS (ENTERPRISE EDITION)
   ========================================================================== */
.category-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.category-filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
}

.category-filter-btn:hover {
  border-color: var(--primary);
  color: #38bdf8;
  background: rgba(25, 139, 194, 0.12);
  transform: translateY(-2px);
}

.category-filter-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px var(--primary-glow);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 32px;
  align-items: stretch;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-card);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(25, 139, 194, 0.18);
  border-color: rgba(25, 139, 194, 0.6);
}

.blog-thumb-link {
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.blog-thumb-wrap,
.blog-thumb {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #08121e;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.blog-thumb-wrap img,
.blog-thumb img,
img.blog-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-thumb-wrap img,
.blog-card:hover .blog-thumb img,
.blog-card:hover img.blog-thumb {
  transform: scale(1.06);
}

.blog-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 14, 23, 0.85);
  backdrop-filter: blur(8px);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.78rem;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(56, 189, 248, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.blog-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.74rem;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-card-body,
.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-meta i {
  color: var(--primary);
}

.blog-meta-author {
  font-weight: 600;
  color: var(--text-main);
}

.blog-card-title,
.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1.4em * 2);
}

.blog-card-title a,
.blog-title a {
  color: inherit;
  text-decoration: none;
}

.blog-card:hover .blog-card-title,
.blog-card:hover .blog-card-title a,
.blog-card:hover .blog-title,
.blog-card:hover .blog-title a {
  color: #38bdf8;
}

.blog-card-summary,
.blog-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 18px;
}

.blog-tag {
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.blog-tag:hover {
  border-color: var(--primary);
  color: #38bdf8;
}

.blog-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.btn-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-read-more i {
  font-size: 0.8rem;
  transition: transform 0.25s ease;
}

.blog-card:hover .btn-read-more {
  color: #38bdf8;
}

.blog-card:hover .btn-read-more i {
  transform: translateX(6px);
}

.blog-article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.blog-article-content h2,
.blog-article-content h3 {
  margin-top: 36px;
  margin-bottom: 16px;
  color: var(--text-main);
  font-weight: 700;
}

.blog-article-content h2 {
  font-size: 1.65rem;
  border-left: 4px solid var(--primary);
  padding-left: 14px;
}

.blog-article-content h3 {
  font-size: 1.35rem;
}

.blog-article-content p {
  margin-bottom: 20px;
}

.blog-article-content ul,
.blog-article-content ol {
  margin-bottom: 24px;
  padding-left: 28px;
}

.blog-article-content li {
  margin-bottom: 8px;
}

.blog-article-content blockquote {
  border-left: 4px solid var(--gold-light);
  background: rgba(25, 139, 194, 0.06);
  padding: 18px 24px;
  margin: 24px 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  color: var(--text-main);
}

/* --- Light Mode Adaptations --- */
[data-theme="light"] .category-filter-btn {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.2);
  color: var(--text-dim);
}

[data-theme="light"] .category-filter-btn.active {
  background: var(--primary-gradient);
  color: #ffffff;
}

[data-theme="light"] .blog-card {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(14, 106, 150, 0.16), 0 0 20px rgba(25, 139, 194, 0.12);
  border-color: #198bc2;
}

[data-theme="light"] .blog-thumb-wrap,
[data-theme="light"] .blog-thumb {
  background: #e6f4fe;
}

[data-theme="light"] .blog-category-badge {
  background: rgba(255, 255, 255, 0.94);
  color: var(--primary-dark);
  border-color: rgba(25, 139, 194, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .blog-tag {
  background: #f0f7fc;
  border-color: rgba(25, 139, 194, 0.18);
  color: var(--text-dim);
}

[data-theme="light"] .blog-card-title,
[data-theme="light"] .blog-title {
  color: #0c1c2e;
}

[data-theme="light"] .blog-meta-author {
  color: #0c1c2e;
}

[data-theme="light"] .blog-article-content blockquote {
  background: #e6f4fe;
}

/* --- Uluslararası Telefon Giriş Bileşeni (Intl Phone Input) --- */
.intl-phone-wrapper {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.intl-phone-wrapper .country-code-select {
  flex: 0 0 116px;
  width: 116px;
  min-width: 90px;
  min-height: 44px;
  background: rgba(13, 27, 42, 0.95);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-right: none;
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  padding: 10px 22px 10px 8px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 14px;
}

.intl-phone-wrapper .country-code-select:focus {
  border-color: var(--gold-primary);
  z-index: 2;
  box-shadow: 0 0 0 2px rgba(25, 139, 194, 0.25);
}

.intl-phone-wrapper .phone-number-input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 44px;
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

[data-theme="light"] .intl-phone-wrapper .country-code-select {
  background-color: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
}

[data-theme="light"] .intl-phone-wrapper .country-code-select:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

/* ==========================================================================
   Özellik ve Bilgi Kartları (Ortalanmış İkon ve Modern Rozet Tasarımı)
   ========================================================================== */
.feature-card,
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.feature-card:hover,
.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), 0 0 24px rgba(25, 139, 194, 0.18);
}

.feature-card-icon,
.contact-card-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(25, 139, 194, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: #38bdf8;
  margin: 0 auto 22px auto;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              background 0.3s ease, 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.feature-card:hover .feature-card-icon,
.contact-info-card:hover .contact-card-icon {
  transform: scale(1.08) translateY(-2px);
  background: rgba(25, 139, 194, 0.24);
  border-color: rgba(56, 189, 248, 0.65);
  box-shadow: 0 8px 24px rgba(25, 139, 194, 0.35);
}

/* WhatsApp özel yeşil ikon stili */
.contact-card-icon.icon-whatsapp {
  color: #25d366;
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.3);
}

.contact-info-card:hover .contact-card-icon.icon-whatsapp {
  background: rgba(37, 211, 102, 0.24);
  border-color: rgba(37, 211, 102, 0.65);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.feature-card-title,
.contact-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  text-align: center;
  line-height: 1.35;
}

.feature-card-desc,
.contact-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  text-align: center;
}

/* Light Mode Uyumluluğu */
[data-theme="light"] .feature-card,
[data-theme="light"] .contact-info-card {
  background: #ffffff;
  border-color: rgba(25, 139, 194, 0.18);
  box-shadow: 0 4px 16px rgba(14, 106, 150, 0.08);
}

[data-theme="light"] .feature-card:hover,
[data-theme="light"] .contact-info-card:hover {
  border-color: #198bc2;
  box-shadow: 0 12px 28px rgba(25, 139, 194, 0.18);
}

[data-theme="light"] .feature-card-icon,
[data-theme="light"] .contact-card-icon {
  background: rgba(25, 139, 194, 0.08);
  border-color: rgba(25, 139, 194, 0.22);
  color: #0e6a96;
}

[data-theme="light"] .contact-card-icon.icon-whatsapp {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.3);
  color: #16a34a;
}

/* ==========================================================================
   ENFORCE RESPONSIVE MOBILE OVERRIDES (BOTTOM CASCADE GUARANTEE)
   ========================================================================== */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr !important;
  }
}




