/* ==========================================================================
   Artuklu VIP Taksi — Mardin 7/24 Taksi
   Sarı & Siyah, Sade, Akıcı, Mobil Öncelikli Tasarım
   ========================================================================== */

:root {
  --bg: #0b0b0c;
  --bg-elevated: #121214;
  --bg-surface: #18181b;
  --bg-surface-hover: #202024;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --border-accent: rgba(255, 198, 0, 0.35);

  --yellow: #ffc600;
  --yellow-hover: #ffd333;
  --yellow-soft: rgba(255, 198, 0, 0.1);

  --text: #f5f5f4;
  --text-secondary: #b4b4bc;
  --text-muted: #82828c;
  --ink-dark: #0b0b0c;

  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;

  --container: 1160px;
  --header-h: 84px;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--yellow);
  color: var(--ink-dark);
  padding: 12px 18px;
  font-weight: 700;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.18s ease;
}

.main-nav a:hover {
  color: var(--yellow);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-block: 10px 18px;
}

.mobile-nav a {
  padding: 13px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.mobile-nav a:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--radius);
  padding: 15px 24px;
  min-height: 48px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.12s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--ink-dark);
}

.btn-primary:hover {
  background: var(--yellow-hover);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(255, 198, 0, 0.05);
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.09);
  color: var(--text);
  border-color: rgba(37, 211, 102, 0.42);
}

.btn-whatsapp .icon {
  color: #25d366;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.16);
  border-color: #25d366;
  color: #ffffff;
}

.fleet-strip-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.btn-dark {
  background: var(--ink-dark);
  color: var(--yellow);
}

.btn-dark:hover {
  background: #1c1c20;
}

.btn-dark-outline {
  background: transparent;
  color: var(--ink-dark);
  border-color: rgba(11, 11, 12, 0.32);
}

.btn-dark-outline:hover {
  background: rgba(11, 11, 12, 0.08);
  border-color: var(--ink-dark);
}

.btn-header {
  padding: 11px 18px;
  min-height: 42px;
  font-size: 0.9rem;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
}

.hero-content {
  padding-block: 56px 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.hero-copy {
  max-width: 580px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.05rem, 3.8vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero h1 span {
  color: var(--yellow);
}

.hero-lead {
  margin: 0 0 28px;
  font-size: clamp(0.98rem, 1.3vw, 1.08rem);
  line-height: 1.62;
  color: var(--text-secondary);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-cta .btn-primary {
  font-size: 0.95rem;
  padding: 15px 20px;
  min-height: 52px;
}

.hero-cta .btn-whatsapp {
  font-size: 0.95rem;
  min-height: 52px;
  padding: 15px 18px;
}

.hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 198, 0, 0.24);
  background: var(--bg-surface);
  aspect-ratio: 16 / 9;
}

.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-facts {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.fact-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
}

.fact-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */

.section {
  padding-block: 76px;
  border-bottom: 1px solid var(--border);
}

.section-alt {
  background-color: var(--bg-elevated);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text);
}

.section-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--yellow);
  white-space: nowrap;
}

.section-action:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.service-card {
  grid-column: span 2;
  padding: 28px 26px;
  background: var(--bg);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: background-color 0.18s ease;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card:hover {
  background: var(--bg-surface);
}

.service-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--yellow);
  margin-bottom: 14px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.62;
  color: var(--text-secondary);
}

/* ==========================================================================
   Square Vehicle Gallery (1:1)
   ========================================================================== */

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fleet-item {
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.fleet-item:hover {
  border-color: var(--border-accent);
}

.fleet-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #101012;
}

.fleet-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.fleet-item:hover .fleet-frame img {
  transform: scale(1.03);
}

.fleet-item figcaption {
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-top: 1px solid var(--border);
}

.fleet-strip {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fleet-strip p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text);
}

.fleet-strip p strong {
  color: var(--yellow);
  font-weight: 700;
}

/* ==========================================================================
   Subtle Local SEO Areas Strip
   ========================================================================== */

.seo-areas {
  padding-block: 30px;
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.seo-areas-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.seo-areas-list {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.85;
  color: #6b6b74;
}

.seo-areas-list a {
  color: #84848e;
  transition: color 0.15s ease;
}

.seo-areas-list a:hover {
  color: var(--text);
}

/* ==========================================================================
   SEO Content & FAQ Accordion
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr);
  gap: 48px;
  align-items: start;
}

.about-copy h2 {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.about-copy p {
  margin: 0 0 14px;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.about-copy p:last-of-type {
  margin-bottom: 24px;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  color: var(--yellow);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item summary:hover {
  color: var(--yellow);
}

.faq-answer {
  padding: 0 0 18px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.faq-answer a {
  color: var(--yellow);
  font-weight: 600;
}

/* ==========================================================================
   Yellow Direct Call Band
   ========================================================================== */

.cta-band {
  background: var(--yellow);
  color: var(--ink-dark);
  padding-block: 48px;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink-dark);
}

.cta-band p {
  margin: 0;
  font-size: 1rem;
  color: rgba(11, 11, 12, 0.8);
}

.cta-band-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.cta-band-actions .btn {
  min-height: 52px;
  padding: 15px 24px;
  font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--bg);
  padding-block: 56px 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  max-width: 360px;
  line-height: 1.65;
}

.footer-col h3 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a,
.footer-links li {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem !important;
  color: var(--yellow) !important;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Mobile Sticky Bottom Action Bar
   ========================================================================== */

.mobile-bar {
  display: none;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: span 1;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 82px;
  }

  .container {
    padding-inline: 18px;
  }

  .brand img {
    height: 60px;
  }

  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    width: 48px;
    height: 48px;
  }

  .nav-toggle .icon {
    width: 24px;
    height: 24px;
  }

  .btn-header {
    display: none;
  }

  .hero-content {
    padding-block: 26px 32px;
  }

  .hero h1 {
    font-size: 1.92rem;
    margin-bottom: 12px;
  }

  .hero-lead {
    font-size: 0.96rem;
    margin-bottom: 20px;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .hero-cta .btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    font-size: 0.9rem;
    gap: 7px;
  }

  .hero-facts {
    margin-top: 28px;
    padding-top: 18px;
    gap: 14px 16px;
  }

  .section {
    padding-block: 52px;
  }

  /* Mobilde Araçlarımız (fotoğraflar) Hizmetlerimiz'in üstünde yer alır */
  main {
    display: flex;
    flex-direction: column;
  }

  #ust { order: 1; }
  #araclarimiz { order: 2; background-color: var(--bg-elevated); }
  #hizmetler { order: 3; background-color: var(--bg); }
  #sss { order: 4; background-color: var(--bg-elevated); }
  .cta-band { order: 5; }
  #guzergahlar { order: 6; }

  .section-head {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
  }

  .section-action {
    font-size: 0.85rem;
  }

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }

  .service-card {
    padding: 22px 20px;
  }

  /* Smooth native horizontal snap gallery on mobile so square vehicle photos shine cleanly */
  .fleet-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    margin-inline: -18px;
    padding-inline: 18px;
    padding-bottom: 6px;
    scrollbar-width: none;
  }

  .fleet-grid::-webkit-scrollbar {
    display: none;
  }

  .fleet-item {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .fleet-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    gap: 14px;
  }

  .fleet-strip-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .fleet-strip .btn {
    width: 100%;
  }

  .cta-band {
    padding-block: 38px;
  }

  .cta-band-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band-actions .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Make room for sticky thumb bar */
  .site-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(11, 11, 12, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-strong);
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.24s ease, opacity 0.2s ease;
  }

  .mobile-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-bar .btn {
    min-height: 48px;
    padding: 12px 10px;
    font-size: 0.9rem;
    gap: 7px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
