/* =========================================
   SYNTARYFORM — Main Styles
   ========================================= */

/* ---- Base ---- */
body {
  font-family: var(--ff-body);
  background: var(--clr-white);
  color: var(--clr-text);
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--sp-sm);
}

/* ---- Section Base ---- */
section {
  padding: var(--sp-xl) 0;
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.section-header h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-light);
  color: var(--clr-brown);
  margin-bottom: var(--sp-xs);
  letter-spacing: 0.08em;
}

.section-header .section-line {
  width: 60px;
  height: 2px;
  background: var(--clr-terra);
  margin: var(--sp-sm) auto;
  border-radius: var(--radius-full);
}

.section-header p {
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   LOADING SCREEN
   ========================================= */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--clr-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
  /* Açılış: perde gibi yukarı kalkar */
  transition: transform 1s var(--ease-in-out), visibility 0s linear 1s;
}

#loading-screen.hidden {
  transform: translateY(-100%);
  visibility: hidden;
  pointer-events: none;
}

#loading-screen.hidden .loader-mark {
  opacity: 0;
  transform: translateY(-24px);
  transition: opacity 0.5s ease, transform 0.6s var(--ease-in-out);
}

/* "Eskizden forma" — tüm zamanlama animations.js içinde */
.loader-mark {
  width: 640px;
  max-width: 90vw;
  height: auto;
  overflow: visible;
}

.lm-text {
  font-family: var(--ff-heading);
  font-size: 60px;
  font-weight: 500;
  letter-spacing: 8px;
}

.lm-outline {
  fill: none;
  stroke: rgba(245, 236, 215, 0.55);
  stroke-width: 0.8;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.lm-hatch { fill: url(#lm-hatch); }
.lm-hatch-line { stroke: var(--clr-terra-lt); stroke-width: 1.6; }
.lm-solid { fill: var(--clr-beige); }

.lm-guide {
  stroke: rgba(245, 236, 215, 0.2);
  stroke-width: 0.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.lm-tagline {
  font-family: var(--ff-heading);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 8px;
  fill: rgba(245, 236, 215, 0.7);
  opacity: 0;
}

/* =========================================
   NAVIGATION
   ========================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  transition: all var(--duration-normal) var(--ease-out);
  padding: 0 5%;
}

.navbar.scrolled {
  background: rgba(28, 16, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

/* Telefonda "buzlu cam" bulanıklığı, altında hareket eden sahne varken her karede
   yeniden hesaplanır ve kaydırmayı takıltır — yerine neredeyse opak zemin */
@media (max-width: 768px) {
  .navbar.scrolled {
    background: rgba(28, 16, 7, 0.98);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navbar Logo — SF işareti (PNG, şeffaf) */
.nav-logo-img-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 60px;
}

.nav-logo-img {
  height: 48px;    /* PNG 400w × 510h — yükseklik baz kontrol */
  width: auto;
  display: block;
  opacity: 0.82;
  transition: opacity 0.3s ease;
}

.nav-logo-img:hover {
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.nav-links a {
  font-size: var(--fs-nav);
  color: rgba(245, 236, 215, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding: var(--sp-xs) 0;
  transition: color var(--duration-fast) ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-terra);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--clr-beige);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* İletişim — turuncu hap buton (TR/EN kutusuyla aynı form) */
.nav-links a.nav-cta {
  background: var(--clr-terra);
  color: var(--clr-white);
  border: 1px solid var(--clr-terra);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  height: 42px; /* .lang-toggle ile aynı yükseklik */
  padding: 0 20px;
  font-size: 0.75rem;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active {
  background: var(--clr-terra-dk);
  border-color: var(--clr-terra-dk);
  color: var(--clr-white);
}

.nav-links a.nav-cta::after {
  display: none;
}
/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: var(--sp-2xs);
  background: rgba(245, 236, 215, 0.1);
  border: 1px solid rgba(245, 236, 215, 0.15);
  border-radius: var(--radius-full);
  padding: 4px;
  margin-left: var(--sp-sm);
}

.lang-toggle button {
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
  color: rgba(245, 236, 215, 0.5);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) ease;
}

.lang-toggle button.active {
  background: var(--clr-terra);
  color: var(--clr-white);
}

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--clr-beige);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* =========================================
   HERO SECTION
   ========================================= */
/* Video bandı: ekranın ~%85'ini kaplar, altında sonraki bölüm görünür.
   Menü sabit olduğu için üstten menü yüksekliği kadar boşluk bırakılır. */
#hero {
  height: 85vh;
  min-height: 480px;
  max-height: 960px;
  margin-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: var(--z-behind);
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Videonun üzerinde yazı yok: sadece üstte menü okunsun diye hafif koyuluk */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 16, 7, 0.45) 0%,
    rgba(28, 16, 7, 0.08) 22%,
    rgba(28, 16, 7, 0) 70%,
    rgba(28, 16, 7, 0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  text-align: center;
  color: var(--clr-beige);
  padding: 0 var(--sp-md);
}

.hero-content .hero-tag {
  font-size: var(--fs-small);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--clr-terra-lt);
  margin-bottom: var(--sp-sm);
  opacity: 0;
  animation: fadeInDown 1s var(--ease-out) 0.5s forwards;
}

.hero-logo-wrap {
  margin-bottom: var(--sp-md);
  opacity: 0;
  animation: heroTitleReveal 1.5s var(--ease-out) 0.8s forwards;
  display: flex;
  justify-content: center;
  overflow: hidden;
  max-height: 30vh;
}

.hero-logo-img {
  /* SVG 798 × 1373 px — genişliği sınırla, yükseklik otomatik */
  width: clamp(60px, 7vw, 100px);
  height: auto;
  object-fit: contain;
  opacity: 0.92;
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: block;
  filter: drop-shadow(0 0 16px rgba(245, 236, 215, 0.15));
}

.hero-logo-img:hover {
  opacity: 1;
  transform: scale(1.04);
}

.hero-content .hero-line {
  width: 80px;
  height: 1px;
  background: var(--clr-terra);
  margin: 0 auto var(--sp-md);
  opacity: 0;
  transform: scaleX(0);
  animation: heroLine 1s var(--ease-out) 1.8s forwards, fadeIn 1s var(--ease-out) 1.8s forwards;
}

.hero-content .hero-subtitle {
  font-size: var(--fs-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 236, 215, 0.7);
  margin-bottom: var(--sp-lg);
  opacity: 0;
  animation: heroSubtitleReveal 1s var(--ease-out) 2.2s forwards;
}

.hero-cta-group {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 1s var(--ease-out) 2.6s forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xs);
  color: rgba(245, 236, 215, 0.5);
  font-size: var(--fs-small);
  letter-spacing: 0.15em;
  animation: bounceDown 2s infinite;
  cursor: pointer;
}

.hero-scroll-indicator svg {
  width: 20px;
  height: 20px;
  stroke: var(--clr-terra-lt);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  padding: 14px 36px;
  font-size: var(--fs-btn);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--clr-terra);
  color: var(--clr-white);
  border: 1px solid var(--clr-terra);
}

.btn-primary:hover {
  background: var(--clr-terra-lt);
  border-color: var(--clr-terra-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 98, 45, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--clr-beige);
  border: 1px solid rgba(245, 236, 215, 0.3);
}

.btn-outline:hover {
  background: rgba(245, 236, 215, 0.1);
  border-color: var(--clr-beige);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--clr-brown);
  color: var(--clr-beige);
  border: 1px solid var(--clr-brown);
}

.btn-dark:hover {
  background: var(--clr-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
#about {
  background: var(--clr-white);
}

/* Solda logo, sağda metin (Uslu tarzı) */
.about-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: var(--sp-xl);
  align-items: center;
}

.about-logo {
  display: flex;
  justify-content: center;
  padding-right: var(--sp-lg);
  border-right: 1px solid rgba(61, 35, 20, 0.15);
}

.about-logo img {
  width: min(170px, 50%);
  height: auto;
  display: block;
}

/* İki paragraf aynı boyut ve renkte, aralarında küçük boşluk */
.about-text p {
  font-family: var(--ff-heading);
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: var(--fw-regular);
  line-height: 1.5;
  color: var(--clr-brown);
  margin-bottom: var(--sp-sm);
}

.about-text p:last-child { margin-bottom: 0; }

.about-text h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-light);
  color: var(--clr-brown);
  margin-bottom: var(--sp-sm);
  letter-spacing: 0.05em;
}

/* Rakamlar: logo + metnin altında, yan yana, kutusuz; aralarında ince çizgi */
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: var(--sp-xl);
  padding-top: var(--sp-lg);
  border-top: 1px solid rgba(61, 35, 20, 0.15);
}

.stat-item {
  text-align: center;
  padding: 0 var(--sp-md);
}

.stat-item + .stat-item {
  border-left: 1px solid rgba(61, 35, 20, 0.15);
}

.stat-number {
  font-family: var(--ff-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: var(--fw-light);
  color: var(--clr-terra);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.stat-label {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .about-logo { border-right: 0; padding: 0 0 var(--sp-md); border-bottom: 1px solid rgba(61, 35, 20, 0.15); }
  .about-logo img { width: 110px; }
  .about-text { text-align: center; }
  .about-text p { font-size: 1.2rem; }
  .about-stats { margin-top: var(--sp-md); padding-top: var(--sp-md); }
  .stat-item { padding: 0 var(--sp-xs); }
  .stat-number { font-size: 2.6rem; }
  .stat-label { font-size: 0.62rem; letter-spacing: 0.12em; }
}

/* =========================================
   SERVICES — kaydırmaya bağlı sahne (js/services-scroll.js)
   ========================================= */
.services-scroll {
  height: 420vh;          /* kaydırma mesafesi: ne kadar uzunsa animasyon o kadar yavaş */
  padding: 0;
  overflow: visible;      /* overflow:hidden sticky'yi bozar */
  background: #E9DCC6;
}

.ss-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.ss-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Başlık: sahnenin başında görünür, ilk hizmet gelirken kaybolur (js) */
.ss-heading {
  position: absolute;
  top: calc(var(--nav-height) + 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  padding: 1rem 3rem 1.25rem;
}

/* Arka planda leke/ışık yok — okunurluk için sadece harflerin çevresinde
   çok ince krem bir hale (yazı sahnenin doğal ışığıyla çelişmesin) */
.ss-heading,
.ss-item {
  text-shadow: 0 0 14px rgba(250, 243, 232, 0.85), 0 0 2px rgba(250, 243, 232, 0.6);
}

.ss-heading h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-light);
  letter-spacing: 0.08em;
  color: var(--clr-brown);
  white-space: nowrap;
}

.ss-heading .section-line {
  margin: var(--sp-xs) auto 0;
}

.ss-item {
  position: absolute;
  top: calc(var(--nav-height) + 2rem);
  max-width: 540px;
  padding: var(--sp-md);
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  isolation: isolate;
  will-change: transform, opacity;
}

.ss-left  { left: 4vw; }
.ss-right { right: 4vw; text-align: right; }

/* Dört köşe: üsttekiler menünün altında, alttakiler ekranın altında */
.ss-bottom {
  top: auto;
  bottom: 5.5rem; /* WhatsApp ve yukarı çık butonlarının üstünde */
  max-width: 420px;
}

/* Masaüstünde dört hizmet birden kaldığı için "HİZMETLERİMİZ" etiketi
   her birinde tekrar etmesin — telefonda (tek tek gelirken) görünür */
@media (min-width: 769px) {
  .ss-item .ss-label { display: none; }
}

.ss-label {
  display: block;
  font-size: 0.72rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-terra);
  margin-bottom: var(--sp-xs);
}

.ss-item h3 {
  font-family: var(--ff-heading);
  font-size: clamp(2rem, 2.9vw, 2.9rem);
  font-weight: var(--fw-regular);
  color: var(--clr-brown);
  line-height: 1.1;
}

/* Başlığın altında ince turuncu çizgi */
.ss-item h3::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  margin: var(--sp-sm) 0;
  background: var(--clr-terra);
}

.ss-right h3::after { margin-left: auto; }

.ss-item p {
  color: var(--clr-brown-lt);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 400px;
}

.ss-right p { margin-left: auto; }

/* Ev tamamlanınca beliren buton (js) */
.ss-cta {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  white-space: nowrap;
}

/* İnce ilerleme çizgisi (sağ kenar) */
.ss-progress {
  position: absolute;
  right: 2.2vw;
  top: 50%;
  width: 2px;
  height: 120px;
  transform: translateY(-50%);
  background: rgba(61, 35, 20, 0.12);
  border-radius: 2px;
  overflow: hidden;
  z-index: 2;
}

.ss-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--clr-terra);
  transform-origin: top;
  transform: scaleY(0);
}

/* "↓ Kaydırın" işareti — bölümün başında görünür, kaydırınca kaybolur (js) */
.ss-hint {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.1rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(253, 250, 245, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--clr-brown);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.ss-hint svg {
  width: 18px;
  height: 18px;
  color: var(--clr-terra);
  animation: ss-hint-bounce 1.6s ease-in-out infinite;
}

@keyframes ss-hint-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .ss-hint svg { animation: none; }
}

@media (max-width: 768px) {
  .services-scroll { height: 360vh; }
  /* WhatsApp ve yukarı butonlarının üstünde */
  .ss-hint,
  .ss-cta { bottom: 6.5rem; }

  .ss-heading { top: calc(var(--nav-height) + 1.25rem); }

  /* Telefonda iki köşe yan yana sığmaz: üstte, tam genişlikte, hepsi sola yaslı */
  .ss-item,
  .ss-right,
  .ss-bottom {
    top: calc(var(--nav-height) + 1rem);
    bottom: auto;
    left: 16px;
    right: 16px;
    max-width: none;
    padding: var(--sp-sm) 0.5rem;
    text-align: left;
  }

  .ss-right h3::after { margin-left: 0; }

  .ss-progress { display: none; }
}

/* =========================================
   SERVICES SECTION (eski kart düzeni — artık kullanılmıyor)
   ========================================= */
#services {
  background: var(--clr-beige);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-md);
}

.service-card {
  perspective: 1000px;
  height: 380px;
  cursor: pointer;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: var(--radius-lg);
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service-card-front {
  background: var(--clr-white);
  box-shadow: var(--shadow-sm);
}

.service-card-front .service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--clr-terra), var(--clr-terra-lt));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  font-size: 1.8rem;
}

.service-card-front h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-regular);
  color: var(--clr-brown);
  margin-bottom: var(--sp-xs);
  letter-spacing: 0.05em;
}

.service-card-front p {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
}

.service-card-back {
  background: linear-gradient(135deg, var(--clr-brown), var(--clr-dark));
  color: var(--clr-beige);
  transform: rotateY(180deg);
}

.service-card-back h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  margin-bottom: var(--sp-sm);
  color: var(--clr-terra-lt);
}

.service-card-back p {
  font-size: var(--fs-small);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
  color: rgba(245, 236, 215, 0.8);
}

.service-card-back .btn {
  padding: 10px 24px;
  font-size: 0.8rem;
}

/* =========================================
   PORTFOLIO SECTION
   ========================================= */
#portfolio {
  background: var(--clr-beige);
}

/* =========================================
   PROJE KARTLARI (ana sayfa + projeler.html) — js/projects.js
   Büyük görsel, altında sade başlık + konum (Uslu Architects tarzı)
   ========================================= */
.projects-head {
  margin-bottom: var(--sp-lg);
}

.projects-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-terra);
  margin-bottom: var(--sp-xs);
}

.projects-head h1,
.projects-head h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  font-weight: var(--fw-light);
  letter-spacing: 0.04em;
  color: var(--clr-brown);
  line-height: 1.1;
}

/* Dikey kartlar: ana sayfada 4'lü, projeler sayfasında 3'lü sıra */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg) var(--sp-md);
}

.projects-page .projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1100px) {
  .projects-grid,
  .projects-page .projects-grid { grid-template-columns: repeat(2, 1fr); }
}

.project-card {
  cursor: pointer;
}

.project-card[hidden] { display: none; }

.project-card-img {
  overflow: hidden;
  aspect-ratio: 4 / 5; /* renderlar dikey */
  background: var(--clr-beige-dk);
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}

.project-card:hover .project-card-img img {
  transform: scale(1.05);
}

.project-card-body {
  padding-top: var(--sp-sm);
  border-bottom: 1px solid rgba(61, 35, 20, 0.15);
  padding-bottom: var(--sp-sm);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: var(--sp-sm);
}

.project-card-body h3 {
  font-family: var(--ff-heading);
  font-size: clamp(1.35rem, 1.7vw, 1.75rem);
  font-weight: var(--fw-regular);
  color: var(--clr-brown);
  line-height: 1.2;
  grid-column: 1;
}

.project-card-loc {
  grid-column: 1;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  margin-top: 0.3rem;
}

.project-card-link {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-terra);
  white-space: nowrap;
  transition: transform var(--duration-normal) var(--ease-out);
}

.project-card:hover .project-card-link {
  transform: translateX(4px);
}

.projects-more {
  text-align: center;
  margin-top: var(--sp-lg);
}

.projects-btn {
  color: var(--clr-brown);
  border-color: var(--clr-brown);
}

.projects-btn:hover {
  background: var(--clr-brown);
  color: var(--clr-white);
}

/* projeler.html — üst başlık + filtre */
.projects-page {
  padding-top: calc(var(--nav-height) + var(--sp-xl));
  padding-bottom: var(--sp-xl);
  background: var(--clr-white);
  min-height: 100vh;
}

.projects-page .projects-head p {
  max-width: 560px;
  margin-top: var(--sp-sm);
  color: var(--clr-text-muted);
  line-height: 1.7;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
  border-bottom: 1px solid rgba(61, 35, 20, 0.12);
}

.project-filter {
  padding: 0 0 var(--sp-sm);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.project-filter:hover { color: var(--clr-brown); }

.project-filter.active {
  color: var(--clr-brown);
  border-bottom-color: var(--clr-terra);
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
  /* Telefonda filtreler tek satır, yana kaydırılabilir */
  .project-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: var(--sp-md);
    scrollbar-width: none;
  }
  .project-filters::-webkit-scrollbar { display: none; }
  .project-filter { white-space: nowrap; flex-shrink: 0; }
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border: 1px solid var(--clr-beige-dk);
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-terra);
  color: var(--clr-white);
  border-color: var(--clr-terra);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--sp-md);
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: transform var(--duration-normal) var(--ease-out);
}

.portfolio-item:hover {
  transform: translateY(-4px);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.portfolio-item:hover img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 16, 7, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--sp-md);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-beige);
  margin-bottom: var(--sp-2xs);
}

.portfolio-overlay span {
  font-size: var(--fs-small);
  color: var(--clr-terra-lt);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--clr-overlay-dark);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn var(--duration-slow) var(--ease-out);
}

.lightbox-img {
  width: 100%;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 500px;
  object-fit: cover;
}

.lightbox-info {
  padding: var(--sp-md);
}

.lightbox-info h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--clr-brown);
  margin-bottom: var(--sp-xs);
}

.lightbox-info p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-beige);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.lightbox-close:hover {
  background: var(--clr-terra);
  transform: rotate(90deg);
}

/* =========================================
   SHOP SECTION
   ========================================= */
#shop {
  background: var(--clr-white);
}

.shop-categories {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
  flex-wrap: wrap;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-md);
}

.product-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--clr-beige-dk); /* beyaz zeminde kart sınırı belli olsun */
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--clr-beige);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.product-card:hover .product-card-img img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--clr-terra);
  color: var(--clr-white);
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.product-card-body {
  padding: var(--sp-sm) var(--sp-md);
}

.product-card-body h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-brown);
  margin-bottom: var(--sp-2xs);
}

.product-card-body .product-category {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--sp-xs);
}

.product-card-body .product-price {
  font-family: var(--ff-heading);
  font-size: 1.3rem;
  color: var(--clr-terra);
  font-weight: var(--fw-semibold);
}

.product-card-footer {
  padding: 0 var(--sp-md) var(--sp-sm);
  display: flex;
  gap: var(--sp-xs);
}

.product-card-footer .btn {
  flex: 1;
  justify-content: center;
  padding: 12px 6px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Product Modal */
.product-modal {
  position: fixed;
  inset: 0;
  background: var(--clr-overlay-dark);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) ease;
}

.product-modal.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-content {
  background: var(--clr-white);
  border-radius: var(--radius-xl);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modalIn var(--duration-slow) var(--ease-out);
}

.product-modal-img {
  background: var(--clr-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  border-radius: var(--radius-xl) 0 0 var(--radius-xl);
}

.product-modal-img img {
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.product-modal-info {
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-modal-info h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--clr-brown);
  margin-bottom: var(--sp-xs);
}

.product-modal-info .modal-category {
  font-size: var(--fs-small);
  color: var(--clr-terra);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}

.product-modal-info p {
  color: var(--clr-text-muted);
  font-size: var(--fs-body);
  margin-bottom: var(--sp-md);
  line-height: 1.8;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-md);
}

.spec-item {
  padding: var(--sp-xs);
  background: var(--clr-beige);
  border-radius: var(--radius-md);
  text-align: center;
}

.spec-item .spec-label {
  font-size: 0.7rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-item .spec-value {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  color: var(--clr-brown);
  font-weight: var(--fw-semibold);
}

.product-modal-info .modal-price {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  color: var(--clr-terra);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-md);
}

.product-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text);
  font-size: 1.3rem;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.product-modal-close:hover {
  background: var(--clr-terra);
  color: var(--clr-white);
  transform: rotate(90deg);
}

/* =========================================
   QUOTE / TEKLIF FORM
   ========================================= */
#quote {
  background: var(--clr-white);
}

.quote-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: var(--clr-beige);
  border-radius: var(--radius-xl);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-md);
}

/* Progress Steps */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--sp-lg);
  position: relative;
}

.form-progress::before {
  content: '';
  position: absolute;
  top: 20px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--clr-beige-dk);
}

.form-progress .progress-fill {
  position: absolute;
  top: 20px;
  left: 10%;
  height: 2px;
  background: var(--clr-terra);
  transition: width var(--duration-slow) var(--ease-out);
  width: 0%;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-xs);
  position: relative;
  z-index: 2;
}

.progress-step .step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--clr-white);
  border: 2px solid var(--clr-beige-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--clr-text-muted);
  transition: all var(--duration-normal) var(--ease-out);
}

.progress-step.active .step-circle {
  border-color: var(--clr-terra);
  color: var(--clr-terra);
  box-shadow: 0 0 0 4px rgba(196, 98, 45, 0.15);
}

.progress-step.done .step-circle {
  background: var(--clr-terra);
  border-color: var(--clr-terra);
  color: var(--clr-white);
}

.progress-step .step-label {
  font-size: 0.7rem;
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.progress-step.active .step-label,
.progress-step.done .step-label {
  color: var(--clr-terra);
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeInUp var(--duration-slow) var(--ease-out);
}

.form-step h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-brown);
  margin-bottom: var(--sp-md);
  text-align: center;
}

/* Project Type Selector */
.project-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.project-type-item {
  padding: var(--sp-md);
  background: var(--clr-white);
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.project-type-item:hover {
  border-color: var(--clr-terra-lt);
  transform: translateY(-2px);
}

.project-type-item.selected {
  border-color: var(--clr-terra);
  background: rgba(196, 98, 45, 0.05);
}

.project-type-item .type-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-xs);
}

.project-type-item .type-label {
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--clr-brown);
}

/* Form Inputs */
.form-group {
  margin-bottom: var(--sp-sm);
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--clr-brown);
  margin-bottom: var(--sp-2xs);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--clr-white);
  border: 1px solid var(--clr-beige-dk);
  border-radius: var(--radius-md);
  font-size: var(--fs-body);
  color: var(--clr-text);
  transition: border-color var(--duration-fast) ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--clr-terra);
  outline: none;
  box-shadow: 0 0 0 3px rgba(196, 98, 45, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

/* Budget Range */
.budget-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xs);
}

.budget-option {
  padding: 12px;
  background: var(--clr-white);
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  color: var(--clr-brown);
}

.budget-option:hover {
  border-color: var(--clr-terra-lt);
}

.budget-option.selected {
  border-color: var(--clr-terra);
  background: rgba(196, 98, 45, 0.05);
}

/* Form Navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--sp-md);
}

/* Success Screen */
.form-success {
  text-align: center;
  padding: var(--sp-lg) 0;
}

.form-success .success-icon {
  font-size: 4rem;
  margin-bottom: var(--sp-sm);
  animation: fadeInScale var(--duration-slow) var(--ease-spring);
}

.form-success h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--clr-brown);
  margin-bottom: var(--sp-xs);
}

.form-success p {
  color: var(--clr-text-muted);
}

/* =========================================
   TESTIMONIALS SECTION
   ========================================= */
#testimonials {
  background: var(--clr-dark);
  color: var(--clr-beige);
}

#testimonials .section-header h2 {
  color: var(--clr-beige);
}

#testimonials .section-header p {
  color: rgba(245, 236, 215, 0.6);
}

.testimonials-track {
  display: flex;
  gap: var(--sp-md);
  overflow: hidden;
  position: relative;
}

.testimonial-card {
  min-width: 400px;
  max-width: 400px;
  background: rgba(245, 236, 215, 0.06);
  border: 1px solid rgba(245, 236, 215, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--sp-md);
  flex-shrink: 0;
}

.testimonial-card .quote-mark {
  font-family: var(--ff-heading);
  font-size: 3rem;
  color: var(--clr-terra);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.testimonial-card p {
  font-size: var(--fs-body);
  color: rgba(245, 236, 215, 0.8);
  margin-bottom: var(--sp-md);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.testimonial-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-terra);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-heading);
  font-size: 1.2rem;
  color: var(--clr-white);
}

.testimonial-author-info .author-name {
  font-weight: var(--fw-semibold);
  color: var(--clr-beige);
  font-size: var(--fs-body);
}

.testimonial-author-info .author-project {
  font-size: var(--fs-small);
  color: var(--clr-terra-lt);
}

/* Referans kartı: yorum yerine proje konumu + açıklaması */
.testimonial-location {
  font-size: var(--fs-small);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-terra-lt);
  margin-bottom: var(--sp-sm);
}

.testimonial-location + p {
  font-style: normal;
}

.testimonial-stars {
  color: var(--clr-terra);
  margin-bottom: var(--sp-xs);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-md);
}

.testimonials-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(245, 236, 215, 0.2);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}

.testimonials-dots .dot.active {
  background: var(--clr-terra);
  width: 30px;
  border-radius: var(--radius-full);
}

/* =========================================
   CONTACT SECTION
   ========================================= */
#contact {
  background: var(--clr-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

.contact-info {
  padding-right: var(--sp-md);
}

.contact-info h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--clr-brown);
  margin-bottom: var(--sp-sm);
}

.contact-info p {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-md);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.contact-detail .detail-icon {
  width: 48px;
  height: 48px;
  background: var(--clr-beige);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail .detail-text h4 {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--clr-brown);
}

.contact-detail .detail-text p {
  font-size: var(--fs-small);
  color: var(--clr-text-muted);
  margin: 0;
}

.contact-socials {
  display: flex;
  gap: var(--sp-sm);
}

.social-link {
  width: 44px;
  height: 44px;
  background: var(--clr-beige);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--clr-brown);
  transition: all var(--duration-fast) ease;
}

.social-link:hover {
  background: var(--clr-terra);
  color: var(--clr-white);
  transform: translateY(-2px);
}

.contact-form-wrapper {
  background: var(--clr-beige);
  border-radius: var(--radius-xl);
  padding: var(--sp-md);
}

/* Bilgisayarda "Numara kopyalandı" bildirimi (js/call.js) */
.call-toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translate(-50%, 20px);
  background: var(--clr-dark);
  color: var(--clr-beige);
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 10000;
}

.call-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Form yerine: arama + WhatsApp kartı */
.contact-call {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: var(--sp-sm);
  height: 100%;
  text-align: center;
}

.contact-call h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-brown);
}

.contact-call p {
  color: var(--clr-text-muted);
}

.contact-call .btn {
  width: 100%;
  justify-content: center;
}

.contact-wa-btn {
  background: var(--clr-whatsapp);
  color: #fff;
  border: none;
}

.contact-wa-btn:hover {
  filter: brightness(0.92);
}

.contact-call .contact-call-number {
  font-family: var(--ff-heading);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--clr-brown);
}

.contact-map {
  margin-top: var(--sp-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  background: var(--clr-beige-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body);
  color: var(--clr-text-muted);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--clr-dark);
  color: var(--clr-beige);
  padding: var(--sp-xl) 0 var(--sp-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-lg);
}

.footer-brand .footer-logo {
  font-family: var(--ff-heading);
  font-size: 1.8rem;
  letter-spacing: 0.2em;
  margin-bottom: var(--sp-sm);
}

.footer-brand .footer-logo span {
  color: var(--clr-terra);
}

.footer-brand p {
  font-size: var(--fs-small);
  color: rgba(245, 236, 215, 0.6);
  line-height: 1.8;
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
  color: var(--clr-terra-lt);
}

.footer-col a {
  display: block;
  font-size: var(--fs-small);
  color: rgba(245, 236, 215, 0.6);
  padding: var(--sp-2xs) 0;
  transition: color var(--duration-fast) ease;
}

.footer-col a:hover {
  color: var(--clr-beige);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 236, 215, 0.1);
  padding-top: var(--sp-md);
  padding-bottom: 5rem; /* sabit WhatsApp/yukarı butonları Instagram'ın üstüne binmesin */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: var(--fs-small);
  color: rgba(245, 236, 215, 0.4);
}

/* =========================================
   WHATSAPP FLOATING BUTTON
   ========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: var(--z-above);
  width: 60px;
  height: 60px;
  background: var(--clr-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  animation: pulse 2s infinite;
  cursor: pointer;
  transition: transform var(--duration-fast) ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: white;
}

/* =========================================
   SCROLL TO TOP
   ========================================= */
.scroll-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: var(--z-above);
  width: 44px;
  height: 44px;
  background: var(--clr-brown);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-beige);
  font-size: 1.2rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--clr-terra);
  transform: translateY(-3px);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-modal-content {
    grid-template-columns: 1fr;
  }
  
  .product-modal-img {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--sp-lg) 0;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: var(--clr-dark);
    flex-direction: column;
    justify-content: center;
    gap: var(--sp-md);
    padding: var(--sp-lg);
    transition: right var(--duration-normal) var(--ease-out);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  }
  
  .nav-links.open {
    right: 0;
  }
  
  .nav-hamburger {
    display: flex;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    height: auto;
  }
  
  .service-card-inner {
    transform: none !important;
  }
  
  .service-card-front {
    position: relative;
    padding: var(--sp-md);
  }
  
  .service-card-back {
    display: none;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .shop-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .project-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }
  
  .testimonial-card {
    min-width: 300px;
    max-width: 300px;
  }
  
  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: clamp(2rem, 10vw, 3.5rem);
  }
  
  .budget-options {
    grid-template-columns: 1fr;
  }
  
  .product-specs {
    grid-template-columns: 1fr;
  }
  
  .lang-toggle {
    position: absolute;
    top: var(--nav-height);
    right: 5%;
  }
  
  .quote-wrapper {
    padding: var(--sp-md);
  }
  
  .form-progress .step-label {
    display: none;
  }
}

/* =========================================
   PROJE DETAY SAYFASI (proje.html) — js/project-page.js
   ========================================= */
a.project-card { display: block; color: inherit; }

/* Menü kapağın üstünde şeffaf başlar */
.pd-nav:not(.scrolled) { background: transparent; box-shadow: none; }

.pd-hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  overflow: hidden;
  background: var(--clr-dark);
}

.pd-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,16,7,0.45) 0%, rgba(28,16,7,0) 30%, rgba(28,16,7,0) 50%, rgba(28,16,7,0.7) 100%);
}

.pd-hero-inner {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--sp-lg);
  z-index: 1;
  color: var(--clr-white);
}

.pd-back {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.75);
  margin-bottom: var(--sp-md);
  transition: color var(--duration-fast) ease;
}

.pd-back:hover { color: var(--clr-white); }

.pd-cat {
  display: block;
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-terra-lt);
  margin-bottom: var(--sp-xs);
}

.pd-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: var(--fw-light);
  line-height: 1.02;
  letter-spacing: 0.01em;
}

.pd-loc {
  margin-top: var(--sp-xs);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.8);
}

/* Bilgiler (sol) + metin (sağ) */
.pd-intro {
  background: var(--clr-white);
  padding: var(--sp-xl) 0;
}

.pd-intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr;
  gap: var(--sp-xl);
}

.pd-facts {
  border-top: 1px solid rgba(61, 35, 20, 0.15);
  align-self: start;
}

.pd-facts > div {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-sm);
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(61, 35, 20, 0.15);
}

.pd-facts dt {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.pd-facts dd {
  font-size: 0.95rem;
  color: var(--clr-brown);
  text-align: right;
}

.pd-summary {
  font-family: var(--ff-heading);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: var(--fw-regular);
  line-height: 1.3;
  color: var(--clr-brown);
  margin-bottom: var(--sp-md);
}

.pd-desc p {
  color: var(--clr-brown-lt);
  line-height: 1.85;
  margin-bottom: var(--sp-sm);
  max-width: 640px;
}

/* Galeri */
.pd-gallery-wrap {
  background: var(--clr-white);
  padding-bottom: var(--sp-xl);
}

.pd-section-title {
  font-size: 0.75rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-terra);
  margin-bottom: var(--sp-md);
}

.pd-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
}

.pd-shot {
  display: block;
  padding: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  background: var(--clr-beige-dk);
}

.pd-shot-wide {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 8;
}

.pd-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s var(--ease-out);
}

.pd-shot:hover img { transform: scale(1.04); }

/* Sonraki proje */
.pd-next {
  position: relative;
  display: block;
  height: 46vh;
  min-height: 300px;
  overflow: hidden;
  background: var(--clr-dark);
  color: var(--clr-white);
}

.pd-next-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 0.6s ease, transform 1.2s var(--ease-out);
}

.pd-next:hover .pd-next-img { opacity: 0.6; transform: scale(1.03); }

.pd-next-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.pd-next-label {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-terra-lt);
  margin-bottom: var(--sp-xs);
}

.pd-next-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: var(--fw-light);
  line-height: 1.05;
}

.pd-next-arrow {
  font-size: 1.8rem;
  margin-top: var(--sp-xs);
  transition: transform var(--duration-normal) var(--ease-out);
}

.pd-next:hover .pd-next-arrow { transform: translateX(8px); }

/* Büyütme penceresi */
.pd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(20, 12, 5, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-lightbox[hidden] { display: none; }

.pd-lb-img {
  max-width: 88vw;
  max-height: 84vh;
  object-fit: contain;
}

.pd-lb-close,
.pd-lb-prev,
.pd-lb-next {
  position: absolute;
  color: var(--clr-white);
  font-size: 2rem;
  line-height: 1;
  padding: 1rem;
  opacity: 0.8;
}

.pd-lb-close:hover, .pd-lb-prev:hover, .pd-lb-next:hover { opacity: 1; }
.pd-lb-close { top: 1rem; right: 1.25rem; font-size: 1.5rem; }
.pd-lb-prev  { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }
.pd-lb-next  { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 3rem; }

.pd-lb-count {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: rgba(253, 250, 245, 0.7);
}

@media (max-width: 768px) {
  .pd-hero { height: 78vh; }
  .pd-intro { padding: var(--sp-lg) 0; }
  .pd-intro-grid { grid-template-columns: 1fr; gap: var(--sp-lg); }
  .pd-facts { order: 2; }
  .pd-gallery { grid-template-columns: 1fr; }
  .pd-shot, .pd-shot-wide { aspect-ratio: 4 / 3; }
  .pd-lb-prev, .pd-lb-next { font-size: 2.2rem; padding: 0.5rem; }
}

/* ---- Proje sayfası: dikey renderlara uyarlama ----
   Kapak: solda başlık (krem zemin), sağda tam boy dikey render.
   Galeri: ikili sıra, görseller kendi oranında (kırpılmaz). */
.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: auto;
  min-height: 100vh;
  background: var(--clr-beige);
}

.pd-hero::after { display: none; }

.pd-hero-img {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  height: 100vh;
  min-height: 640px;
}

.pd-hero-inner {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  bottom: auto;
  align-self: end;
  color: var(--clr-brown);
  padding: calc(var(--nav-height) + var(--sp-lg)) var(--sp-lg) var(--sp-xl) max(5vw, 24px);
  max-width: none;
}

.pd-back { color: var(--clr-text-muted); }
.pd-back:hover { color: var(--clr-brown); }
.pd-cat { color: var(--clr-terra); }
.pd-loc { color: var(--clr-text-muted); }

.pd-gallery {
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
  align-items: start;
}

.pd-shot,
.pd-shot-wide {
  grid-column: auto;
  aspect-ratio: auto;
}

.pd-shot img { height: auto; }

/* Tek kalan son görsel ortada */
.pd-shot-last-odd {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - var(--sp-md) / 2);
}

@media (max-width: 768px) {
  .pd-hero { grid-template-columns: 1fr; min-height: 0; }
  .pd-hero-img { grid-column: 1; grid-row: 1; height: 72vh; min-height: 0; margin-top: var(--nav-height); }
  .pd-hero-inner { grid-column: 1; grid-row: 2; padding: var(--sp-md) 16px var(--sp-lg); }
  .pd-gallery { grid-template-columns: 1fr; gap: var(--sp-sm); }
  .pd-shot-last-odd { width: 100%; }
}

/* =========================================
   MAĞAZA — "Çok yakında" sayfası (magaza.html)
   ========================================= */
.soon {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + var(--sp-lg)) 16px var(--sp-xl);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(196, 98, 45, 0.07), transparent 60%),
    var(--clr-beige);
}

.soon-inner {
  max-width: 640px;
}

.soon-title {
  font-family: var(--ff-heading);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: var(--fw-light);
  letter-spacing: 0.02em;
  line-height: 1.08;
  color: var(--clr-brown);
}

.soon-line {
  width: 60px;
  height: 2px;
  background: var(--clr-terra);
  margin: var(--sp-md) auto;
}

.soon-text {
  color: var(--clr-brown-lt);
  line-height: 1.85;
  margin-bottom: var(--sp-lg);
}

/* Ana sayfa "Biz Kimiz" → Hakkımızda sayfası butonu (btn btn-primary) */
.about-more { margin-top: var(--sp-md); }



/* =========================================
   HAKKIMIZDA v2 — editoryal tasarım (hakkimizda.html)
   Koyu kapak → açık manifesto → hikâye → hizmet listesi →
   tam genişlik görsel → koyu "neler yapıyoruz" ızgarası → alıntı → kapanış
   ========================================= */
.abx { background: var(--clr-white); overflow: hidden; }

.abx-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--clr-terra-lt);
}

.abx-index {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  color: var(--clr-terra);
}

/* Kaydırınca beliren öğeler (page.js) */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out);
}
[data-reveal].in { opacity: 1; transform: none; }

/* Menü: kapağın üstünde şeffaf */
.abx-nav:not(.scrolled) { background: transparent; box-shadow: none; }

/* ---- 1. Kapak ---- */
.abx-hero {
  background: var(--clr-dark);
  color: var(--clr-beige);
  min-height: 100vh;
}

.abx-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: 100vh;
}

.abx-hero-text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-height) + var(--sp-xl)) var(--sp-xl) var(--sp-xl) max(5vw, 24px);
}

.abx-title {
  font-family: var(--ff-heading);
  font-weight: var(--fw-light);
  font-size: clamp(3.6rem, 9.5vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: var(--sp-sm) 0 var(--sp-lg);
  color: var(--clr-white);
}

.abx-hero-lead {
  max-width: 520px;
  font-family: var(--ff-heading);
  font-size: clamp(1.2rem, 1.6vw, 1.45rem);
  line-height: 1.6;
  color: rgba(245, 236, 215, 0.78);
  padding-left: var(--sp-md);
  border-left: 1px solid var(--clr-terra);
}

.abx-scroll {
  position: absolute;
  left: max(5vw, 24px);
  top: calc(var(--nav-height) + var(--sp-lg));
  color: var(--clr-terra-lt);
  font-size: 1.2rem;
  animation: abx-bob 2.2s ease-in-out infinite;
}

@keyframes abx-bob { 50% { transform: translateY(8px); } }

.abx-hero-img {
  position: relative;
  margin: 0;
  overflow: hidden;
}

.abx-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease-out);
}
.abx-hero-img.in img { transform: scale(1); }

.abx-hero-img figcaption {
  position: absolute;
  right: var(--sp-md);
  bottom: var(--sp-md);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(253, 250, 245, 0.85);
}

/* ---- 2. Manifesto ---- */
.abx-manifesto {
  padding: calc(var(--sp-xl) * 1.4) 0;
  background: var(--clr-beige);
  text-align: center;
}

.abx-manifesto-text {
  max-width: 980px;
  margin: 0 auto;
  font-family: var(--ff-heading);
  font-style: italic;
  font-weight: var(--fw-light);
  font-size: clamp(2rem, 4.6vw, 4rem);
  line-height: 1.15;
  color: var(--clr-brown);
}

/* ---- 3. Hikâye + rakamlar ---- */
.abx-story { padding: var(--sp-xl) 0; }

.abx-story-grid {
  column-gap: var(--sp-xl);
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.4fr;
  gap: var(--sp-xl);
}

.abx-story-label {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border-top: 1px solid rgba(61, 35, 20, 0.2);
  padding-top: var(--sp-sm);
  align-self: start;
}

.abx-story-text {
  grid-column: 2 / -1;$([Environment]::NewLine)  columns: 2;
  column-gap: var(--sp-lg);
}

.abx-story-text p {
  break-inside: avoid;
  color: var(--clr-brown-lt);
  line-height: 1.9;
  margin-bottom: var(--sp-md);
}

/* İlk harf büyük (drop cap) */
.abx-story-text p:first-child::first-letter {
  float: left;
  font-family: var(--ff-heading);
  font-size: 4.2em;
  line-height: 0.8;
  padding: 0.08em 0.12em 0 0;
  color: var(--clr-terra);
}

.abx-stats {
  margin-top: var(--sp-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(61, 35, 20, 0.2);
  border-bottom: 1px solid rgba(61, 35, 20, 0.2);
}

.abx-stat {
  padding: var(--sp-lg) var(--sp-md);
  display: flex;
  align-items: baseline;
  gap: var(--sp-sm);
}

.abx-stat + .abx-stat { border-left: 1px solid rgba(61, 35, 20, 0.2); }

.abx-stat .stat-number {
  font-family: var(--ff-heading);
  font-weight: var(--fw-light);
  font-size: clamp(3.4rem, 6.5vw, 6rem);
  line-height: 1;
  color: var(--clr-brown);
}

.abx-stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-terra);
  max-width: 9ch;
  line-height: 1.5;
}

/* ---- Ortak bölüm başlığı ---- */
.abx-section-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.4fr;
  column-gap: var(--sp-xl);
  row-gap: var(--sp-sm);
  align-items: end;
  margin-bottom: var(--sp-lg);
}

.abx-section-head .abx-index { grid-column: 1; align-self: start; }

.abx-section-head h2 {
  grid-column: 2 / -1;
  font-family: var(--ff-heading);
  font-weight: var(--fw-light);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 1;
  color: var(--clr-brown);
}

.abx-section-head p {
  grid-column: 2 / -1;
  color: var(--clr-text-muted);
}

.abx-light h2 { color: var(--clr-white); }

/* ---- 4. Hizmetlerimiz: büyük satırlar ---- */
.abx-services { padding: var(--sp-xl) 0; background: var(--clr-white); }

.abx-svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(61, 35, 20, 0.2); }

.abx-svc {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.2fr 1.4fr;
  column-gap: var(--sp-xl);
  row-gap: var(--sp-xs);
  align-items: baseline;
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid rgba(61, 35, 20, 0.2);
  transition: padding var(--duration-normal) var(--ease-out);
}

/* Üzerine gelince alttan dolan ince turuncu çizgi */
.abx-svc::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: var(--clr-terra);
  transition: width 0.8s var(--ease-out);
}
.abx-svc:hover::after { width: 100%; }
.abx-svc:hover { padding-left: var(--sp-sm); }

.abx-svc-num {
  font-family: var(--ff-heading);
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  color: var(--clr-terra);
}

.abx-svc h3 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-regular);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  line-height: 1.1;
  color: var(--clr-brown);
}

.abx-svc p { color: var(--clr-brown-lt); line-height: 1.8; }

.abx-closing {
  margin: var(--sp-lg) 0 0 calc((100% - 2 * var(--sp-xl)) / 3.6 + var(--sp-xl)); /* hizmet başlıklarıyla hizalı */
  max-width: 760px;
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: clamp(1.25rem, 1.9vw, 1.6rem);
  line-height: 1.55;
  color: var(--clr-brown);
}

/* ---- 5. Görsel bandı ---- */
.abx-band { height: 70vh; min-height: 380px; overflow: hidden; }
.abx-band img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- 6. Neler yapıyoruz ---- */
.abx-what {
  padding: var(--sp-xl) 0;
  background: var(--clr-dark);
  color: var(--clr-beige);
}

.abx-what-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(245, 236, 215, 0.15);
  border-left: 1px solid rgba(245, 236, 215, 0.15);
}

.abx-what-item {
  padding: var(--sp-lg) var(--sp-md);
  border-right: 1px solid rgba(245, 236, 215, 0.15);
  border-bottom: 1px solid rgba(245, 236, 215, 0.15);
  transition: background var(--duration-normal) ease;
}

.abx-what-item:hover { background: rgba(196, 98, 45, 0.08); }

.abx-what-item svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--clr-terra-lt);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: var(--sp-md);
}

.abx-what-item h3 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-regular);
  font-size: 1.6rem;
  color: var(--clr-white);
  margin-bottom: var(--sp-xs);
}

.abx-what-item p { color: rgba(245, 236, 215, 0.65); line-height: 1.8; font-size: 0.95rem; }

/* ---- 7. Yorumlar: tek büyük alıntı ---- */
.abx-reviews { padding: var(--sp-xl) 0; background: var(--clr-beige); }

.abx-quotes {
  position: relative;
  display: grid;
  margin-left: calc((100% - 2 * var(--sp-xl)) / 3.6 + var(--sp-xl));
}

.abx-quote-mark {
  position: absolute;
  left: -0.55em;
  top: -0.35em;
  font-family: var(--ff-heading);
  font-size: 9rem;
  line-height: 1;
  color: var(--clr-terra);
  opacity: 0.35;
}

.abx-quote {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.8s ease, transform 0.8s var(--ease-out), visibility 0.8s;
}

.abx-quote.is-active { opacity: 1; visibility: visible; transform: none; }

.abx-quote blockquote {
  font-family: var(--ff-heading);
  font-weight: var(--fw-light);
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.35;
  color: var(--clr-brown);
}

.abx-quote figcaption { margin-top: var(--sp-md); display: flex; gap: var(--sp-sm); align-items: baseline; flex-wrap: wrap; }
.abx-quote figcaption strong { color: var(--clr-brown); font-weight: var(--fw-semibold); }
.abx-quote figcaption span { font-size: 0.75rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--clr-terra); }

.abx-quote-nav { grid-area: 2 / 1; display: flex; gap: 10px; margin-top: var(--sp-lg); }

.abx-dot {
  width: 34px;
  height: 2px;
  padding: 0;
  background: rgba(61, 35, 20, 0.2);
  transition: background var(--duration-normal) ease, width var(--duration-normal) ease;
}
.abx-dot.is-active { background: var(--clr-terra); width: 60px; }

/* ---- 8. Kapanış ---- */
.abx-cta {
  padding: calc(var(--sp-xl) * 1.3) 0;
  background: var(--clr-dark);
  color: var(--clr-beige);
  text-align: center;
}

.abx-cta h2 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-light);
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  line-height: 1;
  color: var(--clr-white);
  margin: var(--sp-sm) 0 var(--sp-md);
}

.abx-cta p { color: rgba(245, 236, 215, 0.7); margin-bottom: var(--sp-lg); }

.abx-cta-btns { display: flex; justify-content: center; gap: var(--sp-sm); flex-wrap: wrap; }

.abx-btn-ghost {
  border: 1px solid rgba(245, 236, 215, 0.4);
  color: var(--clr-beige);
}
.abx-btn-ghost:hover { border-color: var(--clr-whatsapp); background: var(--clr-whatsapp); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .abx-scroll { animation: none; }
}

/* ---- Telefon / tablet ---- */
@media (max-width: 900px) {
  .abx-hero-grid { grid-template-columns: 1fr; }
  .abx-hero-text { padding: calc(var(--nav-height) + var(--sp-lg)) 16px var(--sp-lg); }
  .abx-hero-img { height: 70vh; order: 2; }
  .abx-scroll { display: none; }
  .abx-story-grid, .abx-section-head { grid-template-columns: 1fr; gap: var(--sp-sm); }
  .abx-story-text { grid-column: 1; }
  .abx-section-head h2, .abx-section-head p { grid-column: 1; }
  .abx-section-head p { margin-top: 0; }
  .abx-story-text { columns: 1; }
  .abx-stat { flex-direction: column; gap: var(--sp-xs); padding: var(--sp-md) var(--sp-xs); }
  .abx-stat .stat-number { font-size: 2.8rem; }
  .abx-stat-label { font-size: 0.6rem; letter-spacing: 0.14em; }
  .abx-svc { grid-template-columns: 1fr; gap: var(--sp-xs); padding: var(--sp-md) 0; }
  .abx-svc:hover { padding-left: 0; }
  .abx-closing { max-width: none; margin-left: 0; }
  .abx-what-grid { grid-template-columns: 1fr; }
  .abx-quotes { margin-left: 0; }
  .abx-quote-mark { font-size: 6rem; left: -0.1em; top: -0.55em; }
  .abx-band { height: 45vh; }
}

/* ---- Hakkımızda: sade düzen güncellemesi ----
   Fotoğraflar siyah beyaz, bölüm numaraları ve "Yaklaşımımız" etiketi yok,
   başlıklar sola yaslı, metin düz (büyük ilk harf yok). */
.abx img { filter: grayscale(1); }

.abx-story-grid { display: block; }
.abx-story-text { columns: 2; column-gap: var(--sp-xl); }
.abx-story-text p:first-child::first-letter {
  float: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  padding: 0;
  color: inherit;
}

.abx-section-head { display: block; }
.abx-section-head p { margin-top: var(--sp-xs); }

/* Yorum bölümü (ana sayfadaki koyu bölüm) — üstte boşluk */
.abx #testimonials { padding: var(--sp-xl) 0; }

@media (max-width: 900px) {
  .abx-story-text { columns: 1; }
}

/* ---- Yorum kaydırıcısı: oklar + noktalar (js/testimonials.js) ---- */
.testimonials-track { scroll-behavior: smooth; }

.testimonials-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-md);
  margin-top: var(--sp-md);
}

.testimonials-nav .testimonials-dots { margin-top: 0; }
.testimonials-dots .dot { border: 0; padding: 0; }

.t-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245, 236, 215, 0.3);
  color: var(--clr-beige);
  font-size: 1.1rem;
  line-height: 1;
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease, opacity var(--duration-fast) ease;
}

.t-arrow:hover:not(:disabled) { background: var(--clr-terra); border-color: var(--clr-terra); }
.t-arrow:disabled { opacity: 0.3; cursor: default; }

.testimonials-slider.all-visible .testimonials-nav { display: none; }

@media (max-width: 768px) {
  #hero { height: 70vh; min-height: 360px; }
}

/* ---- Proje kapağı: önce / sonra (şantiye) geçişi ---- */
.pd-hero-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--clr-dark);
}

.pd-hero-media .pd-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transition: opacity 0.35s ease;
}

.pd-hero-img.is-switching { opacity: 0; }

/* "Önce · Şantiye Süreci" / "Sonra · Tamamlanan Proje" etiketi */
.pd-stage {
  position: absolute;
  left: var(--sp-md);
  top: calc(var(--nav-height) + var(--sp-md));
  z-index: 2;
  padding: 0.5rem 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-white);
  background: rgba(28, 16, 7, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pd-stage.is-before { background: rgba(196, 98, 45, 0.9); }

/* Oklar + sayaç (sol alt — sağ alttaki WhatsApp butonuyla çakışmasın) */
.pd-ba {
  position: absolute;
  left: var(--sp-md);
  bottom: var(--sp-md);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 6px;
  background: rgba(28, 16, 7, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pd-ba-btn {
  width: 48px;
  height: 48px;
  color: var(--clr-white);
  font-size: 1.2rem;
  border: 1px solid rgba(253, 250, 245, 0.35);
  transition: background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}
.pd-ba-btn:hover { background: var(--clr-terra); border-color: var(--clr-terra); }

.pd-ba-count {
  min-width: 3.2em;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: rgba(253, 250, 245, 0.85);
}

@media (max-width: 768px) {
  .pd-hero-media { grid-column: 1; grid-row: 1; height: 72vh; min-height: 0; margin-top: var(--nav-height); }
  .pd-hero-media .pd-hero-img { margin-top: 0; height: 100%; }
  .pd-stage { top: var(--sp-sm); left: var(--sp-sm); }
  .pd-ba { left: var(--sp-sm); bottom: var(--sp-sm); }
  .pd-ba-btn { width: 42px; height: 42px; }
}

/* Şantiye (önce) fotoğrafı siyah beyaz */
.pd-hero-img.is-before { filter: grayscale(1); }

/* ---- Kaydırmalı önce/sonra karşılaştırması (compare: true) ----
   Arkada bitmiş hâl (.pd-hero-img), üstte şantiye fotoğrafı; şantiye
   görseli çizginin soluna kadar görünür (--pos). */
.pd-compare {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: ew-resize;
  touch-action: pan-y;
  user-select: none;
  --pos: 50%;
}

.pd-compare-before {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  pointer-events: none;
}

.pd-compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--clr-white);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.pd-compare-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--clr-terra);
  border: 2px solid var(--clr-white);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.pd-compare-tag {
  position: absolute;
  bottom: var(--sp-md);
  padding: 0.45rem 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-white);
  background: rgba(28, 16, 7, 0.6);
  pointer-events: none;
}
.pd-compare-tag-b { left: var(--sp-md); background: rgba(196, 98, 45, 0.9); }
.pd-compare-tag-a { right: calc(var(--sp-md) + 70px); } /* WhatsApp butonundan uzak */

/* Erişilebilirlik için gizli kaydırıcı (klavye ←/→) */
.pd-compare-range {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
}
.pd-compare-range:focus-visible + * , .pd-compare:focus-within .pd-compare-knob { outline: 2px solid var(--clr-white); outline-offset: 3px; }

@media (max-width: 768px) {
  .pd-compare-knob { width: 46px; height: 46px; font-size: 1rem; }
  .pd-compare-tag { bottom: var(--sp-sm); }
  .pd-compare-tag-b { left: var(--sp-sm); }
  .pd-compare-tag-a { right: calc(var(--sp-sm) + 70px); }
}

/* hidden özniteliği display:flex kuralları tarafından ezilmesin */
.pd-ba[hidden], .pd-stage[hidden], .pd-compare[hidden] { display: none; }

/* Ekranda görünmez, Google ve ekran okuyucular için */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.soon-code { display:block; font-family: var(--ff-heading); font-size: clamp(4rem, 12vw, 8rem); font-weight: var(--fw-light); line-height: 1; color: var(--clr-terra); opacity: .55; margin-bottom: var(--sp-xs); }
