/* ========================================
   Sub Where Else — Custom Styles
   ======================================== */

/* --- Base & Smooth Scroll --- */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --- Navbar Scroll State --- */
#navbar.scrolled {
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(61, 28, 10, 0.08);
}

#navbar.scrolled .nav-link {
  color: rgba(61, 28, 10, 0.8);
}

/* --- Mobile Menu --- */
#mobile-menu.open {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Hamburger animation */
#menu-toggle.active .line:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
#menu-toggle.active .line:nth-child(2) {
  opacity: 0;
}
#menu-toggle.active .line:nth-child(3) {
  width: 24px;
  transform: rotate(-45deg) translate(4px, -4px);
}

/* --- Hero Geometric Shapes --- */
.shape-circle-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(254, 221, 110, 0.15);
  top: -120px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(253, 248, 240, 0.08);
  bottom: 10%;
  left: -60px;
  animation: float 6s ease-in-out infinite reverse;
}

.shape-circle-3 {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(245, 217, 154, 0.2);
  top: 30%;
  left: 10%;
  animation: float 10s ease-in-out infinite;
}

.shape-rect-1 {
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  top: 20%;
  right: 15%;
  transform: rotate(30deg);
  animation: spin-slow 20s linear infinite;
}

.shape-rect-2 {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  bottom: 25%;
  right: 25%;
  transform: rotate(-15deg);
  animation: spin-slow 15s linear infinite reverse;
}

.shape-triangle {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(253, 248, 240, 0.06);
  top: 60%;
  left: 5%;
  transform: rotate(20deg);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50%       { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* --- Scroll Reveal (progressive enhancement) --- */
.scroll-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Custom Selection --- */
::selection {
  background: rgba(220, 85, 40, 0.2);
  color: #3D1C0A;
}

/* --- Focus styles --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #dc5528;
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Navbar height --- */
#navbar {
  height: 72px;
}

/* --- Image hover container fix --- */
.rounded-3xl, .rounded-2xl {
  overflow: hidden;
}

/* --- Smooth transitions for interactive elements --- */
button, a {
  transition: all 0.2s ease;
}

/* --- Form focus states --- */
input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(220, 85, 40, 0.15);
}
