@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --bg-obsidian: #060608;
  --bg-surface: #0d0d12;
  --bg-card: rgba(16, 16, 22, 0.56);
  --gold-primary: #d4af37;
  --gold-light: #f5df96;
  --gold-deep: #9c791b;
  --gold-border: rgba(212, 175, 55, 0.26);
  --gold-border-strong: rgba(245, 223, 150, 0.55);
  --text-main: #f4f1ea;
  --text-muted: #b6afa2;
  --glass-bar: rgba(6, 6, 9, 0.38);
  --glass-bar-scrolled: rgba(6, 6, 9, 0.62);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg-obsidian);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(212, 175, 55, 0.08), transparent 42%),
    radial-gradient(circle at 88% 82%, rgba(212, 175, 55, 0.07), transparent 45%),
    var(--bg-obsidian);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.65;
}

.font-serif-luxury {
  font-family: 'Cormorant Garamond', Georgia, serif;
  letter-spacing: 0.015em;
}

.gold-gradient-text {
  background: linear-gradient(125deg, #fff1bf 0%, #e5c158 35%, #d4af37 65%, #b2871e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Transparent Glassmorphic Bars */
.glass-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--glass-bar);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.glass-navbar.scrolled {
  background: var(--glass-bar-scrolled);
  border-bottom-color: rgba(212, 175, 55, 0.34);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.45);
}

.glass-bar {
  background: rgba(12, 12, 17, 0.34);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.luxury-card {
  background: linear-gradient(155deg, rgba(20, 20, 27, 0.72), rgba(9, 9, 13, 0.82));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border);
  border-radius: 18px;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.35s ease, box-shadow 0.35s ease;
}

.luxury-card:hover {
  border-color: var(--gold-border-strong);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.55), 0 0 28px rgba(212, 175, 55, 0.12);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: #09090c;
  background: linear-gradient(135deg, #f8e4a0 0%, #d4af37 55%, #b3871c 100%);
  box-shadow: 0 10px 28px rgba(212, 175, 55, 0.26);
  border: 1px solid rgba(255, 241, 191, 0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

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

.btn-outline-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--gold-light);
  background: rgba(12, 12, 16, 0.42);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.45);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

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

/* 3D Animated Hero */
.hero-3d-stage {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  perspective: 1200px;
}

.hero-3d-bg-wrap {
  position: absolute;
  inset: -4%;
  z-index: 0;
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
  will-change: transform;
}

.hero-3d-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.94) contrast(1.04) saturate(1.04);
  animation: heroFloat3D 20s ease-in-out infinite alternate;
}

@keyframes heroFloat3D {
  0%   { transform: scale(1.04) translate3d(0px, 0px, 0px) rotate(0deg); }
  50%  { transform: scale(1.09) translate3d(-1.2%, -1%, 20px) rotate(0.4deg); }
  100% { transform: scale(1.06) translate3d(1.2%, 0.8%, 10px) rotate(-0.4deg); }
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(95deg, rgba(6, 6, 8, 0.84) 0%, rgba(6, 6, 8, 0.44) 44%, rgba(6, 6, 8, 0.04) 100%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.44) 0%, rgba(6, 6, 8, 0.05) 48%, rgba(6, 6, 8, 0.92) 100%);
}

#heroParticlesCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

/* 3D Tilt Cards */
.tilt-3d {
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out, box-shadow 0.3s ease;
  will-change: transform;
}

/* Elegant Corporate Info Card in Hakkımızda */
.corporate-gold-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 18%, rgba(212, 175, 55, 0.22), transparent 46%),
    linear-gradient(135deg, rgba(22, 20, 16, 0.88) 0%, rgba(8, 8, 11, 0.94) 55%, rgba(26, 21, 12, 0.88) 100%);
  border: 1px solid rgba(245, 223, 150, 0.42);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 244, 204, 0.35);
}

.corporate-gold-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(245, 223, 150, 0.12) 45deg, transparent 90deg);
  animation: goldSheen 12s linear infinite;
  pointer-events: none;
}

@keyframes goldSheen {
  to { transform: rotate(360deg); }
}

/* Nav link indicator */
.nav-link-item {
  position: relative;
  color: rgba(244, 241, 234, 0.84);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 0.45rem 0.2rem;
  transition: color 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

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

.nav-link-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}

.nav-link-item:hover::after,
.nav-link-item.active::after {
  transform: scaleX(1);
}

/* Fixed Bottom-Right Floating WhatsApp & Direct Call */
.floating-contact-dock {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.float-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.05rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-action-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.float-wa {
  background: rgba(18, 140, 74, 0.88);
  color: #ffffff;
  border: 1px solid rgba(110, 231, 160, 0.5);
  box-shadow: 0 10px 26px rgba(18, 140, 74, 0.35);
}

.float-call {
  background: rgba(14, 14, 18, 0.78);
  color: var(--gold-light);
  border: 1px solid rgba(212, 175, 55, 0.55);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

/* RGB / Neon Glowing Signature for MB-Code Yazılım */
.mbcode-neon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: linear-gradient(90deg, #ff2a85, #ff9900, #ffe600, #00f5a0, #00d9f5, #a855f7, #ff2a85);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.16);
  animation: rgbFlow 4.5s linear infinite, neonPulse 2.6s ease-in-out infinite alternate;
  transition: transform 0.25s ease;
}

.mbcode-neon-link:hover {
  transform: scale(1.04);
}

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

@keyframes neonPulse {
  0% {
    filter: drop-shadow(0 0 6px rgba(0, 217, 245, 0.7)) drop-shadow(0 0 12px rgba(255, 42, 133, 0.45));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(0, 245, 160, 0.8)) drop-shadow(0 0 16px rgba(168, 85, 247, 0.55));
  }
  100% {
    filter: drop-shadow(0 0 9px rgba(255, 230, 0, 0.8)) drop-shadow(0 0 18px rgba(0, 217, 245, 0.6));
  }
}

/* Gallery & Modal */
.gallery-tile {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: #0b0b0f;
  cursor: pointer;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.35s ease;
}

.gallery-tile:hover img {
  transform: scale(1.07);
}

.gallery-tile:hover {
  border-color: var(--gold-border-strong);
}

/* Toast Notification */
.toast-banner {
  position: fixed;
  top: 5.2rem;
  right: 1.2rem;
  z-index: 95;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  background: rgba(12, 12, 17, 0.92);
  backdrop-filter: blur(14px);
  border: 1px solid var(--gold-border-strong);
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.28s ease;
}

.toast-banner.show {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Inputs */
.lux-input {
  width: 100%;
  background: rgba(10, 10, 14, 0.68);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 12px;
  padding: 0.78rem 1rem;
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.lux-input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.14);
}

.section-divider {
  width: 68px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}
