/* MAJORADA Brand Stylesheet */
:root {
  --cream: #F7F1E6;
  --cream-light: #FBF7EE;
  --cream-dark: #EFE4D0;
  --coffee-300: #B9925E;
  --coffee-400: #8B6438;
  --coffee-500: #5C3A1E;
  --coffee-600: #432913;
  --terracotta: #C2683E;
  --sage: #9CAE83;
  --sage-dark: #6E865A;
  --olive: #5A6131;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #FBF7EE;
  background-image:
    radial-gradient(at 5% 5%, rgba(194, 104, 62, 0.04) 0px, transparent 50%),
    radial-gradient(at 95% 95%, rgba(156, 174, 131, 0.05) 0px, transparent 50%);
  min-height: 100vh;
}

/* Selection */
::selection {
  background: var(--coffee-500);
  color: var(--cream);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--coffee-300);
  border-radius: 6px;
  border: 2px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--coffee-500);
}

/* ============ TILE PATTERN (南洋花砖) ============ */
.tile-pattern {
  background-color: var(--cream-light);
  background-image:
    radial-gradient(circle at 25% 25%, rgba(194, 104, 62, 0.12) 8%, transparent 9%),
    radial-gradient(circle at 75% 75%, rgba(194, 104, 62, 0.12) 8%, transparent 9%),
    radial-gradient(circle at 75% 25%, rgba(156, 174, 131, 0.15) 8%, transparent 9%),
    radial-gradient(circle at 25% 75%, rgba(156, 174, 131, 0.15) 8%, transparent 9%);
  background-size: 60px 60px;
}

.peranakan-border {
  position: relative;
}
.peranakan-border::before,
.peranakan-border::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28' viewBox='0 0 40 28'%3E%3Cg fill='none' stroke='%23C2683E' stroke-width='1' opacity='0.45'%3E%3Cpath d='M20 4 L28 14 L20 24 L12 14 Z'/%3E%3Ccircle cx='20' cy='14' r='3'/%3E%3Cpath d='M0 14 L8 14 M32 14 L40 14'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 40px 28px;
}
.peranakan-border::before { top: 0; }
.peranakan-border::after { bottom: 0; transform: scaleY(-1); }

/* ============ HERO ANIMATIONS ============ */
@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}
@keyframes float-slower {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(-3deg); }
}
@keyframes steam {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  25%  { opacity: 0.6; }
  100% { transform: translateY(-60px) scale(1.4); opacity: 0; }
}
@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
@keyframes drift {
  0%   { transform: translate(0, 0) rotate(0deg); }
  50%  { transform: translate(20px, -10px) rotate(8deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-float-slower { animation: float-slower 8s ease-in-out infinite; }
.animate-steam { animation: steam 3s ease-out infinite; }
.animate-pulse-heart { animation: pulse-heart 1.8s ease-in-out infinite; }
.animate-drift { animation: drift 12s ease-in-out infinite; }

/* ============ HERO BACKGROUND DECOR ============ */
.hero-decor-leaf {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

/* ============ TYPOGRAPHY ============ */
.text-balance { text-wrap: balance; }

.heading-display {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.heading-serif-cn {
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 500;
}

/* ============ BUTTONS ============ */
.btn-primary {
  background: var(--coffee-500);
  color: var(--cream);
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  border: 1px solid var(--coffee-500);
  font-size: 0.9rem;
}
.btn-primary:hover {
  background: var(--coffee-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(67, 41, 19, 0.55);
}

.btn-outline {
  background: transparent;
  color: var(--coffee-500);
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  border: 1px solid var(--coffee-500);
  font-size: 0.9rem;
}
.btn-outline:hover {
  background: var(--coffee-500);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-terracotta {
  background: var(--terracotta);
  color: var(--cream-light);
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  border: 1px solid var(--terracotta);
  font-size: 0.9rem;
}
.btn-terracotta:hover {
  background: #A65028;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -10px rgba(194, 104, 62, 0.55);
}

/* ============ CARDS ============ */
.brand-card {
  background: #FFFFFF;
  border: 1px solid rgba(139, 100, 56, 0.15);
  border-radius: 1.5rem;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.brand-card:hover {
  border-color: var(--terracotta);
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -25px rgba(67, 41, 19, 0.25);
}
.brand-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(194, 104, 62, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.brand-card:hover::before {
  opacity: 1;
}

/* ============ DIVIDERS ============ */
.divider-ornate {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--coffee-400);
}
.divider-ornate::before,
.divider-ornate::after {
  content: '';
  height: 1px;
  flex: 0 0 80px;
  background: linear-gradient(to right, transparent, var(--coffee-300), transparent);
}

/* ============ NAVIGATION ============ */
.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--coffee-500);
  transition: color 0.3s ease;
  padding: 0.3rem 0;
}
.nav-link:hover { color: var(--terracotta); }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--terracotta); }
.nav-link.active::after { width: 100%; }

.nav-glass {
  background: rgba(251, 247, 238, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 100, 56, 0.12);
}

/* ============ STEAM EFFECT ============ */
.steam-container {
  position: absolute;
  display: flex;
  gap: 8px;
  pointer-events: none;
}
.steam-particle {
  width: 8px;
  height: 8px;
  background: rgba(139, 100, 56, 0.35);
  border-radius: 50%;
  filter: blur(4px);
  animation: steam 3s ease-out infinite;
}
.steam-particle:nth-child(2) { animation-delay: 0.6s; }
.steam-particle:nth-child(3) { animation-delay: 1.2s; }

/* ============ MARQUEE ============ */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  animation: marquee 40s linear infinite;
}

/* ============ STAMP ============ */
.stamp {
  border: 2px solid var(--coffee-500);
  color: var(--coffee-500);
  padding: 0.2rem 0.8rem;
  border-radius: 0.25rem;
  font-family: 'Noto Serif SC', serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  display: inline-block;
  transform: rotate(-4deg);
}

/* ============ FORM ============ */
.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(139, 100, 56, 0.25);
  border-radius: 0.75rem;
  background: #FFFFFF;
  color: var(--coffee-600);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}
.form-input:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(194, 104, 62, 0.12);
}
.form-input::placeholder {
  color: var(--coffee-300);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--coffee-500);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ============ STAT NUMBER ============ */
.stat-number {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--coffee-500);
}

/* ============ FADE IN ON LOAD ============ */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ============ TIMELINE ============ */
.timeline-dot {
  width: 14px;
  height: 14px;
  background: var(--terracotta);
  border: 3px solid var(--cream-light);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--terracotta);
}

/* ============ HERO IMAGE GLOW ============ */
.hero-image-wrap {
  position: relative;
}
.hero-image-wrap::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(194, 104, 62, 0.18) 0%, transparent 70%);
  z-index: -1;
}

/* ============ MOBILE MENU ============ */
.mobile-menu {
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
  transform: translateX(0);
}

/* ============ TICKET / PASS STYLE ============ */
.ticket-card {
  background: #FFFFFF;
  border: 1px dashed var(--coffee-300);
  border-radius: 1rem;
  position: relative;
}
.ticket-card::before,
.ticket-card::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--cream-light);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.ticket-card::before { left: -12px; }
.ticket-card::after { right: -12px; }

/* ============ UTILS ============ */
.text-gradient {
  background: linear-gradient(135deg, var(--coffee-500) 0%, var(--terracotta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-cream { background-color: var(--cream); }
.bg-cream-light { background-color: var(--cream-light); }
.bg-cream-dark { background-color: var(--cream-dark); }

.shadow-warm {
  box-shadow: 0 20px 50px -20px rgba(92, 58, 30, 0.25);
}

/* ============ SECTION HEADING UNDERLINE ============ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  color: var(--terracotta);
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  font-weight: 600;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--terracotta);
}
