/* ===========================================================
   Kasımlar Turizm — okul servisi & personel taşımacılığı
   Tema: güven veren lacivert + okul otobüsü sarısı, sıcak kâğıt
   İmza: evden okula uzanan kesikli "güzergâh" çizgisi
   =========================================================== */

:root {
  --ink:      #12263A;   /* deep navy — güven */
  --ink-2:    #1E3A52;
  --ink-soft: #33475B;
  --bus:      #FFC21C;   /* okul otobüsü sarısı — imza */
  --bus-deep: #E19B00;   /* koyu sarı: açık zeminde metin/vurgu */
  --paper:    #FBF7EF;   /* sıcak kâğıt zemini */
  --card:     #FFFFFF;
  --road:     #5B6B7B;   /* nötr gri metin */
  --line:     #EAE1CF;   /* sıcak ince çizgi */
  --line-2:   #DCE4EC;
  --wa:       #25D366;   /* whatsapp yeşili */
  --wa-deep:  #128C7E;

  --radius:   18px;
  --radius-sm:12px;
  --shadow:   0 18px 44px -24px rgba(18,38,58,.45);
  --shadow-sm:0 8px 20px -12px rgba(18,38,58,.35);

  --font-display: "Bricolage Grotesque", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body:    "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--bus-deep);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--bus);
  border-radius: 2px; display: inline-block;
}

.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); margin: .6rem 0 .8rem; }
.section-head p { color: var(--road); font-size: 1.06rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.5rem; border-radius: 999px; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; }
.btn-primary { background: var(--bus); color: var(--ink); box-shadow: 0 10px 22px -10px rgba(225,155,0,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(225,155,0,.8); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 10px 22px -10px rgba(37,211,102,.7); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 28px -12px rgba(37,211,102,.85); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); background: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,239,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(18,38,58,.5); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; }
.brand .mark { width: 40px; height: 40px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--road); margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; padding: .55rem .85rem; border-radius: 999px; font-weight: 600; font-size: .97rem; color: var(--ink-soft); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(18,38,58,.06); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; background: var(--bus); border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span + span { margin-top: 6px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 74px 0 90px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
.hero h1 .hl { color: var(--bus-deep); position: relative; white-space: nowrap; }
.hero-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 34ch; margin: 1.4rem 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px dashed var(--line); }
.hero-badge { display: inline-flex; align-items: center; gap: .5rem; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.hero-badge svg { width: 20px; height: 20px; color: var(--bus-deep); flex: none; }

/* Hero illustration card */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); aspect-ratio: 4/3; background: #dfe6ec;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-float {
  position: absolute; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-sm); padding: .8rem 1rem;
  display: flex; align-items: center; gap: .7rem; font-weight: 700; font-size: .92rem;
}
.hero-float .ic { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.hero-float small { display: block; font-weight: 600; font-size: .74rem; color: var(--road); }
.hero-float.one { top: 22px; left: -18px; }
.hero-float.two { bottom: 26px; right: -14px; }

/* soft blobs */
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -180px;
  background: radial-gradient(circle, rgba(255,194,28,.22), transparent 66%); z-index: -1;
}

/* ---------- Stats strip ---------- */
.stats { background: var(--ink); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 46px; padding-bottom: 46px; }
.stat { text-align: center; }
.stat b { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; color: var(--bus); display: block; line-height: 1; }
.stat span { display: block; margin-top: .5rem; font-size: .9rem; color: #B9C6D3; font-weight: 500; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #E4D8BE; }
.card .ic {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,194,28,.16); color: var(--bus-deep); margin-bottom: 20px;
}
.card .ic svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.32rem; margin-bottom: .5rem; }
.card p { color: var(--road); font-size: .98rem; margin: 0; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; margin-top: 1.1rem; font-weight: 700; font-size: .92rem; color: var(--ink); }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
.card:hover .more svg { transform: translateX(4px); }

/* service card with photo */
.svc-photo { padding: 0; }
.svc-photo .ph { aspect-ratio: 16/10; overflow: hidden; background: #dfe6ec; }
.svc-photo .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.svc-photo:hover .ph img { transform: scale(1.05); }
.svc-photo .bd { padding: 26px 30px 30px; }

/* ---------- Feature list (neden biz) ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--bus); display: grid; place-items: center; flex: none; }
.feature .ic svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.feature p { color: var(--road); font-size: .96rem; margin: 0; }

/* ---------- Route / süreç (İMZA) ---------- */
.route { background: linear-gradient(180deg, #fff 0%, var(--paper) 100%); }
.route-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.route-track::before {
  content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 3px;
  background-image: linear-gradient(90deg, var(--bus) 0 14px, transparent 14px 26px);
  background-size: 26px 3px; background-repeat: repeat-x; z-index: 0;
}
.route-step { position: relative; z-index: 1; text-align: center; }
.route-pin {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--ink); color: var(--bus); display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  border: 4px solid var(--paper); box-shadow: 0 0 0 3px var(--bus);
}
.route-step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.route-step p { color: var(--road); font-size: .93rem; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 56px; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -40px; bottom: -60px; width: 300px; height: 300px;
  background-image: linear-gradient(90deg, rgba(255,194,28,.35) 0 12px, transparent 12px 24px);
  background-size: 24px 24px; opacity: .18; transform: rotate(-18deg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.5rem); max-width: 18ch; }
.cta-band p { color: #C3D0DC; max-width: 46ch; margin: 1rem 0 0; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.cta-inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 30px; align-items: center; justify-content: space-between; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.contact-card h3 { font-size: 1.2rem; }
.contact-person { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.contact-person:last-child { border-bottom: 0; }
.contact-person .av { width: 48px; height: 48px; border-radius: 50%; background: var(--bus); color: var(--ink); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; flex: none; }
.contact-person .info b { display: block; }
.contact-person .info span { color: var(--road); font-size: .9rem; }
.contact-person .acts { margin-left: auto; display: flex; gap: 8px; }
.contact-person .acts a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.icon-wa { background: rgba(37,211,102,.14); color: var(--wa-deep); }
.icon-tel { background: rgba(18,38,58,.08); color: var(--ink); }
.contact-person .acts svg { width: 20px; height: 20px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #e9edf1; min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 5/6; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.value-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 14px; }
.value-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.value-list svg { width: 22px; height: 22px; color: var(--bus-deep); flex: none; margin-top: 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 70px 0 74px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background-image: linear-gradient(90deg, var(--bus) 0 16px, transparent 16px 30px);
  background-size: 30px 3px;
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.3rem); }
.page-hero p { color: #C3D0DC; max-width: 52ch; margin: 1rem 0 0; font-size: 1.08rem; }
.breadcrumb { font-size: .85rem; color: #93A6B6; margin-bottom: .9rem; }
.breadcrumb a:hover { color: var(--bus); }

/* ---------- Service detail rows ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 44px 0; border-bottom: 1px dashed var(--line); }
.svc-row:last-child { border-bottom: 0; }
.svc-row.rev .svc-media { order: 2; }
.svc-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); aspect-ratio: 16/11; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-row h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .8rem; }
.svc-row p { color: var(--road); }
.chip-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chip-list li { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,194,28,.14); color: var(--ink); font-weight: 600; font-size: .88rem; padding: .45rem .85rem; border-radius: 999px; }
.chip-list svg { width: 15px; height: 15px; color: var(--bus-deep); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C3D0DC; padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1.1rem; }
.site-footer a:hover { color: var(--bus); }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand small { color: #93A6B6; }
.footer-brand p { font-size: .95rem; margin: 1rem 0 1.2rem; max-width: 30ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s; }
.footer-social a:hover { background: var(--bus); color: var(--ink); }
.footer-social svg { width: 20px; height: 20px; }
.footer-contact { display: grid; gap: 12px; font-size: .95rem; }
.footer-contact a { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--bus); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: .85rem; color: #7E92A3; }

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { width: 32px; height: 32px; }

/* ---------- Reveal animation (yalnızca JS varken gizle) ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-float.one { left: 8px; }
  .hero-float.two { right: 8px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-media { aspect-ratio: 16/10; max-height: 420px; }
  .svc-row, .svc-row.rev { grid-template-columns: 1fr; gap: 24px; }
  .svc-row.rev .svc-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .brand { font-size: 1.06rem; }
  .brand span { white-space: nowrap; }
  .brand .mark { width: 36px; height: 36px; }
  /* Header WhatsApp: mobilde kompakt, yalnızca ikon */
  .nav-cta .btn-wa { font-size: 0; padding: .6rem; border-radius: 50%; gap: 0; }
  .nav-cta .btn-wa svg { width: 22px; height: 22px; }
  .nav[data-open="true"] .nav-links {
    display: flex; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 14px 24px 22px; box-shadow: var(--shadow-sm);
  }
  .nav[data-open="true"] .nav-links a { padding: .8rem .6rem; font-size: 1.05rem; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats .wrap { grid-template-columns: 1fr 1fr; gap: 30px 12px; }
  .route-track { grid-template-columns: 1fr; gap: 30px; }
  .route-track::before { display: none; }
  .route-step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; align-items: center; }
  .route-pin { margin: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { padding: 38px 26px; }
  .cta-band .actions .btn { flex: 1 1 auto; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .section-head { margin-bottom: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .btn, .card, .wa-fab { transition: none; }
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--bus-deep); outline-offset: 2px; border-radius: 6px;
}
