
:root {
  --gold-primary: #b88e44;
  --gold-light: #d4a95d;
  --gold-dark: #8f6623;
  --gold-soft-bg: #faf5eb;
  --gold-border: rgba(184, 142, 68, 0.28);
  --dark-slate: #0f172a;
  --card-bg: #ffffff;
}

/* 1. Keskin Mimari Tipografi */
.font-sharp {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  letter-spacing: -0.025em;
}

.font-sharp-spaced {
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
}

/* 2. Sayfa İçi Yumuşak Kaydırma & Header Ofseti */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

/* 3. Hero / İlk Görsel Alanı */
.project-hero {
  position: relative;
  min-height: 520px;
  height: 68vh;
  max-height: 720px;
  background-color: var(--dark-slate);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.35) 0%,
    rgba(15, 23, 42, 0.45) 50%,
    rgba(15, 23, 42, 0.88) 100%
  );
}

/* Hero İstatistik / Künye Şeridi */
.hero-stat-strip {
  position: relative;
  z-index: 10;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* 4. Alt Navigasyon (Sub-Navigation) */
.project-subnav {
  position: sticky;
  top: 68px;
  z-index: 35;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px -3px rgba(0, 0, 0, 0.04);
}

.subnav-link {
  display: inline-block;
  padding: 0.85rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  border-bottom: 2px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.subnav-link:hover,
.subnav-link.active {
  color: var(--gold-primary) !important;
  border-bottom-color: var(--gold-primary) !important;
}

/* ==========================================================================
   5. İLK GÖRSELİN ALTINDA SAĞ TARAFTA SABİT DURAN İLETİŞİM DİVİ (STICKY SIDEBAR)
   ========================================================================== */
.sticky-contact-sidebar {
  position: sticky;
  top: 96px; /* Header ve subnav altında güvenli sabitleme */
  z-index: 30;
  transition: top 0.3s ease;
}

.sticky-contact-card {
  background: #ffffff;
  border: 1px solid rgba(184, 142, 68, 0.32);
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 1px 3px rgba(0, 0, 0, 0.05);
  position: relative;
}

.sticky-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold-dark), transparent);
  border-radius: 3px;
}

/* Canlı Temsilci Nabız İkonu */
.live-pulse {
  display: inline-flex;
  position: relative;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background-color: #10b981;
}

.live-pulse::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 9999px;
  background-color: #10b981;
  opacity: 0.75;
  animation: pulse-ring 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 0.9; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.6); opacity: 0; }
}

/* İletişim Butonları */
.btn-whatsapp-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.85rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp-action:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.btn-call-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(184, 142, 68, 0.4);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 0.85rem;
  transition: all 0.25s ease;
}

.btn-call-action:hover {
  border-color: var(--gold-primary);
  background-color: var(--gold-soft-bg);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-submit-action {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, #d4a95d 0%, #b88e44 50%, #8f6623 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 18px rgba(184, 142, 68, 0.32);
}

.btn-submit-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(184, 142, 68, 0.45);
}

/* 6. Form Giriş Alanları */
.contact-input {
  width: 100%;
  font-size: 0.78rem;
  padding: 0.75rem 1rem;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-input:focus {
  border-color: var(--gold-primary);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(184, 142, 68, 0.12);
}

/* 7. Asimetrik Mimari Galeri (Masonry) */
.gallery-card-wrapper {
  transition: opacity 0.3s ease;
}

.gallery-box {
  position: relative;
  overflow: hidden;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}

.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-box:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.75) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  color: #ffffff;
}

.gallery-box:hover .gallery-overlay {
  opacity: 1;
}

/* 8. Kat Planları Sahnesi */
.plan-stage-box {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
  padding: 1.5rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
}

/* 9. Scroll Reveal Geçişleri */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal { transform: translateY(28px); }
.reveal-left { transform: translateX(-32px); }
.reveal-right { transform: translateX(32px); }
.reveal-scale { transform: scale(0.94); }

.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-scale.active {
  opacity: 1 !important;
  transform: translate(0) scale(1) !important;
}

.delay-100  { transition-delay: 100ms; }
.delay-200  { transition-delay: 200ms; }
.delay-300  { transition-delay: 300ms; }
.delay-400  { transition-delay: 400ms; }
.delay-500  { transition-delay: 500ms; }
.delay-600  { transition-delay: 550ms; }
.delay-700  { transition-delay: 600ms; }
.delay-800  { transition-delay: 650ms; }
.delay-900  { transition-delay: 700ms; }
.delay-1000 { transition-delay: 750ms; }
.delay-1100 { transition-delay: 800ms; }
.delay-1200 { transition-delay: 850ms; }
.delay-1300 { transition-delay: 900ms; }
.delay-1400 { transition-delay: 950ms; }
.delay-1500 { transition-delay: 1000ms; }
.delay-1600 { transition-delay: 1050ms; }
.delay-1700 { transition-delay: 1100ms; }
.delay-1800 { transition-delay: 1150ms; }
.delay-1900 { transition-delay: 1200ms; }
.delay-2000 { transition-delay: 1250ms; }
.delay-2100 { transition-delay: 1300ms; }
.delay-2200 { transition-delay: 1350ms; }
.delay-2300 { transition-delay: 1400ms; }
.delay-2400 { transition-delay: 1450ms; }
.delay-2500 { transition-delay: 1500ms; }
.delay-2600 { transition-delay: 1550ms; }
.delay-2700 { transition-delay: 1600ms; }
.delay-2800 { transition-delay: 1650ms; }
.delay-2900 { transition-delay: 1700ms; }
.delay-3000 { transition-delay: 1750ms; }

/* 10. Responsive İyileştirmeler */
@media (max-width: 1023px) {
  .sticky-contact-sidebar {
    position: static;
    margin-top: 2rem;
  }
}
