/* Custom styles for Ragan's Flowers */

/* Smooth scroll padding for fixed navbar */
section {
  scroll-margin-top: 80px;
}

/* Navbar transitions */
#navbar {
  background: transparent;
}

#navbar.scrolled {
  background: rgba(4, 47, 46, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Mobile menu animation */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

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

/* Form focus states */
input:focus,
textarea:focus {
  outline: none;
}

/* Subtle hover lift on cards */
.group:hover {
  transform: translateY(-2px);
}

/* Hero image shadow */
#hero img {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

/* Gallery image hover */
#gallery img {
  transition: transform 0.5s ease;
}

#gallery .overflow-hidden:hover img {
  transform: scale(1.05);
}

/* Button hover effects */
a[class*="px-8"][class*="py-4"] {
  position: relative;
  overflow: hidden;
}

a[class*="px-8"][class*="py-4"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  transition: height 0.3s ease;
}

a[class*="px-8"][class*="py-4"]:hover::after {
  height: 100%;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  img {
    transition: none;
  }
  .group:hover img {
    transform: none;
  }
  .group:hover {
    transform: none;
  }
}

/* Print styles */
@media print {
  #navbar,
  #mobile-menu,
  .animate-bounce {
    display: none !important;
  }
  body {
    color: #000;
    background: #fff;
  }
}
