/* Özaktaş — yeşil & beyaz kurumsal palet */
:root {
  --bg-page: #f2f7f3;
  --bg-card: #f7faf8;
  --bg-elevated: #ffffff;
  --text: #14261a;
  --muted: #5a6b5f;
  --border: #d4e3d9;
  --brand: #1b4332;
  --brand-mid: #2d6a4f;
  --brand-light: #40916c;
  --brand-soft: #d8f3dc;
  --header-bg: #ffffff;
  --topbar-bg: #ffffff;
  --hero-dark: #0d1f16;
  --star: #5a7248;
  --shadow: rgba(13, 31, 22, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", system-ui, Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.topbar-outer {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
}

.topbar {
  max-width: 1200px;
  margin: 0 auto;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 14px;
  font-size: 0.81rem;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.topbar .contact-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 12px;
}

.topbar-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 0;
  transition: color 0.2s;
}

.topbar-link__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-mid);
}

.topbar-link__icon--mail {
  color: var(--muted);
}

.topbar-link__icon svg {
  display: block;
  width: 14px;
  height: 14px;
}

.topbar-link:hover {
  color: var(--brand);
}

.topbar-link:hover .topbar-link__icon--phone {
  color: var(--brand);
}

.topbar-link:hover .topbar-link__icon--mail {
  color: var(--brand-mid);
}

.topbar-link__text {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.social-icons {
  display: flex;
  gap: 5px;
}

.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px var(--shadow);
  position: relative;
  overflow: hidden;
}

.social:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--shadow);
  border-color: rgba(64, 145, 108, 0.38);
}

.social-img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.social-img--x {
  width: 22px;
  height: 22px;
}

.social-map {
  background-color: var(--brand-mid);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5S10.62 6.5 12 6.5s2.5 1.12 2.5 2.5S13.38 11.5 12 11.5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 19px 19px;
  border-color: rgba(27, 67, 50, 0.25);
}

.social-map:hover {
  background-color: var(--brand);
  border-color: rgba(27, 67, 50, 0.35);
}

.floating-buttons {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.phone-call {
  background: var(--brand-mid);
}

.phone-call .ui-icon--phone {
  width: 30px;
  height: 30px;
  color: #fff;
}

.whatsapp-green {
  background: #fff;
  padding: 1px;
  border: 2px solid rgba(18, 140, 126, 0.45);
}

.floating-wa-img {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

@media (max-width: 821px) {
  .floating-buttons {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: calc(12px + env(safe-area-inset-left, 0px));
  }
}

.ui-icon {
  flex-shrink: 0;
}

.site-header {
  background: var(--header-bg);
  color: var(--text);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 14px 7px;
  min-height: 0;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.logo-text-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.logo-img--header {
  height: auto;
  max-height: 88px;
  width: auto;
  max-width: min(268px, 26vw);
  object-fit: contain;
  object-position: center center;
  flex-shrink: 0;
  display: block;
}

.logo-img--footer {
  height: auto;
  max-height: 120px;
  width: auto;
  max-width: min(320px, 82vw);
  object-fit: contain;
  object-position: center center;
  flex-shrink: 0;
  display: block;
  margin: 0 auto;
}

.logo-tagline {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 500;
  max-width: min(268px, 26vw);
  line-height: 1.3;
  text-align: center;
}

.logo-link:hover .logo-tagline {
  color: var(--brand-mid);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 5px 6px;
  min-width: 0;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.site-nav > ul > li > a,
.site-nav > ul > li .dropdown-toggle {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 3px 6px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-sizing: border-box;
  width: 7.125rem;
  min-width: 7.125rem;
  max-width: 7.125rem;
  flex-shrink: 0;
  min-height: 2rem;
  text-align: center;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(212, 227, 217, 0.95);
  box-shadow: 0 1px 3px rgba(13, 31, 22, 0.06);
}

.site-nav > ul > li > a:hover,
.site-nav > ul > li .dropdown-toggle:hover {
  color: var(--brand);
  background: #ffffff;
  border-color: rgba(64, 145, 108, 0.38);
  box-shadow: 0 2px 10px rgba(13, 31, 22, 0.1);
}

.site-nav > ul > li > a.is-active,
.site-nav > ul > li .dropdown-toggle.is-active {
  color: var(--brand);
  background: linear-gradient(180deg, #ffffff 0%, #eef7f0 100%);
  border-color: rgba(45, 106, 79, 0.32);
  box-shadow: 0 1px 4px rgba(27, 67, 50, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Yeşil halo: box-shadow transition ile çakışmasın diye opacity ile nabız (mouse yokken de çalışır) */
@keyframes btn-contact-halo {
  0%,
  100% {
    opacity: 0.38;
  }
  50% {
    opacity: 1;
  }
}

.btn-contact {
  position: relative;
  z-index: 0;
  isolation: isolate;
  background: var(--brand);
  color: #fff !important;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  border: 2px solid var(--brand);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.28);
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 7.125rem;
  min-width: 7.125rem;
  max-width: 7.125rem;
  flex-shrink: 0;
  min-height: 2rem;
  text-align: center;
}

.btn-contact::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  z-index: -1;
  pointer-events: none;
  box-shadow:
    0 0 14px 3px rgba(120, 220, 165, 0.65),
    0 0 28px 8px rgba(64, 145, 108, 0.5),
    0 0 42px 12px rgba(45, 106, 79, 0.28);
  opacity: 0.5;
  animation: btn-contact-halo 2.2s ease-in-out infinite;
}

.btn-contact:hover {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.32);
}

.btn-contact:hover::after {
  animation: none;
  opacity: 0.92;
  box-shadow:
    0 0 18px 4px rgba(130, 235, 175, 0.75),
    0 0 34px 10px rgba(64, 145, 108, 0.55),
    0 0 48px 14px rgba(45, 106, 79, 0.32);
}

@media (prefers-reduced-motion: reduce) {
  .btn-contact::after {
    animation: none;
    opacity: 0.55;
  }

  .btn-contact:hover::after {
    opacity: 0.72;
  }
}

/* Dar masaüstü: tek satırda kalsın diye pill’ler bir kademe daha küçük */
@media (max-width: 1100px) and (min-width: 822px) {
  .site-nav > ul > li > a,
  .site-nav > ul > li .dropdown-toggle {
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
    font-size: 0.72rem;
    padding: 3px 4px;
    min-height: 1.9rem;
  }

  .dropdown-anchor {
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
  }

  .btn-contact {
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
    font-size: 0.72rem;
    padding: 2px 4px;
    min-height: 1.9rem;
  }
}

.menu-toggle {
  display: none;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--brand);
  align-items: center;
  gap: 6px;
}

.menu-toggle__lines {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  position: relative;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.menu-toggle__label {
  font-size: 0.8rem;
}

.nav-item {
  position: relative;
}

/* Masaüstü: açılır menü tetikleyicisi diğer nav pill’leri ile aynı genişlikte */
.dropdown-anchor {
  position: relative;
  display: inline-flex;
  justify-content: center;
  width: 7.125rem;
  min-width: 7.125rem;
  max-width: 7.125rem;
  flex-shrink: 0;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  min-width: min(640px, calc(100vw - 32px));
  max-width: min(780px, calc(100vw - 24px));
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 12px 32px var(--shadow);
  list-style: none;
  padding: 12px 14px;
  margin: 6px 0 0;
  z-index: 200;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  gap: 4px 10px;
  align-content: start;
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  border-radius: 6px;
  color: var(--text);
  text-decoration: none;
  text-align: left;
  transition: background 0.15s, color 0.15s;
}

.dropdown-menu li a:hover {
  background: rgba(45, 106, 79, 0.08);
  color: var(--brand);
}

@media (max-width: 1100px) and (min-width: 822px) {
  .dropdown-menu {
    grid-template-columns: repeat(2, minmax(200px, 1fr));
    min-width: min(440px, calc(100vw - 32px));
    max-width: min(520px, calc(100vw - 24px));
  }
}

/* Varsayılan: hover ile açma yok (dokunmatik / “hayalet hover” güvenli) */
.nav-item.dropdown .dropdown-menu {
  display: none;
}

/* Sadece gerçek hover destekleyen ince işaretçi (masaüstü fare) */
@media (hover: hover) and (pointer: fine) {
  .nav-item.dropdown:hover .dropdown-menu {
    display: grid;
  }
}

/* Tıklama / mobil menü ile açılan durum */
.nav-item.dropdown.active .dropdown-menu {
  display: grid;
}

main {
  flex: 1;
  width: 100%;
  background: var(--bg-elevated);
}

.hero-slider {
  width: 100%;
  /* Üst bar + header + yalnızca yeşil slogan satırı görünsün; paragraf aşağıda kalsın */
  height: min(72vh, 660px, calc(100vh - 200px));
  min-height: 260px;
  position: relative;
  overflow: hidden;
  background: var(--hero-dark);
}

.slider-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 100%;
  opacity: 0;
  transition: all 0.55s ease;
}

.slide.active {
  left: 0;
  opacity: 1;
}

.slide-visual {
  background-size: cover;
  background-position: center;
}

.slide-banner-home {
  background-color: var(--hero-dark);
  background-repeat: no-repeat;
}

/* Geniş ekranda cover; dar alanda contain + kutu yüksekliği aktif slayt görselinin oranına eşit (--hero-ar-* main.js) */
@media (max-width: 1719px) {
  .slide-banner-home {
    background-size: contain;
    background-position: center center;
  }

  .hero-slider.hero-slider--home {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: var(--hero-ar-w, 1535) / var(--hero-ar-h, 522);
    transition: aspect-ratio 0.35s ease;
  }
}

.hero-slider--home .slider-btn:not([hidden]) {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-a {
  background-image: linear-gradient(118deg, #0d2818 0%, #1b4332 38%, #2d6a4f 100%);
}

.slide-b {
  background-image: linear-gradient(118deg, #1b4332 0%, #2d6a4f 45%, #40916c 100%);
}

.slide-c {
  background-image: linear-gradient(118deg, #2d6a4f 0%, #52b788 42%, #b7e4c7 100%);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s, border-color 0.2s;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.38);
  border-color: rgba(255, 255, 255, 0.55);
}

.slider-btn.prev {
  left: 16px;
}
.slider-btn.next {
  right: 16px;
}

.hero-content {
  text-align: center;
  padding: 40px 20px 32px;
  max-width: 820px;
  margin: 0 auto;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.slogan {
  font-size: clamp(1.45rem, 4vw, 2.15rem);
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--brand);
  letter-spacing: -0.02em;
}

.hero-text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.cta-button {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid var(--brand);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.18);
}

.cta-button:hover {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
  color: #fff;
  box-shadow: 0 4px 16px rgba(27, 67, 50, 0.22);
}

.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 8px;
  border: 2px solid var(--brand-mid);
  color: var(--brand-mid);
  text-decoration: none;
  font-weight: 600;
  margin-left: 10px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand);
}

.services-section {
  padding: 48px 0 56px;
  width: 100%;
  background: var(--bg-page);
}

.services-container {
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--bg-elevated);
  border-radius: 0;
  padding: 32px clamp(16px, 4vw, 56px) 36px;
  border: solid var(--border);
  border-width: 1px 0;
  box-shadow: 0 6px 28px var(--shadow);
}

.section-title {
  text-align: center;
  font-size: 1.85rem;
  margin: 0 0 28px;
  font-weight: 700;
  color: var(--brand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 22px;
}

.services-grid.flat {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
  background: var(--bg-elevated);
  border-radius: 10px;
  padding: 32px 28px 36px;
  text-align: center;
  border: 1px solid var(--border);
  border-top: 4px solid var(--brand-light);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(27, 67, 50, 0.12);
  border-color: rgba(64, 145, 108, 0.45);
}

.link-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.service-icon-mark {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--brand-light), var(--brand-mid));
}

.service-title {
  font-size: 1.12rem;
  margin: 0 0 12px;
  color: var(--brand);
  font-weight: 600;
}

.service-description {
  color: var(--muted);
  line-height: 1.62;
  margin: 0;
  font-size: 0.98rem;
}

.service-card-more {
  margin: 0;
  margin-top: auto;
  padding-top: 20px;
  width: 100%;
  font-size: 0.88rem;
  line-height: 1.45;
}

.service-card-inline-link {
  color: var(--brand-mid);
  font-weight: 600;
  text-decoration: none;
}

.service-card-inline-link:hover {
  text-decoration: underline;
  color: var(--brand);
}

.more-services {
  text-align: center;
  margin-top: 24px;
}

.more-link {
  display: inline-block;
  color: #fff;
  background: var(--brand-mid);
  text-decoration: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-weight: 600;
  border: 2px solid var(--brand-mid);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.15);
}

.more-link:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.2);
}

.why-us {
  padding: 40px 16px 52px;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
}

.why-us-container {
  max-width: 900px;
  margin: 0 auto;
}

.why-us-text {
  line-height: 1.75;
  color: #444;
  font-size: 1.05rem;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13, 31, 22, 0.55);
  z-index: 9500;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-content {
  background: #fff;
  max-width: 480px;
  width: 100%;
  border-radius: 14px;
  padding: 20px 20px 24px;
  position: relative;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  right: 12px;
  top: 8px;
  font-size: 1.8rem;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--brand-mid);
  line-height: 1;
  transition: color 0.2s;
}

.close-modal:hover {
  color: var(--brand);
}

.modal-visual {
  height: 160px;
  border-radius: 10px;
  margin-bottom: 12px;
}

.modal-visual.theme-a {
  background: linear-gradient(125deg, #0d2818, #2d6a4f);
}
.modal-visual.theme-b {
  background: linear-gradient(125deg, #1b4332, #40916c);
}
.modal-visual.theme-c {
  background: linear-gradient(125deg, #2d6a4f, #74c69d);
}

.modal-content h3 {
  margin: 0 0 8px;
  color: var(--brand);
}

.testimonials {
  padding: 44px 12px 56px;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
}

.testimonials-container {
  max-width: 1260px;
  margin: 0 auto;
}

.testimonials-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  flex: 1;
  min-width: 0;
  opacity: 1;
  transform: translateZ(0);
}

.testimonial-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.testimonial-card.hidden {
  display: none;
}

.testimonial-author {
  margin: 0 0 4px;
}

.testimonial-location {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonial-text {
  margin: 0 0 10px;
  line-height: 1.55;
  font-size: 0.95rem;
}

.stars {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  color: var(--brand-mid);
  letter-spacing: 3px;
  font-size: 0.95rem;
  line-height: 1;
}

.testimonial-btn {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(27, 67, 50, 0.22);
}

.testimonial-btn:hover {
  background: var(--brand-mid);
  border-color: var(--brand-mid);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(27, 67, 50, 0.28);
}

.testimonial-btn:focus-visible {
  outline: 2px solid var(--brand-light);
  outline-offset: 2px;
}

.testimonial-btn:active {
  transform: scale(0.98);
}

.page-wrap {
  padding: 32px 16px 48px;
}

.page-wrap .container {
  max-width: 1100px;
  margin: 0 auto;
}

.container.narrow {
  max-width: 760px;
}

.page-title {
  font-size: 1.85rem;
  margin: 0 0 16px;
  color: var(--brand);
  font-weight: 700;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.check-list {
  line-height: 1.8;
}

.cta-row {
  margin-top: 28px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.gallery-item--photo {
  margin: 0;
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px var(--shadow);
}

.gallery-thumb-btn {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: none;
  cursor: zoom-in;
  background: #0d1f16;
  display: block;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.28s ease, opacity 0.2s ease;
}

.gallery-thumb-btn:hover img {
  transform: scale(1.05);
  opacity: 0.95;
}

.gallery-thumb-btn:focus-visible {
  outline: 3px solid var(--brand-mid);
  outline-offset: 2px;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right))
    max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.gallery-lightbox:not([hidden]) {
  display: flex;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 31, 22, 0.82);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: min(96vw, 1200px);
  max-height: 100%;
  width: 100%;
}

.gallery-lightbox__stage {
  position: relative;
  width: 100%;
  max-height: min(78vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.gallery-lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.gallery-lightbox__close {
  position: absolute;
  top: -4px;
  right: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.gallery-lightbox__close:hover {
  background: #fff;
  transform: scale(1.05);
}

.gallery-lightbox__close:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
}

.gallery-lightbox__stage .gallery-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand);
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
}

.gallery-lightbox__stage .gallery-lightbox__nav:hover {
  background: #fff;
}

.gallery-lightbox__stage .gallery-lightbox__nav:focus-visible {
  outline: 3px solid var(--brand-light);
  outline-offset: 2px;
}

.gallery-lightbox__prev {
  left: 8px;
}

.gallery-lightbox__next {
  right: 8px;
}

.gallery-lightbox__counter {
  margin: 0;
  color: #e8efe9;
  font-size: 0.95rem;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 600px) {
  .gallery-lightbox__stage .gallery-lightbox__nav {
    width: 42px;
    height: 42px;
    font-size: 1.5rem;
  }

  .gallery-lightbox__prev {
    left: 4px;
  }

  .gallery-lightbox__next {
    right: 4px;
  }

  .gallery-lightbox__close {
    top: 8px;
    right: 8px;
  }
}

.blog-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  background: var(--bg-card);
}

.blog-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.blog-card h2 a {
  color: var(--brand);
  text-decoration: none;
}

.blog-card h2 a:hover {
  text-decoration: underline;
}

.blog-card .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 8px;
}

.blog-toc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 28px;
}

.blog-toc ul {
  margin: 0;
  padding-left: 1.2rem;
  line-height: 1.85;
}

.blog-toc a {
  color: var(--brand-mid);
  font-weight: 600;
  text-decoration: none;
}

.blog-toc a:hover {
  text-decoration: underline;
  color: var(--brand);
}

.blog-post {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 22px 8px;
  margin-bottom: 22px;
  background: var(--bg-elevated);
  scroll-margin-top: 100px;
}

.blog-post h2 {
  margin: 0 0 6px;
  font-size: 1.35rem;
  color: var(--brand);
}

.blog-post h3 {
  margin: 20px 0 8px;
  font-size: 1.08rem;
  color: var(--text);
}

.blog-post p {
  line-height: 1.75;
  margin: 0 0 14px;
  color: var(--text);
}

.blog-post .meta {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0 0 14px;
}

.blog-post .check-list {
  margin-bottom: 18px;
}

.blog-page .lead a {
  color: var(--brand-mid);
  font-weight: 600;
}

.contact-page .contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.contact-container.single {
  grid-template-columns: 1fr;
}

.contact-right.wide {
  max-width: 640px;
  margin: 0 auto;
}

.contact-left h2,
.contact-right h2 {
  margin-top: 0;
}

.adres-link {
  color: inherit;
  text-decoration: none;
}

.adres-link:hover {
  color: var(--brand-mid);
  text-decoration: underline;
}

/* Bot tuzak alanı — doldurulursa gönderim reddedilir */
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form.form--submitting {
  opacity: 0.88;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  background: var(--bg-elevated);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(64, 145, 108, 0.2);
}

.btn-submit {
  background: var(--brand);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 10px rgba(27, 67, 50, 0.18);
}

.btn-submit:hover {
  background: var(--brand-mid);
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.22);
}

.form-result {
  margin-top: 16px;
  text-align: center;
}

.form-result-box {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-align: left;
}

.form-result-ico {
  font-size: 1.3rem;
  margin-right: 6px;
}

.map-section iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

#footer {
  background: var(--header-bg);
  margin-top: auto;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}

.upper-footer {
  padding: 40px 0 24px;
}

.footer-widget-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-widget--brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}

.footer-logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.footer-logo-link:focus-visible {
  outline: 2px solid var(--brand-mid);
  outline-offset: 4px;
  border-radius: 6px;
}

.social-icons-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.social-icons-footer a.social {
  width: 50px;
  height: 50px;
}

.social-icons-footer .social-img {
  width: 38px;
  height: 38px;
}

.social-icons-footer .social-img--x {
  width: 36px;
  height: 36px;
}

.widget-title {
  font-size: 1.1rem;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-light);
  display: inline-block;
  color: var(--brand);
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 8px;
}

.footer-menu a {
  color: var(--muted);
  text-decoration: none;
}

.footer-menu a:hover {
  color: var(--brand-mid);
}

.lower-footer {
  background: #e8efe9;
  padding: 14px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--brand-mid);
  color: #fff;
  cursor: pointer;
  z-index: 8000;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(27, 67, 50, 0.25);
  transition: background 0.2s, transform 0.2s;
}

.back-to-top__icon {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.back-to-top:hover {
  background: var(--brand);
  transform: translateY(-2px);
}

@media (max-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-widget-area {
    grid-template-columns: 1fr;
  }

  /* Tek sütunda başlık ve link listeleri ortada (telefon / dar tablet) */
  .footer-widget-area .footer-widget:not(.footer-widget--brand) {
    text-align: center;
  }

  .contact-page .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 821px) {
  .menu-toggle {
    display: inline-flex;
  }
  .site-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    flex-direction: column;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 12px 32px var(--shadow);
    z-index: 300;
  }
  .site-nav ul.show {
    display: flex;
  }
  .site-nav ul.show > li > .dropdown-anchor {
    display: block;
    width: 100%;
  }
  .site-nav ul.show > li .dropdown-toggle {
    justify-content: center;
    width: 100%;
  }
  .site-nav {
    position: relative;
  }

  /* Sabit genişlikler yalnızca masaüstü sıra menü için; mobilde tam genişlik / doğal boyut */
  .site-nav > ul > li > a,
  .site-nav > ul > li .dropdown-toggle {
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
  }

  .dropdown-anchor {
    width: auto;
    min-width: 0;
    max-width: none;
    display: block;
  }

  .btn-contact {
    width: auto;
    min-width: 0;
    max-width: none;
    min-height: 0;
    border-radius: 8px;
  }

  .btn-contact::after {
    border-radius: 10px;
  }

  /* Hamburger: alt hizmet listesi gösterilmez; Hizmetlerimiz doğrudan sayfaya gider */
  .nav-item.dropdown:hover .dropdown-menu,
  .nav-item.dropdown.active .dropdown-menu {
    display: none !important;
    visibility: hidden;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .logo-img--header {
    max-height: 74px;
    max-width: min(232px, 40vw);
  }
  .logo-tagline {
    max-width: min(232px, 40vw);
  }
  .btn-contact {
    margin-top: 5px;
  }
}

@media (max-width: 540px) {
  .topbar {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 6px 12px;
  }

  .topbar .contact-info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
  }

  .topbar-item {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .topbar-link {
    justify-content: center;
  }

  .social-icons {
    justify-content: center;
    width: 100%;
  }

  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 6px 12px;
  }

  .logo-link {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-text-stack {
    align-items: center;
  }

  .logo-img--header {
    max-width: min(92vw, 212px);
    max-height: min(78px, 17vh);
    object-position: center center;
  }

  .logo-tagline {
    max-width: min(212px, 92vw);
    text-align: center;
  }

  .site-nav {
    display: grid;
    grid-template-columns: 1fr auto auto 1fr;
    width: 100%;
    align-items: center;
    gap: 0 12px;
  }

  .site-nav .menu-toggle {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    margin-top: 0;
  }

  .site-nav .btn-contact {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    margin-top: 0;
  }

  .site-nav > ul {
    grid-column: 1 / -1;
    grid-row: 2;
    left: 0;
    right: 0;
    position: relative;
    top: auto;
    margin-top: 8px;
    width: 100%;
  }

  .site-nav ul.show {
    align-items: stretch;
  }

  .site-nav ul.show > li {
    text-align: center;
  }

  .site-nav ul.show > li > a,
  .site-nav ul.show > li .dropdown-toggle {
    justify-content: center;
    width: 100%;
  }

  .logo-img--footer {
    max-height: 100px;
    max-width: min(280px, 88vw);
  }

  .footer-widget--brand {
    gap: 14px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 28px 22px 32px;
  }
}
