:root {
  --bg-obsidian: #070709;
  --bg-deep: #0c0d11;
  --bg-anthracite: #14161c;
  --bg-card: rgba(20, 22, 28, 0.78);
  --gold: #d4af37;
  --gold-light: #f3d579;
  --gold-dark: #9e7b23;
  --silver: #d8dce3;
  --silver-muted: #9ca3af;
  --border-gold: rgba(212, 175, 55, 0.24);
  --border-silver: rgba(216, 220, 227, 0.14);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--silver);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background:
    radial-gradient(circle at 15% 10%, rgba(212, 175, 55, 0.08), transparent 42%),
    radial-gradient(circle at 85% 22%, rgba(216, 220, 227, 0.05), transparent 40%),
    linear-gradient(180deg, #070709 0%, #0d0e13 50%, #070709 100%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
}

.font-serif-luxury {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

/* Şeffaf Kurumsal Üst Bar */
.transparent-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(7, 7, 9, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.transparent-navbar.scrolled {
  background: rgba(7, 7, 9, 0.58);
  border-bottom-color: rgba(212, 175, 55, 0.32);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.nav-link {
  position: relative;
  color: var(--silver);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  transition: color 0.25s ease;
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  cursor: pointer;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Şeffaf Cam Barlar */
.transparent-bar {
  background: rgba(10, 11, 16, 0.36);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

/* Tam Ekran 3D Hareketli Ana Sayfa Hero */
.hero-fullscreen {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  perspective: 1400px;
}

.hero-bg-3d-wrap {
  position: absolute;
  inset: -3.5%;
  z-index: 0;
  transform-style: preserve-3d;
  animation: heroBgFloat3D 16s ease-in-out infinite;
  transition: transform 0.28s ease-out;
  will-change: transform;
}

.hero-bg-3d-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 6, 8, 0.88) 0%, rgba(7, 7, 10, 0.62) 44%, rgba(7, 7, 10, 0.14) 76%, rgba(6, 6, 8, 0.35) 100%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.55) 0%, rgba(6, 6, 8, 0.08) 32%, rgba(6, 6, 8, 0.12) 68%, rgba(7, 7, 9, 0.94) 100%);
  pointer-events: none;
}

.hero-bg-sheen {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    118deg,
    transparent 24%,
    rgba(243, 213, 121, 0.09) 46%,
    rgba(255, 255, 255, 0.05) 50%,
    transparent 68%
  );
  background-size: 230% 230%;
  animation: goldSheen 9s ease-in-out infinite;
}

@keyframes heroBgFloat3D {
  0% {
    transform: scale(1.05) rotateX(0.8deg) rotateY(-1.2deg) translate3d(0px, 0px, 0px);
  }
  50% {
    transform: scale(1.09) rotateX(-0.9deg) rotateY(1.3deg) translate3d(-10px, -6px, 18px);
  }
  100% {
    transform: scale(1.05) rotateX(0.8deg) rotateY(-1.2deg) translate3d(0px, 0px, 0px);
  }
}

@keyframes goldSheen {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Lüks Altın Metin & Butonlar */
.text-gold-gradient {
  background: linear-gradient(135deg, #f9e7aa 0%, #d4af37 45%, #a88220 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: linear-gradient(135deg, #d4af37 0%, #f1d378 50%, #b58d22 100%);
  color: #09090b;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  padding: 0.85rem 1.75rem;
  border: 1px solid rgba(243, 213, 121, 0.65);
  box-shadow: 0 8px 26px rgba(212, 175, 55, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.44);
  filter: brightness(1.06);
}

.btn-outline-silver {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(15, 17, 23, 0.45);
  backdrop-filter: blur(12px);
  color: var(--silver);
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 9999px;
  padding: 0.85rem 1.7rem;
  border: 1px solid rgba(216, 220, 227, 0.3);
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline-silver:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.14);
  transform: translateY(-2px);
}

/* 3D Kartlar */
.luxury-card {
  background: linear-gradient(155deg, rgba(24, 26, 33, 0.86), rgba(11, 12, 16, 0.92));
  border: 1px solid var(--border-silver);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  transform-style: preserve-3d;
}

.luxury-card:hover {
  border-color: rgba(212, 175, 55, 0.48);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), 0 0 28px rgba(212, 175, 55, 0.14);
}

/* Kurumsal Bilgi Kartı (Hakkımızda) */
.corp-info-card {
  position: relative;
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.18), transparent 55%),
    linear-gradient(145deg, #12141a 0%, #090a0d 100%);
  border: 1px solid rgba(212, 175, 55, 0.42);
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(243, 213, 121, 0.25);
  overflow: hidden;
}

.corp-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light), var(--gold), transparent);
}

/* Sabit Sağ Alt WhatsApp ve Ara Butonları */
.floating-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 3.45rem;
  height: 3.45rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  cursor: pointer;
}

.float-btn:hover {
  transform: translateY(-3px) scale(1.06);
}

.float-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.float-btn-call {
  background: linear-gradient(135deg, #d4af37 0%, #9e7b23 100%);
  color: #09090b;
  border: 1px solid rgba(243, 213, 121, 0.55);
}

.float-tooltip {
  position: absolute;
  right: 4.1rem;
  background: rgba(12, 13, 17, 0.92);
  color: #f3f4f6;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* RGB / Neon Parlayan MB-Code Yazılım İmzası */
.mbcode-rgb-signature {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: linear-gradient(90deg, #ff2a85, #00f0ff, #ffe600, #7c3aed, #00ff9d, #ff2a85);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rgbFlow 4.5s linear infinite, neonPulse 2.4s ease-in-out infinite alternate;
  padding: 0.2rem 0.45rem;
  border-radius: 0.4rem;
}

@keyframes rgbFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes neonPulse {
  0% {
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.55)) drop-shadow(0 0 12px rgba(255, 42, 133, 0.35));
  }
  100% {
    filter: drop-shadow(0 0 10px rgba(255, 230, 0, 0.65)) drop-shadow(0 0 18px rgba(124, 58, 237, 0.5));
  }
}

/* Form & Admin Inputları */
.luxury-input {
  width: 100%;
  background: rgba(9, 10, 14, 0.85);
  border: 1px solid rgba(216, 220, 227, 0.2);
  border-radius: 0.75rem;
  padding: 0.72rem 1rem;
  color: #f3f4f6;
  font-size: 0.92rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.luxury-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

/* Hafif Görünüm Animasyonu */
.fade-in-up {
  animation: fadeInUp 0.55s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Toast Bildirim */
.toast-box {
  position: fixed;
  top: 5.5rem;
  right: 1.25rem;
  z-index: 95;
  background: rgba(16, 18, 24, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.58);
  color: #f9fafb;
  padding: 0.85rem 1.25rem;
  border-radius: 0.9rem;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.65);
  font-size: 0.88rem;
  max-width: 24rem;
  animation: fadeInUp 0.25s ease;
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(5, 5, 8, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Arka Plan Altın Parçacık Canvası */
#goldParticlesCanvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
}

.page-layer {
  position: relative;
  z-index: 1;
}
