/* Aegrina Vineyard — Custom Styles */

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

/* Selection color */
::selection {
  background: #3d916f;
  color: #fff;
}

/* Hero image shimmer effect */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Floating animation for accent elements */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-float {
  animation: float 4s ease-in-out infinite;
}

/* Gradient text utility */
.text-gradient {
  background: linear-gradient(135deg, #3d916f, #61b38f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
  background-image: radial-gradient(circle at 1px 1px, rgba(61,145,111,0.08) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Product card image zoom on hover */
.card-hover .h-56 img,
.card-hover .h-48 img {
  transition: transform 0.5s ease;
}
.card-hover:hover .h-56 img,
.card-hover:hover .h-48 img {
  transform: scale(1.05);
}

/* Gallery image hover */
.grid-cols-2 .rounded-2xl img,
.grid-cols-4 .rounded-2xl img {
  transition: transform 0.5s ease;
}
.grid-cols-2 .rounded-2xl:hover img,
.grid-cols-4 .rounded-2xl:hover img {
  transform: scale(1.05);
}

/* Navbar scrolled state */
.nav-scrolled {
  background: rgba(255,255,255,0.95) !important;
  box-shadow: 0 1px 20px rgba(9,22,33,0.08);
}

/* Mobile link transition */
.mobile-link {
  transition: color 0.2s ease, transform 0.2s ease;
}
.mobile-link:active {
  transform: scale(0.97);
}

/* Button ripple effect */
.btn-mint::after,
.btn-midnight::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-mint:hover::after,
.btn-midnight:hover::after {
  opacity: 1;
}

/* Focus visible for accessibility */
*:focus-visible {
  outline: 2px solid #3d916f;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  header, footer, #contact, #gallery { display: none; }
  body { color: #000; background: #fff; }
  .soft-shadow, .soft-shadow-lg { box-shadow: none; }
}
