/* ==========================================================================
   MAKAI SURF TRIP - Custom Styles & Theme Extensions
   ========================================================================== */

:root {
  --color-brand-brown: #24140D;
  --color-brand-brown-soft: #382218;
  --color-brand-mustard: #F3B250;
  --color-brand-mustard-light: #FCEFD8;
  --color-brand-teal: #52858D;
  --color-brand-teal-light: #E3ECEE;
  --color-brand-sand: #FAF5EC;
  --color-brand-sand-dark: #EDE5D6;
  --color-brand-terracotta: #D86A45;
}

/* Base resets & smooth scroll */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--color-brand-sand);
  color: var(--color-brand-brown);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-brand-sand);
}
::-webkit-scrollbar-thumb {
  background: #CBB99E;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-teal);
}

/* Groovy & Serif Typography */
.font-display {
  font-family: 'Fraunces', 'DM Serif Display', Georgia, serif;
}

.font-body {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Retro subtle grain overlay */
.bg-grain {
  background-image: radial-gradient(rgba(36, 20, 13, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Custom button shapes & shadows */
.btn-retro {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 0 var(--color-brand-brown);
}
.btn-retro:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 0 var(--color-brand-brown);
}
.btn-retro:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--color-brand-brown);
}

.card-retro {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1.5px solid rgba(36, 20, 13, 0.12);
}
.card-retro:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px -8px rgba(36, 20, 13, 0.14);
  border-color: var(--color-brand-brown);
}

/* Badge tags */
.badge-mustard {
  background-color: #FCEFD8;
  color: #7D4B04;
  border: 1px solid #F3B250;
}
.badge-teal {
  background-color: #E6EFF0;
  color: #2D5860;
  border: 1px solid #52858D;
}
.badge-brown {
  background-color: #EDE5D6;
  color: #24140D;
  border: 1px solid #C4B29A;
}

/* Navigation blur effect */
.nav-scrolled {
  background-color: rgba(250, 245, 236, 0.92) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(36, 20, 13, 0.08);
}

/* Destination filter active state */
.filter-btn.active {
  background-color: var(--color-brand-brown);
  color: #FFFFFF;
}

/* Modal styling */
.modal-backdrop {
  background-color: rgba(36, 20, 13, 0.65);
  backdrop-filter: blur(6px);
}

/* Custom animation keyframes */
@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: floatGentle 5s ease-in-out infinite;
}

/* Wave graphic divider */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

/* Image zoom in card */
.card-zoom-img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-retro:hover .card-zoom-img {
  transform: scale(1.05);
}
