/* =========================================================
   MERİDYEN MARINE ELECTRICS
   Sinematik scroll hero + kurumsal sayfa
   ========================================================= */

:root {
  /* Sahne opacity/scale değerleri artık elemanların kendi inline style'ında
     tutuluyor (:root üzerinden gitmek tüm belgede style recalc tetikliyordu). */
  --shade-alpha: 0.22;
  --cue-opacity: 1;

  /* --- hizmet slider --- */
  --sights-shift: 0px;

  /* --- palet (poster tasarımlarından) --- */
  --ink: #060e18;
  --ink-2: #0a1826;
  --ink-3: #0d2135;
  --paper: #eaf3fa;
  --muted: rgba(234, 243, 250, 0.66);
  --accent: #2e9be0;
  --accent-soft: #7fd1f5;
  --line: rgba(126, 190, 232, 0.18);
  --shadow: rgba(0, 0, 0, 0.45);

  font-family: Inter, "Helvetica Neue", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--paper);
  background: var(--ink);
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--ink);
  scroll-padding-top: 92px;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: clip;
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

button { border: 0; font: inherit; color: inherit; background: none; }
img { max-width: 100%; }

.site-shell { min-height: 100vh; }

.wrap { width: min(1280px, calc(100vw - 48px)); margin: 0 auto; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -200px; left: 16px;
  z-index: 300;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
}
.skip-link:focus { top: 16px; }

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

.site-header {
  position: fixed;
  z-index: 100;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 20px 34px;
  border-bottom: 1px solid transparent;
  transition: background 320ms ease, backdrop-filter 320ms ease,
              padding 320ms ease, border-color 320ms ease;
}
.site-header.is-scrolled {
  padding: 12px 34px;
  border-bottom-color: var(--line);
  background: rgba(6, 14, 24, 0.86);
  backdrop-filter: blur(16px);
}

/* Sayfanın en üstündeyken header logosu gizlenir: marka kilidi zaten hero
   görselinin içinde ve çok daha büyük, iki logo üst üste binmesin.
   Kaydırınca geri gelir.

   Dikkat: yalnızca geniş ekranlarda. Dar ekranda görsel yanlardan kırpıldığı
   için içindeki logo görünmez — orada header logosu tek marka işareti olarak
   kalmalı (aşağıdaki mobil media query bunu geri açıyor). */
.site-header.is-over-hero .site-logo {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.site-logo {
  transition: opacity 320ms ease, transform 320ms ease;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--paper);
  text-decoration: none;
  white-space: nowrap;
}
.site-logo img { width: 42px; height: 42px; object-fit: contain; }
.site-logo-text { display: flex; flex-direction: column; line-height: 1; }
.site-logo-text strong { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; }
.site-logo-text em {
  margin-top: 5px;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.4em;
  color: var(--accent-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 1.8vw, 34px);
}
.site-nav a {
  position: relative;
  padding-bottom: 5px;
  color: rgba(234, 243, 250, 0.8);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 200ms ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 260ms ease;
}
.site-nav a:hover { color: #fff; }
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.site-nav a.is-current { color: var(--accent-soft); }

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

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: rgba(234, 243, 250, 0.8);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 200ms ease, background 200ms ease;
}
.language-switcher:hover { border-color: var(--accent); background: rgba(46, 155, 224, 0.12); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid rgba(46, 155, 224, 0.6);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(46, 155, 224, 0.16);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background 220ms ease, transform 220ms ease;
}
.header-cta:hover { background: var(--accent); transform: translateY(-1px); }

/* =========================================================
   SİNEMATİK HERO
   ========================================================= */

.cinema-scroll {
  position: relative;
  /* Yükseklik sahne sayısına göre kendini ayarlar.
     --scenes script.js tarafından yazılır; görsel ekleyip çıkarınca
     scroll mesafesi otomatik büyür/küçülür. */
  --scenes: 5;
  --scene-span: 600px;
  height: calc(100vh + var(--scenes) * var(--scene-span));
  height: calc(100svh + var(--scenes) * var(--scene-span));

  /* motor tarafından yazılan parallax değerleri */
  --px: 0px;
  --py: 0px;
}

.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  /* sticky katmanı kendi compositor layer'ında tut */
  transform: translateZ(0);
}

.world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  contain: strict;
}

.cine-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  /* --s: motor tarafından yazılır (ölçek) */
  --s: 1;
  /* opacity animasyonu tamamen compositor'da kalsın */
  will-change: opacity;
  transform: translateZ(0);
  backface-visibility: hidden;
}
/* opacity ~0 olan sahne hiç boyanmasın */
.cine-frame[data-off="1"] { visibility: hidden; }
.cine-frame-1 { opacity: 1; }

/* Başlık okunabilirliği için alt karartma — her sahnenin kendi içinde,
   böylece sahneyle birlikte kararıyor/açılıyor. */
.cine-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg,
              rgba(5, 12, 20, 0) 34%,
              rgba(5, 12, 20, 0.42) 68%,
              rgba(5, 12, 20, calc(0.58 + var(--shade-alpha) * 0.4)) 100%);
}

/* Tam ekran görsel — kenardan kenara.
   Görsellerde artık yazı gömülü olmadığı için kırpma güvenli.
   Tüm görseli kırpmadan göstermek istersen: object-fit: contain; */
.cine-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Logo filigranı sol üstte — kırpma alttan ağırlıklı olsun ki logo kesilmesin */
  object-position: 50% 22%;
  user-select: none;
  -webkit-user-drag: none;
  transform: translate3d(var(--px), var(--py), 0) scale(var(--s));
  will-change: transform;
  backface-visibility: hidden;
}

/* =========== SAHNE BAŞLIKLARI ===========
   Görsele gömülü değil, gerçek HTML metni: her ekranda net,
   TR/EN ile çevriliyor, mobilde okunur boyutta kalıyor. */
.cine-caption {
  position: absolute;
  z-index: 5;
  left: clamp(20px, 6vw, 96px);
  bottom: clamp(84px, 16vh, 190px);
  max-width: min(620px, 78vw);
  margin: 0;
  color: #eaf3fa;
  text-shadow: 0 2px 24px rgba(4, 10, 18, 0.55);
  pointer-events: none;
}

.cine-kicker {
  margin: 0 0 14px;
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-soft);
}
.cine-kicker::after {
  content: "";
  display: block;
  width: 46px;
  height: 2px;
  margin-top: 12px;
  background: var(--accent-soft);
  opacity: 0.7;
}

.cine-title {
  margin: 0;
  font-size: clamp(29px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.cine-sub {
  margin: 16px 0 0;
  max-width: 44ch;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(234, 243, 250, 0.82);
}

/* Üst karartma — sabit header'ın okunabilirliği için.
   Yalnızca üst bant; başlıklar aşağıda olduğu için çakışmaz. */
.cine-shade {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(180deg,
              rgba(6, 14, 24, 0.72) 0%,
              rgba(6, 14, 24, 0) 26%);
}

.cine-dots {
  position: absolute;
  z-index: 6;
  right: 30px;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateY(-50%);
}
.cine-dots button {
  width: 9px; height: 9px;
  padding: 0;
  border-radius: 999px;
  background: rgba(234, 243, 250, 0.28);
  cursor: pointer;
  transition: background 260ms ease, transform 260ms ease;
}
.cine-dots button.is-active { background: var(--accent-soft); transform: scale(1.5); }

.scroll-cue {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  opacity: var(--cue-opacity);
  color: rgba(234, 243, 250, 0.66);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.36em;
  text-indent: 0.36em;
  pointer-events: none;
}
.scroll-cue i {
  width: 1px;
  height: 38px;
  background: linear-gradient(180deg, var(--accent-soft), transparent);
  animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.4); transform-origin: 50% 0; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: 50% 0; opacity: 1; }
}

/* =========================================================
   SLOGAN ŞERİDİ
   ========================================================= */

.tagline-strip {
  position: relative;
  z-index: 20;
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink-2);
  text-align: center;
}
.tagline-kicker {
  margin: 0;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
}
.tagline-kicker b { color: var(--accent); font-weight: 400; }
.tagline-main {
  margin: 16px 0 0;
  color: var(--paper);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* =========================================================
   ORTAK BÖLÜM STİLLERİ
   ========================================================= */

.page-section {
  position: relative;
  z-index: 20;
  padding: clamp(76px, 10vh, 132px) 0;
  background: var(--ink);
  overflow: hidden;
}
.section-projects { background: var(--ink-2); }

.section-bg { position: absolute; inset: 0; z-index: 0; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 24, 0.93) 0%, rgba(6, 14, 24, 0.88) 45%, rgba(6, 14, 24, 0.97) 100%);
}
.section-contact .section-bg::after {
  background: linear-gradient(180deg, rgba(6, 14, 24, 0.9) 0%, rgba(6, 14, 24, 0.7) 48%, rgba(6, 14, 24, 0.95) 100%);
}
.page-section > .wrap, .page-section > .sights-slider { position: relative; z-index: 1; }

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--accent-soft);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.page-section h2 {
  margin: 0;
  color: var(--paper);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.section-head { width: min(760px, 100%); margin-bottom: clamp(38px, 5vh, 62px); }
.section-head p { margin: 18px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }

.reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   HİZMET SLIDER
   ========================================================= */

.sights-slider { overflow: hidden; padding: 4px 0 6px; }

.sights-track {
  display: flex;
  gap: clamp(16px, 1.4vw, 24px);
  align-items: stretch;
  padding-left: max(24px, calc((100vw - 1280px) / 2));
  transform: translate3d(var(--sights-shift), 0, 0);
  transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.sights-track.is-jumping { transition: none; }

.sight-card {
  position: relative;
  flex: 0 0 clamp(280px, 23vw, 350px);
  min-height: 318px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--paper);
  background: linear-gradient(180deg, rgba(19, 44, 70, 0.72) 0%, rgba(10, 24, 38, 0.86) 100%);
  text-align: left;
  cursor: pointer;
  user-select: none;
  transition: border-color 300ms ease, transform 300ms ease, background 300ms ease;
}
.sight-card:hover, .sight-card.is-active {
  transform: translateY(-4px);
  border-color: rgba(46, 155, 224, 0.62);
  background: linear-gradient(180deg, rgba(26, 62, 96, 0.78) 0%, rgba(10, 24, 38, 0.9) 100%);
}
.sight-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sight-num {
  position: absolute;
  top: 24px; right: 26px;
  color: rgba(127, 209, 245, 0.34);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.sight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px; height: 50px;
  margin-bottom: 20px;
  border: 1px solid rgba(46, 155, 224, 0.42);
  border-radius: 999px;
  color: var(--accent-soft);
}
.sight-icon svg { width: 24px; height: 24px; }

.sight-card h3 {
  margin: 0 0 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--paper);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}
.sight-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.sight-card li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.sight-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 2px;
  background: var(--accent);
}

.sights-controls { display: flex; gap: 12px; margin-top: 34px; }
.sight-nav {
  width: 50px; height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  cursor: pointer;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.sight-nav:hover { border-color: var(--accent); background: rgba(46, 155, 224, 0.16); transform: translateY(-2px); }

/* --- değer sütunları --- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: clamp(48px, 7vh, 82px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.pillar h3 {
  margin: 0;
  color: var(--accent-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pillar p { margin: 12px 0 0; color: var(--muted); font-size: 0.93rem; line-height: 1.55; }

/* =========================================================
   PROJELER
   ========================================================= */

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 22px;
}
.project-card {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 24, 38, 0.7);
  text-align: left;
  cursor: pointer;
  transition: transform 340ms ease, border-color 340ms ease,
              opacity 760ms cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover { transform: translateY(-6px); border-color: rgba(46, 155, 224, 0.6); }
.project-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.project-media {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #04090f;
}
.project-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 50% 0;
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-media img { transform: scale(1.05); }
.project-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 14, 24, 0) 55%, rgba(6, 14, 24, 0.88) 100%);
}

.project-body { display: block; padding: 20px 22px 24px; }
.project-index {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.project-title {
  display: block;
  margin-top: 9px;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}
.project-tags {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* =========================================================
   SERTİFİKALAR
   ========================================================= */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.cert-card {
  display: block;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(10, 24, 38, 0.7);
  text-align: left;
  cursor: pointer;
  transition: transform 340ms ease, border-color 340ms ease,
              opacity 760ms cubic-bezier(0.22, 1, 0.36, 1);
}
.cert-card:hover { transform: translateY(-6px); border-color: rgba(46, 155, 224, 0.6); }
.cert-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.cert-media { display: block; padding: 18px 18px 0; }
.cert-media img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: 8px;
  background: #fff;
}
.cert-body { display: block; padding: 20px 22px 24px; }
.cert-org {
  display: block;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.cert-title {
  display: block;
  margin-top: 9px;
  color: var(--paper);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.32;
}
.cert-meta { display: block; margin-top: 10px; color: var(--muted); font-size: 0.8rem; line-height: 1.45; }

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

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}
.about-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 34px 80px var(--shadow);
}
.about-text p { margin: 18px 0 0; color: var(--muted); font-size: 1.01rem; line-height: 1.65; }

.about-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.about-list li {
  position: relative;
  padding-left: 24px;
  color: rgba(234, 243, 250, 0.86);
  font-size: 0.96rem;
  line-height: 1.45;
}
.about-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 9px; height: 9px;
  border-radius: 2px;
  background: var(--accent);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 24px 20px;
  margin-top: 38px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat { display: flex; flex-direction: column; gap: 7px; }
.stat strong { color: var(--paper); font-size: clamp(1.8rem, 2.4vw, 2.15rem); font-weight: 300; line-height: 1; }
.stat span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.88fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}
.contact-text > p { margin: 18px 0 0; color: var(--muted); font-size: 1.02rem; line-height: 1.6; }

.contact-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 26px;
  margin: 36px 0 0;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.contact-list dt {
  color: rgba(234, 243, 250, 0.48);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.contact-list dd { margin: 10px 0 0; color: var(--paper); font-size: 0.99rem; line-height: 1.45; }
.contact-list a { color: var(--paper); text-decoration: none; border-bottom: 1px solid var(--accent); }
.contact-list a:hover { color: var(--accent-soft); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #04101a; background: var(--accent-soft); }
.btn-primary:hover { background: #a5e0fa; }
.btn-ghost { color: var(--paper); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }

.contact-form {
  display: grid;
  gap: 17px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 24, 38, 0.72);
  backdrop-filter: blur(8px);
}
.contact-form label { display: grid; gap: 8px; }
.contact-form label span {
  color: rgba(234, 243, 250, 0.56);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 11, 19, 0.7);
  font: inherit;
  font-size: 0.96rem;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.form-note { margin: 0; color: rgba(234, 243, 250, 0.4); font-size: 0.78rem; line-height: 1.4; }

/* Netlify honeypot — spam botları için görünmez tuzak alanı */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact-address { grid-column: 1 / -1; }
.contact-address dd a { line-height: 1.55; border-bottom-color: rgba(46, 155, 224, 0.5); }

/* --- Google Haritalar gömülü --- */
.contact-map {
  margin-top: clamp(34px, 5vh, 56px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(10, 24, 38, 0.72);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}
.contact-map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.map-label {
  color: rgba(234, 243, 250, 0.5);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-soft);
  font-size: 0.86rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 200ms ease;
}
.map-link:hover { color: #fff; }
.map-frame {
  position: relative;
  height: clamp(300px, 42vh, 430px);
  background:
    radial-gradient(110% 80% at 50% 40%, rgba(46, 155, 224, 0.12) 0%, rgba(6, 14, 24, 0) 70%),
    #08131f;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  /* uydu görünümü koyu; yine de sayfa paletine yaklaştırılır */
  filter: saturate(0.9) contrast(1.04) brightness(0.94);
}

.map-placeholder {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 24px;
  text-align: center;
  background: inherit;
}

/* Harita yüklenirken adres kartı yerinde kalır, iframe gelince kaldırılır.
   Beklerken hafif bir nabız — sayfa donmuş gibi görünmesin. */
.map-frame.is-loading-map .map-note {
  animation: map-pulse 1.4s ease-in-out infinite;
}
@keyframes map-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.map-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  border: 1px solid rgba(46, 155, 224, 0.42);
  border-radius: 999px;
  color: var(--accent-soft);
}
.map-pin svg { width: 26px; height: 26px; }
.map-address {
  margin: 0;
  color: var(--paper);
  font-size: 0.99rem;
  font-weight: 500;
  line-height: 1.5;
}
.map-load { min-height: 46px; margin-top: 4px; padding: 0 26px; font-size: 0.9rem; }
.map-note { margin: 0; color: rgba(234, 243, 250, 0.4); font-size: 0.76rem; }

/* =========================================================
   TEŞEKKÜR SAYFASI
   ========================================================= */

.thanks-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 120px 24px 64px;
  text-align: center;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(46, 155, 224, 0.14) 0%, rgba(6, 14, 24, 0) 60%),
    var(--ink);
}
.thanks-inner { width: min(620px, 100%); }
.thanks-inner img { width: 76px; height: 76px; object-fit: contain; }
.thanks-inner h1 {
  margin: 28px 0 0;
  color: var(--paper);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 300;
  line-height: 1.1;
}
.thanks-inner p { margin: 18px 0 0; color: var(--muted); font-size: 1.04rem; line-height: 1.6; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 13px; margin-top: 34px; }

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

.site-footer {
  position: relative;
  z-index: 20;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  background: var(--ink);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
}
.footer-brand img { width: 30px; height: 30px; object-fit: contain; }
.footer-brand em {
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--accent-soft);
}
.footer-tag {
  margin: 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.34em;
}
.footer-tag b { color: var(--accent); font-weight: 400; }
.footer-copy { margin: 0; color: rgba(234, 243, 250, 0.42); font-size: 0.8rem; }

/* =========================================================
   LIGHTBOX
   ========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 76px;
  background: rgba(3, 8, 14, 0.94);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 260ms ease;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}
.lightbox-close, .lightbox-arrow {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper);
  background: rgba(10, 24, 38, 0.8);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}
.lightbox-close:hover, .lightbox-arrow:hover { background: rgba(46, 155, 224, 0.3); border-color: var(--accent); }
.lightbox-close { top: 22px; right: 24px; width: 46px; height: 46px; font-size: 26px; line-height: 1; }
.lightbox-arrow { top: 50%; width: 52px; height: 52px; font-size: 20px; transform: translateY(-50%); }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }

/* =========================================================
   MEDIA QUERIES
   ========================================================= */

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    row-gap: 12px;
    padding: 14px 20px;
  }
  .site-header.is-scrolled { padding: 12px 20px; }
  .site-logo { grid-column: 1; grid-row: 1; }
  .header-actions { grid-column: 2; grid-row: 1; justify-self: end; }
  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .site-nav a { white-space: nowrap; }
  .site-nav::-webkit-scrollbar { display: none; }
  html { scroll-padding-top: 122px; }

  .about-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .cine-dots { right: 16px; }
}

/* Dar / dikey ekranlar */
@media (max-width: 860px), (orientation: portrait) and (max-width: 1024px) {
  .world { background: #050c14; }

  /* Görsel yanlardan kırpıldığı için içindeki logo görünmüyor —
     header logosu görünür kalsın, aksi halde hero'da hiç marka olmaz. */
  .site-header.is-over-hero .site-logo {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  /* Dikey ekranda yatay görsel yanlardan kırpılır; ilgi merkezi biraz yukarıda */
  .cine-poster { object-position: 50% 40%; }
  /* mobilde parallax yok → transform sabit, ölçek tek değişken */
  .cine-poster { transform: translateZ(0) scale(var(--s)); }

  .cine-caption {
    left: clamp(18px, 6vw, 40px);
    right: clamp(18px, 6vw, 40px);
    bottom: clamp(76px, 14vh, 130px);
    max-width: none;
  }
  .cine-title { font-size: clamp(27px, 7.4vw, 42px); }
  .cine-sub { font-size: clamp(13px, 3.5vw, 16px); max-width: 38ch; }
  .cine-kicker { margin-bottom: 10px; letter-spacing: 0.24em; }
  .cine-kicker::after { width: 34px; margin-top: 9px; }
}

@media (max-width: 720px) {
  .wrap { width: calc(100vw - 32px); }
  .site-logo img { width: 34px; height: 34px; }
  .site-logo-text strong { font-size: 13px; }
  .header-cta { padding: 10px 15px; font-size: 11px; }
  .header-cta span[aria-hidden] { display: none; }

  /* mobilde sahne başına düşen scroll mesafesi kısaltıldı */
  .cinema-scroll { --scene-span: 370px; }
  .stage { min-height: 480px; }
  .site-logo-text strong { font-size: 12px; letter-spacing: 0.06em; }
  .site-logo-text em { font-size: 8px; letter-spacing: 0.28em; }
  .language-switcher { padding: 8px 10px; font-size: 11px; }
  .header-actions { gap: 8px; }
  .header-cta { padding: 9px 13px; font-size: 10px; letter-spacing: 0.06em; }
  .scroll-cue { display: none; }
  .cine-dots {
    flex-direction: row;
    right: auto; left: 50%; top: auto; bottom: 20px;
    transform: translateX(-50%);
  }

  .tagline-strip { padding: 34px 0; }
  .tagline-kicker { font-size: 9px; letter-spacing: 0.3em; }

  .sights-track { padding-left: 16px; }
  .sight-card { flex-basis: min(80vw, 320px); min-height: 300px; padding: 24px; }
  .pillar-grid { gap: 22px; margin-top: 42px; }

  .project-grid, .cert-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 20px 16px; }
  .contact-form { padding: 24px; }

  .lightbox { padding: 58px 12px; }
  .lightbox-arrow { width: 44px; height: 44px; top: auto; bottom: 12px; transform: none; }
  .lightbox-prev { left: 50%; margin-left: -52px; }
  .lightbox-next { right: 50%; margin-right: -52px; }
}

@media (max-width: 560px) {
  .site-logo-text { display: none; }
  .site-logo img { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cine-frame, .cine-poster, .sights-track { transition: none; }
  .cine-poster { transform: none; }
  .scroll-cue i { animation: none; }
  .map-frame.is-loading-map .map-note { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

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

.section-testimonials { background: var(--ink-2); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  position: relative;
  margin: 0;
  padding: 34px 34px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(19, 44, 70, 0.5) 0%, rgba(10, 24, 38, 0.72) 100%);
  transition: transform 340ms ease, border-color 340ms ease,
              opacity 760ms cubic-bezier(0.22, 1, 0.36, 1);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(46, 155, 224, 0.5); }

.testimonial-card .stars {
  color: var(--accent-soft);
  font-size: 0.95rem;
  letter-spacing: 0.22em;
}

.testimonial-card blockquote {
  margin: 18px 0 0;
  color: var(--paper);
  font-size: 1.06rem;
  font-weight: 300;
  line-height: 1.62;
}
.testimonial-card blockquote::before { content: "\201C"; }
.testimonial-card blockquote::after { content: "\201D"; }

.testimonial-card figcaption {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.t-name { color: var(--paper); font-size: 0.95rem; font-weight: 600; }
.t-role { color: var(--muted); font-size: 0.85rem; }

@media (max-width: 720px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 26px 24px 24px; }
}
