/* Custom styles for Coryell Feed & Supply */

/* Smooth scroll offset for fixed header */
section[id] {
  scroll-margin-top: 80px;
}

/* Mobile menu transitions */
#mobileMenu {
  animation: slideDown 0.25s ease;
}

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

/* Button focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* Selection color */
::selection {
  background-color: rgba(251, 191, 36, 0.3);
  color: #faf5ff;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1e0a3a;
}
::-webkit-scrollbar-thumb {
  background: #6b21a8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9333ea;
}

/* Geometric decorative shapes */
.geo-shape {
  position: absolute;
  pointer-events: none;
}

/* Subtle pattern overlay for sections */
.section-pattern {
  background-image: radial-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Image lazy-load fade */
img[loading="lazy"] {
  transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}
img[loading="lazy"] {
  opacity: 0;
}

/* Nav active state */
nav a.active {
  color: #fbbf24;
}

/* Card hover lift */
.group:hover {
  transform: translateY(-2px);
}
.group {
  transition: transform 0.3s ease;
}

/* Testimonial quote mark */
blockquote::before {
  content: '"';
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(251, 191, 36, 0.15);
  position: absolute;
  top: -0.5rem;
  left: 1rem;
}
