:root {
  --bg: #ffffff;
  --panel: #f8fafc; /* slate-50 */
  --muted: #64748b; /* slate-500 */
  --text: #1e293b; /* slate-800 */
  --brand: #f97316; /* orange-500 */
  --brand-700: #c2410c; /* orange-700 */
  --accent: #fb923c; /* orange-400 */
  --card: #ffffff;
  --card-hover: #f1f5f9; /* slate-100 */
  --border: #e2e8f0; /* slate-200 */
  --danger: #ef4444;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  margin: 0 auto;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.topbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left and right balance, center exact */
  align-items: center;
  gap: 24px;
  min-height: 80px;
}
.brand {
  display: flex;
  flex-direction: column;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  height: 48px;
  width: auto;
  transition: transform 0.2s ease;
}

.logo:hover {
  transform: scale(1.05);
}
.brand .tag {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
}
.nav {
  display: flex;
  gap: 8px; /* Balanced gap */
  align-items: center;
  justify-content: center;
  justify-self: center;
}

.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.2s ease;
  padding: 10px 14px; /* Consistent padding */
  border-radius: 8px;
  display: flex;
  align-items: center;
}

.nav a:hover,
.nav a.active {
  color: var(--brand);
  background: var(--card-hover); /* Box background on hover */
}

/* Sliding Underline Animation - now relative to the box content */
.nav > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 6px;
  left: 14px; /* Matches padding-left */
  background-color: var(--brand);
  transition: width 0.2s ease;
}

.nav > a:hover::after {
  width: calc(100% - 28px); /* Full width minus total horizontal padding */
}

.dropdown {
  position: relative;
}

.dropbtn {
  background: transparent;
  color: var(--text);
  border: none;
  padding: 10px 14px; /* Matches nav a padding */
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
  font-family: inherit; /* Fix potential font diff */
  font-size: 1rem; /* Ensure same size */
}

.dropbtn:hover {
  color: var(--brand);
  background: var(--card-hover);
}
/* Divider underline for dropdown button too */
.dropbtn::after {
  content: "▾";
  font-size: 0.75rem;
  margin-left: 0; /* Handled by gap */
}
.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
  pointer-events: none;
}
.dropdown-content a {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  color: var(--text);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.dropdown-content a:hover {
  background: var(--card-hover);
  box-shadow: inset 0 -2px var(--brand); /* alt kenara entegre çizgi */
}
.dropdown:hover .dropdown-content,
.dropdown.open .dropdown-content,
.dropdown:focus-within .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Açıkken düğme durumu */
.dropdown.open .dropbtn {
  color: var(--brand);
  background: var(--card-hover);
}
.dropdown.open .dropbtn::after {
  transform: rotate(180deg);
}

.cta {
  display: flex;
  gap: 12px;
  justify-self: end;
}

/* Navbar text sizing consistency */
.topbar .nav a,
.topbar .dropbtn {
  font-size: 0.95rem;
}

/* Icon-only CTA buttons in navbar */
.topbar .cta .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  width: 42px;
  height: 40px;
  border-radius: 10px;
}
.topbar .cta .btn i {
  margin-right: 0;
  font-size: 1rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  white-space: nowrap;
  gap: 8px;
}
.btn.primary {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: white;
}
.btn.primary:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn.secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn.secondary:hover {
  background: var(--card-hover);
  border-color: var(--muted);
}
.btn.call {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: white;
}
.btn.call:hover {
  background: var(--brand-700);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn.whatsapp {
  background: #25d366;
  border: 1px solid #25d366;
  color: white;
}
.btn.whatsapp:hover {
  background: #22bb58;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Hero */
.hero {
  position: relative;
  padding: 80px 0 40px;
  min-height: 520px; /* Slider alanını biraz daha genişlet */
  background: linear-gradient(
    to bottom,
    rgba(255, 247, 237, 0.8),
    rgba(255, 237, 213, 0.4)
  );
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Koyu şeffaf katman: her arka planda metni okunur yapar */
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.55),
    /* üstte biraz daha koyu */ rgba(15, 23, 42, 0.45) 30%,
    rgba(15, 23, 42, 0.35) 60%,
    rgba(15, 23, 42, 0.25)
  );
  z-index: 1;
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 2;
  pointer-events: none; /* Mobilde slider butonlarının çalışması için */
}
.hero .hero-content {
  max-width: 760px;
  pointer-events: auto; /* İçeriğin tıklanabilir kalması için */
}
.hero h1 {
  font-size: 2.35rem;
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 800;
  color: #fff; /* her arka planda yüksek kontrast */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.5);
}
.hero p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 28px;
  font-size: 1.25rem;
  max-width: 90%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.hero-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Hero özel buton görünümleri */
.hero .btn.primary {
  background: linear-gradient(90deg, var(--brand), var(--accent));
  border: none;
  color: #fff;
  box-shadow: var(--shadow);
}
.hero .btn.primary:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.hero .btn.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: saturate(140%) blur(4px);
}
.hero .btn.secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Buton içi ikon aralığı */
.btn i {
  margin-right: 8px;
}
/* Erişilebilirlik: klavye odağı görünür olsun */
.nav a:focus-visible,
.dropbtn:focus-visible,
.dropdown-content a:focus-visible,
.mobile-menu-toggle:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Mobil Navbar İyileştirmeleri */
@media (max-width: 768px) {
  /* Üst çubuk mobil düzen: marka solda, menü/aksiyonlar sağda */
  .topbar .container {
    grid-template-columns: auto 1fr auto;
  }
  /* CTA mobilde yatay ve kompakt kalsın */
  .topbar .cta {
    flex-direction: row;
    width: auto;
    gap: 8px;
  }
  .topbar .cta .btn {
    width: auto;
  }
  .topbar.menu-open .mobile-menu-toggle {
    display: inline-flex;
  }
  /* Alternatif: nav aktifken CTA ikonlarını gizle (yedek kural) */
  .nav.active ~ .cta .mobile-menu-toggle {
    display: inline-flex;
  }
  /* Mobil nav panel görünümü */
  .topbar .nav {
    width: 100%;
    padding: 16px 0;
    gap: 16px;
    align-items: flex-start;
  }
  .topbar .nav.active {
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
    padding: 12px 16px;
    margin-top: 8px;
  }
  .topbar .nav a,
  .topbar .dropbtn {
    padding: 8px 4px;
  }
}

@media (max-width: 640px) {
  /* Küresel kuralların üstüne topbar için özel override */
  .topbar .cta {
    flex-direction: row;
    width: auto;
  }
  .topbar .cta .btn {
    width: auto;
  }
}
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  pointer-events: auto; /* Badge etkileşimi için */
}
.hero-badges span {
  font-size: 0.875rem;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  background: white;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-badges span::before {
  content: "✓";
  color: var(--brand);
  font-weight: bold;
}

/* Services */
.services {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--text);
}
.section-title p {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start; /* Kartların satır yüksekliğine esnemesini engelle */
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  align-items: stretch; /* Satırdaki en yüksek karta eşit yükseklik */
}
.card {
  position: relative;
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)),
    linear-gradient(135deg, rgba(251, 146, 60, 0.25), rgba(226, 232, 240, 0.9));
  background-clip: padding-box, border-box;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.card:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.card h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--text);
}
.card p {
  color: var(--muted);
  margin-bottom: 16px;
  flex-grow: 1;
}
.card .link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
}
.card .link:hover {
  text-decoration: none;
}
.card .link i {
  margin-left: 6px;
  transition: transform 0.2s ease;
}
.card .link:hover i {
  transform: translateX(4px);
}

/* Card icon */
.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}
.card-icon i {
  font-size: 22px;
}
/* Icon color variants for About cards */
.card-icon.mission {
  background: linear-gradient(135deg, #f59e0b, #f97316);
}
.card-icon.vision {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
}
.card-icon.values {
  background: linear-gradient(135deg, #10b981, #059669);
}

/* Feature list for About hero */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
}
.feature-list .chip {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  box-shadow: var(--shadow-sm);
}
.feature-list .chip i {
  font-size: 14px;
}

/* About hero header and text */
.about-hero .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.about-hero h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--text);
}
.about-hero p {
  color: var(--muted);
  margin-bottom: 8px;
}

/* Numbers */
.numbers {
  padding: 60px 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 247, 237, 0.4),
    rgba(255, 255, 255, 1)
  );
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stats > div {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)),
    linear-gradient(135deg, rgba(251, 146, 60, 0.25), rgba(226, 232, 240, 0.9));
  background-clip: padding-box, border-box;
}
.stats > div:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.stats > div::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.stats > div:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.stats strong {
  font-size: 2rem;
  display: block;
  color: var(--brand);
  margin-bottom: 8px;
}
.stats span {
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Testimonials */
.testimonials {
  padding: 60px 0;
}
.testimonials h2 {
  margin: 0 0 40px;
  text-align: center;
  font-size: 2rem;
}
blockquote {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)),
    linear-gradient(135deg, rgba(251, 146, 60, 0.25), rgba(226, 232, 240, 0.9));
  background-clip: padding-box, border-box;
}
blockquote:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
blockquote::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
blockquote:hover::after {
  transform: translateX(-50%) scaleX(1);
}
blockquote::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 3rem;
  color: var(--brand);
  opacity: 0.2;
  font-family: Georgia, serif;
}
blockquote p {
  margin: 0 0 12px;
  font-style: italic;
  padding-left: 20px;
}
blockquote cite {
  color: var(--muted);
  font-style: normal;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(to top, rgba(255, 247, 237, 0.45), var(--panel));
  padding-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 24px 0 40px;
}
.footer-card {
  position: relative;
  background: var(--card);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  background-image: linear-gradient(var(--card), var(--card)),
    linear-gradient(135deg, rgba(251, 146, 60, 0.2), rgba(226, 232, 240, 0.9));
  background-clip: padding-box, border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.footer-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    to right,
    transparent,
    var(--accent),
    transparent
  );
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}
.footer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.footer-card:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.footer h4 {
  display: inline-block;
  position: relative;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 44px;
  height: 3px;
  background: linear-gradient(to right, var(--brand), var(--accent));
  transform: translateX(-50%);
  border-radius: 999px;
}
.footer .social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-logo {
  height: 40px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}
.footer-logo:hover {
  opacity: 1;
}
.footer a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer a:hover {
  color: var(--brand);
}
.footer h4 {
  font-size: 1.125rem;
  margin: 0 0 16px;
}
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer ul li {
  margin-bottom: 8px;
}

/* Footer lists with modern icons */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.footer-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s ease;
}
.footer-list li a:hover {
  background: var(--card-hover);
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.footer-list .fl-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.footer-list .fl-icon i {
  color: #fff;
  font-size: 16px;
}

/* Variants */
.footer-list .svc-tools {
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.footer-list .svc-check {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}
.footer-list .svc-fire {
  background: linear-gradient(135deg, #ef4444, #f97316);
}
.footer-list .phone {
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.footer-list .mail {
  background: linear-gradient(135deg, #f59e0b, #fb923c);
}
.footer-list .whatsapp {
  background: linear-gradient(135deg, #25d366, #22bb58);
}
.subfooter {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--muted);
  text-align: center;
}

/* Floating WhatsApp */
.floating.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
}
/* Navbar buton görünümü ile aynı olacak şekilde floating WhatsApp */
.floating.btn.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: auto;
  height: auto;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  box-shadow: var(--shadow-lg);
}
.floating.btn.whatsapp:hover {
  transform: translateY(-1px);
}

/* Utilities */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Contact page */
.muted {
  color: var(--muted);
}
.contact-page {
  padding: 32px 0 64px;
}
.contact-header h1 {
  margin: 0 0 8px;
}
.contact-header .muted {
  margin: 0 0 24px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.contact-list li {
  display: flex;
  flex: 1 1 0;
}
.contact-list i {
  color: var(--brand);
}

.map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* Form controls */
.form {
  display: grid;
  gap: 12px;
}
.form-group {
  display: grid;
  gap: 6px;
}
.form-label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 4px;
}

/* Clickable contact items */
.contact-item,
.contact-item:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    border-color 0.2s ease;
  width: 100%;
  flex: 1 1 0;
  min-height: 68px;
}
.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--card-hover);
  border-color: var(--brand);
}
.contact-item .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-item .icon i {
  font-size: 18px;
  color: #fff;
  opacity: 1;
}
.contact-item .content {
  display: grid;
  gap: 2px;
  min-width: 0; /* truncate support */
  flex: 1;
}
/* Address Card */
.address-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.address-card .address-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.address-card .address-header .icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.address-card .address-header h3 {
  margin: 0;
}
.address-card .address-lines {
  display: grid;
  gap: 8px;
}
.address-card .address-lines .line {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--border);
  color: var(--muted);
}
.address-card .address-lines .line i {
  color: #4f46e5;
}
.address-card .map-wrapper {
  flex: 1 1 auto;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.address-card .map-wrapper iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 220px;
}
.contact-item .content strong {
  font-size: 0.95rem;
  color: var(--text);
}
.contact-item .content .sub {
  color: var(--muted);
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.contact-item .chevron i {
  color: var(--muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.contact-item:hover .chevron i {
  transform: translateX(4px);
  color: var(--brand);
}

/* Özel renk varyasyonları (isteğe bağlı farklı vurgu) */
.contact-item.phone .icon {
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.contact-item.mail .icon {
  background: linear-gradient(135deg, #f59e0b, #fb923c);
}
.contact-item.whatsapp .icon {
  background: linear-gradient(135deg, #25d366, #22bb58);
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

.mobile-menu-toggle:hover {
  color: var(--brand);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 40px;
    border-radius: 10px;
    padding: 10px;
    order: 3; /* CTA içinde en sağda kalsın */
  }

  .nav {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 16px 0;
    gap: 16px;
    align-items: flex-start;
  }

  .nav.active {
    display: flex;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    margin-top: 8px;
    margin-bottom: 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }
}

@media (max-width: 640px) {
  .nav {
    display: none;
  }
  .hero h1 {
    font-size: 1.75rem;
  }
  .hero {
    min-height: 420px; /* Mobilde biraz daha küçük ama görünür */
  }
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .cta {
    flex-direction: column;
    width: 100%;
  }
  .btn {
    width: 100%;
  }
}

/* Slider Stilleri */
.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0; /* Overlay ve metin üstte kalsın */
}

.slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
}

.slide.active {
  display: block;
  animation: slideInRight 650ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  text-align: center;
  padding: 15px;
  font-size: 1.2rem;
  font-weight: 500;
}

/* Slider Kontrolleri */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.3s ease;
  border-radius: 0 5px 5px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.3);
}

.next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev, .next, .slider-dots, .progress-container {
  z-index: 20; /* Üstte kalsın ama navbar (50) ve menu-backdrop (45) altında */
}

@media (max-width: 768px) {
  .prev, .next {
    top: 35%; /* Mobilde butonların üzerine binmemesi için yukarı aldık */
    padding: 12px; /* Biraz daha kompakt */
    background-color: rgba(0, 0, 0, 0.5); /* Daha belirgin */
  }
}

/* Slider Butonları */
.dots-container {
  position: absolute;
  bottom: 60px;
  width: 100%;
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot:hover {
  background-color: var(--brand);
}

/* İlerleme Çubuğu */
.progress-container {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 10;
}

.progress-bar {
  height: 100%;
  width: 0;
  background-color: var(--brand);
  transition: width 0.1s linear;
}

@keyframes fadeEffect {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 0.7;
  }
}

/* Yeni geçiş animasyonu: yumuşak fade + hafif scale */
@keyframes slideFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.02);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Alternatif animasyon: sağdan kayarak giriş */
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(32px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-32px) scale(1.02);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.slide.active.from-left {
  animation-name: slideInLeft;
}

.contact-item .chevron {
  margin-left: auto;
}

/* Popup overlay ve mobil nav panel animasyonu */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
  z-index: 45; /* topbar 50, panel 100 */
}
body.menu-open .menu-backdrop {
  opacity: 1;
  visibility: visible;
}
body.menu-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  /* Kart benzeri panel: sabit konum ve yumuşak giriş */
  .topbar .nav.active {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 86px; /* yaklaşık topbar yüksekliği */
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    padding: 12px 16px;
    gap: 12px;
    z-index: 100;
    transform: translateY(-8px) scale(0.98);
    opacity: 0;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.24s ease;
  }
  .topbar.menu-open .nav.active {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Gallery Page Styles - Animated Gradient Design */
.page-header {
  position: relative;
  background: linear-gradient(
    -45deg,
    var(--brand),
    #cb3c18,
    #eab308,
    var(--brand)
  );
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  padding: 120px 0;
  text-align: center;
  color: white;
  overflow: hidden;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Hafif doku efekti için overlay */
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.page-header h1 {
  margin: 0 0 20px;
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.page-header p {
  font-size: 1.25rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 auto;
  max-width: 600px;
  background: rgba(0, 0, 0, 0.1);
  display: inline-block;
  padding: 8px 24px;
  border-radius: 50px;
  backdrop-filter: blur(5px);
}

.gallery-section {
  padding: 60px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  aspect-ratio: 4 / 3; /* Sabit en-boy oranı */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: white;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 50%;
  backdrop-filter: blur(4px);
}

/* Lightbox Styles */
.lightbox {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevent scrolling background */
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 900px;
  max-height: 80vh;
  object-fit: contain;
  animation-name: zoom;
  animation-duration: 0.5s;
}

.close-lightbox {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 1002;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.lightbox-nav {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 1002;
  background-color: rgba(0, 0, 0, 0.3);
}

.lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.lightbox-prev {
  left: 0;
  border-radius: 0 3px 3px 0;
}

.lightbox-nav:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Animations */
@keyframes lbOpen {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes lbClose {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes slideOutLeft {
  to {
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
  }
}
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideOutRight {
  to {
    opacity: 0;
    transform: translateX(100px) scale(0.9);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.anim-open {
  animation: lbOpen 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.anim-close {
  animation: lbClose 0.4s ease-in forwards;
}

.anim-slide-out-left {
  animation: slideOutLeft 0.3s ease-in forwards;
}
.anim-slide-in-right {
  animation: slideInRight 0.3s ease-out forwards;
}

.anim-slide-out-right {
  animation: slideOutRight 0.3s ease-in forwards;
}
.anim-slide-in-left {
  animation: slideInLeft 0.3s ease-out forwards;
}

@media only screen and (max-width: 700px) {
  .lightbox-content {
    width: 100%;
  }
}
