/* ===== Custom Styles for Shear Madness ===== */

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

/* ===== Hero Gradient ===== */
.hero-gradient {
  background: linear-gradient(135deg, #7e22ce 0%, #9333ea 25%, #a855f7 45%, #f59e0b 75%, #fbbf24 100%);
  z-index: 0;
}

/* ===== Hero Animations ===== */
@keyframes float1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, 30px) scale(1.08); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, 15px); }
}

.hero-orb-1 { animation: float1 8s ease-in-out infinite; }
.hero-orb-2 { animation: float2 10s ease-in-out infinite; }
.hero-orb-3 { animation: float3 6s ease-in-out infinite; }

/* Hero entrance */
.hero-badge {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.2s;
}

.hero-title {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.4s;
}

.hero-subtitle {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.6s;
}

.hero-ctas {
  opacity: 0;
  animation: fadeSlideUp 0.8s ease forwards 0.8s;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Section Labels ===== */
.section-label {
  letter-spacing: 0.15em;
}

/* ===== Navbar ===== */
.navbar-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 20px rgba(126, 34, 206, 0.08);
}

.navbar-scrolled .nav-logo-text {
  color: #581c87 !important;
}

.navbar-scrolled .nav-link {
  color: #581c87 !important;
}

/* ===== Service Cards ===== */
.service-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.testimonial-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Gallery Items ===== */
.gallery-item {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.gallery-item.revealed {
  opacity: 1;
  transform: scale(1);
}

/* ===== General Section Reveal ===== */
.section-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ===== Mobile Menu ===== */
.mobile-menu {
  animation: slideDown 0.3s ease;
}

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

.mobile-menu-link {
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.mobile-menu-link:hover {
  color: #a855f7;
  padding-left: 8px;
}

/* ===== CTA Buttons ===== */
.cta-primary {
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.cta-primary:hover {
  box-shadow: 0 15px 50px rgba(255, 255, 255, 0.4);
}

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

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #c084fc, #fbbf24);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #a855f7, #f59e0b);
}

/* ===== Selection ===== */
::selection {
  background: #e9d5ff;
  color: #581c87;
}

/* ===== 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;
  }

  .hero-badge,
  .hero-title,
  .hero-subtitle,
  .hero-ctas {
    opacity: 1;
    animation: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .hero-orb-1 {
    width: 40rem;
    height: 40rem;
  }

  .hero-orb-2 {
    width: 48rem;
    height: 48rem;
  }
}
