/* ==========================================================================
   OM MÜHENDİSLİK - BEYAZ TEMA (LIGHT MODE) STİL DOSYASI
   Son Derece Modern, Temiz ve Ferah Kurumsal Tasarım
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Marka Renk Paleti (Logo ile Uyumlu) */
  --primary-navy: #0B1A28;
  --primary-navy-light: #162C42;
  --primary-red: #E51A24;
  --primary-red-hover: #C4121B;
  --primary-red-glow: rgba(229, 26, 36, 0.2);
  
  /* Aksan ve Yardımcı Renkler */
  --accent-cyan: #0284c7;
  --accent-green: #059669;
  --accent-gold: #d97706;
  
  /* Temiz Beyaz & Nötr Tonlar (Light Mode) */
  --bg-dark: #f8fafc;
  --bg-dark-card: #ffffff;
  --bg-light: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #0f172a;
  --text-light-muted: #64748b;
  
  /* Kenarlıklar ve Gölgeler */
  --border-light: #e2e8f0;
  --border-dark: #e2e8f0;
  --border-red: rgba(229, 26, 36, 0.25);
  --shadow-sm: 0 2px 8px rgba(11, 26, 40, 0.04);
  --shadow-md: 0 10px 30px rgba(11, 26, 40, 0.08);
  --shadow-lg: 0 20px 40px rgba(11, 26, 40, 0.12);
  --shadow-glow: 0 8px 25px rgba(229, 26, 36, 0.25);
  
  /* Tipografi ve Düzen */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container-max: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Tipografi */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(229, 26, 36, 0.08);
  border: 1px solid var(--border-red);
  color: var(--primary-red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--primary-navy);
}

.section-title span {
  color: var(--primary-red);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 auto;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--primary-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 26, 36, 0.4);
}

.btn-outline {
  background: #ffffff;
  color: var(--primary-navy);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  background: var(--bg-subtle);
  border-color: var(--primary-navy);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.875rem;
}

/* ==========================================================================
   HEADER & NAVİGASYON (LIGHT THEME)
   ========================================================================== */
.top-bar {
  background: var(--primary-navy);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
}

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

.top-info {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-info-item svg {
  color: var(--primary-red);
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.header.scrolled {
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.logo-img {
  height: 68px;
  width: 68px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  box-shadow: 0 4px 18px rgba(11, 26, 40, 0.12);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.logo-link:hover .logo-img {
  transform: scale(1.06);
  box-shadow: 0 6px 22px rgba(229, 26, 36, 0.3);
}

.logo-text-box {
  display: flex;
  flex-direction: column;
}

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

.logo-brand-sub {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-red);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-red);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Üst Menü İletişim Alanı & FIRE Rozeti (3473 = FIRE) */
.nav-contact-widget {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
  border: 1.5px solid rgba(229, 26, 36, 0.3);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(229, 26, 36, 0.1);
  transition: var(--transition);
}

.nav-contact-widget:hover {
  transform: translateY(-2px);
  border-color: var(--primary-red);
  box-shadow: 0 8px 22px rgba(229, 26, 36, 0.22);
  background: #ffffff;
}

.nav-contact-icon {
  width: 36px;
  height: 36px;
  background: rgba(229, 26, 36, 0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  flex-shrink: 0;
}

.nav-contact-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-contact-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-contact-phone {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 2px 0;
  text-decoration: none;
}

.nav-contact-phone:hover {
  color: var(--primary-red);
}

.fire-word-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 6px;
  letter-spacing: 0.6px;
  box-shadow: 0 2px 8px rgba(229, 26, 36, 0.35);
  animation: pulse-fire 2s infinite;
}

.nav-contact-hint {
  font-size: 0.68rem;
  color: var(--primary-red);
  font-weight: 600;
}

@keyframes pulse-fire {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(229, 26, 36, 0.35);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 14px rgba(229, 26, 36, 0.55);
  }
}

.topbar-fire-tag {
  color: #fca5a5;
  font-weight: 700;
  margin-left: 4px;
}

.mobile-toggle {
  display: none;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--primary-navy);
  cursor: pointer;
  padding: 8px 12px;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--border-light);
  color: var(--primary-red);
}

/* ==========================================================================
   HERO & CONTAINER ANIMASYON BÖLÜMÜ (LIGHT MODE)
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  overflow: hidden;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: var(--primary-navy);
}

.hero-title span {
  color: var(--primary-red);
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Low-Bandwidth Canvas Animation Container (Light Mode) */
.hero-animation-container {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.hero-animation-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.animation-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-green);
  background: rgba(5, 150, 105, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.animation-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.control-btn {
  flex: 1;
  padding: 8px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.control-btn.active, .control-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229, 26, 36, 0.3);
}

#fireCanvas {
  width: 100%;
  height: 340px;
  display: block;
  border-radius: var(--radius-md);
  background: #f8fafc;
  border: 1px solid var(--border-light);
}

/* Stats Counter Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary-red);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   SEKTÖREL ÇÖZÜMLER & SİSTEMLER (LIGHT MODE)
   ========================================================================== */
.section {
  padding: 90px 0;
  position: relative;
  background: #ffffff;
}

.section-dark {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

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

.solution-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.solution-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
  opacity: 0;
  transition: var(--transition);
}

.solution-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-red);
  box-shadow: var(--shadow-lg);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(229, 26, 36, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.solution-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: var(--primary-navy);
}

.solution-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
  font-weight: 500;
}

.feature-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* System Tabs & Configurator */
.systems-wrapper {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.system-tabs {
  display: flex;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 30px;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(229, 26, 36, 0.25);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.tab-info h3 {
  font-size: 1.75rem;
  margin-bottom: 14px;
  color: var(--primary-navy);
}

.tab-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.tab-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 1rem;
}

.tab-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tab-feature-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 16px;
  border-radius: var(--radius-md);
}

.tab-feature-card h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--primary-navy);
}

.tab-feature-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* İnteraktif Bina Yangın Sistemi Konfigüratörü */
.configurator-box {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--border-red);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 50px;
  box-shadow: var(--shadow-lg);
}

.configurator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary-navy);
}

.form-select, .form-input {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(229, 26, 36, 0.15);
}

.config-result-card {
  background: #ffffff;
  border: 2px dashed var(--primary-red);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.config-result-title {
  font-size: 1.1rem;
  color: var(--primary-navy);
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.config-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.875rem;
}

/* ==========================================================================
   MEVZUAT, SERTİFİKALAR VE İLETİŞİM MODALI (LIGHT MODE)
   ========================================================================== */
.compliance-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}

.badge-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.compliance-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.compliance-chip svg {
  color: var(--primary-red);
}

/* ==========================================================================
   İLETİŞİM VE ADRESLER BÖLÜMÜ (MERKEZ, ŞUBE & FIRE HATTI)
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.contact-box-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.contact-box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-red);
}

.contact-box-card.fire-highlight-card {
  border: 2px solid var(--primary-red);
  background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(229, 26, 36, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  margin-bottom: 20px;
}

.contact-card-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-cyan);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card-tag.red-tag {
  background: rgba(229, 26, 36, 0.12);
  color: var(--primary-red);
}

.contact-box-card h3 {
  font-size: 1.3rem;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.contact-address-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.contact-phone-display {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  text-decoration: none;
}

.contact-phone-display:hover {
  color: var(--primary-red);
}

.fire-explainer-box {
  background: #ffffff;
  border: 1px dashed var(--primary-red);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Modal (Light Mode - Mobil Uyumlu) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 26, 40, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  overflow-y: auto;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(11, 26, 40, 0.3);
  transform: translateY(20px);
  transition: var(--transition);
  margin: auto;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.modal-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.modal-close:hover {
  color: var(--primary-red);
  background: rgba(229, 26, 36, 0.1);
  border-color: var(--border-red);
}

/* Footer (Deep Navy Corporate Contrast) */
.footer {
  background: var(--primary-navy);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-title {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--primary-red);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* ==========================================================================
   RESPONSIVE (MOBİL BROWSER TAM UYUMLULUK)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .configurator-grid {
    grid-template-columns: 1fr;
  }

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

  .contact-section-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 1100px) {
  .header {
    background: #ffffff;
  }

  .top-bar {
    display: none;
  }

  .header-inner {
    height: 70px;
  }

  .logo-img {
    height: 48px;
    width: 48px;
  }

  .logo-brand-name {
    font-size: 1.15rem;
  }

  .logo-brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.4px;
  }

  .logo-link {
    gap: 10px;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100dvh - 70px);
    background-color: #ffffff !important;
    background: #ffffff !important;
    flex-direction: column;
    padding: 30px 24px 40px;
    align-items: flex-start;
    gap: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: var(--shadow-lg);
    z-index: 99999;
  }

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

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

  .hero-title {
    font-size: 2.1rem;
  }

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

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .tab-content.active {
    grid-template-columns: 1fr;
  }

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

  #fireCanvas {
    height: 260px;
  }
}

@media (max-width: 576px) {
  .hero-animation-container {
    padding: 12px;
  }

  .hero-animation-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .animation-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .control-btn {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .modal-overlay {
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .modal-card {
    padding: 16px 14px;
    max-height: calc(100dvh - 16px);
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    margin: auto;
  }

  .modal-title {
    font-size: 1.15rem !important;
    margin-bottom: 4px !important;
    padding-right: 28px;
  }

  .modal-subtitle {
    font-size: 0.78rem !important;
    margin-bottom: 10px !important;
    line-height: 1.35 !important;
  }

  .modal-card .form-group {
    margin-bottom: 8px !important;
  }

  .modal-card .form-label {
    font-size: 0.75rem !important;
    margin-bottom: 2px !important;
  }

  .modal-card .form-input,
  .modal-card .form-select {
    padding: 7px 10px !important;
    font-size: 0.85rem !important;
  }

  .modal-card textarea.form-input {
    height: 44px !important;
  }

  .modal-card .btn-primary {
    padding: 10px 14px !important;
    font-size: 0.85rem !important;
    margin-top: 4px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    padding: 6px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

@media (max-width: 420px) {
  .logo-brand-sub {
    display: none;
  }
  .logo-brand-name {
    font-size: 1rem;
  }
}

/* ==========================================================================
   YÜZEN WHATSAPP BUTONU (FLOATING WHATSAPP BUTTON)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  right: calc(28px + env(safe-area-inset-right, 0px));
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  background: #25D366;
  color: #ffffff;
  padding: 12px 20px 12px 16px;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background-color 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.whatsapp-float:hover {
  background: #20ba5a;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.55);
}

.whatsapp-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.whatsapp-icon-box svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  display: block;
}

.whatsapp-text-content {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  z-index: 2;
}

.whatsapp-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.95;
  color: #ffffff;
}

.whatsapp-number {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #ffffff;
}

.whatsapp-pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50px;
  border: 2px solid #25D366;
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.98);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.12);
    opacity: 0;
  }
  100% {
    transform: scale(0.98);
    opacity: 0;
  }
}

/* ==========================================================================
   SSS (FAQ) AKORDEON BÖLÜMÜ
   ========================================================================== */
.faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-red);
}

.faq-item.active {
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary-red);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--primary-red);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary-red);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease, opacity 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
  padding: 0 24px 20px 24px;
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    right: calc(20px + env(safe-area-inset-right, 0px));
    width: 56px;
    height: 56px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .whatsapp-pulse-ring {
    border-radius: 50%;
  }
  .whatsapp-text-content {
    display: none;
  }
  .faq-question {
    padding: 16px 18px;
    font-size: 0.95rem;
  }
  .faq-answer {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   MÜŞTERİ YORUMLARI & REFERANSLAR (TESTIMONIALS)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

/* ==========================================================================
   ALT SAYFALAR İÇİN HERO & BREADCRUMB
   ========================================================================== */
.subpage-hero {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 60px 0 50px 0;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 50%, rgba(229, 26, 36, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.subpage-hero-content {
  max-width: 800px;
  position: relative;
  z-index: 2;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 16px;
}

.breadcrumb-nav a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-nav a:hover {
  color: #ffffff;
}

.breadcrumb-nav span {
  color: var(--primary-red);
}

.subpage-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
  color: #ffffff;
}

.subpage-hero p {
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA BANNER BOX
   ========================================================================== */
.cta-banner-box {
  background: linear-gradient(135deg, var(--primary-navy) 0%, #06111c 100%);
  border: 1px solid rgba(229, 26, 36, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .cta-banner-box {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
  }
}

.cta-banner-text h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-banner-text p {
  color: #94a3b8;
  font-size: 0.95rem;
}



