:root {
  --ink:   #0B2233;   /* ana yazı */
  --deep:  #0B3B5C;   /* Ege laciverti */
  --sea:   #1F78B4;   /* deniz mavisi */
  --tint:  #EEF5F9;   /* açık mavi zemin */
  --sun:   #F5B82E;   /* yol tabelası sarısı */
  --wa:    #1E9E50;   /* WhatsApp yeşili */
  --muted: #4E6474;
  --line:  #D8E3EA;
  --bg:    #FFFFFF;

  --font: "Archivo", system-ui, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-stretch: 112%; letter-spacing: -.02em; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 850; color: var(--deep); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; color: var(--deep); }
h3 { font-size: 1.2rem; font-weight: 750; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px; border-radius: 12px;
  font: inherit; font-weight: 700; font-stretch: 105%; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #18894A; }
.btn-call { background: var(--sun); color: var(--ink); }
.btn-call:hover { background: #E9A916; }
.btn-ghost { border-color: var(--deep); color: var(--deep); }
.btn-ghost:hover { background: var(--tint); }

/* ---------- Üst bar ---------- */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--deep) url("images/favicon.svg") center / cover; }
.logo-text { font-size: 1.3rem; font-weight: 500; font-stretch: 115%; letter-spacing: -.02em; color: var(--deep); }
.logo-text b { font-weight: 850; }
.logo-text i { font-style: normal; font-weight: 850; color: var(--sea); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; color: var(--muted); }
.nav a:hover { color: var(--deep); }
.top-call { min-height: 44px; padding: 0 16px; }

/* ---------- Giriş ---------- */
.hero { background: linear-gradient(180deg, var(--tint), #fff 85%); overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 96px); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 34em; margin: 22px 0 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Giriş fotoğrafı */
.hero-photo { position: relative; margin: 0 0 40px; }
.hero-photo > img:first-child { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; box-shadow: 0 20px 50px rgba(11,59,92,.18); }
.hero-inset { position: absolute; left: -28px; bottom: -36px; width: 34%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 5px solid #fff; box-shadow: 0 14px 34px rgba(11,59,92,.22); }
.hero-badge { position: absolute; right: 18px; top: 18px; display: flex; flex-direction: column; padding: 12px 16px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(11,34,51,.18); line-height: 1.2; }
.hero-badge b { font-size: 1.35rem; font-weight: 850; font-stretch: 112%; color: var(--deep); }
.hero-badge span { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Galeri */
.gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; }
.g-item { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--tint); min-height: 0; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.g-item:hover img { transform: scale(1.04); }
.g-main { grid-row: 1 / 3; }
.gallery .g-item:not(.g-main) { aspect-ratio: 3 / 4; }

/* Rota çizimi */
.route { position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; }
.route-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route-road { fill: none; stroke: var(--deep); stroke-width: 34; stroke-linecap: round; }
.route-dash { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 16 14; animation: drive 1.6s linear infinite; }
@keyframes drive { to { stroke-dashoffset: -30; } }
.stop {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px 8px 8px; border-radius: 999px; background: #fff;
  box-shadow: 0 6px 20px rgba(11, 59, 92, .14); border: 1px solid var(--line);
  font-weight: 700; font-size: .92rem; white-space: nowrap; color: var(--ink);
}
.stop b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--sun); font-size: .75rem; font-stretch: 100%; }
.bd-ring { fill: rgba(31,120,180,.22); }
.bd-core { fill: #fff; stroke: var(--sea); stroke-width: 5; }
@media (prefers-reduced-motion: reduce) { .route-dash { animation: none; } .bus-dot animateMotion { display: none; } }

/* ---------- Bölümler ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-tint { background: var(--tint); }
.section-lede { color: var(--muted); max-width: 36em; margin: 14px 0 0; font-size: 1.1rem; }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.svc { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.svc-ic { width: 48px; height: 48px; margin-bottom: 18px; fill: none; stroke: var(--sea); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.svc h3 { margin-bottom: 10px; }
.svc p { margin: 0 0 18px; color: var(--muted); font-size: .98rem; }
.svc-link { margin-top: auto; font-weight: 700; color: var(--sea); text-decoration: none; }
.svc-link::after { content: ""; display: inline-block; width: 18px; height: 2px; margin-left: 8px; background: currentColor; vertical-align: middle; transition: width .2s ease; }
.svc-link:hover::after { width: 28px; }

.arac-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.arac-visual { background: #fff; border-radius: 20px; padding: clamp(20px, 3vw, 36px); border: 1px solid var(--line); }
.arac-visual img { border-radius: 12px; width: 100%; }
.b-body { fill: #fff; stroke: var(--deep); stroke-width: 4; }
.b-stripe { fill: var(--sun); }
.b-glass { fill: #CFE4F1; stroke: var(--deep); stroke-width: 3; }
.b-door { fill: #E3EEF5; stroke: var(--deep); stroke-width: 3; }
.b-tire { fill: var(--ink); } .b-hub { fill: #9DB3C2; } .b-light { fill: var(--sun); }
.b-name { font: 800 19px var(--font); fill: var(--deep); }
.photo-note { margin: 12px 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.feats { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.feats li { background: #fff; border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); }
.feats b { display: block; font-size: 1.15rem; font-stretch: 110%; color: var(--deep); }
.feats span { font-size: .92rem; color: var(--muted); }

.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 36px; }
.why h3 { color: var(--deep); font-size: 1.35rem; padding-top: 16px; border-top: 4px solid var(--sun); }
.why p { color: var(--muted); margin: 10px 0 0; }

/* Teklif */
.section-deep { background: var(--deep); color: #fff; }
.section-deep h2 { color: #fff; }
.teklif-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.teklif-text p { color: #C9DCE8; font-size: 1.1rem; max-width: 28em; }
.teklif-alt a { color: var(--sun); font-weight: 700; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; background: #fff; color: var(--ink); padding: clamp(20px, 3vw, 32px); border-radius: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: .9rem; }
.form small { font-weight: 400; color: var(--muted); }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(31,120,180,.18); }
.form-hint { margin: 0; font-size: .85rem; color: var(--muted); text-align: center; }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.contact-list { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-list div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
.contact-list dt { font-size: .85rem; font-weight: 600; color: var(--muted); }
.contact-list dd { margin: 4px 0 0; font-weight: 750; font-size: 1.15rem; font-stretch: 108%; color: var(--deep); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--sea); }

.foot { border-top: 1px solid var(--line); padding: 28px 0 32px; color: var(--muted); font-size: .9rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.foot .logo-text { font-size: 1.05rem; }

/* Yaklaşan turlar */
.section-tours { padding-bottom: clamp(40px, 6vw, 72px); }
.tours { display: grid; gap: 24px; margin-top: 36px; }
.tour { display: grid; grid-template-columns: 1.05fr 1fr; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.tour-img { position: relative; display: block; padding: 0; border: 0; background: var(--tint); cursor: zoom-in; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; }
.tour-chip { position: absolute; left: 16px; top: 16px; padding: 8px 14px; border-radius: 10px; background: var(--sun); color: var(--ink); font: 800 .95rem var(--font); font-stretch: 108%; box-shadow: 0 4px 14px rgba(11,34,51,.2); }
.tour-img span { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(11,34,51,.8); color: #fff; font: 700 .85rem var(--font); }
.tour-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.tour-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--deep); }
.tour-body > p { margin: -8px 0 0; color: var(--muted); }
.tour-label { font-size: .85rem; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.dates { display: flex; flex-wrap: wrap; gap: 8px; }
.date { font: inherit; font-weight: 700; font-size: .95rem; padding: 9px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.date:hover { border-color: var(--sea); }
.date[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
.date.past { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.prog { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.prog li { position: relative; padding-left: 22px; font-size: .97rem; }
.prog li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 7px; border-left: 2.5px solid var(--wa); border-bottom: 2.5px solid var(--wa); transform: rotate(-45deg); }
.tour-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.poster { border: 0; padding: 0; background: transparent; max-width: min(92vw, 620px); max-height: 92vh; }
.poster::backdrop { background: rgba(11,34,51,.85); }
.poster img { width: 100%; height: auto; max-height: 92vh; object-fit: contain; border-radius: 12px; }
.poster-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; }

/* Telefon için alt çubuk */
.dock { display: none; }

@media (max-width: 960px) {
  .services { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .top-call { margin-left: auto; }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .top-in { height: 62px; }
  .top-call span { display: none; }
  .top-call { width: 44px; padding: 0; }
  .hero-in, .arac-in, .teklif-in, .contact, .tour { grid-template-columns: 1fr; }
  .prog { grid-template-columns: 1fr; }
  .hero-inset { left: -8px; bottom: -24px; width: 32%; }
  .hero-badge { right: 10px; top: 10px; padding: 8px 12px; }
  .hero-badge b { font-size: 1.1rem; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .g-main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .stop { font-size: .8rem; padding: 6px 10px 6px 6px; }
  .stop b { width: 24px; height: 24px; }
  .stop span { max-width: 9.5em; white-space: normal; line-height: 1.2; }
  .services, .why, .feats, .contact-list { grid-template-columns: 1fr; }
  .why { gap: 24px; }
  .form { grid-template-columns: 1fr; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
  }
  .dock a { display: grid; place-items: center; height: 50px; border-radius: 12px; font-weight: 800; text-decoration: none; }
  .dock-call { background: var(--sun); color: var(--ink); }
  .dock-wa { background: var(--wa); color: #fff; }
}
