﻿:root {
  --brand-black: #111111;
  --brand-charcoal: #242424;
  --brand-graphite: #3a3a3a;
  --brand-white: #ffffff;
  --page-soft: #f6f6f6;
  --line-soft: #d8d8d8;
  --text-main: #121212;
  --text-muted: #4d4d4d;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at 50% -30%, #ffffff 0%, #f4f4f4 52%, #efefef 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
}

.container-limit {
  margin-inline: auto;
  max-width: 76rem;
  padding-inline: 1rem;
}

.section-pattern {
  background-image:
    linear-gradient(145deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0) 60%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0) 55%);
}

.hero-bg,
.page-hero {
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(130deg, rgba(8, 8, 8, 0.56), rgba(8, 8, 8, 0.34)),
    url("../arkaplan.png");
  background-size: cover;
  background-position: center;
}

.hero-bg::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 44%),
    radial-gradient(circle at 16% 78%, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 40%);
}

.hero-bg::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0));
}

.hero-bg > *,
.page-hero > * {
  position: relative;
  z-index: 1;
}

.hero-bg h1,
.page-hero h1 {
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.45);
}

.glass-panel {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.quote-card {
  background: #ffffff;
  color: #111111;
  border-radius: 1rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.quote-card ::placeholder {
  color: #6b6b6b;
}

.field-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #181818;
}

.input-field {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--line-soft);
  color: #111111;
  background: #ffffff;
  padding: 0.68rem 0.8rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--brand-charcoal);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 0.8rem;
  background: linear-gradient(130deg, #111111, #2a2a2a);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.25) 50%, transparent 75%);
  transform: translateX(-120%);
  transition: transform 0.45s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(0, 0, 0, 0.25);
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 0.8rem;
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
}

.stat-card {
  border: 1px solid #d8d8d8;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.service-card {
  position: relative;
  border: 1px solid #d8d8d8;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.15);
}

.service-icon {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  background: linear-gradient(135deg, #2c2c2c, #111111);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-icon::after {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0.8rem;
  width: 1.2rem;
  height: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.2rem;
}

.policy-box {
  border-radius: 1rem;
  border: 1px solid #d4d4d4;
  background: linear-gradient(120deg, #fafafa, #f3f3f3);
}

.table-steps {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 0.8rem;
  border: 1px solid #d7d7d7;
}

.table-steps th,
.table-steps td {
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
  padding: 0.85rem;
  font-size: 0.95rem;
}

.table-steps th {
  background: #f2f2f2;
  color: #111111;
}

.table-steps tr:last-child td {
  border-bottom: none;
}

.badge-open,
.badge-closed {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.badge-open {
  color: #0f4d2e !important;
  background: #d9fbe4 !important;
  border: 1px solid #86efac;
}

.badge-closed {
  color: #7a1616 !important;
  background: #ffe2e2 !important;
  border: 1px solid #fca5a5;
}

.badge-open::before,
.badge-closed::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.badge-open::before {
  background: #16a34a;
}

.badge-closed::before {
  background: #ef4444;
}

.district-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid #cfcfcf;
  background: #f5f5f5;
  color: #222222;
  font-size: 0.87rem;
  font-weight: 700;
  padding: 0.45rem 0.8rem;
}

.province-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.province-item {
  border-radius: 0.7rem;
  border: 1px solid #d7d7d7;
  background: #ffffff;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  color: #202020;
  text-align: center;
  font-weight: 600;
}

.footer-link {
  color: #d9d9d9;
  text-decoration: none;
}

.footer-link:hover {
  color: #ffffff;
}

.map-wrap {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid #d7d7d7;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.map-wrap iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 5.8rem;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  border-radius: 1rem 1rem 0.4rem 1rem;
  padding: 0.75rem 1rem;
  min-width: 165px;
  text-decoration: none;
  font-weight: 800;
  color: #ffffff;
  background: linear-gradient(140deg, #22c55e, #17954a);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s ease;
  animation: wa-pop 3.1s ease-in-out infinite;
}

.floating-whatsapp::before {
  content: "Canlı Destek";
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.92;
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: #17954a;
  transform: rotate(45deg);
  border-radius: 2px;
}

.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.mobile-sticky-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 49;
  display: flex;
  gap: 0.5rem;
  padding: 0.55rem;
  background: rgba(16, 16, 16, 0.97);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-sticky-actions a {
  flex: 1;
  border-radius: 0.7rem;
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 0.75rem 0.6rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.mobile-sticky-actions .call-btn {
  background: linear-gradient(130deg, #111111, #2c2c2c);
}

.mobile-sticky-actions .wa-btn {
  background: #17954a;
}

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

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

[data-parallax] {
  will-change: transform;
}

@keyframes wa-pop {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@media (min-width: 768px) {
  .floating-whatsapp {
    bottom: 1rem;
  }

  .mobile-sticky-actions {
    display: none;
  }
}
