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

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

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1A1A1A;
}
::-webkit-scrollbar-thumb {
  background: #3D3D3D;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E85D4A;
}

/* Navigation active state */
.nav-link.active {
  color: #E85D4A !important;
}

/* Navbar scrolled state */
.navbar-scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Only animate on preference for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal.animate {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile menu open state */
#mobile-menu.open {
  max-height: 500px;
}

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

/* Hero text gradient */
.hero-gradient {
  background: linear-gradient(135deg, #E85D4A 0%, #FF8F80 50%, #FFB8AD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Geometric shape animations */
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

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

.geometric-float {
  animation: float 6s ease-in-out infinite;
}

.geometric-float-reverse {
  animation: float-reverse 8s ease-in-out infinite;
}

/* Pulse dot */
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.animate-pulse-dot {
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Card hover glow */
.card-glow:hover {
  box-shadow: 0 0 40px rgba(232, 93, 74, 0.15);
}

/* Selection color */
::selection {
  background: rgba(232, 93, 74, 0.3);
  color: #fff;
}
