/* Custom styles beyond Tailwind utilities */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

summary::-webkit-details-marker {
  display: none;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Nav underline hover */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

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

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

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

.product-card .product-image {
  transition: transform 0.6s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

/* Horizontal scroll snap for mobile product grid */
.product-scroll {
  scrollbar-width: none;
}

.product-scroll::-webkit-scrollbar {
  display: none;
}

/* Logo carousel */
.logo-track {
  animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

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

/* Hero overlay gradient */
.hero-overlay {
  background: linear-gradient(180deg, rgba(26,26,26,0.68) 0%, rgba(26,26,26,0.5) 40%, rgba(26,26,26,0.75) 100%);
}
