:root {
  --bg: #f8faf5;
  --bg-alt: #ffffff;
  --text: #1a2e05;
  --muted: #4a5c3a;
  --primary: #2d5016;
  --secondary: #4a7c2f;
  --accent: #6b9e47;
  --white: #ffffff;
  --cool: #2d3e1f;
  --cool-light: #e8f3dc;
}

* {
  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;
}

/* Video Background */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: 0.2s;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

.btn.primary:hover {
  background: var(--secondary);
}

.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn.ghost:hover {
  background: rgba(45, 80, 22, 0.08);
}

.btn.whats {
  background: #25d366;
  color: #fff;
  font-weight: 700;
}

.btn.whats:hover {
  background: #22c55e;
}

.btn.call {
  border-color: var(--secondary);
  color: var(--secondary);
  margin-left: 0.5rem;
}

.btn.call:hover {
  background: rgba(74, 124, 47, 0.08);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid var(--cool-light);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.75rem 0;
  min-height: 60px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo {
  height: 45px;
  width: auto;
  display: block;
}

.brand-text {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
}

.nav a {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: var(--muted);
}

.nav a:hover {
  background: rgba(45, 80, 22, 0.08);
  color: var(--text);
}

.cta-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero */
.hero-slider-wrap {
  --heroMinH: 78vh;
  background: radial-gradient(
      1200px 600px at 50% 10%,
      rgba(45, 80, 22, 0.08),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(var(--bg-alt), var(--bg));
  position: relative;
}

.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, 74px);
  margin: 0 0 1rem;
  color: var(--text);
}

.slide-text .lead {
  font-size: clamp(14px, 1.5vw, 18px);
  max-width: 46ch;
  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 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.35));
  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);
}

/* Sections */
.section {
  padding: 64px 0;
  position: relative;
  background: var(--bg);
}

.section.alt {
  background: var(--bg-alt);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.rounded {
  border-radius: 18px;
}

h2 {
  color: var(--text);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* Reveal Animation */
.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.in-view {
  opacity: 1;
  transform: none;
}

/* Service Cards */
.services-swiper {
  margin-top: 1rem;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--cool-light);
  padding: 16px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(45, 80, 22, 0.06);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(45, 80, 22, 0.12);
}

.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 */
.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 var(--cool-light);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 18px rgba(45, 80, 22, 0.06);
  cursor: pointer;
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(45, 80, 22, 0.12);
}

.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;
}

/* Video Wrap */
.video-wrap {
  width: 100%;
  height: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(45, 80, 22, 0.12);
}

.video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Map */
.map-wrap iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--cool-light);
  color: var(--muted);
  background: var(--bg-alt);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
}

.footer-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}

.footer-nav {
  display: flex;
  gap: 1rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--cool-light);
  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(45, 80, 22, 0.08);
  font-size: 1.2rem;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
}

/* Swiper Custom Styles */
.swiper-button-prev,
.swiper-button-next {
  color: var(--primary);
  width: 42px;
  height: 42px;
  background: #ffffff;
  border: 1px solid var(--cool-light);
  border-radius: 12px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
}

.swiper-pagination-bullet {
  background: #c5d9b5;
  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;
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  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;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
}

.lb__nav {
  position: 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);
  color: #fff;
  font-size: 28px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.lb__prev {
  left: 8px;
}

.lb__next {
  right: 8px;
}

/* Responsive */
@media (max-width: 980px) {
  .brand-logo {
    height: 38px;
  }

  .footer-logo {
    height: 44px;
  }

  .slide-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .slide-text h1 {
    font-size: clamp(36px, 9vw, 56px);
  }
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .works-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    width: 94%;
  }

  .nav-wrap {
    gap: 8px;
  }

  .brand-logo {
    height: 32px;
  }

  .nav-toggle {
    font-size: 1.3rem;
  }

  .cta-group {
    gap: 6px;
    margin-left: 0;
  }

  .cta-group #btnWhats {
    display: none !important;
  }

  .nav #btnWhats {
    display: block !important;
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }

  .btn.call {
    font-size: 13px;
    padding: 0.45rem 0.6rem;
    border-radius: 12px;
  }

  .nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 60px;
    z-index: 60;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--cool-light);
    padding: 12px 16px 16px;
    flex-direction: column;
    gap: 8px;
  }

  .nav.open {
    display: flex !important;
  }

  .lb__nav {
    width: 40px;
    height: 40px;
  }

  .lb__prev {
    left: 6px;
  }

  .lb__next {
    right: 6px;
  }
}

@media (max-width: 640px) {
  .hero-swiper {
    height: auto;
  }

  .works-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  #btnCall .full-label {
    display: none;
  }

  #btnCall .short-label,
  #btnCall .only-icon {
    display: inline;
  }
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .container {
    width: 94%;
  }
  .nav-wrap {
    gap: 8px;
  }
  .brand-logo {
    height: 38px;
  }
  .nav-toggle {
    font-size: 1.3rem;
  }
  /* ... diğer kodlar */
}

@media (max-width: 390px) {
  .btn.call {
    font-size: 12px;
    padding: 0.42rem 0.54rem;
  }
}
