/* ============================================
   POSSUM KINGDOM COUNTRY STORE
   Custom Styles
   ============================================ */

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

/* Base styles */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   NAVBAR
   ============================================ */
.nav-scrolled {
  background: rgba(30, 58, 95, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  background: linear-gradient(135deg, #0c1c32 0%, #1e3a5f 50%, #183050 100%);
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(212, 160, 23, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(30, 58, 95, 0.5) 0%, transparent 50%);
  pointer-events: none;
}

/* ============================================
   PRODUCT CARDS
   ============================================ */
.product-card {
  transform: translateY(0);
}

.product-card:hover {
  transform: translateY(-4px);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   (Progressive enhancement — only apply when JS runs)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .about-image,
  .about-content,
  .community-image,
  .community-content,
  .product-card {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   FORM STYLES
   ============================================ */
input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.2);
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobileMenu {
  max-height: 0;
}

#mobileMenu.open {
  max-height: 400px;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #f0c830;
  outline-offset: 2px;
  border-radius: 4px;
}
