/* ==========================================================================
   TOP PASSEIOS - LENÇÓIS MARANHENSES
   Custom Stylesheet - Design System & Animations
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Montserrat:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Permanent+Marker&display=swap');

:root {
  --primary-blue: #0072CE;
  --deep-navy: #03254c;
  --lagoon-cyan: #00b4d8;
  --lagoon-light: #90e0ef;
  --sand-gold: #f8c02f;
  --sun-orange: #ff7b00;
  --promo-red: #e63946;
  --whatsapp-green: #25D366;
  --pure-white: #ffffff;
  --dune-sand: #fefae0;
}

/* Base Smooth Scrolling & Typography */
html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
  overflow-x: hidden;
  color: #1e293b;
  background-color: #f8fafc;
}

/* Handwriting Font for Polaroids and Callouts */
.font-brush {
  font-family: 'Caveat', cursive;
}

.font-marker {
  font-family: 'Permanent Marker', cursive;
}

.font-heading {
  font-family: 'Montserrat', sans-serif;
}

/* Custom Gradient Utilities */
.bg-gradient-lagoon {
  background: linear-gradient(135deg, #0072CE 0%, #00b4d8 50%, #90e0ef 100%);
}

.bg-gradient-hero {
  background: linear-gradient(180deg, rgba(3, 37, 76, 0.92) 0%, rgba(0, 114, 206, 0.75) 60%, rgba(248, 250, 252, 1) 100%);
}

.bg-gradient-gold {
  background: linear-gradient(135deg, #FFDD00 0%, #FFA000 50%, #FF6F00 100%);
}

.text-gradient-sun {
  background: linear-gradient(135deg, #FFDD00 0%, #FFA000 50%, #FF6F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-blue {
  background: linear-gradient(135deg, #0072CE 0%, #00b4d8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3D Dynamic Badge - Temporada 2027 */
.badge-temporada-2027 {
  display: inline-block;
  background: linear-gradient(180deg, #FFE033 0%, #FFB300 50%, #FF8F00 100%);
  color: #03254c;
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.6);
  border: 3px solid #ffffff;
  box-shadow: 0 10px 25px -5px rgba(255, 143, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.1);
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}

.badge-temporada-2027:hover {
  transform: rotate(0deg) scale(1.05);
}

/* Red Promo Brush Badge */
.badge-super-descontos {
  background-color: #e63946;
  color: white;
  display: inline-block;
  padding: 0.2rem 1rem;
  border-radius: 9999px;
  font-weight: 900;
  letter-spacing: 0.05em;
  transform: rotate(-1.5deg);
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
  animation: pulsePromo 2.5s infinite;
}

@keyframes pulsePromo {
  0%, 100% {
    transform: rotate(-1.5deg) scale(1);
  }
  50% {
    transform: rotate(-1.5deg) scale(1.06);
  }
}

/* Polaroid Card Styles Matching the Flyer */
.polaroid-card {
  background: #ffffff;
  padding: 10px 10px 24px 10px;
  border-radius: 4px;
  box-shadow: 0 10px 25px -5px rgba(3, 37, 76, 0.2), 0 8px 10px -6px rgba(3, 37, 76, 0.1);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.polaroid-card:hover {
  transform: translateY(-12px) scale(1.06) rotate(0deg) !important;
  z-index: 30 !important;
  box-shadow: 0 25px 35px -5px rgba(0, 114, 206, 0.35), 0 15px 15px -7px rgba(0, 0, 0, 0.15);
}

.polaroid-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  border-radius: 2px;
  background-color: #e2e8f0;
}

.polaroid-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.polaroid-card:hover .polaroid-image-wrapper img {
  transform: scale(1.12);
}

/* Bottom Ribbon inside Polaroid */
.polaroid-ribbon {
  position: absolute;
  bottom: 8px;
  left: 6px;
  right: 6px;
  background: linear-gradient(135deg, #03254c 0%, #004b93 100%);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dynamic tilts for the 7 polaroids */
.tilt-1 { transform: rotate(-4deg); }
.tilt-2 { transform: rotate(-2deg); }
.tilt-3 { transform: rotate(1deg); }
.tilt-4 { transform: rotate(3deg); }
.tilt-5 { transform: rotate(-3deg); }
.tilt-6 { transform: rotate(2deg); }
.tilt-7 { transform: rotate(-2.5deg); }

/* Glassmorphism containers */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-panel-dark {
  background: rgba(3, 37, 76, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating WhatsApp Button Animation */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  box-shadow: 0 10px 25px -3px rgba(37, 211, 102, 0.5);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-whatsapp:hover {
  transform: scale(1.1) rotate(5deg);
}

.pulse-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #25D366;
  opacity: 0.7;
  animation: pulseRings 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseRings {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Tour Card Micro-interactions */
.tour-card {
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(0, 114, 206, 0.15);
  border-color: #90e0ef;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #00b4d8;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0072CE;
}

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

.wave-divider svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 60px;
}

@media (min-width: 768px) {
  .wave-divider svg {
    height: 90px;
  }
}

/* Live Booking Notification Pop */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 990;
  transform: translateY(120%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Custom Tooltip */
.tooltip-custom {
  position: relative;
}

.tooltip-custom:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #03254c;
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  pointer-events: none;
  z-index: 50;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
