/* ═══════════════════════════════════════════════════════════════
   Çakırkeyf — Stylesheet v3
   Fonts: Cormorant Garamond (başlıklar) + Montserrat (body/nav)
   Her ikisi de Türkçe karakter desteğine sahiptir.
   ═══════════════════════════════════════════════════════════════ */

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

/* Site genişliği taşmasını engelle */
/* html'de overflow:hidden kullanma — position:fixed elementleri bozar */
html { overflow-x: clip; }
body { max-width: 100%; overflow-x: hidden; }

/* ─── Design tokens ───────────────────────────────────────────── */
:root {
  --bordeaux:       hsl(0, 60%, 26%);
  --bordeaux-mid:   hsl(0, 52%, 36%);
  --bordeaux-light: hsl(0, 48%, 46%);
  --bordeaux-glow:  hsla(0, 60%, 36%, 0.3);
  --noir:           hsl(0, 0%, 5%);
  --noir-soft:      hsl(0, 0%, 8%);
  --vert:           hsl(152, 23%, 12%);
  --or:             hsl(38, 58%, 54%);
  --or-bright:      hsl(40, 72%, 62%);
  --or-dim:         hsla(38, 58%, 54%, 0.4);
  --or-glow:        hsla(38, 58%, 54%, 0.14);
  --creme:          hsl(38, 26%, 89%);
  --creme-dim:      hsla(38, 26%, 89%, 0.62);
  --creme-ghost:    hsla(38, 26%, 89%, 0.32);

  /* Font stacks — her ikisi Türkçe destekli */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Montserrat', 'Segoe UI', Arial, sans-serif;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  --section-pad: clamp(5rem, 10vw, 9rem);
}

/* ─── Base ────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--noir);
  color: var(--creme);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Typography ──────────────────────────────────────────────── */
h2, h3, .serif {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 600;
  color: var(--or);
  line-height: 1.15;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  color: var(--or);
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
}

p {
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  line-height: 1.95;
  font-weight: 300;
  color: var(--creme-dim);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; }

/* ─── Section header ──────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.light-h2 { color: var(--creme); }

/* ═══════════════════════════════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

.reveal.reveal-left  { transform: translateX(-40px) translateY(8px); }
.reveal.reveal-right { transform: translateX(40px) translateY(8px); }
.reveal.reveal-scale { transform: scale(0.94) translateY(16px); }

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Split-word spans */
.word-span {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px) rotate(-1.2deg);
  transition:
    opacity 0.75s var(--ease-out-expo),
    transform 0.75s var(--ease-out-expo);
}

.word-span.visible {
  opacity: 1;
  transform: translateY(0) rotate(0deg);
}

/* ═══════════════════════════════════════════════════════════════
   ORNAMENT DIVIDER  (SVG animasyonlu)
   ═══════════════════════════════════════════════════════════════ */
.ornament-divider {
  background-color: var(--noir);
  line-height: 0;
  overflow: hidden;
}

.ornament-divider--dark { background-color: var(--vert); }

.ornament-divider svg {
  width: 100%;
  height: 40px;
  display: block;
}

.div-line { stroke: var(--or-dim); stroke-width: 0.6; }
.div-line-l, .div-line-r {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 1.4s var(--ease-out-expo);
}

.div-line-l.animated { stroke-dashoffset: 0; }
.div-line-r.animated { stroke-dashoffset: 0; }

.div-motif { fill: none; stroke: var(--or); stroke-width: 0.9; opacity: 0.5; }
.div-dot   { fill: var(--or); opacity: 0.65; }

/* ═══════════════════════════════════════════════════════════════
   CURSOR GLOW
   ═══════════════════════════════════════════════════════════════ */
#cursorGlow {
  position: fixed;
  top: 0; left: 0;
  width: 360px; height: 360px;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
  background: radial-gradient(circle, hsla(38, 58%, 54%, 0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: transform;
  transition: opacity 0.6s ease;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3.5rem;
  transition: background-color 0.5s ease, backdrop-filter 0.5s ease, padding 0.4s ease;
}

#navbar.scrolled {
  padding: 0.85rem 3.5rem;
  background-color: rgba(8, 5, 4, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 160, 70, 0.08);
}

/* ─── Logo ────────────────────────────────────────────────────── */
.nav-logo img {
  height: 52px;
  width: auto;
  opacity: 0.92;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-logo:hover img { opacity: 1; transform: scale(1.04); }

.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--creme);
  opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
  position: relative;
  padding-bottom: 3px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 1px;
  background: var(--or);
  transition: left 0.35s var(--ease-out-expo), right 0.35s var(--ease-out-expo);
}

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

.nav-links a:hover::after,
.nav-links a.active::after { left: 0; right: 0; }

/* Mobile */
.nav-toggle {
  display: none;
  position: relative;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--creme);
  transition: transform 0.35s var(--ease-spring), opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 768px) {
  /* backdrop-filter kaldırıldı — fixed child'ların containing block'unu bozuyor (Chrome/WebKit bug) */
  #navbar          { padding: 1.1rem 1.4rem; background-color: rgba(6, 3, 3, 0.92); backdrop-filter: none; -webkit-backdrop-filter: none; }
  #navbar.scrolled { padding: 0.75rem 1.4rem; background-color: rgba(6, 3, 3, 0.98); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: none; }
  .nav-logo img    { height: 42px; }
  .nav-toggle      { display: flex; position: relative; z-index: 1002; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh; /* fallback sonra override — modern mobile */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.8rem;
    background: rgba(6, 3, 3, 0.97);
    z-index: 998;
    list-style: none;
  }

  .nav-links.open  { display: flex; }
  .nav-links a     { font-size: 1rem; letter-spacing: 0.26em; opacity: 0.88; color: var(--creme); }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: -10%;
  background-image: url('../../Assets/Mekan/hero1.jpg');
  background-size: cover;
  background-position: center center;
  filter: saturate(0.65) brightness(0.72);
  will-change: transform;
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(5, 2, 2, 0.52)  0%,
      rgba(50, 8, 8, 0.40) 30%,
      rgba(5, 2, 2, 0.92)  100%),
    radial-gradient(ellipse at 50% 50%, rgba(70,10,10,0.25) 0%, transparent 65%);
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-particles .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--or);
  opacity: 0;
  animation: particleDrift var(--pdur, 8s) ease-in-out infinite var(--pdel, 0s);
}

@keyframes particleDrift {
  0%   { opacity: 0;    transform: translateY(0)    scale(0.5); }
  20%  { opacity: 0.4; }
  80%  { opacity: 0.15; }
  100% { opacity: 0;    transform: translateY(-75px) scale(1.3); }
}

/* Hero content — scroll ile fade & yukarı kayma (JS ile parallax) */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  padding: 0 1.5rem;
  will-change: transform, opacity;
  animation: heroIn 2.4s var(--ease-out-expo) forwards;
}

@keyframes heroIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
  width: min(360px, 74vw);
  height: auto;
  filter: drop-shadow(0 0 24px rgba(200, 160, 70, 0.18));
  margin-bottom: 0.3rem;
}

.hero-divider {
  width: 55px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or), transparent);
  opacity: 0.65;
}

.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  font-weight: 300;
  letter-spacing: 0.2em;
  color: var(--or);
}

.hero-location {
  font-family: var(--font-body);
  font-size: clamp(0.6rem, 1.1vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--creme-ghost);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.scroll-line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--or), transparent);
  animation: lineFlow 2.5s ease-in-out infinite;
  transform-origin: top;
}

.scroll-dot {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--or);
  opacity: 0.5;
  animation: dotPulse 2.5s ease-in-out infinite 0.5s;
}

@keyframes lineFlow {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.7); }
  50%       { opacity: 0.8; transform: scale(1.4); }
}

/* ═══════════════════════════════════════════════════════════════
   HAKKIMIZDA
   ═══════════════════════════════════════════════════════════════ */
#hakkimizda {
  position: relative;
  background-color: var(--noir);
  padding: var(--section-pad) 2rem;
  overflow: hidden;
}

/* Atmosfer gradient */
#hakkimizda::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%,   rgba(70,10,10,0.22) 0%, transparent 100%),
    radial-gradient(ellipse 60% 30% at 50% 100%, rgba(70,10,10,0.14) 0%, transparent 100%);
  pointer-events: none;
}

/* Dikey hikâye çizgisi */
.story-line {
  position: absolute;
  left: max(1.2rem, calc(50% - 390px));
  top: var(--section-pad);
  width: 1px;
  bottom: var(--section-pad);
  background: rgba(201, 160, 70, 0.07);
  overflow: hidden;
}

.story-line-fill {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 0%;
  background: linear-gradient(to bottom, var(--or), var(--bordeaux-mid), transparent);
  transition: height 0.1s linear;
}

@media (max-width: 900px) { .story-line { display: none; } }

.hakkimizda-inner {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Başlık */
.about-heading {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  font-style: italic;
  font-weight: 700;
  color: var(--or);
  line-height: 1.12;
  margin-bottom: 3rem;
  text-align: center;
}

.hakkimizda-inner p { margin-bottom: 2.4rem; }

.story-break {
  font-family: var(--font-display) !important;
  font-size: clamp(1.6rem, 4.2vw, 2.8rem) !important;
  font-style: italic !important;
  font-weight: 600 !important;
  color: var(--bordeaux-light) !important;
  text-align: center;
  padding: 2.2rem 0;
  line-height: 1.2 !important;
  text-shadow: 0 0 50px var(--bordeaux-glow);
}

.coda {
  font-family: var(--font-display) !important;
  font-size: clamp(1.3rem, 3vw, 1.9rem) !important;
  font-style: italic !important;
  font-weight: 600 !important;
  color: var(--or) !important;
  text-align: center;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
  text-shadow: 0 0 40px var(--or-glow);
}

#hakkimizdaEnd { height: 1px; }

/* ─── Notalar ─────────────────────────────────────────────────── */
.note {
  position: absolute;
  font-family: serif;
  color: var(--or);
  pointer-events: none;
  user-select: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 2s ease;
  will-change: transform, opacity;
}

.note.active { opacity: 1; }

.note-1 { font-size: 2rem;  left:  4%; top: 22%; animation: floatA 18s ease-in-out infinite 0s; }
.note-2 { font-size: 1.5rem; right: 5%; top: 32%; animation: floatB 14s ease-in-out infinite -5s; }
.note-3 { font-size: 2.4rem; left:  9%; top: 58%; animation: floatC 20s ease-in-out infinite -10s; }
.note-4 { font-size: 1.3rem; right: 8%; top: 70%; animation: floatD 12s ease-in-out infinite -3s; }

@keyframes floatA {
  0%   { opacity: 0;   transform: translate(0,0)       rotate(0deg); }
  15%  { opacity: 0.2; }
  50%  { opacity: 0.18; transform: translate(18px,-65px)  rotate(14deg); }
  85%  { opacity: 0.1; transform: translate(-8px,-105px) rotate(-8deg); }
  100% { opacity: 0;   transform: translate(4px,-130px) rotate(5deg); }
}

@keyframes floatB {
  0%   { opacity: 0;   transform: translate(0,0)        rotate(0deg); }
  15%  { opacity: 0.16; }
  50%  { opacity: 0.15; transform: translate(-16px,-52px) rotate(-14deg); }
  100% { opacity: 0;   transform: translate(6px,-95px)  rotate(8deg); }
}

@keyframes floatC {
  0%   { opacity: 0;   transform: translate(0,0)       rotate(0deg); }
  12%  { opacity: 0.14; }
  55%  { opacity: 0.18; transform: translate(22px,-72px) rotate(18deg); }
  100% { opacity: 0;   transform: translate(-6px,-120px) rotate(-5deg); }
}

@keyframes floatD {
  0%   { opacity: 0;   transform: translate(0,0)        rotate(0deg); }
  18%  { opacity: 0.18; }
  50%  { opacity: 0.16; transform: translate(-20px,-44px) rotate(-12deg); }
  100% { opacity: 0;   transform: translate(8px,-82px)  rotate(8deg); }
}

/* ═══════════════════════════════════════════════════════════════
   ORGANİZASYONLAR
   ═══════════════════════════════════════════════════════════════ */
#organizasyonlar {
  position: relative;
  background-color: var(--vert);
  padding: var(--section-pad) 2rem;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  max-width: 1080px;
  margin: 0 auto;
}

.org-item {
  position: relative;
  padding: 3rem 2.4rem;
  text-align: center;
  border: 1px solid rgba(201, 160, 70, 0.13);
  overflow: hidden;
  transition:
    border-color 0.5s ease,
    background-color 0.5s ease,
    transform 0.5s var(--ease-spring);
  cursor: default;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.org-item:hover {
  border-color: rgba(201, 160, 70, 0.36);
  background-color: rgba(28, 48, 36, 0.6);
  transform: translateY(-6px);
}

/* Shimmer sweep */
.org-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(201,160,70,0.07) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease-out-expo);
  pointer-events: none;
}

.org-item:hover .org-shimmer { transform: translateX(100%); }

/* Köşe çerçeveler */
.org-item::before,
.org-item::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--or);
  border-style: solid;
  opacity: 0;
  transition: opacity 0.4s, width 0.4s, height 0.4s;
}

.org-item::before { top: 10px; left: 10px;   border-width: 1px 0 0 1px; }
.org-item::after  { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

.org-item:hover::before,
.org-item:hover::after { opacity: 0.55; width: 22px; height: 22px; }

/* Üst blok — tüm kartlarda eşit yükseklik → açıklama hizalanır */
.org-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 220px;
  width: 100%;
}

.org-icon {
  width: 58px; height: 58px;
  margin: 0 auto 1.8rem;
  color: var(--or);
  transition: transform 0.4s var(--ease-spring), color 0.3s;
}

.org-icon svg { width: 100%; height: 100%; }

.org-item:hover .org-icon {
  transform: scale(1.1) translateY(-3px);
  color: var(--or-bright);
}

/* Alt başlık */
.org-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordeaux-light);
  margin-bottom: 0.84rem;
  line-height: 1.5;
}

.org-item p {
  font-size: clamp(0.86rem, 1.3vw, 0.96rem);
  line-height: 1.9;
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════════
   GALERİ
   ═══════════════════════════════════════════════════════════════ */
#galeri {
  background-color: var(--noir-soft);
  padding: var(--section-pad) 2rem;
}

.gallery-label {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--or-dim);
  margin-bottom: 2.2rem;
}

.gallery-label::before,
.gallery-label::after { content: '——'; margin: 0 0.8rem; opacity: 0.5; letter-spacing: 0; }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  max-width: 1080px;
  margin: 0 auto;
}

.photo-item {
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #0f0f0f;
  position: relative;
  cursor: zoom-in;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.78);
  transition: transform 0.7s var(--ease-out-expo), filter 0.7s ease;
}

.photo-item:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.05);
}

.photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.65rem 1rem;
  background: linear-gradient(to top, rgba(5,2,2,0.78), transparent);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--creme-dim);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.photo-item:hover .photo-caption { opacity: 1; transform: translateY(0); }

/* Video strip */
.video-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0.5rem 0 1.4rem;
  max-width: 1080px;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--bordeaux) rgba(255,255,255,0.04);
}

.video-strip::-webkit-scrollbar { height: 3px; }
.video-strip::-webkit-scrollbar-track { background: rgba(255,255,255,0.03); }
.video-strip::-webkit-scrollbar-thumb { background: var(--bordeaux); border-radius: 2px; }

.video-item {
  flex: 0 0 215px;
  scroll-snap-align: start;
  background: #0e0e0e;
  border: 1px solid rgba(201, 160, 70, 0.12);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: border-color 0.4s, transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.video-item:hover {
  border-color: rgba(201, 160, 70, 0.45);
  transform: scale(1.03);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55), 0 0 0 1px rgba(201,160,70,0.18);
}

.video-item video {
  width: 100%;
  aspect-ratio: 9/16;
  display: block;
  object-fit: cover;
  pointer-events: none; /* tıklama overlay'e geçiyor */
}

/* ─── Video overlay: modern thumbnail player ─────────────────── */
.vid-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.12) 0%,
    rgba(0,0,0,0.06) 40%,
    rgba(0,0,0,0.45) 100%
  );
  transition: background 0.35s ease;
}

.video-item:hover .vid-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.18) 0%,
    rgba(0,0,0,0.08) 40%,
    rgba(0,0,0,0.6) 100%
  );
}

.vid-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(92, 26, 26, 0.72);
  border: 1.5px solid rgba(201, 160, 70, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--or);
  transition:
    transform 0.35s var(--ease-spring),
    background 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5), 0 0 0 0 rgba(201,160,70,0);
}

.vid-play-btn svg {
  width: 18px;
  height: 18px;
  margin-left: 3px; /* optik ortalama */
}

.video-item:hover .vid-play-btn {
  transform: scale(1.15);
  background: rgba(92, 26, 26, 0.92);
  border-color: var(--or);
  box-shadow: 0 4px 24px rgba(0,0,0,0.6), 0 0 16px rgba(201,160,70,0.22);
}

@media (max-width: 768px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .video-item { flex: 0 0 175px; }
  .vid-play-btn { width: 44px; height: 44px; }
  .vid-play-btn svg { width: 15px; height: 15px; }
}

@media (max-width: 480px) {
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-item { aspect-ratio: 1; }
  .video-item { flex: 0 0 150px; }
  .vid-play-btn { width: 38px; height: 38px; }
}

/* ═══════════════════════════════════════════════════════════════
   İLETİŞİM
   ═══════════════════════════════════════════════════════════════ */
#iletisim {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 5rem);
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(80,12,12,0.55) 0%, transparent 70%),
    linear-gradient(170deg, hsl(0, 56%, 19%) 0%, hsl(0, 52%, 13%) 100%);
  position: relative;
}

#iletisim::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--or-dim), transparent);
}

/* İki sütunlu layout — harita daha geniş */
.iletisim-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

@media (max-width: 768px) {
  .iletisim-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.iletisim-left {
  text-align: center;
}

.iletisim-left h2 {
  margin-bottom: 1.8rem;
}

.iletisim-quote {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: var(--creme);
  opacity: 0.78;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.contact-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--creme);
}

.contact-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--or);
}

.contact-item a { transition: color 0.3s; }
.contact-item a:hover { color: var(--or); }

/* ─── Harita ──────────────────────────────────────────────────── */
.iletisim-map {
  position: relative;
  min-height: 420px;
  border: 1px solid rgba(201,160,70,0.2);
  overflow: hidden;
}

.iletisim-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Harita üstünde adres etiketi */
.map-overlay-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.65rem 1rem;
  background: linear-gradient(to top, rgba(5,2,2,0.85), transparent);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--or);
  pointer-events: none;
}

.map-overlay-label svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  fill: var(--or);
}

@media (max-width: 900px) {
  .iletisim-container { grid-template-columns: 1fr; }
  .iletisim-map { min-height: 280px; }
}

/* ─── Rezervasyon CTA (iletişim bölümü) ──────────────────────── */
.rezervasyon-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  padding: 1.1rem 2.8rem;
  color: var(--or);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.4s ease, transform 0.4s var(--ease-spring);
  overflow: hidden;
  isolation: isolate;
}

/* Animasyonlu çerçeve */
.rcta-border {
  position: absolute;
  inset: 0;
  border: 1px solid var(--or-dim);
  transition: border-color 0.4s ease;
}

.rcta-border::before,
.rcta-border::after {
  content: '';
  position: absolute;
  background: var(--or);
  transition: transform 0.5s var(--ease-out-expo);
}

/* Üst + alt yatay çizgiler animate oluyor */
.rcta-border::before {
  top: -1px; left: -1px; right: -1px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
}

.rcta-border::after {
  bottom: -1px; left: -1px; right: -1px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
}

.rezervasyon-cta:hover .rcta-border { border-color: transparent; }
.rezervasyon-cta:hover .rcta-border::before { transform: scaleX(1); }
.rezervasyon-cta:hover .rcta-border::after  { transform: scaleX(1); }

/* Fill sweep */
.rezervasyon-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bordeaux);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out-expo);
}

.rezervasyon-cta:hover::before { transform: scaleX(1); }
.rezervasyon-cta:hover { color: var(--creme); transform: translateY(-2px); }

.rcta-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s;
  fill: currentColor;
}

.rezervasyon-cta:hover .rcta-icon { opacity: 1; }

.rcta-text {
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Center the CTA button within the left column */
.iletisim-left .rezervasyon-cta {
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
footer {
  background-color: var(--noir);
  border-top: 1px solid rgba(201, 160, 70, 0.1);
  padding: 3.5rem 2rem;
  text-align: center;
}

.footer-logo {
  width: 320px;
  height: auto;
  opacity: 0.75;
  margin: 0 auto 1.5rem;
  transition: opacity 0.3s;
}

.footer-logo:hover { opacity: 1; }

.footer-copy {
  font-size: 0.74rem !important;
  font-weight: 300;
  color: var(--creme-ghost) !important;
  margin-bottom: 0.4rem;
}

.footer-addr {
  font-family: var(--font-body);
  font-size: 0.65rem !important;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(238, 230, 218, 0.18) !important;
}

/* ═══════════════════════════════════════════════════════════════
   FAB STACK — instagram + rezervasyon üst üste
   ═══════════════════════════════════════════════════════════════ */
.fab-stack {
  position: fixed;
  bottom: calc(2.2rem + 10px);
  right: 2.2rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

/* "Bizi Takip Edin" küçük etiket */
.fab-follow-label {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--creme-ghost);
  text-align: right;
  padding-right: 0.2rem;
  transition: color 0.3s;
}

/* ═══════════════════════════════════════════════════════════════
   MÜZİK PLAYER — sol alt köşe
   ═══════════════════════════════════════════════════════════════ */
.music-player {
  position: fixed;
  bottom: calc(2.2rem + 10px);
  left: 2.2rem;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem 0.6rem 0.75rem;
  background: hsla(0, 0%, 5%, 0.88);
  border: 1px solid rgba(201,160,70,0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  transition: border-color 0.4s ease, opacity 0.4s ease;
}

.music-player:hover {
  border-color: rgba(201,160,70,0.35);
}

/* Play / Pause butonu */
.music-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--or);
  cursor: pointer;
  padding: 0;
  transition: color 0.3s, transform 0.2s var(--ease-spring);
}

.music-toggle-btn:hover { color: var(--or-bright); transform: scale(1.15); }
.music-toggle-btn svg   { width: 16px; height: 16px; }

/* Info: bars + etiket */
.music-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.music-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--creme-ghost);
}

/* Animasyonlu ses dalgaları */
.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.music-bars .bar {
  display: block;
  width: 2.5px;
  border-radius: 2px;
  background: var(--or);
  opacity: 0.65;
  animation: barDance var(--bd) ease-in-out infinite var(--bdd) alternate;
  transform-origin: bottom;
}

.music-bars .bar:nth-child(1) { --bd: 0.75s; --bdd: 0s;     height: 6px;  }
.music-bars .bar:nth-child(2) { --bd: 0.55s; --bdd: -0.18s; height: 12px; }
.music-bars .bar:nth-child(3) { --bd: 0.95s; --bdd: -0.38s; height: 8px;  }
.music-bars .bar:nth-child(4) { --bd: 0.65s; --bdd: -0.08s; height: 10px; }
.music-bars .bar:nth-child(5) { --bd: 0.82s; --bdd: -0.28s; height: 7px;  }

@keyframes barDance {
  from { transform: scaleY(0.2);  opacity: 0.3; }
  to   { transform: scaleY(1);    opacity: 0.8; }
}

/* Duraklatılınca */
.music-player.paused .music-bars .bar {
  animation-play-state: paused;
  transform: scaleY(0.2);
  opacity: 0.2;
}

/* Ayırıcı */
.music-player::after {
  content: '';
  display: block;
  width: 1px;
  height: 20px;
  background: rgba(201,160,70,0.15);
  flex-shrink: 0;
}

/* Ses kontrolü */
.volume-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vol-icon {
  width: 14px;
  height: 14px;
  color: var(--or);
  opacity: 0.6;
  flex-shrink: 0;
}

/* Slider — temaya uygun */
.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 72px;
  height: 2px;
  background: linear-gradient(
    to right,
    var(--or) var(--vol-pct, 20%),
    rgba(201,160,70,0.18) var(--vol-pct, 20%)
  );
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 2px;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 4px rgba(201,160,70,0.5);
  cursor: pointer;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.volume-slider::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--or);
  border: none;
  box-shadow: 0 0 4px rgba(201,160,70,0.5);
  cursor: pointer;
}

.volume-slider:hover::-webkit-slider-thumb {
  transform: scale(1.35);
  box-shadow: 0 0 8px rgba(201,160,70,0.7);
}

.vol-pct {
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 400;
  color: var(--creme-ghost);
  min-width: 2.2em;
  text-align: right;
  letter-spacing: 0.04em;
}

/* Mobilde küçül */
@media (max-width: 600px) {
  .music-player {
    bottom: 1.4rem;
    left: 1rem;
    padding: 0.5rem 0.8rem 0.5rem 0.6rem;
    gap: 0.55rem;
  }

  .volume-slider { width: 52px; }
  .vol-pct       { display: none; }
  .music-label   { display: none; }
}

/* ─── Instagram FAB ───────────────────────────────────────────── */
.instagram-fab {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem 0.65rem 0.85rem;
  white-space: nowrap;
  background: hsla(280, 30%, 12%, 0.95);
  border: 1px solid hsla(280, 40%, 50%, 0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 3px 18px rgba(0,0,0,0.55);
  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s var(--ease-spring);
}

.instagram-fab:hover {
  background: hsla(280, 30%, 18%, 0.98);
  border-color: hsla(30, 80%, 65%, 0.7);   /* instagram gold-orange */
  transform: translateY(-3px);
  box-shadow:
    0 6px 24px rgba(0,0,0,0.65),
    0 0 14px hsla(280, 50%, 40%, 0.25);
}

/* Instagram gradient icon */
.instagram-fab .fab-icon {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #e6683c; /* fallback */
  transition: transform 0.4s var(--ease-spring);
}

.instagram-fab .fab-icon svg {
  width: 20px;
  height: 20px;
  stroke: url(#igGrad);
}

.instagram-fab:hover .fab-icon { transform: scale(1.1) rotate(6deg); }

.instagram-fab .fab-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: hsla(300, 20%, 80%, 0.75);
  transition: color 0.3s;
}

.instagram-fab:hover .fab-label { color: var(--creme); }

/* SVG gradient defs — inline olarak tanımlanacak */

/* ═══════════════════════════════════════════════════════════════
   REZERVASYON FAB — Temaya özel, yeşil değil
   Yatay hap (pill) şekli — metin taşmaz
   ═══════════════════════════════════════════════════════════════ */
.rezervasyon-fab {
  /* Artık .fab-stack içinde — position: fixed kaldırıldı */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;

  padding: 0.75rem 1.2rem 0.75rem 1rem;
  white-space: nowrap;

  background: hsla(0, 60%, 16%, 0.96);
  border: 1px solid var(--or-dim);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow:
    0 4px 22px rgba(0,0,0,0.65),
    inset 0 1px 0 rgba(201,160,70,0.1);

  cursor: pointer;
  text-decoration: none;
  transition:
    border-color 0.4s ease,
    background-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s var(--ease-spring);

  animation: fabGlow 4s ease-in-out infinite;
}

.rezervasyon-fab:hover {
  background: hsla(0, 60%, 24%, 0.98);
  border-color: var(--or);
  transform: translateY(-3px);
  box-shadow:
    0 8px 28px rgba(0,0,0,0.72),
    0 0 18px var(--bordeaux-glow),
    inset 0 1px 0 rgba(201,160,70,0.18);
  animation: none;
}

@keyframes fabGlow {
  0%, 100% {
    box-shadow: 0 4px 22px rgba(0,0,0,0.65), inset 0 1px 0 rgba(201,160,70,0.10);
  }
  50% {
    box-shadow: 0 4px 26px rgba(0,0,0,0.7), 0 0 14px var(--bordeaux-glow), inset 0 1px 0 rgba(201,160,70,0.18);
  }
}

.fab-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201,160,70,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.fab-icon {
  color: var(--or);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-spring), color 0.3s;
}

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

.rezervasyon-fab:hover .fab-icon {
  color: var(--or-bright);
  transform: scale(1.12);
}

.fab-label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or);
  opacity: 0.82;
  transition: opacity 0.3s;
}

.rezervasyon-fab:hover .fab-label { opacity: 1; }

@media (max-width: 768px) {
  .footer-logo { width: 107px; }
}

@media (max-width: 480px) {
  .fab-stack {
    bottom: 1.4rem;
    right: 1.4rem;
  }

  .rezervasyon-fab {
    padding: 0.65rem 1rem 0.65rem 0.85rem;
    gap: 0.5rem;
  }

  .rezervasyon-fab .fab-icon svg { width: 19px; height: 19px; }
  .rezervasyon-fab .fab-label    { font-size: 0.52rem; }
  .instagram-fab .fab-label      { font-size: 0.48rem; }
}

/* ═══════════════════════════════════════════════════════════════
   LİGHTBOX
   ═══════════════════════════════════════════════════════════════ */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.94);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem;
}

#lightbox.active { display: flex; }

#lightboxContent {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

#lightboxContent img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(201,160,70,0.15);
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

#lightboxContent video {
  max-width: 90vw;
  max-height: 88vh;
  outline: none;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

#lightboxClose {
  position: fixed;
  top: 1.2rem;
  right: 1.4rem;
  background: rgba(6,3,3,0.7);
  border: 1px solid rgba(201,160,70,0.25);
  color: var(--creme);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.25s var(--ease-spring);
  z-index: 3001;
}

#lightboxClose:hover {
  background: rgba(92,26,26,0.8);
  border-color: var(--or-dim);
  transform: scale(1.1) rotate(90deg);
}

#lightboxClose svg { width: 18px; height: 18px; }

/* Photo items get zoom cursor */
.photo-item { cursor: zoom-in; }

/* ═══════════════════════════════════════════════════════════════
   REDUCED MOTION
   ═══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.3s !important;
  }

  .reveal, .word-span {
    opacity: 1 !important;
    transform: none !important;
  }
}
