/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; }

/* ── Navbar ── */
#navbar { transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s; }
#navbar.scrolled {
  background: rgba(26, 8, 16, 0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ── Hero ── */
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,8,16,0.82) 0%, rgba(42,16,32,0.65) 50%, rgba(107,47,91,0.55) 100%);
}

/* Geometric shapes */
.hero-geo {
  position: absolute;
  pointer-events: none;
}
.geo-circle-1 {
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 2px solid rgba(251,191,36,0.15);
  top: -100px; right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}
.geo-circle-2 {
  width: 200px; height: 200px;
  background: rgba(251,191,36,0.08);
  border-radius: 50%;
  bottom: 15%; left: 5%;
  animation: float-slow 14s ease-in-out infinite reverse;
}
.geo-triangle {
  width: 0; height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 140px solid rgba(107,47,91,0.25);
  top: 20%; left: 8%;
  transform: rotate(15deg);
  animation: float-slow 18s ease-in-out infinite;
}
.geo-dots {
  width: 120px; height: 120px;
  bottom: 25%; right: 10%;
  background-image: radial-gradient(circle, rgba(251,191,36,0.3) 1px, transparent 1px);
  background-size: 16px 16px;
  animation: float-slow 12s ease-in-out infinite reverse;
}

.hero-scroll { animation: fade-in-up 1s 1.5s both; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  background: #f59e0b; color: #1a0810;
  font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 1rem;
  border-radius: 60px; border: none; cursor: pointer;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
}
.btn-primary:hover {
  background: #fbbf24; transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(245,158,11,0.35);
}
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px;
  background: rgba(255,255,255,0.1); color: #fff;
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1rem;
  border-radius: 60px; border: 1px solid rgba(255,255,255,0.25); cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  text-decoration: none;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* ── Tags ── */
.tag-plum {
  display: inline-block;
  color: #6b2f5b;
  background: rgba(107,47,91,0.08);
  padding: 6px 16px; border-radius: 40px;
  font-weight: 600; letter-spacing: 0.1em;
}
.tag-amber {
  display: inline-block;
  color: #b45309;
  background: rgba(245,158,11,0.12);
  padding: 6px 16px; border-radius: 40px;
  font-weight: 600; letter-spacing: 0.1em;
}

/* ── Inputs ── */
.input-field {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid #e5ddd0; border-radius: 14px;
  font-family: 'Outfit', sans-serif; font-size: 1rem; color: #1a0810;
  background: #faf8f5;
  transition: all 0.3s;
  outline: none;
  appearance: none;
}
.input-field::placeholder { color: #b8a070; }
.input-field:focus {
  border-color: #d97706;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217,119,6,0.1);
}
select.input-field { cursor: pointer; }

/* ── Geometric background shapes ── */
.geo-bg-shape {
  position: absolute; pointer-events: none;
}
.geo-bg-1 {
  width: 600px; height: 600px; border-radius: 50%;
  background: rgba(107,47,91,0.04);
  top: -200px; right: -200px;
}
.geo-bg-2 {
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(251,191,36,0.06);
  bottom: -100px; left: -100px;
}
.geo-bg-3 {
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(251,191,36,0.04);
  top: -100px; left: -100px;
}
.geo-bg-4 {
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(107,47,91,0.08);
  bottom: 10%; right: 5%;
}
.geo-bg-5 {
  width: 500px; height: 500px; border-radius: 50%;
  background: rgba(251,191,36,0.04);
  bottom: -200px; right: -150px;
}
.geo-bg-6 {
  width: 350px; height: 350px; border-radius: 50%;
  background: rgba(251,191,36,0.05);
  bottom: -100px; left: -100px;
}
.geo-bg-7 {
  width: 400px; height: 400px; border-radius: 50%;
  background: rgba(107,47,91,0.04);
  top: -150px; right: -150px;
}
.geo-bg-8 {
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(251,191,36,0.03);
  bottom: -80px; right: 10%;
}

/* ── Animations ── */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(2deg); }
  66% { transform: translateY(10px) rotate(-1deg); }
}
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Reveal on scroll ── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── Mobile menu ── */
#mobileMenu.open { opacity: 1; pointer-events: all; }
#mobileMenu.closed { opacity: 0; pointer-events: none; }
.mobile-link {
  font-family: 'DM Serif Display', serif;
  font-size: 2rem; color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-link:hover { color: #fbbf24; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-geo { display: none; }
  .geo-bg-shape { display: none; }
}
