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

/* Geometric hero shapes */
.geo-shape {
  position: absolute;
  opacity: 0.15;
  pointer-events: none;
}

.geo-circle-1 {
  width: 400px;
  height: 400px;
  border: 3px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
  width: 200px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  bottom: 10%;
  right: 5%;
  animation: float 6s ease-in-out infinite reverse;
}

.geo-square-1 {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  top: 30%;
  right: 10%;
  transform: rotate(45deg);
  animation: spin 20s linear infinite;
}

.geo-triangle-1 {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(255,255,255,0.1);
  top: 60%;
  left: 5%;
  animation: float 7s ease-in-out infinite;
}

.geo-dots {
  width: 100px;
  height: 100px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.3) 2px, transparent 2px);
  background-size: 15px 15px;
  top: 20%;
  right: 25%;
  animation: float 5s ease-in-out infinite reverse;
}

.geo-ring-1 {
  width: 160px;
  height: 160px;
  border: 4px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  bottom: 20%;
  left: 15%;
  animation: spin 15s linear infinite reverse;
}

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

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

/* Reveal animations (progressive enhancement) */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal-up {
    opacity: 0;
    transform: translateY(40px);
  }
  .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
  }
  .reveal-right {
    opacity: 0;
    transform: translateX(40px);
  }

  .reveal-up.revealed,
  .reveal-left.revealed,
  .reveal-right.revealed {
    opacity: 1;
    transform: none;
  }
}

/* Mobile menu */
#mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

#mobile-menu.closed {
  opacity: 0;
  pointer-events: none;
}

/* Hamburger animation */
.menu-line {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#menu-toggle[aria-expanded="true"] .menu-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(2) {
  opacity: 0;
}
#menu-toggle[aria-expanded="true"] .menu-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 5rem;
}

/* Header scroll state */
header.scrolled {
  background: rgba(253, 252, 247, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.08);
}

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

/* Selection color */
::selection {
  background: #2c661c;
  color: #fdfcf7;
}
