/* ============================================
   Tropics After Dark — Design System v2.0
   Complete visual overhaul with animations,
   micro-interactions, and premium feel
   ============================================ */

/* --- CSS Variables --- */
:root {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface2: #1c1c1c;
  --surface3: #222222;
  --accent: #0EA5E9;
  --accent-light: #38BDF8;
  --accent-dark: #0284C7;
  --accent-glow: rgba(14, 165, 233, 0.15);
  --white: #ffffff;
  --text: #ededed;
  --muted: #999;
  --border: #2a2a2a;
  --danger: #e74c3c;
  --success: #2ecc71;
  --nav-height: 72px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* --- Selection --- */
::selection {
  background: rgba(14, 165, 233, 0.3);
  color: var(--white);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dark); }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
h1 { font-size: clamp(36px, 6vw, 64px); }
h2 { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; }
h3 { font-size: clamp(20px, 3vw, 28px); }
h4 { font-size: 18px; }
p { color: var(--text); margin-bottom: 12px; }
a { color: var(--accent); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--accent-light); }

/* --- Layout --- */
.container { width: min(1200px, 90vw); margin: 0 auto; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* --- Section Headers --- */
.section-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 20px; }
.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

/* ============================================
   Scroll-Triggered Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* ============================================
   Navigation
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all 0.45s var(--ease-out-expo);
  background: transparent;
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid rgba(14, 165, 233, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.nav-inner {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 48px;
  width: auto;
  transition: transform 0.3s ease;
}
.nav-logo:hover img {
  transform: scale(1.05);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  color: #000 !important;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}
.nav-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.nav-cta:hover::before { left: 100%; }
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent)) !important;
  color: #000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
}

/* Mobile Menu */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 600;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu.open a {
  opacity: 1;
  transform: translateY(0);
}
.mobile-menu a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu a:hover { color: var(--accent); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #000;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s ease;
}
.btn-primary:hover::before { left: 100%; }
.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn-outline:hover {
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}
.btn-lg { padding: 18px 40px; font-size: 15px; }
.btn + .btn { margin-left: 16px; }

/* ============================================
   Hero Sections
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroZoom 20s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.35) 0%,
    rgba(10, 10, 10, 0.5) 40%,
    rgba(10, 10, 10, 0.95) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 40px 20px;
}
.hero-logo {
  width: 180px;
  height: auto;
  margin-bottom: 32px;
  filter: drop-shadow(0 4px 24px rgba(14, 165, 233, 0.5));
  animation: logoPulse 3s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 4px 24px rgba(14, 165, 233, 0.4)); }
  50% { filter: drop-shadow(0 4px 32px rgba(14, 165, 233, 0.7)); }
}
.hero h1 {
  margin-bottom: 20px;
  animation: heroFadeIn 1s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}
.hero .tagline {
  font-size: clamp(18px, 2.5vw, 22px);
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.7;
  animation: heroFadeIn 1s ease 0.2s forwards;
  opacity: 0;
  transform: translateY(20px);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease 0.4s forwards;
  opacity: 0;
  transform: translateY(20px);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: scrollBounce 2s ease-in-out infinite;
  cursor: pointer;
}
.scroll-indicator svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  opacity: 0.6;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* Floating particles on hero */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat linear infinite;
}
@keyframes particleFloat {
  0% { opacity: 0; transform: translateY(100vh) scale(0); }
  10% { opacity: 0.6; }
  90% { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* Page Hero (shorter) */
.page-hero {
  padding: 140px 20px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}
.page-hero h1 {
  position: relative;
  z-index: 2;
  margin-bottom: 16px;
  animation: heroFadeIn 0.8s ease forwards;
  opacity: 0;
}
.page-hero p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
  animation: heroFadeIn 0.8s ease 0.15s forwards;
  opacity: 0;
}

/* ============================================
   Trust Bar
   ============================================ */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.3), transparent);
}
.trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.3s;
}
.trust-item:hover { color: var(--text); }
.trust-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 20px;
}

/* ============================================
   Stats Counter Section
   ============================================ */
.stats-bar {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), var(--bg));
  position: relative;
}
.stats-bar::before,
.stats-bar::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.2), transparent);
}
.stats-bar::before { top: 0; }
.stats-bar::after { bottom: 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 20px;
}
.stat-number {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out-expo);
}
.card:hover {
  border-color: rgba(14, 165, 233, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(14, 165, 233, 0.08);
}
.card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--surface2), var(--bg));
  overflow: hidden;
  position: relative;
  display: block;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}
.card:hover .card-img img { transform: scale(1.08); }
.card-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover .card-img::after { opacity: 1; }
.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(14, 165, 233, 0.9);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  backdrop-filter: blur(4px);
}
.card-body { padding: 24px; }
.card-body h3 { font-size: 20px; margin-bottom: 8px; }
.card-body h3 a { color: var(--white); transition: color 0.2s; }
.card-body h3 a:hover { color: var(--accent); }
.card-location {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-price {
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}
.card-rating {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}
.card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

/* Resort grid */
.resort-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* ============================================
   Special Deals Banner
   ============================================ */
.deals-banner {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.12) 0%, var(--surface) 50%, rgba(14, 165, 233, 0.08) 100%);
  border: 1px solid rgba(14, 165, 233, 0.25);
  border-radius: 16px;
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  margin: 48px 0;
  position: relative;
  overflow: hidden;
}
.deals-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08), transparent 70%);
  pointer-events: none;
}
.deals-banner h3 {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 8px;
}
.deals-banner p {
  color: var(--muted);
  font-size: 16px;
  margin: 0;
}
.deal-countdown {
  display: flex;
  gap: 12px;
}
.countdown-item {
  text-align: center;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  padding: 12px 16px;
  min-width: 64px;
}
.countdown-number {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.countdown-label {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}
@media (max-width: 768px) {
  .deals-banner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 24px;
  }
  .deal-countdown { justify-content: center; }
}

/* ============================================
   Filter Bar
   ============================================ */
.filter-bar {
  position: sticky;
  top: var(--nav-height);
  z-index: 50;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.filter-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  flex: 1;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  background: none;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 6px;
  transition: all 0.25s var(--ease-out-expo);
}
.tab:hover { color: var(--white); background: rgba(255, 255, 255, 0.04); }
.tab.on {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.08);
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.1);
}
.sort-select {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 14px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s;
}
.sort-select:focus { border-color: var(--accent); }

/* ============================================
   Steps / How It Works
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}
.step {
  text-align: center;
  padding: 40px 24px;
  position: relative;
  transition: transform 0.3s ease;
}
.step:hover { transform: translateY(-4px); }
.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(14, 165, 233, 0.1);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  transition: all 0.3s;
}
.step:hover .step-number {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.4);
}
.step h3 { margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 15px; }

/* Connector lines between steps */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 55px;
  right: -20px;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.3;
}

@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .step:not(:last-child)::after { display: none; }
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  transition: all 0.3s var(--ease-out-expo);
}
.testimonial:hover {
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.testimonial::before {
  content: '\201C';
  font-family: "Playfair Display", serif;
  font-size: 64px;
  color: var(--accent);
  opacity: 0.3;
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
}
.testimonial-stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  padding-top: 24px;
}
.testimonial p {
  color: var(--text);
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author {
  font-weight: 600;
  color: var(--accent);
  font-size: 14px;
}
.testimonial-trip {
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

/* ============================================
   Social Proof Ticker
   ============================================ */
.social-proof-ticker {
  overflow: hidden;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: relative;
}
.social-proof-ticker::before,
.social-proof-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.social-proof-ticker::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), transparent);
}
.social-proof-ticker::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), transparent);
}
.ticker-track {
  display: flex;
  gap: 48px;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.ticker-item .ticker-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Resort Detail
   ============================================ */
.resort-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}
.resort-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.resort-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, var(--bg) 100%);
}
.resort-header {
  position: relative;
  z-index: 2;
  margin-top: -120px;
  padding-bottom: 48px;
}
.resort-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.resort-badges .badge {
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.resort-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 12px;
  font-size: 15px;
  color: var(--muted);
}
.resort-price-callout {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), var(--surface));
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 24px 32px;
  margin: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  transition: box-shadow 0.3s;
}
.resort-price-callout:hover {
  box-shadow: 0 0 30px rgba(14, 165, 233, 0.15);
}
.resort-price-callout .price {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}
.resort-price-callout .price-note {
  color: var(--muted);
  font-size: 14px;
}

/* Included list */
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.included-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text);
  border: 1px solid transparent;
  transition: all 0.3s;
}
.included-item:hover {
  border-color: rgba(14, 165, 233, 0.2);
  background: rgba(14, 165, 233, 0.05);
}
.included-item .check {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}

/* Room types */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}
.room-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s var(--ease-out-expo);
}
.room-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}
.room-card h4 { margin-bottom: 8px; }
.room-card .room-price {
  color: var(--accent);
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}
.room-card p { color: var(--muted); font-size: 14px; }

/* Highlights */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.highlight-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s var(--ease-out-expo);
}
.highlight-tag:hover {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.05);
  transform: translateY(-3px);
}
.highlight-tag .highlight-icon { font-size: 28px; margin-bottom: 8px; }

/* Similar resorts */
.similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

/* Image gallery slider */
.gallery-slider {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}
.gallery-slider input[type="radio"] { display: none; }
.gallery-slides {
  display: flex;
  transition: transform 0.6s var(--ease-out-expo);
  height: 100%;
}
.gallery-slide {
  min-width: 100%;
  height: 100%;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-dots {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}
.gallery-dot.active {
  background: var(--accent);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}
/* Gallery arrow buttons */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
  backdrop-filter: blur(8px);
}
.gallery-arrow:hover {
  background: rgba(14, 165, 233, 0.8);
  border-color: var(--accent);
}
.gallery-arrow.prev { left: 20px; }
.gallery-arrow.next { right: 20px; }

/* ============================================
   Quiz
   ============================================ */
.quiz-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}
.quiz-progress {
  width: 100%;
  height: 4px;
  background: var(--surface);
  border-radius: 2px;
  margin-bottom: 48px;
  overflow: hidden;
}
.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-expo);
}
.quiz-question {
  display: none;
  animation: fadeUp 0.4s ease forwards;
}
.quiz-question.active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.quiz-question h2 { margin-bottom: 32px; font-size: clamp(24px, 4vw, 36px); }
.quiz-options { display: grid; gap: 12px; }
.quiz-option {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out-expo);
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  color: var(--text);
}
.quiz-option:hover {
  border-color: rgba(14, 165, 233, 0.4);
  background: rgba(14, 165, 233, 0.05);
  transform: translateX(4px);
}
.quiz-option.selected {
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  color: var(--white);
  transform: translateX(8px);
}
.quiz-option .option-icon { font-size: 24px; }
.quiz-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
}
.quiz-results { display: none; }
.quiz-results.active { display: block; }
.quiz-results h2 { margin-bottom: 16px; }
.quiz-results .subtitle {
  color: var(--muted);
  font-size: 17px;
  margin-bottom: 36px;
}

/* ============================================
   Form Styles
   ============================================ */
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  outline: none;
  transition: all 0.3s var(--ease-out-expo);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #555; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--surface); color: var(--white); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   FAQ Accordion
   ============================================ */
.faq-section { max-width: 800px; margin: 0 auto; }
.faq-category { margin-bottom: 40px; }
.faq-category h3 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: rgba(14, 165, 233, 0.3); }
.faq-item.open { border-color: rgba(14, 165, 233, 0.5); }
.faq-question {
  width: 100%;
  background: var(--surface);
  border: none;
  padding: 20px 24px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s;
}
.faq-question:hover { background: var(--surface2); }
.faq-question .faq-icon {
  color: var(--accent);
  font-size: 20px;
  transition: transform 0.3s var(--ease-spring);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out-expo);
}
.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   Newsletter
   ============================================ */
.newsletter {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, var(--surface) 100%);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 16px;
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent 70%);
  pointer-events: none;
}
.newsletter h3 {
  color: var(--accent);
  font-size: 28px;
  margin-bottom: 12px;
}
.newsletter p { color: #bbb; font-size: 16px; margin-bottom: 28px; }
.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 16px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: "Inter", sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.newsletter-form input::placeholder { color: #555; }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(14,165,233,0.3), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 60px;
  margin-bottom: 16px;
}
.footer-brand p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: var(--white);
}
.footer-col a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  padding: 5px 0;
  transition: all 0.2s;
}
.footer-col a:hover {
  color: var(--accent);
  transform: translateX(4px);
}
.footer-credentials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.footer-credentials span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: #555; margin: 0; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  color: var(--muted);
  font-size: 18px;
  transition: all 0.3s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
}
.footer-social a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .form-card { padding: 24px; }
}

/* ============================================
   About Page
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.5s var(--ease-out-expo);
}
.about-grid img:hover { transform: scale(1.02); }
.value-props {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.value-prop {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s var(--ease-out-expo);
}
.value-prop:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3);
}
.value-prop .prop-icon { font-size: 36px; margin-bottom: 16px; }
.value-prop h4 { margin-bottom: 8px; }
.value-prop p { color: var(--muted); font-size: 14px; margin: 0; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .resort-grid { grid-template-columns: 1fr; }
  .resort-price-callout { flex-direction: column; text-align: center; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn + .btn { margin-left: 0; }
}

/* ============================================
   Contact Info
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
}
.contact-info-card:hover { border-color: rgba(14, 165, 233, 0.3); }
.contact-info-card h4 { margin-bottom: 16px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--text);
  font-size: 15px;
}
.contact-detail .detail-icon { color: var(--accent); font-size: 20px; width: 24px; text-align: center; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Floating Contact Button
   ============================================ */
.floating-contact {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.floating-contact-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
  transition: all 0.3s var(--ease-spring);
  color: #000;
  font-size: 24px;
}
.floating-contact-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.6);
}
.floating-contact-btn svg {
  width: 24px;
  height: 24px;
  fill: #000;
}
.floating-contact-tooltip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s;
  pointer-events: none;
}
.floating-contact:hover .floating-contact-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface2);
  border: 1px solid var(--border);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s var(--ease-out-expo);
  font-size: 18px;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* ============================================
   Destination Map Section
   ============================================ */
.map-section {
  position: relative;
  overflow: hidden;
}
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s var(--ease-out-expo);
  cursor: pointer;
}
.map-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}
.map-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.map-card-info h4 { font-size: 16px; margin-bottom: 4px; }
.map-card-info p { color: var(--muted); font-size: 13px; margin: 0; }

/* ============================================
   Utility
   ============================================ */
.divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
  border-radius: 2px;
  margin: 24px auto;
}
.no-results { text-align: center; padding: 80px 20px; display: none; }
.no-results h3 { color: var(--white); margin-bottom: 8px; }
.no-results p { color: var(--muted); }

/* Animated separator line */
.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.3;
}

/* Animations */
@keyframes cardUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  animation: cardUp 0.5s ease forwards;
}

/* Glassmorphism utility */
.glass {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-light), var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Pulse animation for CTAs */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4); }
  50% { box-shadow: 0 0 0 12px rgba(14, 165, 233, 0); }
}
.pulse { animation: pulse 2s ease-in-out infinite; }
