/* ==========================================================================
   SABA METAL MAKİNA İMALAT SANAYİ VE TİCARET LİMİTED ŞİRKETİ
   Resmi Web Sitesi Tasarım Sistemi & Stilleri
   Renk Paleti: SABA Logosuyla Uyumlu - Gece Mavisi (Midnight Steel Navy), 
   Fırçalanmış Paslanmaz Çelik & Krom, Elektrik Lazer Mavisi & Buz Mavisi
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  /* Arka Plan Renkleri (SABA Logosu Zengin Gece Mavisi & Metalik Çelik Laciverti) */
  --bg-primary: #071326;
  --bg-secondary: #0c1e38;
  --bg-card: #102544;
  --bg-card-hover: #16335e;
  --bg-elevated: #1a3c6e;
  --bg-glass: rgba(7, 19, 38, 0.94);
  --bg-glass-card: rgba(16, 37, 68, 0.88);

  /* Logo Lazer Mavisi & Canlı Safir / Elektrik Cyan Vurguları (Logo İmzası) */
  --blue-primary: #0084ff;
  --blue-light: #38bdf8;
  --blue-cyan: #00f0ff;
  --blue-dark: #0052cc;
  --blue-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 50%, #0044cc 100%);
  --blue-gradient-subtle: linear-gradient(135deg, rgba(0, 198, 255, 0.18) 0%, rgba(0, 114, 255, 0.06) 100%);
  --blue-border: rgba(0, 132, 255, 0.38);
  --blue-border-hover: rgba(56, 189, 248, 0.85);
  --blue-glow: 0 0 25px rgba(0, 132, 255, 0.45);
  --blue-glow-lg: 0 0 45px rgba(0, 132, 255, 0.35);

  /* Geriye Dönük Uyumluluk (Eski --gold referanslarını Logo Lazer Mavisi ve Krom ile uyumlar) */
  --gold-primary: #0084ff;
  --gold-light: #38bdf8;
  --gold-dark: #0052cc;
  --gold-gradient: linear-gradient(135deg, #ffffff 0%, #bae6fd 35%, #38bdf8 70%, #0084ff 100%);
  --gold-gradient-subtle: linear-gradient(135deg, rgba(56, 189, 248, 0.18) 0%, rgba(0, 114, 255, 0.06) 100%);
  --gold-border: rgba(0, 132, 255, 0.38);
  --gold-border-hover: rgba(56, 189, 248, 0.85);
  --gold-glow: 0 0 25px rgba(0, 132, 255, 0.45);

  /* Paslanmaz Çelik & Fırçalanmış Krom Tonları (Logodaki Metalik Doku) */
  --steel-100: #ffffff;
  --steel-200: #f1f5f9;
  --steel-300: #e2e8f0;
  --steel-400: #94a3b8;
  --steel-500: #64748b;
  --steel-600: #475569;
  --steel-border: rgba(56, 189, 248, 0.22);
  --steel-gradient: linear-gradient(135deg, #ffffff 0%, #cbd5e1 45%, #94a3b8 100%);
  --chrome-gradient: linear-gradient(135deg, #ffffff 0%, #e0f2fe 30%, #38bdf8 70%, #0084ff 100%);

  /* Metin Renkleri */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-gold: #38bdf8;
  --text-accent: #0084ff;
  --text-chrome: #ffffff;

  /* Font Aileleri */
  --font-display: 'Rajdhani', 'Montserrat', -apple-system, sans-serif;
  --font-heading: 'Rajdhani', 'Montserrat', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Boyutlar ve Boşluklar */
  --header-height: 96px;
  --container-max: 1240px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Geçişler ve Gölgeler */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-elevated: 0 20px 40px -15px rgba(0, 0, 0, 0.8);
}

/* Sıfırlama ve Temel Yapı */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

img, svg, video, iframe {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Konteyner */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
  z-index: 2;
}

/* Tipografi - SABA Logosuyla Birebir Uyumlu Karakter */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.85rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p, span, a, li {
  overflow-wrap: break-word;
}

.gold-gradient-text,
.chrome-gradient-text {
  background: var(--chrome-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(0, 132, 255, 0.25));
}

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

.lead-text {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 760px;
  line-height: 1.7;
}

/* Rozet ve Etiketler */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
}

.badge-gold,
.badge-blue {
  background: rgba(0, 132, 255, 0.12);
  color: var(--blue-light);
  border: 1px solid var(--blue-border);
  box-shadow: 0 0 14px rgba(0, 132, 255, 0.2);
}

.badge-steel {
  background: rgba(226, 232, 240, 0.08);
  color: var(--steel-200);
  border: 1px solid var(--steel-border);
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0084ff 0%, #005ecb 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 18px rgba(0, 132, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #38bdf8 0%, #0077ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 132, 255, 0.6), 0 0 20px rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(14, 23, 42, 0.6);
  color: var(--steel-100);
  border: 1px solid var(--steel-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(0, 132, 255, 0.12);
  border-color: var(--blue-border-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 16px rgba(0, 132, 255, 0.25);
}

.btn-outline-gold,
.btn-outline-blue {
  background: transparent;
  color: var(--blue-light);
  border: 1px solid var(--blue-border);
}

.btn-outline-gold:hover,
.btn-outline-blue:hover {
  background: rgba(0, 132, 255, 0.12);
  border-color: var(--blue-light);
  color: #ffffff;
  box-shadow: var(--blue-glow);
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

/* ==========================================================================
   ÜST BİLGİ / HEADER & NAVİGASYON
   ========================================================================== */
.top-bar {
  background: #050e1c;
  border-bottom: 1px solid rgba(0, 132, 255, 0.2);
  font-size: 0.82rem;
  color: var(--steel-400);
  padding: 8px 0;
}

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

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item a:hover {
  color: var(--blue-light);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  color: var(--blue-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 132, 255, 0.25);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 19, 38, 0.98);
  border-bottom-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 10px 30px rgba(3, 8, 18, 0.8), 0 0 20px rgba(0, 132, 255, 0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

/* Logo Alanı - SABA Amblem Uyumlu (Büyük ve Ön Planda) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo-img {
  width: 74px;
  height: 74px;
  border-radius: var(--radius-full);
  border: 2px solid var(--blue-primary);
  box-shadow: 0 0 24px rgba(0, 132, 255, 0.6), 0 0 10px rgba(56, 189, 248, 0.4);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
  object-fit: cover;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 0 34px rgba(0, 132, 255, 0.85), 0 0 14px rgba(56, 189, 248, 0.6);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  line-height: 1.05;
}

.brand-name span {
  color: var(--blue-primary);
  text-shadow: 0 0 16px rgba(0, 132, 255, 0.65);
}

.brand-sub {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--steel-300);
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigasyon Linkleri */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--steel-300);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-gradient);
  box-shadow: 0 0 8px rgba(0, 132, 255, 0.7);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

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

/* Mobil Menü Butonu */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--steel-100);
  cursor: pointer;
  padding: 8px;
}

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

/* ==========================================================================
   HERO / GİRİŞ ALANI (SABA LOGOSU & MİDNIGHT STEEL)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 85px 0 105px;
  background: radial-gradient(ellipse 100% 70% at 50% -10%, rgba(0, 132, 255, 0.32) 0%, rgba(12, 30, 56, 0.95) 55%, var(--bg-primary) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--steel-border);
}

.page-hero {
  position: relative;
  padding: 55px 0;
  background: radial-gradient(ellipse 100% 70% at 50% -10%, rgba(0, 132, 255, 0.28) 0%, rgba(12, 30, 56, 0.95) 55%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--steel-border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.6vw, 3.8rem);
  line-height: 1.15;
}

.hero-tagline {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--blue-light);
  letter-spacing: 0.04em;
  padding: 8px 18px;
  background: rgba(0, 132, 255, 0.12);
  border-left: 3px solid var(--blue-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  box-shadow: inset 0 0 15px rgba(0, 132, 255, 0.1);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--steel-300);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  width: 100%;
}

.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-emblem-wrapper {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-emblem-wrapper::before {
  content: "";
  position: absolute;
  inset: -20px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(0, 132, 255, 0.45) 0%, rgba(0, 240, 255, 0.18) 45%, transparent 70%);
  opacity: 0.85;
  filter: blur(28px);
}

.hero-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-full);
  border: 3px solid rgba(56, 189, 248, 0.45);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75),
              0 0 35px rgba(0, 132, 255, 0.35);
  position: relative;
  z-index: 2;
}

/* Sayfa İçi Temiz Arka Plan Düzeni */
.has-watermark {
  position: relative;
}

.section-watermark {
  display: none !important;
}

/* ==========================================================================
   BÖLÜMLER & KARTLAR
   ========================================================================== */
.section-padding {
  padding: 85px 0;
  position: relative;
}

.section-padding-sm {
  padding: 50px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.section-header.text-left {
  text-align: left;
  align-items: flex-start;
  margin: 0 0 40px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 3 Faaliyet Kartı Izgarası */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 132, 255, 0.28);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(3, 8, 18, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.7);
  transform: translateY(-6px);
  box-shadow: var(--shadow-elevated), 0 0 30px rgba(0, 132, 255, 0.35);
}

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

.service-card-header {
  margin-bottom: 18px;
}

.service-card-num {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue-light);
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  display: inline-block;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 132, 255, 0.1);
  border: 1px solid rgba(0, 132, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  margin-bottom: 18px;
  box-shadow: 0 0 15px rgba(0, 132, 255, 0.15);
}

.service-icon-box svg {
  width: 28px;
  height: 28px;
}

.service-card-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 12px;
  color: #ffffff;
}

.service-card-desc {
  color: var(--steel-400);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.service-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--steel-300);
}

.service-feature-item svg {
  width: 16px;
  height: 16px;
  color: var(--blue-light);
  flex-shrink: 0;
}

.card-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-top: auto;
}

.card-cta-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.card-cta-link:hover {
  color: #ffffff;
  text-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
}

.card-cta-link:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   HAKKIMIZDA & DÜZENLENEBİLİR BÖLÜMLER
   ========================================================================== */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 26px;
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all var(--transition-fast);
}

.highlight-box:hover {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 16px rgba(0, 132, 255, 0.15);
}

.highlight-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-light);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.highlight-desc {
  font-size: 0.88rem;
  color: var(--steel-400);
}

/* Düzenlenebilir Bilgi Kartı */
.editable-slot-card {
  background: rgba(14, 23, 42, 0.7);
  border: 1px dashed var(--blue-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 20px 0;
  position: relative;
}

.editable-slot-badge {
  display: inline-block;
  background: rgba(0, 132, 255, 0.15);
  color: var(--blue-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  border: 1px solid rgba(0, 132, 255, 0.35);
}

.editable-slot-text {
  font-size: 0.92rem;
  color: var(--steel-400);
  line-height: 1.6;
}

/* ==========================================================================
   PROJELER & GALERİ
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--steel-border);
  color: var(--steel-300);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: rgba(0, 132, 255, 0.12);
  border-color: var(--blue-border-hover);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 132, 255, 0.25);
}

.filter-btn.active {
  background: rgba(0, 132, 255, 0.18);
  border-color: var(--blue-light);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 132, 255, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 2;
}

.gallery-grid-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 560px));
  gap: 32px;
  position: relative;
  z-index: 2;
}

.gallery-item {
  background: var(--bg-card);
  border: 1px solid rgba(0, 132, 255, 0.28);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 8px 24px rgba(3, 8, 18, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.gallery-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
  z-index: 3;
}

.gallery-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(56, 189, 248, 0.7);
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated), 0 0 30px rgba(0, 132, 255, 0.3);
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-image-box {
  width: 100%;
  aspect-ratio: 16/10;
  background: #09172e;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--steel-border);
}

.gallery-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-image-box.img-contain,
.gallery-image-box.img-portrait {
  background: #061120;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 901 / 1024;
}

.gallery-image-box.img-portrait.img-kirici {
  aspect-ratio: 3 / 4;
}

.gallery-image-box.img-contain img,
.gallery-image-box.img-portrait img,
.gallery-image-box img.img-contain,
.gallery-image-box img.img-portrait {
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}

.gallery-item:hover .gallery-image-box img {
  transform: scale(1.04);
}

.gallery-item:hover .gallery-image-box.img-contain img,
.gallery-item:hover .gallery-image-box.img-portrait img {
  transform: scale(1.02);
}

.gallery-item-content {
  padding: 26px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--blue-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 132, 255, 0.1);
  border: 1px solid var(--blue-border);
  padding: 3px 12px;
  border-radius: var(--radius-full);
}

.gallery-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
}

.gallery-desc {
  font-size: 0.92rem;
  color: var(--steel-400);
  line-height: 1.65;
}

/* ==========================================================================
   İLETİŞİM BÖLÜMÜ & FORMLAR
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 45px;
  position: relative;
  z-index: 2;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid rgba(0, 132, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition-fast);
}

.contact-card:hover {
  border-color: rgba(56, 189, 248, 0.5);
  background: var(--bg-card-hover);
  transform: translateX(4px);
  box-shadow: 0 0 18px rgba(0, 132, 255, 0.18);
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 132, 255, 0.12);
  border: 1px solid rgba(0, 132, 255, 0.35);
  color: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(0, 132, 255, 0.2);
}

.contact-icon-wrapper svg {
  width: 22px;
  height: 22px;
}

.contact-card-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--steel-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}

.contact-card-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-word;
}

.contact-card-value a:hover {
  color: var(--blue-light);
  text-decoration: underline;
}

.contact-card-sub {
  font-size: 0.82rem;
  color: var(--blue-light);
  margin-top: 4px;
}

/* Form */
.quote-form-container {
  background: var(--bg-card);
  border: 1px solid rgba(0, 132, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card), 0 0 25px rgba(0, 132, 255, 0.12);
  position: relative;
}

.quote-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 30px;
  right: 30px;
  height: 2px;
  background: var(--blue-gradient);
  box-shadow: 0 0 10px rgba(0, 132, 255, 0.5);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--steel-200);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: #08172e;
  border: 1px solid rgba(0, 132, 255, 0.28);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 16px; /* 16px iOS Safari oto-yakınlaştırma engelleme */
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--transition-fast);
}

select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' 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 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(0, 132, 255, 0.35);
  background: #0d2242;
}

.form-control:user-invalid {
  border-color: #ef4444;
}

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

/* Tablolar */
.specs-table-container {
  background: var(--bg-card);
  border: 1px solid rgba(0, 132, 255, 0.28);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 30px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(3, 8, 18, 0.4);
  max-width: 100%;
}

.specs-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.specs-table th {
  background: #091a33;
  color: var(--blue-light);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  padding: 16px 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(0, 132, 255, 0.3);
  white-space: nowrap;
}

.specs-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--steel-300);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table tr:hover td {
  background: rgba(0, 132, 255, 0.06);
}

/* Banner */
.cta-banner {
  background: linear-gradient(135deg, #0c1e38 0%, #10284d 50%, #0d2140 100%);
  border: 1px solid rgba(0, 132, 255, 0.35);
  border-radius: var(--radius-xl);
  padding: 55px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  box-shadow: var(--shadow-card), 0 0 35px rgba(0, 132, 255, 0.18);
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.cta-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue-gradient);
  box-shadow: 0 0 10px rgba(0, 132, 255, 0.4);
}

/* Alt Bilgi / Footer */
.site-footer {
  background: radial-gradient(ellipse 100% 80% at 50% 0%, rgba(0, 132, 255, 0.15) 0%, #050e1c 65%);
  border-top: 1px solid rgba(0, 132, 255, 0.28);
  padding: 70px 0 28px;
  color: var(--steel-400);
  font-size: 0.92rem;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 36px;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  border: 2px solid var(--blue-primary);
  box-shadow: 0 0 16px rgba(0, 132, 255, 0.45);
  object-fit: cover;
}

.footer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--steel-400);
}

.footer-legal-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--steel-300);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--blue-primary);
  box-shadow: 0 0 8px rgba(0, 132, 255, 0.6);
}

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

.footer-links a {
  color: var(--steel-400);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--blue-light);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--steel-500);
  position: relative;
  z-index: 2;
}

.footer-bottom a:hover {
  color: var(--steel-300);
}

/* Yüzen Butonlar */
.floating-actions {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  right: max(24px, env(safe-area-inset-right, 24px));
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-normal);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-call {
  background: linear-gradient(135deg, #0084ff 0%, #005ecb 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.5);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.5);
}

.floating-call:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 25px rgba(0, 132, 255, 0.75);
}

.floating-btn svg {
  width: 22px;
  height: 22px;
}

/* Mobil Menü Çekmecesi */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 8, 11, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  padding: max(24px, env(safe-area-inset-top, 24px)) max(24px, env(safe-area-inset-right, 24px)) max(24px, env(safe-area-inset-bottom, 24px)) max(24px, env(safe-area-inset-left, 24px));
  transform: translateY(-100%);
  transition: transform var(--transition-normal);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.active {
  transform: translateY(0);
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--steel-border);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--steel-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
  color: var(--blue-light);
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--steel-border);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Animasyonlar */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}


/* ==========================================================================
   RESPONSİVE SİSTEM (TABLET & MOBİL CİHAZ UYUMLULUĞU)
   ========================================================================== */

/* 1. Tablet Yatay & Orta Ekranlar (<= 1024px) */
@media (max-width: 1024px) {
  :root {
    --header-height: 88px;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .brand-logo-img {
    width: 66px;
    height: 66px;
  }

  .brand-name {
    font-size: 1.65rem;
  }

  .nav-menu {
    gap: 16px;
  }

  .nav-link {
    font-size: 0.88rem;
  }

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

  .hero-content {
    align-items: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-badge-row {
    justify-content: center;
  }


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

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about-preview-grid {
    grid-template-columns: 1fr;
  }

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

/* 2. Tablet Dikey & Küçük Taşınabilirler (<= 992px) */
@media (max-width: 992px) {
  .nav-menu,
  .nav-cta .btn {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* 3. Standart Mobil & Geniş Telefonlar (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 80px;
  }

  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .top-bar {
    display: none;
  }

  .brand-logo {
    gap: 12px;
  }

  .brand-logo-img {
    width: 56px;
    height: 56px;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .brand-sub {
    font-size: 0.72rem;
  }

  .section-padding {
    padding: 52px 0;
  }

  .section-padding-sm {
    padding: 36px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .hero-section {
    padding: 48px 0 60px;
  }

  .page-hero {
    padding: 40px 0;
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .gallery-grid,
  .gallery-grid-featured {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .about-highlights {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
    margin-bottom: 36px;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .quote-form-container {
    padding: 24px 18px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }


  .cta-banner {
    padding: 38px 22px;
    border-radius: var(--radius-lg);
  }

  .cta-banner .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .specs-table-container {
    margin: 20px 0;
  }

  .specs-table th,
  .specs-table td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}

/* 4. Akıllı Telefonlar & Yatay Tutuş (<= 580px) */
@media (max-width: 580px) {

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    gap: 12px;
  }
}

/* 5. Kompakt Akıllı Telefonlar (<= 480px) */
@media (max-width: 480px) {
  :root {
    --header-height: 72px;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .brand-logo {
    gap: 10px;
  }

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

  .brand-name {
    font-size: 1.25rem;
  }

  .brand-sub {
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .mobile-toggle svg {
    width: 24px;
    height: 24px;
  }

  .floating-actions {
    bottom: max(16px, env(safe-area-inset-bottom, 16px));
    right: max(16px, env(safe-area-inset-right, 16px));
    gap: 10px;
  }

  .floating-btn {
    width: 44px;
    height: 44px;
  }

  .floating-btn svg {
    width: 20px;
    height: 20px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.92rem;
    white-space: normal;
    text-align: center;
    max-width: 100%;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 0.98rem;
  }

  .gallery-item-content {
    padding: 20px 16px;
  }

  .card-cta-link {
    font-size: 0.88rem;
  }

  .service-card {
    padding: 24px 18px;
  }

  .highlight-box {
    padding: 18px 16px;
  }

  .quote-form-container {
    padding: 20px 14px;
  }

  .mobile-nav-drawer {
    padding: max(20px, env(safe-area-inset-top, 20px)) max(16px, env(safe-area-inset-right, 16px)) max(20px, env(safe-area-inset-bottom, 20px)) max(16px, env(safe-area-inset-left, 16px));
  }

  .mobile-nav-links {
    margin: 20px 0;
    gap: 12px;
  }

  .mobile-nav-link {
    font-size: 1.05rem;
    padding: 8px 0;
  }

  .cta-banner {
    padding: 30px 16px;
  }
}

/* 6. En Dar Telefon Ekranları (<= 360px - iPhone SE, Küçük Ekranlar) */
@media (max-width: 360px) {
  :root {
    --header-height: 66px;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .brand-logo {
    gap: 8px;
  }

  .brand-logo-img {
    width: 40px;
    height: 40px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .brand-sub {
    display: none;
  }

  h1 {
    font-size: 1.6rem !important;
  }

  h2 {
    font-size: 1.35rem !important;
  }

  h3 {
    font-size: 1.15rem !important;
  }

  .btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .gallery-item-content {
    padding: 16px 12px;
  }

  .card-cta-link {
    font-size: 0.82rem;
  }

}
