:root {
  /* ZEMİN RENKLERİ */
  --bg: #fdfbf7; /* Çok açık krem/kum rengi */
  --bg-alt: #ffffff; /* Beyaz */

  /* METİN RENKLERİ */
  --text: #2c241b; /* Çok koyu kahve (neredeyse siyah) */
  --muted: #6d5e52; /* Gri-kahve (açıklama yazıları) */

  /* MARKA RENKLERİ */
  --primary: #8b5a2b; /* ANA RENK: Tam ahşap/kereste rengi */
  --secondary: #5e3c1e; /* İkincil renk (daha koyu odun) */
  --accent: #d9a066; /* Vurgu rengi (talaş sarısı/açık ahşap) */

  /* DİĞER */
  --white: #ffffff;
  --wood: #8b5a2b; /* Görsel arka planları için */
  --wood-light: #e6c9a8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.btn.primary:hover {
  filter: brightness(0.95);
}
.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn.ghost:hover {
  background: rgba(47, 107, 63, 0.08);
}
.btn.whats {
  background: #25d366;
  color: #04210d;
  font-weight: 700;
}
.btn.call {
  border-color: var(--secondary);
  color: var(--secondary);
  margin-left: 0.5rem;
}
.btn.call:hover {
  background: rgba(107, 142, 35, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid rgba(47, 107, 63, 0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.brand-logo {
  height: 45px;
  width: auto;
  display: block;
  filter: none; /* koyu temadaki parlaklık filtresini kaldır */
}
.brand-text {
  font-size: 1.5rem; /* eskisinden daha büyük */
  line-height: 1;
  color: var(--text);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 50px;
  width: auto;
  display: block;
  filter: none; /* koyu temadaki parlaklık filtresini kaldır */
}
.footer-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

@media (max-width: 980px) {
  .brand-logo {
    height: 38px;
  }
  .footer-logo {
    height: 44px;
  }
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
}
.nav a {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: #55655a;
}
.nav a:hover {
  background: rgba(47, 107, 63, 0.08);
  color: var(--text);
}
.cta-group {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-slider-wrap {
  --heroMinH: 78vh;
  background: radial-gradient(
      1200px 600px at 50% 10%,
      rgba(47, 107, 63, 0.1),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(var(--bg-alt), var(--bg));
}
.hero-swiper {
  width: 100%;
  height: var(--heroMinH);
}
.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-inner {
  width: min(1250px, 92vw);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) 0;
}
.slide-text .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.8;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
}
.slide-text h1 {
  line-height: 0.98;
  font-size: clamp(40px, 6vw, 80px);
  margin: 0 0 1rem;
  color: var(--text);
}
.slide-text .lead {
  font-size: clamp(14px, 1.5vw, 18px);
  max-width: 42ch;
  opacity: 0.9;
  margin-bottom: 1.25rem;
  color: var(--muted);
}
.slide-text .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slide-media {
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-media .placeholder-img {
  width: 100%;
  max-width: 620px;
  height: 400px;
  background: linear-gradient(45deg, var(--wood), var(--wood-light));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
}
.slide-media img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  filter: drop-shadow(0 24px 60px rgba(0, 0, 0, 0.4));
  transform: translateY(10px) scale(0.98);
  transition: transform 900ms cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-swiper .swiper-slide-active .slide-media img {
  transform: translateY(0) scale(1);
}

.section {
  padding: 64px 0;
}
.section.alt {
  background: var(--bg-alt);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.rounded {
  border-radius: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 1s ease;
  transition-delay: var(--delay, 0ms);
  will-change: transform, opacity;
}
.reveal.from-left {
  transform: translateX(-40px);
}
.reveal.from-right {
  transform: translateX(40px);
}
.reveal.from-top {
  transform: translateY(-60px);
  transition-duration: 1.8s;
}
.reveal.from-bottom {
  transform: translateY(60px);
}
.reveal.zoom-in {
  transform: scale(0.85);
}
.reveal.in-view {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.from-left,
  .reveal.from-right,
  .reveal.from-top,
  .reveal.from-bottom,
  .reveal.zoom-in {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.services-swiper {
  margin-top: 1rem;
}
.service-card {
  background: var(--bg-alt);
  border: 1px solid rgba(75, 124, 89, 0.15);
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid #e6ece7;
  box-shadow: 0 6px 18px rgba(31, 42, 22, 0.06);
}
.service-card:hover {
  transform: translateY(-5px);
  background: #fcfcfb;
}
.service-card .placeholder-img {
  width: 100%;
  height: 160px;
  background: linear-gradient(45deg, var(--wood), var(--wood-light));
  border-radius: 12px;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
}
.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.5rem;
}
.service-card h3 {
  margin: 0.25rem 0;
  color: var(--text);
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.works-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.work-item {
  background: var(--bg-alt);
  border: 1px solid #e6ece7;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease;
  box-shadow: 0 6px 18px rgba(31, 42, 22, 0.06);
}
.work-item:hover {
  transform: translateY(-5px);
  background: #fcfcfb;
}
.work-item .placeholder-img {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, var(--wood), var(--wood-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
}
.work-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.work-item-content {
  padding: 1rem;
}
.work-item h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text);
}
.work-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.accordion details {
  background: var(--bg-alt);
  border: 1px solid #e6ece7;
  padding: 16px;
  border-radius: 14px;
  margin: 0.5rem 0;
  box-shadow: 0 6px 18px rgba(31, 42, 22, 0.06);
}
.accordion summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
}

.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}
.map-wrap .placeholder-map {
  width: 100%;
  height: 320px;
  background: var(--bg-alt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  border: 1px solid rgba(75, 124, 89, 0.15);
}

.site-footer {
  padding: 32px 0;
  border-top: 1px solid #e6ece7;
  color: var(--muted);
  background: var(--bg-alt);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 1rem;
}
.footer-nav a:hover {
  color: var(--accent);
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e2e8e4;
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  box-shadow: 0 6px 18px rgba(31, 42, 22, 0.08);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--primary);
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid #e2e8e4;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
}
.swiper-pagination-bullet {
  background: #c5d5c7;
  opacity: 0.8;
}
.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: var(--primary);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #ffffff;
}

.btn-row {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .slide-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .slide-text h1 {
    font-size: clamp(36px, 9vw, 56px);
  }
  .slide-media img {
    max-width: 520px;
  }
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .works-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 640px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-swiper {
    height: auto;
  }
  .slide-media img {
    max-width: 420px;
  }
  .works-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brand img {
    height: 34px;
  }
  .brand-text {
    display: none;
  }
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(47, 107, 63, 0.15);
    padding: 12px 16px 16px;
    display: none;
    flex-direction: column;
    gap: 8px;
  }
  .nav.open {
    display: flex;
  }
  .cta-group {
    margin-left: 0;
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .cta-group .btn {
    padding: 0.6rem 0.85rem;
  }
  .nav-wrap {
    gap: 10px;
  }
}

body.nav-open {
  overflow: hidden;
}

h2 {
  color: var(--text);
  margin-bottom: 1.5rem;
}
.btn.insta {
  background: transparent; /* arka planı şeffaf */
  border: none; /* çerçevesiz */
  padding: 0; /* sıkı logo */
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn.insta img {
  display: block;
}
/* === Inline Modal Lightbox === */
.lb {
  position: fixed;
  inset: 0;
  display: none; /* .open ile görünür */
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72); /* sayfa üstünde */
  z-index: 9999;
  padding: 24px;
}
.lb.open {
  display: flex;
}
.lb__stage {
  position: relative;
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  display: grid;
  gap: 10px;
}
.lb__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  background: #111;
}
.lb__caption {
  display: grid;
  gap: 4px;
  color: #f5f5f5;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.lb__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}
.lb__desc {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

.lb__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.lb__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}
.lb__prev {
  left: 16px;
}
.lb__next {
  right: 16px;
}

@media (max-width: 640px) {
  .lb__img {
    max-height: 70vh;
  }
  .lb__caption {
    font-size: 0.95rem;
  }
}
/* === Lightbox okları: mobilde görselin ÜSTÜNDE, sahnenin içinde === */
.lb__stage {
  position: relative;
  z-index: 1;
}

.lb__nav,
.lb__close {
  z-index: 3;
} /* daima görselin üstünde */
.lb__nav {
  position: absolute !important; /* fixed yerine absolute */
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.lb__prev {
  left: 8px;
} /* sahnenin içinde kal */
.lb__next {
  right: 8px;
}

/* Küçük ekranlarda biraz daha içeri ve ufak */
@media (max-width: 640px) {
  .lb__nav {
    width: 40px;
    height: 40px;
  }
  .lb__prev {
    left: 6px;
  }
  .lb__next {
    right: 6px;
  }
}
/* Header hizalama (masaüstü) */
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  flex: 1;
  justify-content: center; /* ortada kalsın */
}
.cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}
/* Telefon butonu tek satır */
.btn.call {
  white-space: nowrap;
}

/* === MOBİL NAV GÖRÜNÜRLÜK DÜZELTME === */
@media (max-width: 768px) {
  /* varsayılan: kapalı */
  .nav {
    display: none !important;
  }

  /* hamburger ile açıldığında */
  .nav.open {
    display: flex !important;
  }

  /* mobil panel zaten sabit ve tam genişlik — sende mevcut kurallar geçerli */
  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    z-index: 60;
  }

  /* marka ve butonlar tek satır kalsın */
  .brand,
  .cta-group {
    white-space: nowrap;
  }
}
