:root {
  /* ---------- Akdeniz teması: krem zemin + turkuaz (deniz) + turuncu (güneş) ---------- */
  --bg: #FBF6EC;                 /* sayfa zemini: sıcak krem */
  --surface: #FFFFFF;            /* kart / ticket zemini */
  --surface-soft: #F4EDDD;       /* input / hafif dolgulu yüzeyler */
  --border: rgba(22, 38, 46, 0.12);
  --border-soft: rgba(22, 38, 46, 0.08);
  --ink: #17282F;                /* ana metin rengi (koyu petrol) */
  --muted: #6C7B82;              /* ikincil / soluk metin */

  --sea: #0FA3A6;                /* turkuaz - bilgi/ikon/odak rengi */
  --sea-dark: #0A7E80;
  --sea-tint: rgba(15, 163, 166, 0.10);
  --sea-tint-strong: rgba(15, 163, 166, 0.22);

  --sun: #F2793A;                /* turuncu - ana aksiyon (CTA) rengi */
  --sun-dark: #D9601F;
  --sun-light: #FF9A5C;
  --sun-tint: rgba(242, 121, 58, 0.12);
  --sun-tint-strong: rgba(242, 121, 58, 0.25);

  --on-accent: #12262B;          /* turuncu/turkuaz üstündeki koyu metin */
  --error: #D8483B;

  --ticket-pad: 24px;
  --ticket-pad-mobile: 18px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---------- Top language bar ---------- */
/* Sitenin en üstünde, tarayıcıdan siteyi ayıran ince şerit.
   Rengi seçilen dile göre (html[lang] üzerinden) otomatik değişir. */

.lang-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 100;
  background: var(--sun);
  transition: background 0.3s ease;
}

html[lang="tr"] .lang-bar { background: #E30A17; }
html[lang="en"] .lang-bar { background: linear-gradient(90deg, #00247D 50%, #CF142B 50%); }
html[lang="ru"] .lang-bar { background: linear-gradient(90deg, #ffffff 0 33%, #0039A6 33% 66%, #D52B1E 66% 100%); }

body { padding-top: 4px; }

/* ---------- Topbar ---------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 6vw;
  position: sticky;
  top: 4px;
  z-index: 10;
  background: rgba(251, 246, 236, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
}

.brand__icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--sea-dark); }

.topbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-cta {
  color: var(--on-accent);
  background: var(--sun);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  transition: background 0.15s ease;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--sun-light); }

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--ink);
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.social-icon svg { width: 19px; height: 19px; }

.social-icon:hover {
  background: var(--sea-tint);
  color: var(--sea-dark);
}

.lang-switch {
  display: flex;
  gap: 4px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  padding: 3px;
}

.lang-pill {
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-pill:hover { color: var(--ink); }

.lang-pill.is-active {
  background: var(--sun);
  color: var(--on-accent);
}

/* ---------- Hero layout ---------- */

.hero {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 44px 6vw 56px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.hero__route {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15, 163, 166, 0.28) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(115deg, black, transparent 45%);
  mask-image: linear-gradient(115deg, black, transparent 45%);
  opacity: 0.6;
  pointer-events: none;
}

.hero__text { position: relative; padding-top: 24px; }

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.hero__stat {
  display: inline-flex;
  align-items: center;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--sea-dark);
  background: var(--sea-tint);
  border: 1px solid var(--sea-tint-strong);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.hero__title {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 4.4vw + 1rem, 4.2rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  color: var(--ink);
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 38ch;
  margin: 0;
}

/* ---------- Ticket / form ---------- */

.ticket {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: var(--ticket-pad);
  box-shadow: 0 18px 40px rgba(22, 38, 46, 0.08);
  animation: rise 0.6s ease both;
}

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

@media (prefers-reduced-motion: reduce) {
  .ticket { animation: none; }
}

.ticket__eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--sea-dark);
  margin: 0 0 14px;
}

.trip-type {
  display: flex;
  gap: 6px;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 14px;
}

.trip-type__btn {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.trip-type__btn:hover { color: var(--ink); }

.trip-type__btn.is-active {
  background: var(--sun);
  color: var(--on-accent);
}

.price-estimate {
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--sun-tint);
  border: 1px solid var(--sun-tint-strong);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.price-estimate strong {
  color: var(--sun-dark);
  font-family: "Poppins", sans-serif;
}

.price-estimate[hidden] { display: none; }

.field { margin-bottom: 10px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field-row--3 {
  grid-template-columns: 1fr 1fr 1.2fr;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%236C7B82'><path d='M5.5 7.5l4.5 4.5 4.5-4.5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 38px;
}

.field select:invalid { color: rgba(22, 38, 46, 0.4); }
.field select option { color: #111; }

/* ---------- Passenger stepper popover ---------- */

.field--stepper { position: relative; }

.stepper-trigger {
  width: 100%;
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.stepper-trigger:hover,
.stepper-trigger[aria-expanded="true"] {
  border-color: var(--sea);
  background: var(--sea-tint);
}

.stepper-trigger[data-invalid="true"] { border-color: var(--error); }

.stepper-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 10px 18px;
  box-shadow: 0 14px 34px rgba(22, 38, 46, 0.18);
}

.stepper-popover[hidden] { display: none; }

.stepper-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.stepper-btn:hover {
  background: var(--sea-tint);
  border-color: var(--sea);
}

.stepper-count {
  min-width: 22px;
  text-align: center;
  font-weight: 600;
  font-size: 1.05rem;
}

.field input::placeholder { color: rgba(22, 38, 46, 0.35); }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--sea);
  background: var(--surface);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--sea);
  outline-offset: 1px;
}

.field input[data-invalid="true"],
.field select[data-invalid="true"] { border-color: var(--error); }

.field__error {
  display: block;
  min-height: 1.1em;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 5px;
}

/* Ticket perforation: dashed line bleeding to card edges with punched circles */
.ticket__divider {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--border);
  margin: 16px calc(-1 * var(--ticket-pad)) 14px;
}

.ticket__divider::before,
.ticket__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  transform: translateY(-50%);
}

.ticket__divider::before { left: -14px; }
.ticket__divider::after { right: -14px; }

.ticket__cta {
  width: 100%;
  margin-top: 8px;
  background: var(--sun);
  color: var(--on-accent);
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease;
}

.ticket__cta:hover { background: var(--sun-light); }

.ticket__cta:active { transform: scale(0.98); }

.ticket__note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin: 10px 0 0;
}

/* ---------- Shared media placeholder ---------- */

.media-slot {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-soft);
  border: 1px dashed var(--border);
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-slot__label {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
  padding: 0 16px;
}

.media-slot__label::before {
  content: "";
  position: absolute;
  top: calc(50% - 34px);
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 22px;
  border: 1.5px solid var(--muted);
  border-radius: 4px;
}

.media-slot.is-empty img { display: none; }
.media-slot.is-empty .media-slot__label { display: flex; }

/* ---------- Generic section shell ---------- */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 6vw;
  scroll-margin-top: 90px;
}

.hero { scroll-margin-top: 90px; }

.section__head {
  max-width: 56ch;
  margin: 0 0 28px;
}

.section__head h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--ink);
}

.section__head p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Price list ---------- */

.price-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-row__route {
  font-size: 1rem;
  white-space: nowrap;
  color: var(--ink);
}

.price-row__leader {
  flex: 1;
  border-bottom: 2px dotted var(--border);
  transform: translateY(-4px);
}

.price-row__amount {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  color: var(--sun-dark);
  font-size: 1.05rem;
  white-space: nowrap;
}

/* ---------- Fleet gallery (scrollable) ---------- */

.gallery {
  display: flex;
  align-items: center;
  gap: 14px;
}

.gallery__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--sea) transparent;
  scrollbar-width: thin;
}

.gallery__track::-webkit-scrollbar { height: 6px; }
.gallery__track::-webkit-scrollbar-track { background: transparent; }
.gallery__track::-webkit-scrollbar-thumb {
  background: var(--sea);
  border-radius: 3px;
}

.gallery__item {
  flex: 0 0 clamp(240px, 30vw, 340px);
  scroll-snap-align: start;
  aspect-ratio: 4 / 3;
  margin-bottom: 0;
}

.gallery__nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 6px 16px rgba(22, 38, 46, 0.08);
}

.gallery__nav:hover {
  background: var(--sea-tint);
  border-color: var(--sea);
}

/* ---------- About ---------- */

.section--about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.media-slot--about { aspect-ratio: 4 / 5; }

.about__content h2 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: clamp(1.9rem, 2.6vw + 1rem, 2.6rem);
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--ink);
}

.about__content > p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 0 32px;
}

.about__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}

.about__points li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.about__point-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.about__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sea-tint);
  color: var(--sea-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__icon svg { width: 22px; height: 22px; }

.about__points strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
}

.about__points span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* ---------- Testimonials ---------- */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(22, 38, 46, 0.06);
}

.testimonial-card__quote {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.5;
  margin: 0 0 18px;
  color: var(--ink);
}

.testimonial-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.testimonial-card__route {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 4px 0 0;
}

/* ---------- Contact ---------- */

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-whatsapp {
  display: inline-block;
  background: var(--sun);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.contact-whatsapp:hover { background: var(--sun-light); }

.contact-telegram {
  display: inline-block;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: 10px;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.contact-telegram:hover {
  border-color: var(--sea);
  background: var(--sea-tint);
}

/* ---------- FAQ / SSS accordion ---------- */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(22, 38, 46, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 18px 20px;
  cursor: pointer;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--muted);
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--sea);
  color: var(--sea-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---------- Floating WhatsApp widget ---------- */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(22, 38, 46, 0.3);
  z-index: 60;
  transition: transform 0.15s ease;
}

.whatsapp-float svg { width: 29px; height: 29px; }

.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 6vw 48px;
  border-top: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 28px 6vw 40px;
    gap: 36px;
  }
  .hero__text { padding-top: 0; }
  .ticket { padding: var(--ticket-pad-mobile); }
  .ticket__divider {
    margin: 14px calc(-1 * var(--ticket-pad-mobile)) 12px;
  }
  .field-row,
  .field-row--3 { grid-template-columns: 1fr; gap: 0; }

  .hero__stats { gap: 8px; }
  .hero__stat { font-size: 0.76rem; padding: 5px 11px; }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }
  .whatsapp-float svg { width: 25px; height: 25px; }

  .nav { display: none; }

  .section { padding: 40px 6vw; }

  .gallery__nav { display: none; }
  .gallery__item { flex-basis: 78vw; }

  .section--about {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .media-slot--about { display: none; }

  .testimonial-grid { grid-template-columns: 1fr; }


  .site-footer { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
  .topbar { padding: 18px 5vw; gap: 12px; }
  .brand { font-size: 1.15rem; }
  .nav-cta { padding: 8px 12px; font-size: 0.8rem; }
  .hero { padding: 24px 5vw 32px; }
}
