/* ===== CUSTOM STYLES ===== */

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* --- Geometric shapes --- */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.geo-circle--1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(255,82,42,0.18) 0%, transparent 70%);
  top: -80px; right: -100px;
}
.geo-circle--2 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,173,147,0.12) 0%, transparent 70%);
  bottom: 10%; left: 5%;
}
.geo-square {
  position: absolute;
  width: 120px; height: 120px;
  border: 2px solid rgba(255,82,42,0.2);
  top: 20%; left: 8%;
  transform: rotate(45deg);
  pointer-events: none;
}
.geo-triangle {
  position: absolute;
  width: 0; height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(255,82,42,0.1);
  bottom: 15%; right: 12%;
  pointer-events: none;
}
.geo-dots {
  position: absolute;
  width: 120px; height: 120px;
  bottom: 25%; left: 3%;
  background-image: radial-gradient(circle, rgba(255,82,42,0.3) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  opacity: 0.6;
}

/* --- Buttons --- */
.btn-coral {
  background: linear-gradient(135deg, #ff522a 0%, #e83a14 100%);
  color: #fff;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,82,42,0.35);
}
.btn-coral:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,82,42,0.45);
  color: #fff;
}
.btn-outline-light {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 13px 26px;
  border-radius: 12px;
  font-weight: 600;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.btn-coral-light {
  background: #ff522a;
  color: #fff;
  padding: 14px 32px;
  border-radius: 12px;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(255,82,42,0.3);
}
.btn-coral-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,82,42,0.4);
  color: #fff;
}

/* --- Labels --- */
.label-coral {
  color: #ff522a;
  letter-spacing: 0.12em;
}
.label-coral-light {
  color: #ffad93;
  letter-spacing: 0.12em;
}

/* --- Navbar --- */
#navbar {
  background: transparent;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
  padding: 0;
}
#navbar.scrolled .nav-link { color: #3f3f46; }
#navbar.scrolled .nav-link:hover { color: #ff522a; }

/* --- Mobile menu --- */
#mobile-menu.open .mobile-menu-panel {
  transform: translateX(0);
}
#mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-link {
  border-bottom: 1px solid #ececee;
  padding-bottom: 12px;
  transition: color 0.2s;
}
.mobile-link:hover { color: #ff522a; }

/* --- Scroll reveal --- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(30px);
  }
  .reveal.visible {
    opacity: 1;
    transform: none;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* --- Focus styles --- */
a:focus-visible, button:focus-visible {
  outline: 2px solid #ff522a;
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Selection --- */
::selection {
  background: rgba(255,82,42,0.2);
  color: #1c1c1f;
}
