:root {
  --red: #d30f22;
  --red-dark: #9f0715;
  --ink: #090b0f;
  --charcoal: #15181e;
  --graphite: #262b33;
  --muted: #6d7480;
  --line: rgba(255, 255, 255, 0.12);
  --soft-line: rgba(9, 11, 15, 0.1);
  --white: #ffffff;
  --off-white: #f6f7f9;
  --header-bg: rgba(255, 255, 255, 0.96);
  --shadow: 0 22px 58px rgba(9, 11, 15, 0.14);
  --radius: 8px;
  --header-height: 78px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--off-white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(211, 15, 34, 0.52);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 200;
  transform: translateY(-160%);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  padding: 10px 14px;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  color: var(--ink);
  transition: background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, height 0.28s ease;
  border-bottom: 1px solid rgba(9, 11, 15, 0.08);
  background: var(--header-bg);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled,
.site-header.menu-active {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 34px rgba(9, 11, 15, 0.12);
  border-color: rgba(9, 11, 15, 0.1);
}

.nav-shell {
  width: var(--container);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  position: relative;
  display: flex;
  align-items: center;
  width: clamp(214px, 19vw, 268px);
  height: 60px;
  overflow: hidden;
}

.brand img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115%;
  max-width: none;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.primary-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.primary-menu a {
  border-radius: 4px;
  color: var(--graphite);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 12px 14px;
  transition: color 0.2s ease, background 0.2s ease;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
  color: var(--red);
  background: rgba(211, 15, 34, 0.08);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(9, 11, 15, 0.14);
  border-radius: 4px;
  background: rgba(9, 11, 15, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transform-origin: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.04) brightness(0.82);
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4, 6, 10, 0.88), rgba(4, 6, 10, 0.68) 48%, rgba(4, 6, 10, 0.34)),
    linear-gradient(0deg, rgba(4, 6, 10, 0.64), rgba(4, 6, 10, 0.14) 46%, rgba(4, 6, 10, 0.28));
}

.hero-content {
  width: var(--container);
  margin-inline: auto;
  padding-top: calc(var(--header-height) + 18px);
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: clamp(2.35rem, 6.2vw, 4.95rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero p {
  max-width: 720px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 26px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(9, 11, 15, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(211, 15, 34, 0.28);
}

.btn-primary:hover {
  background: #eb172b;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--white);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.42);
  color: rgba(255, 255, 255, 0.9);
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.section {
  padding: clamp(72px, 9vw, 118px) 0;
}

.section-dark {
  background: var(--white);
  color: var(--ink);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.route-copy h2,
.about-copy h2,
.contact-copy h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.section-heading p,
.route-copy p,
.about-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.section-dark .section-heading p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  min-height: 410px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(9, 11, 15, 0.1);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(9, 11, 15, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(211, 15, 34, 0.55);
  box-shadow: 0 26px 60px rgba(9, 11, 15, 0.14);
}

.service-media {
  position: relative;
  height: clamp(170px, 15vw, 220px);
  overflow: hidden;
  background: #dfe2e7;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.04);
  filter: contrast(1.03) saturate(1.02);
}

.image-placeholder {
  position: relative;
  min-height: 148px;
  background:
    linear-gradient(135deg, rgba(211, 15, 34, 0.14), transparent 34%),
    linear-gradient(145deg, #f2f3f5, #dfe2e7);
  overflow: hidden;
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px dashed rgba(9, 11, 15, 0.18);
  border-radius: 4px;
}

.image-placeholder::after {
  content: "Görsel Alanı";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(9, 11, 15, 0.4);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.card-number {
  color: var(--red);
  font-weight: 900;
  margin-bottom: 18px;
  transition: transform 0.25s ease;
}

.service-card:hover .card-number {
  transform: translateX(8px);
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 1.28rem;
  color: var(--ink);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.route-section {
  background: var(--off-white);
}

.route-layout,
.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}

.route-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow);
}

.route-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(211, 15, 34, 0.12), transparent 34%),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, 0.035) 35px 36px);
  pointer-events: none;
}

.route-line {
  position: relative;
  height: 10px;
  margin: 34px 8px 38px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), #f7f7f7 48%, var(--red));
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05);
}

.route-dot {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  border: 4px solid var(--charcoal);
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(211, 15, 34, 0.22);
}

.route-dot.start {
  left: 0;
}

.route-dot.middle {
  left: 50%;
}

.route-dot.end {
  left: 100%;
}

.route-stops {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.route-stops div {
  min-width: 0;
}

.route-stops strong,
.route-stops span {
  display: block;
}

.route-stops strong {
  margin-bottom: 7px;
  font-size: 1rem;
}

.route-stops span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.45;
}

.why-section {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.why-item {
  min-height: 178px;
  border: 1px solid var(--soft-line);
  border-radius: var(--radius);
  background: #fff;
  padding: 26px;
  color: var(--charcoal);
  box-shadow: 0 18px 50px rgba(9, 11, 15, 0.06);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.why-item:hover {
  transform: translateY(-7px);
  border-color: rgba(211, 15, 34, 0.36);
  box-shadow: 0 26px 68px rgba(9, 11, 15, 0.13);
}

.why-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(211, 15, 34, 0.42);
  border-radius: 999px;
  background: var(--white);
  color: var(--red);
  transition: background 0.28s ease, border-color 0.28s ease, color 0.28s ease, transform 0.28s ease;
}

.why-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.why-item:hover .why-icon {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
  transform: translateY(-2px);
}

.why-item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.36;
}

.why-item p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.about-section {
  background: #15181e;
  color: var(--white);
}

.about-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.about-copy p {
  color: rgba(255, 255, 255, 0.68);
}

.about-visual {
  display: grid;
  gap: 18px;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow);
}

.image-placeholder.large {
  min-height: 360px;
  border-radius: var(--radius);
}

.contact-section {
  background: var(--off-white);
}

.contact-card {
  display: grid;
  gap: 12px;
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
  box-shadow: 0 20px 62px rgba(9, 11, 15, 0.12);
}

.contact-card a,
.contact-card div {
  display: grid;
  gap: 6px;
  border: 1px solid var(--soft-line);
  border-radius: 4px;
  padding: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.contact-card a:hover {
  transform: translateX(4px);
  border-color: rgba(211, 15, 34, 0.42);
}

.contact-card strong {
  color: var(--red);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-card span {
  color: var(--charcoal);
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.45;
}

.map-section {
  width: 100%;
  height: 30vh;
  min-height: 220px;
  max-height: 330px;
  background: #d9dde2;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.18) contrast(1.05);
}

.site-footer {
  border-top: 1px solid rgba(9, 11, 15, 0.08);
  background: var(--white);
  color: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) 0.8fr 1fr;
  align-items: start;
  gap: 34px;
  padding: 48px 0 34px;
}

.footer-grid img {
  width: min(230px, 100%);
  margin-bottom: 18px;
  border-radius: 4px;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
  display: block;
  color: var(--muted);
  line-height: 1.7;
}

.footer-grid h2 {
  margin: 0 0 18px;
  font-size: 1rem;
}

.footer-grid a {
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(9, 11, 15, 0.08);
  padding: 18px 20px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}

.floating-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 120;
  display: grid;
  gap: 12px;
}

.float-btn {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.26);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.float-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.float-btn.phone {
  background: var(--red);
}

.float-btn.whatsapp {
  background: #20b45b;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.12);
  }
}

@media (max-width: 1040px) {
  :root {
    --header-height: 78px;
  }

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

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

@media (max-width: 768px) {
  :root {
    --container: min(100% - 28px, 720px);
  }

  .menu-toggle {
    display: block;
  }

  .primary-menu {
    position: fixed;
    top: calc(var(--header-height) + 8px);
    right: 14px;
    left: 14px;
    display: grid;
    gap: 4px;
    max-height: min(360px, calc(100vh - 112px));
    overflow: auto;
    border: 1px solid rgba(9, 11, 15, 0.1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.98);
    padding: 10px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  }

  .primary-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .primary-menu a {
    padding: 14px;
    color: var(--graphite);
  }

  .brand img {
    width: 108%;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(4, 6, 10, 0.88), rgba(4, 6, 10, 0.68)),
      linear-gradient(0deg, rgba(4, 6, 10, 0.68), rgba(4, 6, 10, 0.22) 48%, rgba(4, 6, 10, 0.34));
  }

  .hero-content {
    padding-top: calc(var(--header-height) + 8px);
    padding-bottom: 34px;
  }

  h1 {
    font-size: clamp(2rem, 9.2vw, 3.35rem);
    line-height: 1.06;
    margin-bottom: 16px;
  }

  .hero p {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.62;
  }

  .hero-actions {
    gap: 12px;
    margin-bottom: 18px;
  }

  .route-layout,
  .about-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .route-stops {
    grid-template-columns: 1fr;
  }

  .route-line {
    position: absolute;
    left: 31px;
    top: 42px;
    bottom: 48px;
    width: 3px;
    height: auto;
    margin: 0;
    background: linear-gradient(180deg, var(--red), #ffffff 48%, var(--red));
    box-shadow: none;
    opacity: 0.92;
  }

  .route-dot {
    display: none;
  }

  .route-panel {
    width: 100%;
    padding: 28px 22px 28px 64px;
  }

  .route-panel::before {
    background: linear-gradient(115deg, rgba(211, 15, 34, 0.1), transparent 44%);
  }

  .route-stops {
    gap: 22px;
  }

  .route-stops div {
    position: relative;
    min-height: 48px;
  }

  .route-stops div::before {
    content: "";
    position: absolute;
    left: -41px;
    top: 3px;
    width: 18px;
    height: 18px;
    border: 3px solid var(--charcoal);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(211, 15, 34, 0.2);
  }

  .route-stops strong {
    margin-bottom: 6px;
    font-size: 1.02rem;
  }

  .route-stops span {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

@media (max-width: 560px) {
  :root {
    --container: min(100% - 24px, 520px);
    --header-height: 74px;
  }

  .nav-shell {
    gap: 12px;
  }

  .brand {
    width: clamp(200px, 58vw, 236px);
    height: 54px;
  }

  .service-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .service-media {
    height: clamp(190px, 54vw, 250px);
  }

  .route-panel {
    padding: 26px 18px 26px 58px;
  }

  .route-line {
    left: 29px;
    top: 38px;
    bottom: 38px;
  }

  .route-stops div::before {
    left: -38px;
  }

  .route-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .route-copy {
    margin-bottom: 24px;
  }

  .route-copy h2 {
    font-size: clamp(1.85rem, 8.3vw, 2.35rem);
    line-height: 1.12;
  }

  .route-copy p {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-badges span {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .section {
    padding: 64px 0;
  }

  .why-item {
    min-height: 169px;
    padding: 18px 66px 18px 18px;
  }

  .service-card .card-body,
  .contact-card a,
  .contact-card div {
    padding-right: 66px;
  }

  .about-copy {
    padding-right: 56px;
  }

  .why-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
  }

  .why-icon svg {
    width: 20px;
    height: 20px;
  }

  .why-item strong {
    margin-bottom: 6px;
  }

  .about-visual img {
    min-height: 250px;
  }

  .floating-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: row-reverse;
    gap: 11px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

  .float-btn img {
    width: 23px;
    height: 23px;
  }

  .map-section {
    min-height: 210px;
    height: 30vh;
  }

  .site-footer {
    padding-bottom: 74px;
  }

  .footer-grid {
    gap: 26px;
    padding-top: 38px;
    padding-right: 62px;
  }

  .footer-bottom {
    padding-right: 88px;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
