/* ─── Custom Properties ─── */
:root {
  --clr-terracotta: #e55424;
  --clr-sand: #e0b04a;
  --clr-sand-light: #faf0cc;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }

/* ─── Navbar ─── */
#navbar {
  background: rgba(254, 253, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(248, 196, 176, 0.3);
}
#navbar.scrolled {
  background: rgba(254, 253, 248, 0.97);
  box-shadow: 0 4px 20px rgba(229, 84, 36, 0.08);
}

/* ─── Mobile Menu ─── */
#mobileMenu.open {
  opacity: 1 !important;
  pointer-events: all !important;
}
#mobileMenu.open #bar1 {
  top: 10px;
  transform: translateX(-50%) rotate(45deg);
}
#mobileMenu.open #bar2 {
  top: 10px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ─── Geometric Shapes ─── */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
}
.geo-circle--1 {
  width: 420px; height: 420px;
  background: var(--clr-terracotta);
  top: -100px; left: -120px;
}
.geo-circle--2 {
  width: 200px; height: 200px;
  background: var(--clr-sand);
  bottom: 80px; right: 60px;
}
.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-style: solid;
  opacity: 0.1;
}
.geo-triangle--1 {
  border-width: 0 50px 86px 50px;
  border-color: transparent transparent var(--clr-terracotta) transparent;
  top: 15%; right: 12%;
  transform: rotate(15deg);
}
.geo-diamond {
  position: absolute;
  width: 80px; height: 80px;
  background: var(--clr-sand);
  opacity: 0.1;
  transform: rotate(45deg);
  bottom: 20%; left: 8%;
}
.geo-ring {
  position: absolute;
  width: 120px; height: 120px;
  border: 6px solid var(--clr-terracotta);
  border-radius: 50%;
  opacity: 0.08;
  top: 25%; right: 5%;
}

/* ─── Float animation ─── */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.animate-float {
  animation: float 3s ease-in-out infinite;
}

/* ─── Reveal animations ─── */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .js-ready .reveal.in-view {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #fdf9ec; }
::-webkit-scrollbar-thumb { background: #f3a07e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #e55424; }

/* ─── Selection ─── */
::selection { background: #fce3d9; color: #702615; }
