/* ==========================================================================
   Arslan Ağır Nakliyat — Cloudflare Pages Statik Tasarım
   ========================================================================== */

/* ---------- Değişkenler ---------- */
:root {
  --bg: #0b0f14;
  --surface: #141b22;
  --surface-hover: #1c2530;
  --text: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --green: #22c55e;
  --green-hover: #16a34a;
  --green-bg: rgba(34, 197, 94, 0.10);
  --border: #24313f;
  --shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s ease;
  --max-width: 1180px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }

.skip-link {
  position: absolute; top: -100%; left: 0;
  background: var(--green); color: #fff; padding: 8px 16px;
  z-index: 10000; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 10px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-height); gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
}
.brand-logo { width: 40px; height: 40px; flex-shrink: 0; }
.brand-title { font-weight: 700; font-size: 1.15rem; display: block; }
.brand-subtitle { font-size: 0.78rem; color: var(--text-muted); display: block; }

.desktop-nav {
  display: flex; gap: 26px; align-items: center;
}
.desktop-nav a {
  font-size: 0.92rem; color: var(--text-muted); padding: 6px 0;
  position: relative; transition: color var(--transition);
}
.desktop-nav a:hover { color: var(--text); }

.header-actions {
  display: flex; align-items: center; gap: 12px;
}
.icon-button {
  width: 36px; height: 36px; display: grid; place-items: center;
  color: var(--text-muted); border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.icon-button:hover { background: var(--surface-hover); color: var(--text); }
.search-symbol, .menu-symbol { width: 18px; height: 18px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm);
  font-size: 0.92rem; font-weight: 600; transition: all var(--transition);
  white-space: nowrap;
}
.btn-icon { width: 16px; height: 16px; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-hover); }
.btn-outline {
  border: 1px solid var(--border); color: var(--text);
}
.btn-outline:hover { border-color: var(--green); background: var(--green-bg); }
.btn-primary { background: var(--text); color: #000; }
.btn-primary:hover { background: #e2e8f0; }

.menu-toggle { display: none; width: 36px; height: 36px; grid-place-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding-top: calc(var(--header-height) + 10px);
  overflow: hidden;
}
.hero-slider {
  position: relative; height: 60vh; min-height: 480px;
}
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease;
  background: var(--surface);
}
.hero-slide.is-active { opacity: 1; position: relative; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }

.hero-content { position: relative; z-index: 3; padding: 60px 0 40px; }
.hero-copy { max-width: 620px; }
.eyebrow {
  display: inline-block; font-size: 0.85rem; font-weight: 700;
  color: var(--green); letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.hero-copy h1 {
  font-size: clamp(2rem, 5vw, 3rem); line-height: 1.12;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.hero-copy p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 26px; max-width: 520px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-controls {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.slider-control {
  width: 34px; height: 34px; grid-place-items: center;
  background: rgba(255,255,255,0.12); color: #fff; border-radius: 50%;
  font-size: 1.2rem; line-height: 1;
}
.slider-control:hover { background: rgba(255,255,255,0.25); }

.slider-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none;
  transition: all var(--transition);
}
.slider-dot.is-active { background: var(--green); width: 24px; border-radius: 4px; }

.hero-meta {
  background: var(--surface); border-top: 1px solid var(--border);
  padding: 28px 0;
}
.hero-meta-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px;
}
.hero-meta-item { text-align: center; }
.hero-meta-item strong { display: block; font-size: 1.5rem; color: var(--green); }
.hero-meta-item span { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Quick contact ---------- */
.quick-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin: 40px 0;
}
.quick-item {
  background: var(--surface); border: 1px solid var(--border);
  padding: 14px 18px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: space-between;
  transition: border-color var(--transition);
}
.quick-item:hover { border-color: var(--green); }
.quick-label { font-size: 0.8rem; color: var(--text-dim); }
.quick-value { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* ---------- Sections ---------- */
.section { padding: 70px 0; }
.section-alt { background: var(--surface); }

.section-head {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 40px; max-width: 720px;
}
.section-kicker {
  font-size: 0.8rem; font-weight: 700; color: var(--green);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; line-height: 1.2; }
.section-lead { color: var(--text-muted); font-size: 1rem; }

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--border);
  padding: 26px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-4px); border-color: var(--green); }
.service-number {
  font-size: 0.85rem; font-weight: 800; color: var(--text-dim);
  letter-spacing: 0.05em;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.service-card p { color: var(--text-muted); font-size: 0.92rem; }
.text-link {
  margin-top: auto; font-size: 0.88rem; font-weight: 600;
  color: var(--green); display: inline-flex; align-items: center;
}
.text-link:hover { text-decoration: underline; }

/* ---------- Proof / Saha ---------- */
.proof-layout {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 26px;
  align-items: start;
}
.proof-media { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.proof-media img { width: 100%; height: 420px; object-fit: cover; }
.proof-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  padding: 32px 24px;
}
.proof-caption strong { display: block; font-size: 1.1rem; margin-bottom: 4px; }
.proof-caption span { font-size: 0.88rem; color: #cbd5e1; }

.proof-list { display: flex; flex-direction: column; gap: 16px; }
.proof-row {
  display: flex; gap: 14px; background: var(--bg);
  border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden;
}
.proof-row img { width: 150px; height: 140px; object-fit: cover; flex-shrink: 0; }
.proof-row div { padding: 12px 14px; flex: 1; }
.proof-row h3 { font-size: 0.98rem; margin-bottom: 4px; }
.proof-row p { font-size: 0.84rem; color: var(--text-muted); }

/* ---------- Gallery ---------- */
.gallery-tools {
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 32px;
}
.gallery-tools > div { display: flex; flex-direction: column; gap: 4px; }
.gallery-tools strong { font-size: 1.1rem; }
.gallery-tools span { font-size: 0.88rem; color: var(--text-muted); }

.gallery-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.gallery-filter {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  font-size: 0.85rem; color: var(--text-muted); transition: all var(--transition);
}
.gallery-filter:hover { border-color: var(--green); color: var(--text); }
.gallery-filter.is-active { background: var(--green); border-color: var(--green); color: #000; }

.gallery-showcase {
  display: grid; grid-template-columns: 2fr 1fr; gap: 20px;
  margin-bottom: 40px;
}
.gallery-feature { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.gallery-feature-media { width: 100%; height: 430px; display: block; position: relative; overflow: hidden; }
.gallery-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-feature-media:hover img { transform: scale(1.05); }
.gallery-feature-body { padding: 22px 24px; }
.gallery-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em;
  background: var(--green-bg); color: var(--green); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.gallery-feature-body h3 { font-size: 1.15rem; margin-bottom: 6px; }
.gallery-feature-body p { font-size: 0.88rem; color: var(--text-muted); }

.gallery-side { display: flex; flex-direction: column; gap: 14px; }
.gallery-tile {
  position: relative; border-radius: var(--radius-sm); overflow: hidden;
  border: 1px solid var(--border); aspect-ratio: 4/3;
  display: flex; flex-direction: column; transition: transform var(--transition);
}
.gallery-tile:hover { transform: translateY(-3px); border-color: var(--green); }
.gallery-tile-media { width: 100%; height: 100%; overflow: hidden; position: relative; flex-shrink: 0; }
.gallery-tile-media img { width: 100%; height: 100%; object-fit: cover; }
.play-badge {
  position: absolute; bottom: 10px; right: 10px;
  width: 26px; height: 26px; background: var(--green); color: #000;
  border-radius: 50%; display: grid; place-items: center; font-size: 0.8rem; line-height: 1;
}
.gallery-tile-body { padding: 10px 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.gallery-tile-body strong { font-size: 0.92rem; display: block; }
.gallery-tile-body small { font-size: 0.76rem; color: var(--text-muted); display: block; }

.reference-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.contact-panel {
  background: var(--surface); border: 1px solid var(--border);
  padding: 30px; border-radius: var(--radius);
}
.contact-panel h3 { margin-bottom: 18px; font-size: 1.15rem; }
.contact-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.contact-item { display: flex; flex-direction: column; gap: 4px; }
.contact-item span { font-size: 0.82rem; color: var(--text-dim); }
.contact-item a { font-size: 0.95rem; font-weight: 600; color: var(--text); transition: color var(--transition); }
.contact-item a:hover { color: var(--green); }
.contact-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.service-mini-grid { display: grid; gap: 14px; margin-bottom: 22px; }
.service-mini { display: flex; flex-direction: column; gap: 4px; }
.service-mini strong { font-size: 0.92rem; }
.service-mini span { font-size: 0.84rem; color: var(--text-muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; margin-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; flex-shrink: 0; }
.footer-title { font-weight: 700; font-size: 1.1rem; display: block; }
.footer-subtitle { font-size: 0.78rem; color: var(--text-muted); display: block; }
.footer-grid p { font-size: 0.9rem; color: var(--text-muted); margin-top: 10px; line-height: 1.7; }
.footer-grid h3 { font-size: 1rem; margin-bottom: 14px; }
.footer-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-grid ul li a { font-size: 0.9rem; color: var(--text-muted); transition: color var(--transition); }
.footer-grid ul li a:hover { color: var(--text); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-dim);
}

/* ---------- Floating actions ---------- */
.floating-actions {
  position: fixed; bottom: 24px; right: 24px; display: flex; flex-direction: column; gap: 12px; z-index: 60;
}
.floating-actions .btn-green { padding: 12px 16px; font-size: 0.9rem; }
.scroll-top {
  width: 44px; height: 44px; grid-place-items: center;
  background: var(--green); color: #000; border-radius: 50%;
  box-shadow: var(--shadow); transform: translateY(0);
  transition: transform var(--transition), background var(--transition);
}
.scroll-top:hover { background: var(--green-hover); transform: translateY(-2px); }
.scroll-top svg { width: 18px; height: 18px; }

/* ---------- Modals ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,0.6); display: grid; place-items: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.modal[data-visible] { opacity: 1; pointer-events: auto; }
.lightbox-dialog, .search-dialog {
  background: var(--surface); width: 92%; max-width: 900px; max-height: 90vh;
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transform: translateY(20px); transition: transform 0.3s ease;
}
.modal[data-visible] .lightbox-dialog,
.modal[data-visible] .search-dialog { transform: translateY(0); }
.dialog-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; border-bottom: 1px solid var(--border);
}
.dialog-head h2 { font-size: 1.05rem; }
.lightbox-close {
  width: 32px; height: 32px; grid-place-items: center;
  color: var(--text-muted); border-radius: var(--radius-sm);
}
.lightbox-close:hover { background: var(--surface-hover); color: var(--text); }
.close-symbol { width: 22px; height: 22px; }

.lightbox-media { flex: 1; min-height: 320px; background: #000; display: grid; place-items: center; color: #64748b; }
.lightbox-title { padding: 14px 24px; font-size: 0.95rem; border-top: 1px solid var(--border); color: var(--text-muted); }

.search-input {
  width: 100%; padding: 12px 24px; font-size: 1rem;
  background: var(--bg); border: 1px solid var(--border); border-radius: 0 0 var(--radius) var(--radius);
  color: var(--text);
}
.search-results { padding: 16px 24px; color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .desktop-nav { display: none; }
  .mobile-nav {
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 16px 20px; display: flex; flex-direction: column; gap: 10px;
    box-shadow: var(--shadow);
  }
  .mobile-nav a { font-size: 1rem; padding: 8px 0; color: var(--text); }
  .hero-slider { height: 45vh; min-height: 360px; }
  .proof-layout { grid-template-columns: 1fr; }
  .gallery-showcase { grid-template-columns: 1fr; }
  .gallery-feature-media { height: 300px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-actions { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .hero-meta-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}