/* ============================================================
   GARENTA — Ana CSS
   Renk paleti: Turuncu (#FF5000) + Koyu lacivert (#0F172A)
   Font: Inter (system-ui fallback)
   ============================================================ */

/* ── Reset & Tokens ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Renkler */
  --primary:        #FF5000;
  --primary-dark:   #D94200;
  --primary-light:  #FFF0EB;
  --accent:         #FF7A3D;

  --dark:           #0F172A;
  --dark-2:         #1E293B;
  --mid:            #475569;
  --muted:          #94A3B8;
  --border:         #E2E8F0;
  --surface:        #F8FAFC;
  --white:          #FFFFFF;

  /* Tipografi */
  --font:           'Inter', system-ui, -apple-system, sans-serif;
  --font-display:   'Montserrat', var(--font);

  /* Spacing */
  --radius-sm:      6px;
  --radius:         10px;
  --radius-lg:      16px;
  --radius-xl:      24px;

  /* Gölgeler */
  --shadow-xs:      0 1px 3px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-sm:      0 2px 8px rgba(15,23,42,.08), 0 1px 3px rgba(15,23,42,.05);
  --shadow-md:      0 4px 16px rgba(15,23,42,.10), 0 2px 6px rgba(15,23,42,.06);
  --shadow-lg:      0 8px 32px rgba(15,23,42,.12), 0 4px 12px rgba(15,23,42,.08);

  --header-h:       68px;
  --transition:     .2s cubic-bezier(.4,0,.2,1);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: 1320px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2.5rem;
  height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.garenta-logo { height: 30px; color: var(--primary); transition: opacity var(--transition); }
.logo:hover .garenta-logo { opacity: .85; }

/* Nav linkleri */
.main-nav { display: flex; align-items: center; gap: .25rem; flex: 1; min-width: 0; overflow: hidden; }
.main-nav a {
  position: relative;
  padding: .45rem .6rem;
  font-size: .775rem;
  font-weight: 500;
  color: var(--mid);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav a::after {
  content: '';
  position: absolute; bottom: 2px; left: .75rem; right: .75rem;
  height: 2px; border-radius: 2px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.main-nav a:hover { color: var(--dark); background: var(--surface); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--primary); font-weight: 600; }

/* Header sağ aksiyonlar */
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; flex-shrink: 0; }

.btn-phone {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8125rem; font-weight: 700;
  color: var(--dark);
  padding: .4rem .75rem;
  border-radius: var(--radius-sm);
  transition: color var(--transition);
  white-space: nowrap;
}
.btn-phone:hover { color: var(--primary); }
.btn-phone svg { color: var(--primary); }

.btn-rezervasyon {
  background: var(--primary);
  color: var(--white);
  padding: .5rem 1.1rem;
  border-radius: var(--radius);
  font-size: .8125rem; font-weight: 700;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(255,80,0,.25);
}
.btn-rezervasyon:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,80,0,.35);
}

/* WhatsApp — header butonu */
.btn-wa-header {
  display: flex; align-items: center; gap: .4rem;
  padding: .45rem .85rem;
  background: #25D366; color: #fff;
  border-radius: var(--radius);
  font-size: .8125rem; font-weight: 700;
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}
.btn-wa-header:hover { background: #1da851; transform: translateY(-1px); }

/* Hamburger */
.nav-toggle {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  background: none; border: none;
  padding: 6px; border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex; align-items: center;
  background: var(--dark-2);
  color: var(--white);
  overflow: hidden;
}

/* Gradient overlay — soldan sağa kararır */
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(15,23,42,.85) 0%,
    rgba(15,23,42,.55) 50%,
    rgba(15,23,42,.15) 100%
  );
}

.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 1320px; margin: 0 auto;
  padding: 5rem 2rem 4rem;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,80,0,.18);
  border: 1px solid rgba(255,80,0,.35);
  color: #FFB399;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: .35rem .85rem; border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 1rem;
  max-width: 640px;
}
.hero-content h1 span { color: var(--accent); }

.hero-content p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.7;
}

/* ── Rezervasyon Formu (hero içi) ── */
.rezervasyon-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  display: flex; gap: 1rem;
  flex-wrap: wrap; align-items: flex-end;
  max-width: 860px;
}

.form-group { display: flex; flex-direction: column; gap: .4rem; flex: 1; min-width: 160px; }

.form-group label {
  font-size: .6875rem; font-weight: 700;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: .07em;
}

.form-group select,
.form-group input[type="date"] {
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 .875rem;
  font-family: var(--font); font-size: .875rem;
  color: var(--dark); background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none; -webkit-appearance: none;
}
.form-group select:focus,
.form-group input[type="date"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,80,0,.12);
}

.btn-ara {
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none; border-radius: var(--radius);
  padding: 0 2rem;
  font-weight: 700; font-size: .9375rem;
  letter-spacing: .01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  white-space: nowrap; align-self: flex-end;
  box-shadow: 0 2px 8px rgba(255,80,0,.3);
}
.btn-ara:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,80,0,.4);
}

/* ============================================================
   LAYOUT & SECTIONS
   ============================================================ */
.section { padding: 5rem 2rem; }
.section-alt { background: var(--surface); }

.container { max-width: 1320px; margin: 0 auto; }

.section-header { margin-bottom: 2.5rem; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
  line-height: 1.2;
}
.section-header p { color: var(--muted); margin-top: .5rem; font-size: .9375rem; }

/* Dekoratif başlık çizgisi */
.section-header h2::after {
  content: '';
  display: block;
  width: 40px; height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: .6rem;
}

/* ============================================================
   KARTLAR
   ============================================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card-img { width: 100%; height: 190px; object-fit: contain; object-position: center; background: #f8fafc; padding: 8px; }
.card-img-placeholder {
  width: 100%; height: 190px;
  background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: .85rem;
}

.card-body { padding: 1.375rem; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
  font-size: .9375rem; font-weight: 700;
  color: var(--dark); margin-bottom: .4rem;
  line-height: 1.4;
}
.card-body p { color: var(--muted); font-size: .875rem; flex: 1; line-height: 1.6; }

.card-price {
  font-size: 1.375rem; font-weight: 800;
  color: var(--primary); margin-top: .875rem;
  letter-spacing: -.01em;
}
.card-price span { font-size: .8rem; font-weight: 400; color: var(--muted); }

/* ── Butonlar ── */
.btn-card {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1rem;
  background: var(--primary); color: var(--white);
  padding: .55rem 1.25rem; border-radius: var(--radius);
  font-weight: 700; font-size: .8125rem;
  letter-spacing: .01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 6px rgba(255,80,0,.2);
}
.btn-card:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,80,0,.3);
}

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 1rem;
  border: 2px solid var(--primary); color: var(--primary);
  padding: .5rem 1.25rem; border-radius: var(--radius);
  font-weight: 700; font-size: .8125rem;
  transition: all var(--transition);
}
.btn-outline:hover {
  background: var(--primary); color: var(--white);
  box-shadow: 0 4px 12px rgba(255,80,0,.25);
}

/* ============================================================
   ARAÇ KARTI (yatay liste)
   ============================================================ */
.arac-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 1.375rem;
  display: flex; gap: 1.5rem; align-items: center;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.arac-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255,80,0,.2);
  transform: translateY(-2px);
}

.arac-card img {
  width: 210px; height: 120px;
  object-fit: contain; flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--surface);
  padding: .5rem;
}

.arac-info { flex: 1; min-width: 0; }
.arac-info h3 {
  font-size: .9375rem; font-weight: 700;
  color: var(--dark); margin-bottom: .5rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.arac-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.badge {
  background: var(--surface);
  color: var(--mid);
  border: 1px solid var(--border);
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .75rem; font-weight: 600;
}

.arac-price {
  font-size: 1.375rem; font-weight: 800;
  color: var(--primary); letter-spacing: -.01em;
}
.arac-price small { font-size: .8rem; font-weight: 400; color: var(--muted); }

.btn-kirala {
  background: var(--primary); color: var(--white);
  border: none; padding: .6rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700; font-size: .875rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 6px rgba(255,80,0,.2);
  white-space: nowrap;
}
.btn-kirala:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,80,0,.3);
}

/* ============================================================
   SIDEBAR (araç listesi)
   ============================================================ */
.page-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  max-width: 1320px; margin: 0 auto;
  padding: 2rem 2rem;
}

.sidebar {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  align-self: start;
  position: sticky; top: calc(var(--header-h) + 1rem);
}

.sidebar-title {
  padding: .875rem 1rem;
  font-size: .6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.sidebar ul li a {
  display: block;
  padding: .55rem 1rem;
  font-size: .8125rem; color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.sidebar ul li a:hover { color: var(--primary); background: var(--primary-light); padding-left: 1.25rem; }
.sidebar ul li a.active {
  color: var(--primary); background: var(--primary-light);
  font-weight: 700; border-left: 3px solid var(--primary);
}

.sidebar-group {
  padding: .625rem 1rem .3rem;
  font-size: .6875rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .07em;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .8125rem; color: var(--muted);
  padding: 1.25rem 0 .75rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); transition: color var(--transition); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--border); font-size: .75rem; }
.breadcrumb .current { color: var(--dark); font-weight: 600; }

/* ============================================================
   PAGE HERO (iç sayfa banner)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(255,80,0,.15) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800; letter-spacing: -.02em;
  line-height: 1.2;
}
.page-hero p { color: rgba(255,255,255,.7); margin-top: .5rem; font-size: .9375rem; }

/* ============================================================
   KAMPANYA KARTLARI
   ============================================================ */
.kampanya-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.kampanya-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.kampanya-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.kampanya-card img { width: 100%; height: 170px; object-fit: cover; }
.kampanya-card-body { padding: 1.375rem; flex: 1; display: flex; flex-direction: column; }
.kampanya-card-body h3 { font-size: .9375rem; font-weight: 700; margin-bottom: .4rem; color: var(--dark); }
.kampanya-card-body p { color: var(--muted); font-size: .875rem; flex: 1; line-height: 1.6; }
.kampanya-tarih {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; color: var(--muted);
  margin-top: .75rem;
  background: var(--surface); border: 1px solid var(--border);
  padding: .25rem .6rem; border-radius: 999px;
  width: fit-content;
}

/* ============================================================
   OFİS KARTLARI
   ============================================================ */
.ofis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }

.ofis-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 1.375rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.ofis-card:hover { box-shadow: var(--shadow-md); border-color: rgba(255,80,0,.2); }
.ofis-card h3 {
  font-size: .9375rem; font-weight: 700;
  margin-bottom: .625rem;
  display: flex; align-items: center; gap: .5rem;
  flex-wrap: wrap;
}
.ofis-card p { color: var(--muted); font-size: .875rem; margin-bottom: .35rem; }
.badge-havaalani {
  background: #EFF6FF; color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: .2rem .55rem; border-radius: 999px;
  font-size: .7rem; font-weight: 700;
}

/* ============================================================
   REZERVASYON / FORM
   ============================================================ */
.rezervasyon-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
  max-width: 700px; margin: 0 auto;
}
.rezervasyon-form h2 {
  font-size: 1.375rem; font-weight: 800;
  letter-spacing: -.01em; margin-bottom: 1.5rem;
  color: var(--dark);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }

.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field label {
  font-size: .6875rem; font-weight: 700;
  color: var(--muted); text-transform: uppercase; letter-spacing: .07em;
}
.form-field input,
.form-field select,
.form-field textarea {
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0 .875rem;
  font-family: var(--font); font-size: .875rem;
  color: var(--dark); background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field textarea { height: auto; padding: .75rem .875rem; resize: vertical; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,80,0,.1);
}

.btn-submit {
  width: 100%; height: 48px;
  background: var(--primary); color: var(--white);
  border: none; border-radius: var(--radius);
  font-weight: 700; font-size: .9375rem;
  letter-spacing: .01em;
  margin-top: 1.25rem;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(255,80,0,.25);
}
.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255,80,0,.35);
}

/* ============================================================
   ALERT
   ============================================================ */
.alert {
  padding: .875rem 1.125rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: .875rem; font-weight: 500;
  display: flex; align-items: flex-start; gap: .5rem;
}
.alert-success {
  background: #F0FDF4; color: #166534;
  border: 1px solid #BBF7D0;
}
.alert-error {
  background: #FFF1F2; color: #9F1239;
  border: 1px solid #FECDD3;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--dark);
  color: #94A3B8;
  padding: 4rem 2rem 2rem;
}

.footer-top {
  max-width: 1320px; margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo { height: 26px; color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: .875rem; color: #64748B; line-height: 1.7; margin-bottom: 1.25rem; }

.footer-social { display: flex; gap: .625rem; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  color: #94A3B8;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: .8125rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em;
  margin-bottom: 1.125rem;
}
.footer-col ul li { margin-bottom: .5rem; }
.footer-col a { color: #64748B; font-size: .875rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-col p { color: #64748B; font-size: .875rem; margin-bottom: .5rem; line-height: 1.6; }

.footer-bottom {
  max-width: 1320px; margin: 2rem auto 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: .8125rem; color: #475569;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #475569; transition: color var(--transition); }
.footer-links a:hover { color: #94A3B8; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .header-inner { gap: 1rem; padding: 0 1.25rem; }
  .main-nav { gap: 0; }
  .main-nav a { padding: .4rem .5rem; font-size: .72rem; }
  /* WhatsApp yazısını gizle, sadece ikon kalsın */
  .btn-wa-header span { display: none; }
  .btn-wa-header { padding: .45rem .6rem; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .page-layout { grid-template-columns: 1fr; }
  .sidebar {
    display: none;
    position: fixed; top: 0; left: 0; bottom: 0;
    width: 280px; z-index: 300;
    border-radius: 0;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
  .sidebar.mobile-open { display: block; }

  .hero { min-height: 520px; }
}

/* Mobil */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .header-inner { padding: 0 1rem; gap: .75rem; }

  /* Nav mobil drawer */
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: .75rem 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    gap: .125rem;
    z-index: 199;
  }
  .main-nav.open { display: flex; }
  .main-nav a {
    padding: .75rem 1rem;
    border-radius: var(--radius);
    font-size: .875rem;
  }
  .main-nav a::after { display: none; }

  .nav-toggle { display: flex; }
  .btn-phone { display: none; }
  .btn-wa-header { display: none; }
  .btn-rezervasyon { padding: .45rem 1rem; font-size: .8rem; }

  /* Hero */
  .hero { min-height: auto; }
  .hero-content { padding: 3.5rem 1rem 2.5rem; }
  .hero-content h1 { font-size: 1.75rem; }
  .hero-content p { font-size: .9375rem; }

  /* Rezervasyon formu */
  .rezervasyon-bar {
    flex-direction: column;
    border-radius: var(--radius);
    padding: 1.125rem;
    gap: .75rem;
  }
  .form-group { min-width: 100%; }
  .btn-ara { width: 100%; justify-content: center; }

  /* Sections */
  .section { padding: 3rem 1rem; }

  /* Araç kartı */
  .arac-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .arac-card img { width: 100%; height: 160px; object-fit: cover; padding: 0; }

  /* Kartlar */
  .cards-grid { grid-template-columns: 1fr; gap: 1rem; }
  .kampanya-grid { grid-template-columns: 1fr; }
  .ofis-grid { grid-template-columns: 1fr; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }
  .rezervasyon-form { padding: 1.25rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }

  /* Page hero */
  .page-hero { padding: 2rem 1rem; }

  /* Page layout */
  .page-layout { padding: 1.25rem 1rem; }
}

/* Küçük mobil */
@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.5rem; }
  .btn-rezervasyon { display: none; }
  .cards-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   YARDIMCI SINIFLAR
   ============================================================ */
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

/* Scroll-triggered header shadow */
.site-header.scrolled { box-shadow: var(--shadow-md); }

/* Focus visible (erişilebilirlik) */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
  color: #fff;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.6);
}

/* ===== Araç Listesi (kiralik-arabalar.php) ===== */
.page-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px;
  align-items: start;
}

.sidebar {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 0;
  position: sticky;
  top: 80px;
}
.sidebar-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #94a3b8;
  padding: 0 16px 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 6px;
}
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar ul li a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: #475569;
  text-decoration: none;
  transition: all .15s;
}
.sidebar ul li a:hover { background: #f8fafc; color: #FF5000; }
.sidebar ul li a.active { color: #FF5000; font-weight: 600; background: #fff3ee; }
.sidebar-group-link {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #94a3b8 !important;
  padding-top: 14px !important;
}
.sidebar-toggle-btn { display: none; margin-bottom: 16px; }

.araclar-content { min-width: 0; }

.arac-list { display: flex; flex-direction: column; gap: 16px; }

.arac-card-row {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.arac-card-row:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

.arac-card-img {
  width: 240px;
  flex-shrink: 0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}
.arac-card-img img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  object-position: center;
}
.arac-img-placeholder {
  font-size: 3rem;
  color: #cbd5e1;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.arac-card-body {
  flex: 1;
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.arac-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.arac-segment-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #FF5000;
  background: #fff3ee;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 6px;
}
.arac-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.3;
}
.arac-price-box { text-align: right; flex-shrink: 0; }
.arac-price-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #FF5000;
  line-height: 1;
}
.arac-price-label { font-size: 11px; color: #94a3b8; }

.arac-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.arac-spec {
  font-size: 12px;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 20px;
}

.arac-card-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}
.btn-kirala {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  background: #FF5000;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.btn-kirala:hover { background: #cc4000; }

/* WhatsApp buton — araç kartında */
.btn-wa-arac {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.btn-wa-arac:hover { background: #1da851; }

/* WhatsApp buton — ana sayfa kartında */
.btn-wa-card {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: #25D366;
  color: #fff;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.btn-wa-card:hover { background: #1da851; }

/* Responsive araç listesi */
@media (max-width: 900px) {
  .page-layout { grid-template-columns: 1fr; padding: 20px 16px; }
  .sidebar { position: static; display: none; }
  .sidebar.open { display: block; }
  .sidebar-toggle-btn { display: block; }
  .arac-card-row { flex-direction: column; }
  .arac-card-img { width: 100%; padding: 8px; }
  .arac-card-img img { height: 200px; object-fit: contain; }
  .arac-card-body { padding: 16px; }
  .arac-card-top { flex-direction: column; }
  .arac-price-box { text-align: left; }
}

/* ===== Araç Detay Sayfası ===== */
.detay-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

.detay-img-wrap { display: flex; flex-direction: column; gap: 20px; }

.detay-img {
  width: 100%;
  border-radius: 14px;
  object-fit: contain;
  object-position: center;
  max-height: 380px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 16px;
}
.detay-img-placeholder {
  width: 100%; height: 280px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: #cbd5e1;
}

.detay-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.detay-spec {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  text-align: center;
}
.spec-icon { font-size: 1.4rem; }
.spec-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; font-weight: 600; }
.spec-val { font-size: 13px; font-weight: 700; color: #0F172A; }

.detay-rezervasyon {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 28px;
  position: sticky;
  top: 80px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.detay-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 8px 0 4px;
  line-height: 1.3;
}
.detay-subtitle { font-size: 12px; color: #94a3b8; margin-bottom: 16px; }
.detay-price { margin-bottom: 20px; }
.detay-price-val { font-size: 32px; font-weight: 800; color: #FF5000; }
.detay-price-label { font-size: 13px; color: #94a3b8; margin-left: 4px; }

.detay-form { display: flex; flex-direction: column; gap: 12px; }
.detay-form .form-group { display: flex; flex-direction: column; gap: 5px; }
.detay-form label { font-size: 12px; font-weight: 600; color: #475569; }
.detay-form input,
.detay-form select {
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  color: #0F172A;
  background: #fff;
  transition: border-color .2s;
}
.detay-form input:focus,
.detay-form select:focus {
  outline: none;
  border-color: #FF5000;
  box-shadow: 0 0 0 3px rgba(255,80,0,.1);
}
.detay-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 900px) {
  .detay-grid { grid-template-columns: 1fr; }
  .detay-rezervasyon { position: static; }
  .detay-specs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .detay-specs-grid { grid-template-columns: repeat(2, 1fr); }
}

/* WhatsApp — mobil menü linki (masaüstünde gizli) */
.nav-wa-link {
  display: none !important;
}
@media (max-width: 768px) {
  .main-nav.open .nav-wa-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    color: #25D366 !important;
    font-weight: 600 !important;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 12px !important;
    background: #f0fdf4 !important;
    border-radius: var(--radius) !important;
  }
}
