/* === Custom Styles for Pop's Bait & Tackle === */

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

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

/* === Navigation === */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(42, 8, 17, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-logo-text {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Mobile menu */
.mobile-nav-link {
  position: relative;
}

.mobile-nav-link:hover {
  color: #f9a8a0;
}

/* === Hero Section === */
.hero-decoration {
  will-change: transform;
}

.hero-headline {
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-badge {
  animation: fadeInDown 0.8s ease forwards;
}

.hero-headline {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.hero-subtitle {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}

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

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

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

/* === Product Cards === */
.product-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(139, 26, 43, 0.12);
}

/* === Service Cards === */
.service-card {
  transition: transform 0.4s ease;
}

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

/* === Scroll Reveal === */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* === Button Focus States === */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid #8b1a2b;
  outline-offset: 2px;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #8b1a2b;
}

/* === Selection === */
::selection {
  background: rgba(139, 26, 43, 0.2);
  color: #4a0811;
}

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

  #navbar {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
}

@media (max-width: 640px) {
  .hero-headline {
    font-size: 2.75rem;
  }
}

/* === Print Styles === */
@media print {
  #navbar,
  .hero-decoration,
  button {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}
