/* ===========================================================
   Flyvef.com — ana stil dosyası
   =========================================================== */

:root {
  /* Kırmızı palet — orijinalden farklı, daha derin/bordo tonlu kırmızı */
  --red-900: #5C0A18;
  --red-800: #7A0E20;
  --red-700: #951229;
  --red-600: #B3173A;
  --red-500: #D6234A;
  --red-400: #ED3B5F;
  --red-300: #F46B85;
  --red-50:  #FDF1F3;

  --ink-900: #1B1420;
  --ink-700: #463B49;
  --ink-500: #756A7B;
  --ink-300: #A89FAD;
  --paper:   #FFFFFF;
  --cloud:   #FAF7F8;
  --line:    #EFE3E6;

  --shadow-sm: 0 2px 8px rgba(92, 10, 24, 0.08);
  --shadow-md: 0 10px 30px rgba(92, 10, 24, 0.12);
  --shadow-lg: 0 24px 64px rgba(92, 10, 24, 0.20);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 28px;

  --container: 1180px;
}

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

html { scroll-behavior: smooth; scrollbar-gutter: stable; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, "Inter", Arial, sans-serif;
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
svg { display: block; }
.icon { stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

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

.section { padding: 96px 0; }
.section--tint { background: var(--cloud); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red-600);
  background: var(--red-50);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow .icon { width: 15px; height: 15px; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--ink-500); font-size: 17px; margin-top: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn .icon { width: 18px; height: 18px; }
.btn--primary {
  background: linear-gradient(135deg, var(--red-600), var(--red-500));
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost {
  background: transparent;
  color: var(--red-700);
  border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: var(--red-50); border-color: var(--red-200, var(--red-50)); }
.btn--block { width: 100%; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--ink-900);
  color: #fff;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 9px;
  padding-bottom: 9px;
  font-size: 13px;
}
.topbar__brand {
  font-weight: 800;
  letter-spacing: .04em;
  color: #fff;
}
.topbar__brand span { color: var(--red-400); }
.topbar__info { display: flex; gap: 22px; color: var(--ink-300); }
.topbar__info a { display: inline-flex; align-items: center; gap: 6px; }
.topbar__info .icon { width: 14px; height: 14px; }
.topbar__info a:hover { color: #fff; }

/* ---------- Header / nav ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-size: 19px; font-weight: 800; }
.logo__text small { font-size: 11.5px; color: var(--ink-500); letter-spacing: .03em; }

.nav { display: flex; align-items: center; gap: 14px; }
.nav__links { display: flex; gap: 30px; font-weight: 600; font-size: 14.5px; }
.nav__links a { color: var(--ink-700); transition: color .15s; position: relative; padding: 6px 0; }
.nav__links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--red-600);
  transition: right .18s ease;
}
.nav__links a:hover { color: var(--red-600); }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.nav__links a.is-active { color: var(--red-700); }

.nav__toggle {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink-900);
}
.nav__toggle .icon { width: 20px; height: 20px; }
.nav__toggle .icon-close { display: none; }
.header.is-open .nav__toggle .icon-menu { display: none; }
.header.is-open .nav__toggle .icon-close { display: block; }

/* ---------- Page banner (alt sayfalar için) ---------- */
.page-banner {
  background: linear-gradient(150deg, var(--red-900), var(--red-600));
  color: #fff;
  padding: 68px 0;
  text-align: center;
}
.page-banner .eyebrow { background: rgba(255,255,255,.14); color: #fff; }
.page-banner h1 { font-size: clamp(26px, 5vw, 40px); font-weight: 800; letter-spacing: -.01em; }
.page-banner p { color: rgba(255,255,255,.78); margin-top: 12px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 92px;
  background:
    radial-gradient(1100px 520px at 82% -18%, var(--red-50) 0%, transparent 60%),
    radial-gradient(900px 420px at -10% 8%, #FBF3F5 0%, transparent 55%),
    var(--paper);
  overflow: hidden;
}
.hero .container {
  display: block;
  text-align: center;
}
.hero__intro { max-width: 760px; margin: 0 auto 34px; }
.hero h1 {
  font-size: clamp(32px, 5.6vw, 52px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--red-700), var(--red-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--ink-500); max-width: 560px; margin: 0 auto; }
.hero__actions { display: flex; gap: 14px; margin-bottom: 48px; flex-wrap: wrap; }

.hero__stats { display: flex; gap: 48px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.stat strong { display: block; font-size: 28px; font-weight: 800; color: var(--red-700); }
.stat span { font-size: 13.5px; color: var(--ink-500); }

/* ---------- Uçuş arama kutusu (emlak arama çubuğu tarzı) ---------- */
.flight-search {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.flight-search__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}
.flight-search .field label { margin-bottom: 1px; }
.flight-search__btn {
  height: 50px;
  padding: 0 26px;
  min-width: 150px;
}
.hero__trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 22px;
}
.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-700);
}
.hero__trust .icon { width: 16px; height: 16px; color: var(--red-500); }

/* ---------- Form alanları (arama modalı / iletişim formu ortak) ---------- */
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 12.5px; font-weight: 700; color: var(--ink-500); text-transform: uppercase; letter-spacing: .04em; }
.field--icon { position: relative; }
.field--icon .icon {
  position: absolute;
  left: 14px;
  bottom: 16px; /* 50px input yüksekliğinin tam ortası: SVG kaymasını engeller */
  width: 18px; height: 18px;
  color: var(--red-500);
  pointer-events: none;
}
.field input, .field select {
  height: 50px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink-900);
  background: var(--cloud);
  transition: border-color .15s, background .15s;
  width: 100%;
}
.field--icon input, .field--icon select { padding-left: 42px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--red-500); background: #fff; }

/* ---------- Neden Flyvef ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card__icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--red-600), var(--red-400));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}
.feature-card__icon .icon { width: 24px; height: 24px; stroke-width: 1.7; }
.feature-card h3 { font-size: 18px; font-weight: 700; }
.feature-card p { color: var(--ink-500); font-size: 14px; line-height: 1.6; margin-top: 10px; }
.feature-card:nth-child(1) .feature-card__icon { background: linear-gradient(135deg, #B3173A, #ED3B5F); }
.feature-card:nth-child(2) .feature-card__icon { background: linear-gradient(135deg, #7A0E20, #B3173A); }
.feature-card:nth-child(3) .feature-card__icon { background: linear-gradient(135deg, #D6234A, #F46B85); }
.feature-card:nth-child(4) .feature-card__icon { background: linear-gradient(135deg, #951229, #D6234A); }

/* ---------- Popüler rotalar ---------- */
.routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.route-card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.route-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-50);
  color: var(--red-600);
}
.route-card__icon .icon { width: 22px; height: 22px; }
.route-card__text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.route-card__text strong { font-size: 15.5px; font-weight: 700; }
.route-card__text small { font-size: 12.5px; color: var(--ink-500); }
.route-card__chev { width: 18px; height: 18px; color: var(--ink-300); transition: transform .18s ease, color .18s ease; }
.route-card:hover .route-card__chev { color: var(--red-500); transform: translateX(3px); }

/* ---------- Hakkımızda ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__art {
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(150deg, var(--red-50), #fff);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about__art .logo__mark { width: 150px; height: 150px; border-radius: 32px; box-shadow: var(--shadow-md); }
.about h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 20px; line-height: 1.18; }
.about p { color: var(--ink-500); margin-bottom: 16px; font-size: 16px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-50);
  color: var(--red-700);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
}
.chip .icon { width: 15px; height: 15px; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px;
}
.contact-item__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--red-50); color: var(--red-700);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-item__icon .icon { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-item span { color: var(--ink-500); font-size: 14px; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { margin-bottom: 16px; }
.contact-form textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 14.5px;
  background: var(--cloud);
  resize: vertical;
  min-height: 110px;
  width: 100%;
}
.contact-form textarea:focus { outline: none; border-color: var(--red-500); background: #fff; }
.form-msg { margin-top: 14px; font-size: 14px; font-weight: 600; display: none; }
.form-msg.ok { color: #1b7a3d; display: block; }
.form-msg.err { color: var(--red-600); display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: var(--ink-300); padding: 56px 0 26px; }
.footer .container { display: flex; flex-direction: column; gap: 36px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 24px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .logo__text strong { color: #fff; }
.footer__brand .logo__text small { color: var(--ink-300); }
.footer__links { display: flex; gap: 28px; font-size: 14px; }
.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Uçuş sorgulama modalı ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 20, 32, .55);
  backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 32px 32px;
  transform: translateY(18px) scale(.98);
  transition: transform .22s ease;
}
.modal.is-open .modal__panel { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 18px; right: 18px;
  width: 36px; height: 36px;
  border: none;
  border-radius: 10px;
  background: var(--cloud);
  color: var(--ink-700);
  display: flex; align-items: center; justify-content: center;
}
.modal__close:hover { background: var(--red-50); color: var(--red-600); }

.modal__call {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-bottom: 24px;
}
.modal__call .logo__mark { width: 56px; height: 56px; border-radius: 16px; }
.modal__call-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--red-700);
  letter-spacing: .01em;
}
.modal__call .icon { color: var(--red-500); }
.modal__call-label {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-500);
}

.modal__divider { height: 1px; background: var(--line); margin: 0 -32px 24px; }
.modal__title { font-size: 15px; font-weight: 700; margin-bottom: 18px; text-align: center; color: var(--ink-700); }

.modal form { display: flex; flex-direction: column; gap: 14px; }
.modal .field--icon .icon { bottom: 16px; }
/* select alanlarında native ok ile ikonun çakışmaması için */
.field--icon select { appearance: none; -webkit-appearance: none; -moz-appearance: none; padding-right: 34px; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23951229' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/* Body scroll kilidi modal açıkken main.js ile eklenir */
body.modal-open { overflow: hidden; }

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sabit "Bizi Arayın" çubuğu (ekran genişliğince, scroll ile birlikte kayar) ---------- */
@keyframes callFabRing {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
  70%  { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
body { padding-bottom: 60px; }
.call-fab {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #17904A, #2ECC71, #17904A);
  color: #fff;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .18);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .01em;
  transition: filter .15s ease;
}
.call-fab:hover { filter: brightness(1.06); }
.call-fab__icon {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: flex; align-items: center; justify-content: center;
  animation: callFabRing 2.2s infinite;
}
.call-fab__icon .icon { width: 18px; height: 18px; }
.call-fab__text { display: flex; align-items: baseline; gap: 8px; line-height: 1.2; }
.call-fab__text small { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; opacity: .9; }
.call-fab__text strong { font-size: 17px; font-weight: 800; }
body.modal-open .call-fab { opacity: 0; pointer-events: none; }

@media (max-width: 680px) {
  body { padding-bottom: 54px; }
  .call-fab { height: 54px; gap: 9px; font-size: 14.5px; }
  .call-fab__text { flex-direction: column; align-items: center; gap: 0; }
  .call-fab__text small { font-size: 9.5px; }
  .call-fab__text strong { font-size: 14px; }
}

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

/* Tablet ve altı: arama kutusu 2 sütun, buton tam genişlik */
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .hero { padding: 60px 0; }
  .about { grid-template-columns: 1fr; gap: 40px; }
  .about__art { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .routes-grid { grid-template-columns: repeat(2, 1fr); }

  .flight-search__grid { grid-template-columns: 1fr 1fr; }
  .flight-search__btn { grid-column: 1 / -1; width: 100%; }
}

/* Küçük tablet / büyük telefon */
@media (max-width: 680px) {
  .nav__links { display: none; }
  .topbar__info a:first-child span { display: none; }
  .nav__toggle { display: flex; }

  .header { position: sticky; }
  .header .container { position: relative; }
  .header .nav__links {
    display: none;
  }
  .header.is-open .nav__links {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: absolute;
    top: calc(100% + 14px);
    right: -16px;
    left: -16px;
    width: auto;
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 14px 20px;
    box-shadow: var(--shadow-md);
    animation: navDrop .18s ease;
  }
  .header.is-open .nav__links a { padding: 12px 0; }
  /* Mobilde header'daki "Uçuş Sorgula" butonunu gizle, hamburgeri öne al */
  .nav > .btn--primary { display: none; }

  .container { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 52px; }
  .hero__stats { gap: 28px; }
  .stat strong { font-size: 24px; }

  .cards-grid { grid-template-columns: 1fr; }
  .routes-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 20px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
  .footer__links { flex-wrap: wrap; gap: 16px 24px; }
  .footer__bottom { flex-direction: column; }
  .modal__panel { padding: 32px 22px 26px; }
}

/* Küçük telefon */
@media (max-width: 480px) {
  .flight-search { padding: 16px; }
  .flight-search__grid { grid-template-columns: 1fr; }
  .topbar .container { font-size: 12px; }
  .topbar__brand { font-size: 13px; }
  .logo__mark { width: 44px; height: 44px; }
  .modal__call-number { font-size: 26px; }
}
