/* High Fashion Editorial Theme Styles */

@layer utilities {
  .font-display {
    font-family: 'Bebas Neue', 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

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

  .font-script {
    font-family: 'Alex Brush', 'Caveat', cursive;
  }

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

  /* Custom scrollbar hiding for clean touch carousels */
  .no-scrollbar::-webkit-scrollbar {
    display: none;
  }
  .no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Base Body Setup */
html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  background-color: #1B0B14;
  color: #F5E7E0;
  font-family: 'Inter', sans-serif;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

/* Noise texture over entire layout */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Keyframe Animations */
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin-slow {
  animation: spinSlow 20s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fadeIn {
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes floatGlow {
  0%, 100% { transform: translate(-50%, 0) scale(1); opacity: 0.25; }
  50% { transform: translate(-50%, -15px) scale(1.08); opacity: 0.4; }
}

.animate-float-glow {
  animation: floatGlow 8s ease-in-out infinite;
}

/* Card Smooth Hover Animations */
.work-card, .demo-card, .gallery-card, .brand-card {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.work-card:hover, .demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(229, 154, 145, 0.15);
}

.gallery-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.brand-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 12px 25px rgba(229, 154, 145, 0.2);
}
