﻿/* ==========================================================
   BER MÜHENDİSLİK - www.ber.com.tr
   Tek sayfa kurumsal site - Modern Kurumsal (Lacivert/Mavi)
   ========================================================== */

:root {
  --navy: #0b2147;
  --navy-light: #14315c;
  --navy-soft: #1d3a6e;
  --blue: #001CFF;
  --blue-light: #eef0ff;
  --orange: #FF9E6F;
  --orange-dark: #e48459;
  --orange-light: #fff1eb;
  --gray-bg: #f4f6f9;
  --text: #1f2937;
  --text-light: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 33, 71, 0.08);
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 1200;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--orange);
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

img, svg {
  display: block;
  max-inline-size: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  inline-size: 100%;
  max-inline-size: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 16px;
  border-radius: 999px;
  margin-block-end: 16px;
}

.section-head {
  max-inline-size: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-block-end: 14px;
  letter-spacing: -0.5px;
}

.section-head p {
  color: var(--text-light);
  font-size: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn svg {
  inline-size: 18px;
  block-size: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--orange);
  color: var(--blue);
  box-shadow: 0 8px 24px rgba(255, 158, 111, 0.35);
}

.btn-primary:hover {
  background: var(--orange-dark);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn-fire-analysis {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(255, 158, 111, 0.42);
  font-size: 16px;
  padding: 15px 24px;
  text-align: center;
}

.btn-fire-analysis span {
  color: var(--orange-dark);
  font-size: 13px;
}

.btn-fire-analysis:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--blue);
  transform: translateY(-3px);
}

.btn-fire-analysis:hover span { color: var(--blue); }

.btn-block {
  inline-size: 100%;
}

/* ===================== HEADER / NAV ===================== */

.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(11, 33, 71, 0.08);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

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

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Logo: PNG kendi turuncusu var — sadece boyut ve köşe yuvarlama */
.logo-img {
  display: block;
  block-size: 56px;
  inline-size: auto;
  border-radius: 10px;
  transition: var(--transition);
}

.site-header.scrolled .logo-img {
  border-radius: 10px;
}

.logo-img-dark {
  display: block;
  block-size: 56px;
  inline-size: auto;
  border-radius: 10px;
}

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

.nav-links a {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  transition: var(--transition);
  position: relative;
}

.site-header.scrolled .nav-links a {
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.site-header.scrolled .nav-links a:hover,
.site-header.scrolled .nav-links a.active {
  color: var(--blue);
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 3px;
}

.site-header.scrolled .lang-switch {
  background: var(--gray-bg);
}

.lang-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.5px;
  font-family: inherit;
}

.site-header.scrolled .lang-btn {
  color: var(--text-light);
}

.lang-btn.active {
  background: var(--white);
  color: var(--navy);
}

.site-header.scrolled .lang-btn.active {
  background: var(--navy);
  color: var(--white);
}

.lang-btn:hover:not(.active) {
  color: var(--white);
}

.site-header.scrolled .lang-btn:hover:not(.active) {
  color: var(--text);
}

.nav-cta .btn-primary {
  padding: 11px 24px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.nav-toggle span {
  inline-size: 26px;
  block-size: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.site-header.scrolled .nav-toggle span {
  background: var(--navy);
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  min-block-size: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 55%, var(--navy-light) 100%);
  color: var(--white);
  overflow: hidden;
  padding-block-start: 110px;
}

.hero::before {
  content: "";
  position: absolute;
  inset-block-start: -120px;
  inset-inline-end: -120px;
  inline-size: 480px;
  block-size: 480px;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.35), transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  inset-block-end: -160px;
  inset-inline-start: -160px;
  inline-size: 420px;
  block-size: 420px;
  background: radial-gradient(circle, rgba(47, 111, 237, 0.18), transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content .eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-end: 26px;
}
.hero-content .eyebrow .chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9db8ff;
  background: rgba(47, 111, 237, 0.15);
  border: 1px solid rgba(47, 111, 237, 0.3);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero-content h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-block-end: 22px;
}

.hero-content h1 span {
  color: var(--orange);
}

.hero-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.78);
  max-inline-size: 540px;
  margin-block-end: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-block-end: 56px;
}

.hero-meta {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-meta .meta-item h3 {
  font-size: 30px;
  font-weight: 800;
  color: var(--white);
  margin-block-end: 4px;
}

.hero-meta .meta-item p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  max-inline-size: none;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-block-size: 500px;
}

/*
.hero-visual .visual-card {
  position: relative;
  inline-size: 100%;
  max-inline-size: 420px;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.hero-visual .visual-card .gear-icon {
  inline-size: 58%;
  block-size: 58%;
  color: var(--orange);
  animation: spin-slow 28s linear infinite;
}
*/

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-video-shell {
  position: relative;
  inline-size: 100%;
  max-inline-size: 540px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-video-shell::before {
  display: none !important;
}

.hero-video-frame {
  position: relative;
  inline-size: 100%;
  z-index: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  border: 0;
  background: #0b2147 !important;
  box-shadow: none !important;
}

.hero-video-frame iframe {
  inline-size: 100%;
  block-size: 100%;
  border: 0;
  display: block;
}

.hero-video {
  position: absolute;
  inset: 0;
  inline-size: 100%;
  block-size: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.7s linear;
}

.hero-video.is-active {
  z-index: 1;
  opacity: 1;
}

.hero-audio-controls {
  position: absolute;
  inset-inline: 0;
  inset-block-end: -54px;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.hero-audio-toggle {
  min-block-size: 36px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(7, 22, 47, 0.82);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.hero-audio-toggle:hover {
  background: rgba(11, 33, 71, 0.94);
}

.hero-audio-trigger {
  min-block-size: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-audio-icon {
  inline-size: 15px;
  block-size: 15px;
  flex-shrink: 0;
}

.hero-audio-icon-off {
  display: none;
}

.hero-audio-toggle.is-muted .hero-audio-icon-on {
  display: none;
}

.hero-audio-toggle.is-muted .hero-audio-icon-off {
  display: block;
}

.hero-volume-min,
.hero-volume-max {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  user-select: none;
}

.hero-volume-range {
  inline-size: 82px;
  accent-color: var(--orange);
  cursor: pointer;
}

.hero-visual .floating-badge {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
}

.hero-visual .floating-badge svg {
  inline-size: 26px;
  block-size: 26px;
  color: var(--blue);
  flex-shrink: 0;
}

.hero-visual .badge-1 {
  inset-block-start: -26px;
  inset-inline-start: -36px;
}

.hero-visual .badge-2 {
  inset-block-end: -48px;
  inset-inline-end: -42px;
}

.scroll-cue {
  position: absolute;
  inset-block-end: 28px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-cue .mouse {
  inline-size: 22px;
  block-size: 36px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  position: relative;
}

.scroll-cue .mouse::before {
  content: "";
  position: absolute;
  inset-block-start: 6px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  inline-size: 4px;
  block-size: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  animation: scroll-dot 1.8s ease infinite;
}

@keyframes scroll-dot {
  0% { opacity: 1; top: 6px; }
  60% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}

/* ===================== HAKKIMIZDA ===================== */

.about {
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 20px;
  background: var(--navy);
  min-block-size: 420px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.about-visual .pattern-icon {
  display: none;
}

.about-feature {
  position: relative;
  inline-size: 100%;
  min-block-size: 384px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(155deg, #102c58 0%, #0b2147 68%, #07172f 100%);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  padding: 18px;
  color: var(--white);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.about-feature-label {
  display: block;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
  margin-block-end: 8px;
}

.about-feature h3 {
  color: var(--white);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.15;
  margin: 0 0 10px;
}

.about-feature-title {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.35;
  margin: 0 0 10px;
  font-weight: 700;
}

.about-feature p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.about-feature-media {
  display: block;
  width: 100%;
  height: 184px;
  object-fit: cover;
  object-position: 66% center;
  border-radius: 10px;
  margin: 0 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.08);
}

.about-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 10px 13px;
  border-radius: 8px;
  background: var(--orange);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.about-feature-link:hover {
  background: var(--orange-dark);
  color: var(--blue);
}

.about-feature.is-disabled {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.about-feature-empty {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

/* ===================== TEKNİK VURGU SÖZLERİ ===================== */

.technical-highlights {
  padding: 28px 0 38px;
  background: var(--white);
  --technical-accent: var(--orange);
  --technical-accent-soft: #fff7ed;
}

.technical-highlights.accent-blue { --technical-accent: #2563eb; --technical-accent-soft: #eff6ff; }
.technical-highlights.accent-teal { --technical-accent: #0f766e; --technical-accent-soft: #f0fdfa; }
.technical-highlights.accent-purple { --technical-accent: #7e22ce; --technical-accent-soft: #faf5ff; }

.technical-highlights-card {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4vw, 44px) clamp(24px, 5vw, 62px);
  border: 1px solid color-mix(in srgb, var(--technical-accent) 28%, white);
  border-radius: 18px;
  background: linear-gradient(118deg, var(--technical-accent-soft), #fff 62%);
  box-shadow: 0 16px 42px rgba(11, 33, 71, 0.08);
}

.technical-highlights-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  inline-size: 6px;
  background: var(--technical-accent);
}

.technical-highlights-kicker {
  display: block;
  color: var(--technical-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  margin-bottom: 12px;
}

.technical-highlights blockquote {
  margin: 0;
  max-inline-size: 960px;
  color: var(--navy);
  font: 700 clamp(22px, 3.3vw, 38px) / 1.26 "Inter", "Segoe UI", Arial, sans-serif;
  letter-spacing: -0.6px;
  transition: opacity 180ms ease, transform 180ms ease;
}

.technical-highlights.is-changing blockquote { opacity: 0; transform: translateY(6px); }
.technical-highlights.font-editorial blockquote { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -0.4px; }
.technical-highlights.font-technical blockquote { font-family: "Segoe UI", Arial, sans-serif; font-weight: 800; letter-spacing: 0; }
.technical-highlights.emphasis-quote blockquote::before { content: '“'; color: var(--technical-accent); font-size: 1.45em; line-height: 0; vertical-align: -0.18em; margin-right: 0.08em; }
.technical-highlights.emphasis-quote blockquote::after { content: '”'; color: var(--technical-accent); font-size: 1.45em; line-height: 0; vertical-align: -0.18em; margin-left: 0.08em; }
.technical-highlights.emphasis-marker blockquote { display: inline; background: linear-gradient(transparent 63%, color-mix(in srgb, var(--technical-accent) 24%, transparent) 0); }
.technical-highlights.emphasis-bar .technical-highlights-card::before { inline-size: 10px; }

.technical-highlights-progress {
  margin-top: 22px;
  inline-size: min(220px, 100%);
  block-size: 3px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--technical-accent) 16%, white);
  overflow: hidden;
}

.technical-highlights-progress span {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--technical-accent);
}

.technical-highlights.is-disabled { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .technical-highlights-progress span { animation: technical-highlight-progress var(--technical-duration, 5s) linear infinite; }
}

@keyframes technical-highlight-progress { to { transform: scaleX(1); } }

/* İlk ekranda, soldaki chip'lerle üstten hizalanan sağ sütun vurgusu. */
.hero {
  background: #0b2147;
}
.hero::before,
.hero::after {
  display: none;
}
.hero .hero-actions { margin-block-end: 20px; }
.hero .container { align-items: center; }
.hero-visual {
  align-items: center;
  padding-block-start: 0;
  background: #0b2147;
}
.hero-loop-stage {
  position: relative;
  inline-size: 100%;
  max-inline-size: 540px;
  background: #0b2147;
}
.hero-loop-stage .hero-video-shell::before {
  display: none !important;
  background: none !important;
}
.hero-loop-stage .hero-video-shell {
  background: #0b2147;
  box-shadow: none !important;
}
.hero-loop-stage .hero-video-frame {
  background: #0b2147 !important;
  border: 0;
  box-shadow: none !important;
}
.hero-loop-stage .badge-1 {
  inset-block-start: -58px;
  inset-inline-start: 0;
}
.hero-loop-stage .badge-2 {
  inset-block-start: calc(100% + 68px);
  inset-block-end: auto;
  inset-inline-end: 0;
}
.hero-technical-highlights {
  position: static;
  inline-size: auto;
  padding: 0;
  margin-block-end: 28px;
  background: transparent;
}

.hero-visual .hero-video-shell { margin-block-start: 0; }

.hero-technical-highlights .technical-highlights-card {
  padding: 15px 20px 12px;
  border-color: rgba(255, 255, 255, 0.26);
  border-radius: 12px;
  background: rgba(7, 23, 47, 0.66);
  box-shadow: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-technical-highlights .technical-highlights-card::before { background: var(--technical-accent); }
.hero-technical-highlights .technical-highlights-kicker { color: color-mix(in srgb, var(--technical-accent) 74%, white); font-size: 10px; margin-bottom: 5px; }
.hero-technical-highlights blockquote { color: var(--white); font-size: clamp(16px, 2vw, 21px); line-height: 1.35; letter-spacing: -0.2px; }
.hero-technical-highlights .technical-highlights-progress { margin-top: 10px; max-inline-size: 140px; background: rgba(255, 255, 255, 0.2); }

@media (max-width: 1024px) {
  .hero .container { align-items: center; }
  .hero-visual { align-items: center; padding-block-start: 0; }
  .hero-technical-highlights {
    position: static;
    inline-size: min(100%, 680px);
    margin-block-end: 24px;
    text-align: start;
  }
}

@media (max-width: 640px) {
  .hero-technical-highlights { margin-block-end: 22px; }
  .hero-technical-highlights .technical-highlights-card { padding: 14px 16px 11px; }
  .hero-technical-highlights blockquote { font-size: 17px; }
}

.about-text .section-tag {
  margin-block-end: 18px;
}

.about-text h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-block-end: 20px;
  letter-spacing: -0.5px;
}

.about-text > p {
  color: var(--text-light);
  margin-block-end: 28px;
  font-size: 16px;
}

.about-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  margin-block-end: 32px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}

.about-list li svg {
  inline-size: 22px;
  block-size: 22px;
  color: var(--blue);
  flex-shrink: 0;
  margin-block-start: 2px;
}

/* ===================== HİZMETLER ===================== */

.services {
  background: var(--gray-bg);
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 33, 71, 0.12);
  border-color: transparent;
}

.service-card .icon-wrap {
  inline-size: 56px;
  block-size: 56px;
  border-radius: 14px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-block-end: 22px;
  transition: var(--transition);
}

.service-card:hover .icon-wrap {
  background: var(--orange);
}

.service-card .icon-wrap svg {
  inline-size: 28px;
  block-size: 28px;
  color: var(--blue);
  transition: var(--transition);
}

.service-card:hover .icon-wrap svg {
  color: var(--blue);
}

.service-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 12px;
}

.service-card p {
  color: var(--text-light);
  font-size: 14.5px;
}

/* ===================== SEKTÖRLER ===================== */

.industries {
  background: var(--white);
  padding-block-start: 0;
}

.industries .container {
  border-top: 1px solid var(--border);
  padding-block-start: 64px;
}

.industries-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-block-end: 36px;
}

.industries-head h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  color: var(--navy);
}

.industries-head p {
  color: var(--text-light);
  max-inline-size: 420px;
}

.industries-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}

.industries-chips span {
  --chip-bg: #eef3ff;
  --chip-accent: var(--blue);
  display: flex;
  align-items: center;
  gap: 10px;
  min-block-size: 68px;
  padding: 15px 18px;
  border-radius: 16px;
  background: var(--chip-bg);
  color: var(--navy);
  font-size: 14px;
  border: 1px solid rgba(0, 28, 255, 0.12);
  box-shadow: 0 8px 22px rgba(11, 33, 71, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.industries-chips span:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(11, 33, 71, 0.12);
}

.industries-chips span strong {
  font-weight: 800;
  line-height: 1.35;
}

.industries-chips span::before {
  content: "";
  flex: 0 0 10px;
  inline-size: 10px;
  block-size: 10px;
  border-radius: 50%;
  background: var(--chip-accent);
  display: inline-block;
}

.industries-chips span:nth-child(2n) { --chip-bg: #fff3ec; --chip-accent: #e48459; }
.industries-chips span:nth-child(3n) { --chip-bg: #f2efff; --chip-accent: #7856bf; }
.industries-chips span:nth-child(4n) { --chip-bg: #ecfaf6; --chip-accent: #0f8f87; }
.industries-chips span:nth-child(5n) { --chip-bg: #fff8e8; --chip-accent: #b87822; }
.industries-chips span:nth-child(7n) { --chip-bg: #edf7f0; --chip-accent: #477a56; }
.industries-chips span:nth-child(11n) { --chip-bg: #fff0f4; --chip-accent: #9a5b79; }

.industries-actions {
  display: flex;
  justify-content: flex-start;
  margin-block-start: 28px;
}

.industries-catalog {
  min-inline-size: 190px;
}

/* ===================== REFERANSLAR ===================== */

.references {
  background: var(--gray-bg);
}

.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 18px;
}

.reference-card {
  --reference-accent: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 11px;
  min-block-size: 250px;
  padding: 24px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.reference-card::before { content: ""; position: absolute; inset: 0 auto 0 0; inline-size: 4px; background: var(--reference-accent); }
.reference-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--reference-accent) 42%, var(--border));
  box-shadow: 0 18px 36px rgba(11, 33, 71, 0.12);
}

.reference-icon {
  inline-size: 42px;
  block-size: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--reference-accent);
  background: color-mix(in srgb, var(--reference-accent) 11%, white);
}

.reference-icon svg { inline-size: 23px; block-size: 23px; }
.reference-type { color: var(--reference-accent); font-size: 11px; font-weight: 800; letter-spacing: 1.15px; line-height: 1.35; }
.reference-card h3 {
  font-size: 18px;
  line-height: 1.35;
  color: var(--navy);
}

.reference-list { display: grid; gap: 7px; margin-block-start: 3px; }
.reference-list li { position: relative; padding-inline-start: 15px; color: var(--text-light); font-size: 13.5px; line-height: 1.48; }
.reference-list li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .56em; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--reference-accent); }
.reference-card--health { --reference-accent: #0f8f87; }
.reference-card--public { --reference-accent: #001CFF; }
.reference-card--sport { --reference-accent: #e97820; }
.reference-card--education { --reference-accent: #7856bf; }
.reference-card--accommodation { --reference-accent: #b4642d; }
.reference-card--transport { --reference-accent: #367eaf; }
.reference-card--defence { --reference-accent: #425b78; }
.reference-card--industry { --reference-accent: #536278; }
.reference-card--culture { --reference-accent: #a45c25; }
.references-note { max-inline-size: 860px; margin: 26px auto 0; padding: 14px 18px; border-left: 3px solid var(--orange); border-radius: 0 8px 8px 0; color: var(--text-light); background: var(--orange-light); font-size: 13px; line-height: 1.65; }

/* Uzun referans listeleri, kartta özet görünüm ve isteğe bağlı ayrıntı olarak sunulur. */
.reference-groups .reference-card { min-block-size: 0; padding: 0; gap: 0; }
.reference-groups .reference-card > summary { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; cursor: pointer; list-style: none; }
.reference-groups .reference-card > summary::-webkit-details-marker { display: none; }
.reference-groups .reference-card > summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--reference-accent) 34%, white); outline-offset: -3px; }
.reference-count { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--reference-accent) 11%, white); color: var(--reference-accent); font-size: 12px; font-weight: 800; }
.reference-preview { display: grid; gap: 6px; margin-block: 2px 0; }
.reference-preview li { position: relative; padding-inline-start: 14px; color: var(--text-light); font-size: 13px; line-height: 1.43; }
.reference-preview li::before { content: ""; position: absolute; inset-inline-start: 0; inset-block-start: .54em; inline-size: 5px; block-size: 5px; border-radius: 50%; background: var(--reference-accent); }
.reference-toggle { margin-block-start: 3px; color: var(--reference-accent); font-size: 12px; font-weight: 800; }
.reference-toggle::after { content: " +"; }
.reference-card[open] .reference-toggle::after { content: " −"; }
.reference-groups .reference-card > .reference-list { padding: 0 24px 24px; border-top: 1px solid var(--border); padding-top: 17px; }
.reference-groups .reference-card[open] > summary { padding-block-end: 17px; }

@supports not (color: color-mix(in srgb, red 50%, white)) {
  .reference-card:hover { border-color: rgba(47, 111, 237, .35); }
  .reference-icon { background: var(--blue-light); }
  .reference-count { background: var(--blue-light); }
}

/* ===================== SAYILARLA BİZ ===================== */

.stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--white);
  padding: 70px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-grid .stat h3 {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 800;
  color: var(--orange);
  margin-block-end: 8px;
}

.stats-grid .stat p {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

/* ===================== İLETİŞİM ===================== */

.contact {
  background: var(--gray-bg);
}

.contact .container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  margin-block-end: 18px;
  letter-spacing: -0.5px;
}

.contact-info > p {
  color: var(--text-light);
  margin-block-end: 36px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-block-end: 32px;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.contact-card .icon-wrap {
  inline-size: 46px;
  block-size: 46px;
  border-radius: 12px;
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card .icon-wrap svg {
  inline-size: 22px;
  block-size: 22px;
  color: var(--blue);
}

.contact-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-block-end: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-card p {
  color: var(--text-light);
  font-size: 15px;
}

.social-row {
  display: flex;
  gap: 12px;
}

.social-row a {
  inline-size: 38px;
  block-size: 38px;
  border-radius: 10px;
  background: #132946;
  border: 1px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.social-row a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.social-row a[data-social-key="linkedin"] { background:#356fa8; }
.social-row a[data-social-key="instagram"] { background:linear-gradient(135deg,#e6c35a,#d86b67,#8d5aa8); }
.social-row a[data-social-key="facebook"] { background:#426b9f; }
.social-row a[data-social-key="x"] { background:#26354d; }
.social-row a[data-social-key="telegram"] { background:#438cb5; }
.social-row a[data-social-key="whatsapp"] { background:#2f8f6b; }
.social-row a[data-social-key="youtube"] { background:#b94a46; }

.social-row a svg {
  inline-size: 24px;
  block-size: 24px;
  border-radius: 6px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.contact-form-wrap h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-block-end: 6px;
}

.contact-form-wrap > p {
  color: var(--text-light);
  margin-block-end: 28px;
  font-size: 14.5px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-block-end: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-inline-size: 0;
}

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

.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  min-inline-size: 0;
  max-inline-size: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--gray-bg);
  transition: var(--transition);
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 111, 237, 0.12);
}

.form-note {
  margin-block-start: 16px;
  font-size: 13px;
  color: var(--text-light);
  text-align: center;
}

.form-file-note {
  color: var(--text-light);
  font-size: 12px;
  line-height: 1.45;
}

.form-success,
.form-error {
  display: none;
  margin-block-start: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.form-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-success.show,
.form-error.show {
  display: block;
}

.contact-map {
  grid-column: 1 / -1;
  margin-block-start: 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.contact-map iframe {
  inline-size: 100%;
  block-size: 320px;
  border: 0;
  display: block;
}

/* ===================== FOOTER ===================== */

.site-footer {
  background: #07152e;
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-block-end: 50px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
  margin-block-end: 18px;
  color: var(--white);
}

.footer-brand p {
  font-size: 14.5px;
  line-height: 1.7;
  max-inline-size: 320px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  margin-block-end: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14.5px;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-col address {
  font-size: 14.5px;
  font-style: normal;
  line-height: 1.8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 13.5px;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

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

/* ===================== BACK TO TOP ===================== */

.back-to-top {
  position: fixed;
  inset-block-end: 28px;
  inset-inline-end: 28px;
  inline-size: 48px;
  block-size: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(47, 111, 237, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
  border: none;
  cursor: pointer;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  inline-size: 22px;
  block-size: 22px;
}

/* ===================== RESPONSIVE ===================== */

/* ------- Küçük masaüstü / tablet yatay (≤1024px) ------- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* Uzun uzmanlık etiketleri, grid öğesini ekran genişliğinin dışına itmesin. */
  .hero-content {
    min-inline-size: 0;
  }

  .hero-content p {
    margin-inline-start: auto;
    margin-inline-end: auto;
  }

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

  .hero-visual {
    margin-block-start: 40px;
  }

  .hero-video-shell {
    max-inline-size: 540px;
  }

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

  .about-visual {
    min-block-size: 320px;
  }

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

  /* 6 hizmet kartı, 2 sütun: 3×2 = tam dolar, son kart override yok */

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

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

  .contact .container {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-info,
  .contact-form-wrap,
  .contact-card > div:last-child {
    min-inline-size: 0;
  }

  .contact-card p {
    overflow-wrap: anywhere;
  }

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

/* ------- Tablet / telefon yatay (≤768px) ------- */
@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  /* Logo boyutu küçül */
  .logo-img,
  .logo-img-dark {
    block-size: 46px;
  }

  /* Mobil menü: sağdan sürgülü panel */
  .nav-links {
    position: fixed;
    inset-block-start: 0;
    inset-inline-end: 0;
    block-size: 100vh;
    inline-size: min(300px, 80%);
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 48px 24px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.12);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    pointer-events: none;
    transition: clip-path 0.35s ease, visibility 0s linear 0.35s;
    z-index: 1001;
    overflow-y: auto;
  }

  .nav-links.open {
    inset-inline-end: 0;
    clip-path: inset(0);
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .nav-links a {
    color: var(--navy) !important;
    font-size: 16px;
    font-weight: 600;
  }

  .nav-cta .btn-primary {
    padding: 10px 18px;
    font-size: 14px;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-visual .floating-badge {
    display: none;
  }

  .hero-video-shell {
    max-inline-size: min(100%, 420px);
  }

  .hero-meta {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  /* Hakkımızda */
  .about-list {
    grid-template-columns: 1fr;
  }

  /* Hizmetler & Referanslar: 1 sütun */
  .services-grid,
  .references-grid {
    grid-template-columns: 1fr;
  }

  .industries-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  /* 3 stat tablete sığar, 1 satırda tut */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-map iframe {
    block-size: 240px;
  }

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

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

/* ------- Küçük telefon (≤480px) ------- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  section {
    padding: 48px 0;
  }

  /* Logo: küçük telefon */
  .logo-img,
  .logo-img-dark {
    block-size: 38px;
  }

  /* Küçük ekranda "Teklif Al" buton gizle — menüde İletişim linki var */
  .nav-cta .btn-primary {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 100px 0 56px;
  }

  .hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hero-content .eyebrow .chip {
    max-inline-size: 100%;
    white-space: normal;
    line-height: 1.3;
    text-align: center;
  }

  .hero-meta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-meta .meta-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-align: start;
  }

  .hero-meta .meta-item h3 {
    font-size: 22px;
    min-inline-size: 48px;
    margin-block-end: 0;
  }

  /* Stat bandı: dikey yığın */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stats-grid .stat {
    padding: 24px 20px;
  }

  .stats-grid .stat h3 {
    font-size: 36px;
  }

  /* About visual: daha kısa */
  .about-visual {
    min-block-size: 240px;
  }

  /* Hizmet kartları */
  .service-card {
    padding: 28px 20px;
  }

  /* Footer */
  .footer-grid {
    gap: 24px;
  }

  /* Butonlar: dikey yığın */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    inline-size: 100%;
    max-inline-size: 320px;
    text-align: center;
    justify-content: center;
    white-space: normal;
    line-height: 1.35;
  }

  /* Form — iOS'ta zoom engellemek için input font ≥16px */
  .contact-form-wrap input,
  .contact-form-wrap select,
  .contact-form-wrap textarea {
    font-size: 16px;
  }

  /* İletişim kartları */
  .contact-info {
    padding: 24px 16px;
  }
}

/* ------- Çok küçük telefon (≤360px) ------- */
@media (max-width: 360px) {
  .logo-img,
  .logo-img-dark {
    block-size: 33px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .stats-grid .stat h3 {
    font-size: 30px;
  }
}


.social-row .social-symbol { display:grid; place-items:center; width:24px; height:24px; color:#fff; font-size:13px; font-weight:900; line-height:1; } .social-row .whatsapp-symbol { background:transparent; border-radius:50%; } .social-row .youtube-symbol { background:transparent; border-radius:6px; font-size:12px; }


@media (max-inline-size: 768px) {
  .nav-links.open { display: flex; }
  .contact-form-wrap { grid-template-columns: 1fr; }
}




