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

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

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

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

.geo-circle-2 {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 184, 204, 0.3);
  bottom: 15%;
  left: 5%;
  animation: float-slow 15s ease-in-out infinite reverse;
}

.geo-circle-3 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  top: 30%;
  left: 8%;
  animation: float-slow 12s ease-in-out infinite;
}

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

.geo-square-2 {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(255, 184, 204, 0.35);
  border-radius: 10px;
  bottom: 25%;
  right: 20%;
  transform: rotate(20deg);
  animation: spin-slow 18s linear infinite reverse;
}

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

.geo-dots {
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 25%;
  animation: float-slow 14s ease-in-out infinite reverse;
}

/* Animations */
@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); }
}

/* Card tilt effect */
.card-tilt {
  transform: perspective(800px) rotateX(0deg) rotateY(0deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-tilt:hover {
  transform: perspective(800px) rotateX(2deg) rotateY(-2deg) translateY(-4px);
}

/* Reveal animations (progressive enhancement) */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile menu transitions */
#mobileMenu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

#mobileMenu.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobileMenu:not(.hidden) {
  max-height: 500px;
  opacity: 1;
}

/* Navbar scroll state */
#navbar.scrolled {
  box-shadow: 0 4px 20px rgba(143, 46, 66, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #FFF8F0;
}

::-webkit-scrollbar-thumb {
  background: #c4566a;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a83d52;
}

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

/* Focus visible */
:focus-visible {
  outline: 2px solid #c4566a;
  outline-offset: 2px;
}

/* Selection */
::selection {
  background: #c4566a;
  color: #fff5f7;
}
