/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
a { text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

/* ─── NAVBAR SCROLLED STATE ─── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(6, 23, 40, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
#navbar.nav-scrolled {
  background: rgba(6, 23, 40, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* ─── HERO DECORATIVE SHAPES ─── */
.hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.shape-circle-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,164,0,0.12) 0%, transparent 70%);
  top: -200px;
  right: -150px;
  animation: float-slow 20s ease-in-out infinite;
}
.shape-circle-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(212,164,0,0.08) 0%, transparent 70%);
  bottom: 10%;
  left: -80px;
  animation: float-slow 15s ease-in-out infinite reverse;
}
.shape-circle-3 {
  width: 150px;
  height: 150px;
  border: 1px solid rgba(212,164,0,0.15);
  background: transparent;
  top: 30%;
  right: 10%;
  animation: float-slow 12s ease-in-out infinite;
}
.shape-rect-1 {
  width: 80px;
  height: 80px;
  background: rgba(212,164,0,0.06);
  border: 1px solid rgba(212,164,0,0.1);
  border-radius: 16px;
  top: 25%;
  left: 5%;
  transform: rotate(45deg);
  animation: float-slow 18s ease-in-out infinite;
}
.shape-triangle-1 {
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 70px solid rgba(212,164,0,0.06);
  top: 60%;
  right: 5%;
  animation: float-slow 14s ease-in-out infinite reverse;
}
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

/* hero dot grid */
.hero-dots {
  background-image: radial-gradient(rgba(255,255,255,0.5) 1px, transparent 1px);
  background-size: 32px 32px;
}

/* ─── PRODUCT CARDS ─── */
.product-card {
  background: rgba(10, 38, 64, 0.5);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 0 0.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-color: rgba(212,164,0,0.2);
}

/* ─── ABOUT / VISIT / CONTACT GEOMETRIC DECORATIONS ─── */
.about-deco, .products-deco, .visit-deco, .contact-deco {
  position: absolute;
  pointer-events: none;
}
.shape-diamond-1 {
  width: 120px;
  height: 120px;
  background: rgba(212,164,0,0.05);
  border: 1px solid rgba(212,164,0,0.1);
  border-radius: 16px;
  top: 15%;
  right: 8%;
  transform: rotate(45deg);
}
.shape-circle-4 {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(212,164,0,0.08);
  border-radius: 50%;
  bottom: 10%;
  left: 5%;
}
.shape-circle-5 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212,164,0,0.06) 0%, transparent 70%);
  top: -100px;
  left: -200px;
}
.shape-rect-2 {
  width: 100px;
  height: 100px;
  background: rgba(212,164,0,0.04);
  border-radius: 20px;
  bottom: 20%;
  right: 5%;
  transform: rotate(20deg);
}
.shape-circle-6 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212,164,0,0.07) 0%, transparent 70%);
  bottom: -100px;
  right: -100px;
}
.shape-diamond-2 {
  width: 80px;
  height: 80px;
  background: rgba(212,164,0,0.05);
  border: 1px solid rgba(212,164,0,0.1);
  border-radius: 12px;
  top: 20%;
  left: 10%;
  transform: rotate(30deg);
}
.shape-circle-7 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212,164,0,0.06) 0%, transparent 70%);
  top: -150px;
  right: -150px;
}
.shape-rect-3 {
  width: 60px;
  height: 60px;
  background: rgba(212,164,0,0.05);
  border-radius: 12px;
  bottom: 15%;
  left: 8%;
  transform: rotate(15deg);
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Default state visible (no JS required) — animations applied via JS */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── MOBILE NAV TOGGLE ANIMATION ─── */
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* ─── MOBILE MENU ─── */
#mobileMenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
#mobileMenu.open {
  max-height: 300px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 767px) {
  .shape-circle-1 { width: 300px; height: 300px; right: -100px; }
  .shape-circle-2 { width: 150px; height: 150px; }
}
