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

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Navbar height */
#nav {
  height: 72px;
}

/* Mobile menu link hover */
.mobile-link:hover {
  color: #d95a38;
}

/* ===== GEOMETRIC DECORATIVE SHAPES ===== */
.geo-shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.geo-circle-1 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(217, 90, 56, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(226, 172, 68, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  background: rgba(217, 90, 56, 0.06);
  border-radius: 24px;
  top: 30%;
  left: -30px;
  transform: rotate(45deg);
  animation: spin-slow 30s linear infinite;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid rgba(226, 172, 68, 0.08);
  top: 20%;
  right: 10%;
  animation: float-slow 18s ease-in-out infinite;
}

.geo-ring-1 {
  width: 160px;
  height: 160px;
  border: 3px solid rgba(217, 90, 56, 0.1);
  border-radius: 50%;
  bottom: 15%;
  right: 5%;
  animation: spin-slow 25s linear infinite reverse;
}

@keyframes float-slow {
  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 ===== */
/* Default: always visible (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);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Staggered delays handled by transition-delay in HTML */
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf6f3;
}
::-webkit-scrollbar-thumb {
  background: #d9b8a3;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #c49678;
}

/* ===== FOCUS STYLES ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #d95a38;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(217, 90, 56, 0.2);
  color: #523327;
}

/* ===== SELECT ARROW ===== */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23966144' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* ===== MOBILE MENU TRANSITION ===== */
#mobileMenu {
  animation: slideDown 0.25s ease;
}

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