/* =========================================================
   SANTAP Malaysian Kitchen - Custom Stylesheet
   Zero-Build Modular Architecture
========================================================= */

/* Custom Typography & Base Styles */
body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #FFF8EB;
  color: #1F2421;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

/* Subtle Kopitiam Red & White Checkered Accent Strip */
.kopitiam-checkered {
  background-image:
    linear-gradient(45deg, #A62B22 25%, transparent 25%),
    linear-gradient(-45deg, #A62B22 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #A62B22 75%),
    linear-gradient(-45deg, transparent 75%, #A62B22 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0;
  background-color: #FFFFFF;
}

/* Delicate Songket / Gold Geometric Divider Hairline */
.gold-hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, #D4AF62, transparent);
}

/* Tropical Leaf Subtle Pattern Overlay */
.tropical-pattern {
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23D4AF62' stroke-width='0.75' stroke-opacity='0.11'%3E%3Cpath d='M60 10 C75 30, 85 55, 60 110 C35 55, 45 30, 60 10 Z'/%3E%3Cpath d='M60 10 L60 110'/%3E%3Cpath d='M60 35 L73 25 M60 52 L77 40 M60 70 L75 58 M60 88 L69 78'/%3E%3Cpath d='M60 35 L47 25 M60 52 L43 40 M60 70 L45 58 M60 88 L51 78'/%3E%3C/g%3E%3C/svg%3E");
}

/* Scroll Reveal Fade-in Animations */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto !important;
  }
}

/* Gentle Floating Botanical Animation */
@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

.animate-float-slow {
  animation: floatSlow 7s ease-in-out infinite;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #043626;
}
::-webkit-scrollbar-thumb {
  background: #D4AF62;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #E8CFA0;
}

/* Hide scrollbar for category pills on mobile */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
