/* Chisfis Car - Static Theme */
:root {
  /* Yol Yardım Pro logo renkleri */
  --brand-blue: #00aeef;
  --brand-yellow: #fdb913;
  --primary-50: #e8f7fd;
  --primary-100: #c5ecfa;
  --primary-200: #8fd9f5;
  --primary-300: #52c6ef;
  --primary-500: #00aeef;
  --primary-600: #0099d6;
  --primary-700: #007fb3;
  --accent-50: #fff9e8;
  --accent-100: #ffefb8;
  --accent-200: #ffe28a;
  --accent-500: #fdb913;
  --accent-600: #e5a50f;
  --accent-700: #c78f0a;
  --neutral-50: #fafafa;
  --neutral-100: #f5f5f5;
  --neutral-200: #e5e5e5;
  --neutral-300: #d4d4d4;
  --neutral-400: #a3a3a3;
  --neutral-500: #737373;
  --neutral-600: #525252;
  --neutral-700: #404040;
  --neutral-800: #262626;
  --neutral-900: #171717;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  --container: 1280px;
  --header-h: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", system-ui, -apple-system, sans-serif;
  color: var(--neutral-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

/* Footer logo (header: css/header.css) */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--neutral-900);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-600);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-ghost {
  background: transparent;
  color: var(--neutral-700);
}

.btn-ghost:hover {
  background: var(--neutral-100);
}

.btn-primary {
  background: var(--primary-600);
  color: white;
}

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

.btn-cta {
  background: var(--accent-500);
  color: #1a1a1a;
  border: 1px solid var(--accent-500);
  font-weight: 600;
}

.btn-cta:hover {
  background: var(--accent-600);
  border-color: var(--accent-600);
  box-shadow: 0 4px 14px rgba(253, 185, 19, 0.35);
}

.btn-outline {
  background: white;
  border: 1px solid var(--neutral-200);
  color: var(--neutral-700);
}

.btn-outline:hover {
  border-color: var(--neutral-300);
}

/* Hero */
.hero {
  position: relative;
  padding-top: 2.5rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-50) 0%, #f8fafc 50%, #fff 100%);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  right: -5%;
  top: 10%;
  width: 55%;
  height: 85%;
  background: url("../images/hero-right-car.png") no-repeat right center / contain;
  opacity: 0.95;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--primary-100);
  color: var(--primary-700);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--neutral-500);
  margin-bottom: 2rem;
  max-width: 480px;
}

/* Search Form */
.search-card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: 1.5rem;
  max-width: 720px;
}

.search-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.search-tab {
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--neutral-500);
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
}

.search-tab:hover {
  color: var(--neutral-800);
  background: var(--neutral-100);
}

.search-tab.active {
  background: var(--neutral-900);
  color: white;
}

.dropoff-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toggle-btn {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-full);
  background: white;
  font-size: 0.8rem;
  color: var(--neutral-600);
  cursor: pointer;
  transition: 0.2s;
}

.toggle-btn.active {
  border-color: var(--primary-600);
  background: var(--primary-50);
  color: var(--primary-700);
}

.search-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: end;
}

.search-fields.has-dropoff {
  grid-template-columns: 1fr 1fr;
}

.search-fields.has-dropoff .search-field:last-of-type {
  grid-column: 1 / -1;
}

.search-fields.has-dropoff .search-submit {
  grid-column: 1 / -1;
  width: 100%;
  height: 48px;
  border-radius: var(--radius-md);
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-field label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--neutral-500);
}

.search-field input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.search-field input:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
}

.search-submit {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary-600);
  color: white;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.search-submit:hover {
  background: var(--primary-700);
}

.search-submit svg {
  width: 22px;
  height: 22px;
}

/* Section common */
.section {
  padding: 4.5rem 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--neutral-500);
  font-size: 1rem;
}

.section-header.left {
  text-align: left;
  margin-left: 0;
}

/* Destination cards */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: dest;
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.dest-card:hover img {
  transform: scale(1.05);
}

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: white;
}

.dest-card-overlay h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.dest-card-overlay span {
  font-size: 0.8rem;
  opacity: 0.85;
}

/* Car cards */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.car-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  border: 1px solid var(--neutral-100);
  transition: box-shadow 0.3s, transform 0.3s;
}

.car-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.car-card-image {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--neutral-50);
  overflow: hidden;
}

.car-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.car-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ef4444;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.car-card-body {
  padding: 1.25rem;
}

.car-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.car-meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--neutral-500);
  margin-bottom: 0.75rem;
}

.car-meta .rating {
  color: var(--neutral-800);
  font-weight: 600;
}

.car-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.car-feature {
  font-size: 0.75rem;
  color: var(--neutral-500);
  background: var(--neutral-50);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.car-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--neutral-100);
}

.car-price strong {
  font-size: 1.15rem;
  color: var(--neutral-900);
}

.car-price span {
  font-size: 0.85rem;
  color: var(--neutral-500);
}

.view-all-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

/* Features */
.features-section {
  background: var(--neutral-50);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.features-image img {
  border-radius: var(--radius-xl);
  width: 100%;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-100);
  color: var(--primary-600);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--neutral-500);
}

/* App section */
.app-section {
  position: relative;
  overflow: hidden;
}

.app-bg {
  position: absolute;
  inset: 0;
  background: url("../images/dowloadAppBG.png") no-repeat center / cover;
  opacity: 0.15;
}

.app-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.app-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.app-content p {
  color: var(--neutral-500);
  margin-bottom: 1.5rem;
}

.app-stores {
  display: flex;
  gap: 1rem;
}

.app-stores img {
  height: 44px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.app-stores img:hover {
  opacity: 0.85;
}

.app-visual {
  position: relative;
  min-height: 400px;
}

.app-visual img.phone {
  position: relative;
  z-index: 2;
  max-height: 480px;
  margin: 0 auto;
}

.app-visual img.tree {
  position: absolute;
  right: 0;
  bottom: 0;
  max-height: 200px;
  z-index: 1;
}

/* Videos */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 9/14;
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 50%);
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 2;
}

.video-play svg {
  width: 20px;
  height: 20px;
  margin-left: 3px;
  color: var(--primary-600);
}

.video-title {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  z-index: 2;
  line-height: 1.3;
}

/* Testimonials */
.testimonials {
  background: var(--neutral-50);
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-100);
}

.testimonial-card p {
  font-size: 0.95rem;
  color: var(--neutral-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary-100);
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--neutral-500);
}

/* Footer */
.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-300);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--neutral-800);
  display: grid;
  place-items: center;
  transition: background 0.2s;
  color: #fff;
}

.footer-social a:hover {
  background: var(--primary-600);
}

.footer-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-col h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--neutral-800);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 1200px) {
  .destinations-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .cars-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .videos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .search-fields {
    grid-template-columns: 1fr;
  }

  .search-submit {
    width: 100%;
    height: 48px;
    border-radius: var(--radius-md);
  }

  .features-grid,
  .app-grid {
    grid-template-columns: 1fr;
  }

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

  .testimonials-slider {
    grid-template-columns: 1fr;
  }

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

  .hero-bg::after {
    opacity: 0.3;
    width: 80%;
  }
}

@media (max-width: 640px) {
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .inner-page .services-grid,
  .inner-page .blog-grid {
    grid-template-columns: 1fr;
  }

  .hizmet-breadcrumb {
    font-size: 0.82rem;
    margin-bottom: 1rem;
  }

  .hizmet-detail-main h1 {
    font-size: 1.45rem;
  }

  .site-footer {
    padding-block: 2.5rem 1.5rem;
  }

  .footer-brand p {
    max-width: 100%;
  }
}

/* Inner pages — hizmetler ve ortak bileşenler */
.inner-page .section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-600, #0099d6);
  margin-bottom: 0.5rem;
}

.inner-page .section-header.text-center {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.inner-page .section-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.inner-page .services-grid,
.inner-page .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.inner-page .service-card-link {
  display: block;
  color: inherit;
  height: 100%;
}

.inner-page .service-card {
  height: 100%;
}

.inner-page .service-card .car-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.inner-page .service-card:hover .car-card-body h3 {
  color: var(--primary-600, #0099d6);
}

.inner-page .blog-card-link {
  display: block;
  color: inherit;
  height: 100%;
}

.inner-page .blog-card {
  height: 100%;
}

.inner-page .blog-card .car-card-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.inner-page .blog-card:hover .car-card-body h3 {
  color: var(--primary-600, #0099d6);
}

.blog-pagination-area {
  margin-top: 2rem;
  text-align: center;
}

.blog-loading,
.blog-empty {
  padding: 1rem;
  color: var(--neutral-500);
  font-size: 0.95rem;
}

.blog-empty {
  text-align: center;
  grid-column: 1 / -1;
}

.hizmet-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--neutral-500);
}

.hizmet-breadcrumb a {
  color: var(--primary-600, #0099d6);
  font-weight: 500;
}

.hizmet-breadcrumb a:hover {
  text-decoration: underline;
}

.hizmet-breadcrumb span:last-child {
  color: var(--neutral-900);
  font-weight: 600;
}

.hizmet-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 2rem;
  align-items: start;
}

.inner-hizmet-detail h1 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.hizmet-detail-hero img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 1rem;
  margin: 1.25rem 0 1.5rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.hizmet-detail-content {
  color: var(--neutral-600);
  line-height: 1.8;
  font-size: 1rem;
}

.hizmet-detail-content p {
  margin-bottom: 1rem;
}

.hizmet-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.hizmet-detail-sidebar {
  background: #fff;
  border: 1px solid var(--neutral-200);
  border-radius: 1rem;
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-h, 80px) + 1rem);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.hizmet-detail-sidebar h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 1rem;
}

.hizmet-detail-sidebar ul li + li {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--neutral-100);
}

.hizmet-detail-sidebar a {
  font-size: 0.92rem;
  color: var(--neutral-700);
  transition: color 0.2s;
}

.hizmet-detail-sidebar a:hover {
  color: var(--primary-600, #0099d6);
}

.hizmet-back-link {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
}

@media (max-width: 992px) {
  .inner-page .services-grid,
  .inner-page .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hizmet-detail-layout {
    grid-template-columns: 1fr;
  }

  .hizmet-detail-sidebar {
    position: static;
  }
}

/* Destek hattı telefon numarasının yanındaki 7/24 etiketi */
.telefon-7-24 {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: var(--accent-500, #fdb913);
  color: #1a1a1a;
  font-size: 0.72em;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.3;
  vertical-align: middle;
}

.cekici-btn-call .telefon-7-24,
.cekici-callout .telefon-7-24 {
  background: rgba(253, 185, 19, 0.95);
}
