/* =========================================================
   style.css — Throne Travel (güncel)
========================================================= */

/* =======================
   Design Tokens
======================= */
:root{
  --brand-900:#1e3a8a;
  --brand-600:#3b82f6;
  --ink-900:#0f172a;
  --ink-700:#334155;
  --ink-500:#64748b;
  --surface:#ffffff;
  --muted:#f7f7f7;
  --ring:#dbe3f5;
}

/* =======================
   Base
======================= */
*{ box-sizing:border-box }
body{ margin:0; font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif; background:var(--surface); color:var(--ink-900) }
img{ max-width:100%; height:auto; display:block }

/* Hero */
.hero-text{ position:absolute; top:42%; left:50%; transform:translate(-50%,-50%); max-width:90%; will-change:transform }
.glow-background{ position:absolute; top:50%; left:50%; width:100%; height:100%; transform:translate(-50%,-50%); background:radial-gradient(40% 40% at center, rgba(255,255,255,.25), transparent 70%); filter:blur(60px); z-index:-1 }
.fade-bottom{ position:absolute; bottom:0; left:0; width:100%; height:160px; background:linear-gradient(to bottom, rgba(255,255,255,0), #ffffff); pointer-events:none; opacity:0; transition:opacity .3s ease; z-index:10 }
.fade-bottom.visible{ opacity:1 }

/* Sections */
.wave-section{ position:relative; text-align:center; padding:80px 0 40px; background:var(--muted); overflow:visible }
.section-about{ position:relative; z-index:2; background:#fff }
.section-services{ position:relative; z-index:1 }
.section-head{ position:relative; z-index:1 }
.wave-title{ font-size:2.5rem; margin-bottom:14px; color:var(--brand-900); letter-spacing:.2px }
.section-title{ font-size:clamp(1.6rem,2.6vw,2.2rem); font-weight:800; color:var(--ink-900); line-height:1.2 }
.section-content{ margin-top:10px; font-size:1.125rem; max-width:700px; margin-inline:auto; color:#333; line-height:1.65 }

/* Hizmetler arka plan dokusu */
.section-with-bg{ position:relative; z-index:0; }
.section-with-bg::before{
  content:""; position:absolute; inset:-10% -10% -5% -10%; z-index:-1; pointer-events:none;
  background:
    radial-gradient(600px 200px at 15% -10%, rgba(59,130,246,.10), transparent 60%),
    radial-gradient(500px 200px at 85% 110%, rgba(30,58,138,.10), transparent 60%),
    linear-gradient(#fafcff,#f7f9ff);
  filter:saturate(105%);
}
.animated-underline{ position:relative; display:inline-block }
.animated-underline::after{
  content:""; position:absolute; left:0; bottom:-6px; height:3px; width:100%;
  background:linear-gradient(90deg,var(--brand-900),var(--brand-600));
  transform:scaleX(0); transform-origin:left; animation:underline .9s .2s both cubic-bezier(.22,1,.36,1)
}
@keyframes underline{ to{ transform:scaleX(1) } }

/* Hakkımızda */
.section-accent{ width:72px; height:4px; background:linear-gradient(90deg,var(--brand-900),var(--brand-600)); border-radius:9999px; box-shadow:0 0 0 0 rgba(59,130,246,0.0); animation:accentPulse 2s ease-in-out infinite }
@keyframes accentPulse{0%,100%{box-shadow:0 0 0 0 rgba(59,130,246,0.0)}50%{box-shadow:0 0 0 8px rgba(59,130,246,0.12)}}
.hakkimizda-card{ border-radius:12px; border:1px solid #e5e7eb; padding:20px; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.08); transition:transform .25s ease, box-shadow .25s ease }
.hakkimizda-card:hover{ transform:translateY(-4px); box-shadow:0 12px 24px rgba(2,6,23,.08) }
.stat-tile{ border:1px solid #e5e7eb; border-radius:14px; padding:18px; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.04); text-align:center; transition:transform .25s ease }
.stat-tile:hover{ transform:translateY(-3px) }
.stat-value{ font-weight:800; font-size:1.75rem; color:var(--ink-900); line-height:1 }
.stat-label{ margin-top:.25rem; font-size:.85rem; color:var(--ink-500) }
.bullet{ display:inline-block; width:10px; height:10px; border-radius:9999px; background:linear-gradient(90deg,var(--brand-900),var(--brand-600)); margin-top:6px }

/* Reveal */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1) }
.reveal.in-view{ opacity:1; transform:none }
.reveal.slide-left{ transform:translateX(-20px) } .reveal.slide-right{ transform:translateX(20px) }
.reveal.slide-left.in-view,.reveal.slide-right.in-view{ transform:translateX(0) }

/* Hizmetler – kartlar */
.services-grid{ align-items:stretch; position:relative; z-index:1 }
.service-card{
  position:relative; height:100%;
  border:1px solid #e5e7eb; border-radius:16px; background:#fff;
  padding:20px 18px 18px;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease, filter .2s ease;
  transform-style:preserve-3d; will-change:transform;
}
.service-card::before{
  content:""; position:absolute; inset:0; border-radius:16px;
  background:linear-gradient(180deg, rgba(59,130,246,.08), transparent 40%);
  opacity:0; transition:opacity .25s ease; pointer-events:none;
}
.service-card:hover{ box-shadow:0 16px 36px rgba(15,23,42,.10); border-color:var(--ring); filter:saturate(1.02) }
.service-card:hover::before{ opacity:1 }
.service-icon{
  width:48px; height:48px; border-radius:12px;
  background:linear-gradient(135deg,var(--brand-900),var(--brand-600)); color:#fff;
  display:grid; place-items:center; box-shadow:0 8px 18px rgba(30,58,138,.25);
  margin-bottom:12px; transform:translateZ(24px)
}
.service-card h3{ font-size:1.1rem; font-weight:800; color:var(--ink-900); margin:6px 0 6px }
.service-card p{ font-size:.95rem; color:#475569; line-height:1.55 }
.service-points{ margin:12px 0 0; padding:0; list-style:none; display:grid; gap:8px }
.service-points li{ position:relative; padding-left:18px; font-size:.92rem; color:var(--ink-700) }
.service-points li::before{ content:""; position:absolute; left:0; top:.52em; width:8px; height:8px; border-radius:9999px; background:linear-gradient(90deg,var(--brand-900),var(--brand-600)) }

/* CTA */
.service-cta{ text-align:left }
.service-cta-inner{
  display:flex; gap:18px; align-items:center; justify-content:space-between;
  padding:18px; border:1px dashed #c7d2fe; background:linear-gradient(180deg,#f8fbff, #ffffff);
  border-radius:16px; position:relative; overflow:hidden;
}
.service-cta-inner::after{
  content:""; position:absolute; top:0; left:-30%; width:30%; height:100%;
  background:linear-gradient(90deg, transparent, rgba(59,130,246,.15), transparent);
  animation:shine 2.2s linear infinite; pointer-events:none
}
@keyframes shine{ 0%{ transform:translateX(0) } 100%{ transform:translateX(400%) } }
.service-cta-text h4{ font-size:1.05rem; font-weight:800; color:var(--ink-900) }
.service-cta-text p{ font-size:.95rem; color:#475569; margin-top:4px }
.service-cta-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px; border-radius:12px; background:var(--brand-900); color:#fff; font-weight:800; font-size:.95rem;
  border:1px solid var(--brand-900); box-shadow:0 10px 22px rgba(30,58,138,.18); text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease
}
.service-cta-btn:hover{ background:#23419a; box-shadow:0 12px 26px rgba(30,58,138,.22); transform:translateY(-1px) }

/* Fotoğraflar – tek satır 6 kart */
.photos-showcase{ background:#fff; color:var(--ink-900); padding:72px 0 78px; text-align:center; }
.photos-showcase .wave-title{ color:var(--ink-900); letter-spacing:.02em; font-weight:800 }
.photos-showcase .section-content{ color:#475569; max-width:880px; margin-inline:auto }
.photo-row{
  max-width:min(1680px, 94vw);
  margin:34px auto 0; padding:0 16px;
  display:flex; align-items:flex-end; justify-content:center;
  gap:clamp(16px, 2vw, 28px);
}
.photo-card{ width:clamp(320px, 22vw, 520px); }
@media (max-width:900px){ .photo-card{ width:min(44vw, 360px); } }
@media (max-width:640px){ .photo-card{ width:calc(50% - 14px); } }
.photo-card .thumb{
  position:relative; width:100%;
  height: clamp(280px, 34vh, 460px); /* sadece yükseklik büyütme */
  overflow:hidden; border-radius:14px; background:#fafafa;
  transform-origin:center bottom; transform:scale(1);
  transition:transform .45s cubic-bezier(.25,.46,.45,.94), box-shadow .45s cubic-bezier(.25,.46,.45,.94);
  box-shadow:0 10px 18px rgba(0,0,0,.08);
}
.photo-card img{ width:100%; height:100%; object-fit:cover }
.photo-card .caption{
  margin-top:10px; font-size:.76rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-500); text-align:center;
}
.photos-showcase .photo-card .thumb,
.photos-showcase .photo-card img{ cursor: default; }

/* Lightbox */
.photo-modal{
  display:none; position:fixed; inset:0; z-index:999;
  background:rgba(0,0,0,.9); backdrop-filter:blur(6px);
}
.photo-modal.open{ display:block; }

.pm-layer{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
  max-width:92%; max-height:88%;
  border-radius:12px; box-shadow:0 20px 60px rgba(0,0,0,.45);
  will-change:opacity, transform;
}
.pm-live{ 
  opacity:0; 
  transition:opacity 450ms cubic-bezier(0.23, 1, 0.32, 1), transform 450ms cubic-bezier(0.23, 1, 0.32, 1); 
  z-index:2; 
}
.pm-ghost{ 
  opacity:1; 
  transition:opacity 450ms cubic-bezier(0.23, 1, 0.32, 1), transform 450ms cubic-bezier(0.23, 1, 0.32, 1); 
  pointer-events:none; 
  z-index:1; 
}

/* Modern kapatma butonu */
.pm-close{
  position:fixed; top:18px; right:24px;
  width:44px; height:44px; border-radius:9999px;
  display:grid; place-items:center; cursor:pointer;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.35);
  backdrop-filter:blur(6px);
  color:#fff; padding:0; line-height:0;
  transition:transform .15s ease, background .15s ease, border-color .15s ease;
  z-index:6;
}
.pm-close:hover{ background:rgba(255,255,255,.24); transform:translateY(-1px); border-color:rgba(255,255,255,.55); }
.pm-close svg{ width:18px; height:18px; stroke:#fff; }

/* OKLAR — modernize + tıklama fix (z-index) */
.pm-arrow{
  position:absolute; top:50%; transform:translateY(-50%);
  width:56px; height:56px; border-radius:14px; cursor:pointer;
  background:linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.10));
  border:1px solid rgba(255,255,255,.35);
  box-shadow:0 10px 28px rgba(0,0,0,.25), inset 0 0 0 1px rgba(255,255,255,.12);
  color:#fff; display:grid; place-items:center;
  transition:background .15s ease, transform .15s ease, border-color .15s ease, box-shadow .15s ease;
  backdrop-filter:blur(6px);
  z-index:5;                 /* >>> IMG’nin ÜSTÜNDE <<< */
  pointer-events:auto;       /* tıklama garanti */
}
.pm-left{ left:24px; } .pm-right{ right:24px; }
.pm-arrow:hover{ background:rgba(255,255,255,.28); transform:translateY(-50%) scale(1.03); }
.pm-icon{ width:22px; height:22px; stroke:#fff; }

/* Küçük ekran */
@media (max-width:640px){
  .pm-arrow{ width:48px; height:48px; border-radius:12px; }
  .pm-icon{ width:20px; height:20px; }
}


/* Daha yumuşak his için süre/eğri override */
.pm-live,
.pm-ghost{
  transition-duration: 450ms !important;
  transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1) !important;
}

/* Motion reduce */
@media (prefers-reduced-motion:reduce){
  *, *::before, *::after{ animation:none !important; transition:none !important }
}

/* Mobile tweaks */
@media (max-width:768px){
  .fade-bottom{ height:80px }
  .wave-title{ font-size:1.75rem }
  .hero-text h1{ font-size:1.75rem } .hero-text p{ font-size:1.125rem }
  .service-cta-inner{ flex-direction:column; align-items:flex-start }
}
