@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #1B4332;
  --primary-dark: #0F2A1F;
  --accent: #D97706;
  --accent-hover: #B45309;
  --text: #1a1a1a;
  --muted: #5a6570;
  --light: #f6f8f5;
  --border: #e0e6e2;
  --white: #ffffff;
  --radius: 6px;
  --shadow: 0 8px 24px rgba(0,0,0,.08);
  --container: 1140px;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { line-height: 1.25; }

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

/* Top bar */
.topbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.logo-text span {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
}
.topbar-infos {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .82rem;
  font-weight: 400;
  color: var(--muted);
}
.topbar-info i, .topbar-info svg {
  color: var(--accent);
  width: 22px;
  height: 22px;
}
.topbar-info strong {
  display: block;
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

/* Nav */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 58px;
  position: relative;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
  font-weight: 500;
  color: var(--primary);
  padding: 1rem 0;
  position: relative;
}
.nav-links a svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .85rem;
  color: var(--white);
  background: var(--accent);
  padding: .65rem 1rem;
  border-radius: 999px;
  white-space: nowrap;
  margin-left: auto;
}
.nav-cta:hover { background: var(--accent-hover); color: var(--white); }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.75) 42%, rgba(255,255,255,.25) 100%),
    url("../img/anasayfa-2.jpg") center/cover no-repeat;
  padding: 4rem 0;
}
.hero-eyebrow {
  color: var(--accent);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: .75rem;
}
.hero h1 {
  color: var(--primary);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: 1.25rem;
}
.hero-desc {
  color: var(--muted);
  font-weight: 400;
  max-width: 42ch;
  margin-bottom: 1.5rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: .2s ease;
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover { background: var(--accent-hover); }

/* Sections */
.section { padding: 3.5rem 0; }
.section-head {
  margin-bottom: 1.75rem;
}
.section-head h2 {
  color: var(--primary);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: .55rem;
}
.section-underline {
  width: 48px;
  height: 4px;
  background: var(--accent);
  margin-bottom: .85rem;
}
.section-head p { color: var(--muted); font-weight: 400; max-width: 55ch; }
.section-head.center { text-align: center; }
.section-head.center .section-underline { margin-inline: auto; }

/* Same day cards */
.same-day-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: var(--primary);
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}
.service-card-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .95rem 1.1rem;
  font-weight: 600;
}
.service-card-bar .arrow {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

/* Product groups */
.products-slider {
  position: relative;
}
.products-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.product-item h3 {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
}
.product-item p {
  color: var(--muted);
  font-size: .92rem;
  font-weight: 400;
  margin-bottom: .65rem;
  min-height: 3.6em;
}
.product-item .more {
  color: var(--accent);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .04em;
  display: inline-block;
  margin-bottom: .85rem;
}
.product-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.slider-nav {
  display: flex;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}
.slider-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.slider-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Detail */
.detail-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.detail-text p {
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1rem;
}
.detail-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .85rem;
}
.detail-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.detail-lower {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}
.detail-lower > img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
}
.faq-list { display: grid; gap: .85rem; }
.faq-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .65rem;
  align-items: start;
}
.faq-item svg { color: var(--primary); margin-top: 2px; }
.faq-item strong {
  display: block;
  color: var(--primary);
  font-size: .95rem;
  font-weight: 600;
}
.faq-item span {
  display: block;
  color: var(--accent);
  font-size: .85rem;
  font-weight: 500;
  margin-top: .25rem;
}

/* CTA bar */
.cta-bar {
  background: var(--primary);
  color: var(--white);
  padding: 1.35rem 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cta-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  font-weight: 600;
  padding: .35rem .5rem;
  border-right: 1px solid rgba(255,255,255,.18);
}
.cta-item:last-child { border-right: none; }
.cta-item svg { color: var(--accent); width: 28px; height: 28px; }
.cta-item:hover { opacity: .9; }

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,.88);
  padding: 3rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.footer p { font-size: .9rem; font-weight: 400; line-height: 1.7; color: rgba(255,255,255,.75); }
.footer ul { display: grid; gap: .55rem; }
.footer a {
  font-size: .9rem;
  font-weight: 400;
  color: rgba(255,255,255,.75);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.footer a svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex-shrink: 0;
}
.footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .8rem;
  font-weight: 400;
  color: rgba(255,255,255,.65);
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  color: var(--white);
}
.footer-brand span { color: var(--accent); font-weight: 700; }

/* Floating */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
  transition: transform .2s ease;
}
.float-btn:hover { transform: translateY(-2px); }
.float-wa {
  background: transparent;
  box-shadow: none;
  width: 58px;
  height: 58px;
}
.float-wa img {
  width: 54px;
  height: 54px;
  display: block;
}
.float-call { background: var(--accent); }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: grid;
  place-items: center;
  transition: opacity .45s ease, visibility .45s ease;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.preloader-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
}
.preloader-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Service page */
.page-hero {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(100deg, rgba(255,255,255,.93) 0%, rgba(255,255,255,.78) 45%, rgba(255,255,255,.3) 100%),
    url("../img/anasayfa-3.jpg") center/cover no-repeat;
  padding: 3rem 0;
}
.page-hero .hero-eyebrow { margin-bottom: .5rem; }
.page-hero h1 {
  color: var(--primary);
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}
.service-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
  padding: 2.5rem 0 3rem;
  align-items: start;
}
.service-content h2 {
  color: var(--primary);
  font-size: 1.55rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.service-content h3 {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.5rem 0 .75rem;
}
.service-content p {
  color: var(--muted);
  font-weight: 400;
  margin-bottom: 1rem;
}
.service-content .phone-inline {
  color: var(--accent);
  font-weight: 700;
}
.feature-list {
  display: grid;
  gap: .65rem;
  margin: 1.25rem 0 1.5rem;
}
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  color: var(--muted);
  font-weight: 400;
}
.feature-list .dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  margin-top: .45rem;
  flex-shrink: 0;
}
.sidebar {
  background: var(--primary);
  color: var(--white);
  padding: 1.35rem 1.1rem;
}
.sidebar h3 {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .55rem;
}
.sidebar .section-underline {
  width: 36px;
  height: 3px;
  margin-bottom: 1rem;
}
.sidebar a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .75rem 0;
  border-bottom: 1px solid rgba(255,255,255,.15);
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}
.sidebar a:last-child { border-bottom: none; }
.sidebar a:hover { color: var(--accent); }
.sidebar a.active { color: var(--accent); font-weight: 700; }

/* Legal / contact */
.legal-page, .contact-page {
  padding: 2.5rem 0 3.5rem;
}
.legal-page h1, .contact-page h1 {
  color: var(--primary);
  font-weight: 800;
  margin-bottom: .5rem;
}
.legal-page h2 {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.5rem 0 .6rem;
}
.legal-page p, .contact-page p {
  color: var(--muted);
  font-weight: 400;
  margin-bottom: .85rem;
}
.contact-card {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  max-width: 520px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--primary);
  font-weight: 600;
}
.contact-row svg { color: var(--accent); }

.back-top {
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: var(--white);
  display: grid;
  place-items: center;
  border-radius: 4px;
}

/* Responsive */
@media (max-width: 980px) {
  .products-track { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-lower, .detail-grid { grid-template-columns: 1fr; }
  .service-layout { grid-template-columns: 1fr; }
  .cta-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); padding: .85rem 0; }
  .cta-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0 1.25rem;
    transition: max-height .5s ease, opacity .4s ease, padding .4s ease, visibility .4s ease;
  }
  .nav-links.open {
    max-height: 480px;
    opacity: 1;
    visibility: visible;
    padding: 1rem 1.25rem 1.25rem;
  }
  .nav-links a { padding: .7rem 0; width: 100%; }
  .nav-inner { flex-wrap: wrap; }
  .nav-toggle { order: 1; }
  .nav-cta {
    order: 2;
    margin-left: auto;
  }
  .nav-links { order: 3; width: 100%; }
  .same-day-grid, .products-track, .footer-grid, .detail-images { grid-template-columns: 1fr; }
  .topbar-infos { width: 100%; }
  .hero { min-height: 360px; padding: 3rem 0; }
}
