/* ===================================
   WAVE RIDE — PREMIUM STYLE SHEET
   Aesthetic: Luxury Nautical / Dark
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Jost:wght@300;400;500;600&display=swap');

/* ===================================
   CSS VARIABLES
=================================== */

:root {
  --navy:       #050e1a;
  --navy-mid:   #0a1f35;
  --navy-light: #122843;
  --gold:       #c9a84c;
  --gold-light: #e8c97a;
  --gold-dim:   #8a6e2f;
  --white:      #f8f4ee;
  --off-white:  #ede8df;
  --muted:      rgba(248,244,238,0.55);
  --border:     rgba(201,168,76,0.18);
  --border-mid: rgba(201,168,76,0.32);
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================
   GLOBAL
=================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ===================================
   HEADER
=================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  padding: 0;
  background: rgba(5, 14, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.container {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  padding: 2px 6px;
}

.logo img {
  height: 100px;
  width: auto;
  background: transparent;
}

/* ===================================
   NAVIGATION
=================================== */

.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  transition: color var(--transition);
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width var(--transition);
}

.nav a:hover {
  color: var(--gold-light);
}

.nav a:hover::after {
  width: 100%;
}

/* ===================================
   BOOK BUTTON (HEADER)
=================================== */

.book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 10px 24px;
  border-radius: 2px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all var(--transition);
}

.book-btn::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.book-btn:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ===================================
   HERO SECTION
=================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: url('../images/hero.jpg') center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,14,26,0.55) 0%,
    rgba(5,14,26,0.3) 40%,
    rgba(5,14,26,0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 780px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s forwards;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 88px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s forwards;
}

.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s forwards;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 15px 36px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
}

.btn:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(248,244,238,0.08);
  border: 1px solid rgba(248,244,238,0.5);
  color: var(--white);
  padding: 15px 36px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 18px rgba(248,244,238,0.12), inset 0 0 18px rgba(248,244,238,0.04);
  animation: ghostGlow 3s ease-in-out infinite;
}

/* shimmer sweep */
.btn-ghost::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.18) 50%,
    transparent 100%
  );
  animation: ghostShimmer 3s ease-in-out infinite;
}

.btn-ghost:hover {
  background: rgba(248,244,238,0.14);
  border-color: var(--gold);
  color: var(--gold-light);
  box-shadow: 0 0 28px rgba(201,168,76,0.3), inset 0 0 12px rgba(201,168,76,0.06);
  animation: none;
}

.btn-ghost:hover::after {
  animation: none;
}

@keyframes ghostGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(248,244,238,0.12), inset 0 0 18px rgba(248,244,238,0.04); }
  50%       { box-shadow: 0 0 28px rgba(248,244,238,0.22), inset 0 0 24px rgba(248,244,238,0.08); }
}

@keyframes ghostShimmer {
  0%   { left: -75%; }
  60%  { left: 125%; }
  100% { left: 125%; }
}

/* hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeUp 0.9s 1.2s forwards;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ===================================
   SECTION TITLES
=================================== */

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--gold-light);
}

.section-desc {
  color: var(--muted);
  font-weight: 300;
  font-size: 16px;
  max-width: 520px;
}

/* ===================================
   FILTER / SEARCH BAR
=================================== */

.fleet-filter {
  padding: 80px 0 60px;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

.filter-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 20px;
}

.filter-controls {
  display: flex;
  gap: 0;
  align-items: stretch;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-wrap: wrap;
}

.filter-item {
  position: relative;
  flex: 1;
  min-width: 160px;
}

.filter-item:not(:last-child) {
  border-right: 1px solid var(--border);
}

.filter-item label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 14px 20px 4px;
}

.filter-item select {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  padding: 0 20px 14px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.filter-item select option {
  background: var(--navy-mid);
  color: var(--white);
}

.filter-arrow {
  position: absolute;
  right: 16px;
  bottom: 18px;
  pointer-events: none;
  color: var(--gold-dim);
  font-size: 10px;
}

.filter-reset {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 24px;
  cursor: pointer;
  transition: color var(--transition);
  min-width: 120px;
  justify-content: center;
}

.filter-reset:hover {
  color: var(--gold-light);
}

/* ===================================
   FLEET SECTION
=================================== */

.fleet {
  padding: 0 0 100px;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

.fleet-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.fleet-count {
  font-size: 13px;
  color: var(--muted);
  font-weight: 300;
}

.fleet-count span {
  color: var(--gold);
  font-weight: 500;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ===================================
   YACHT CARD
=================================== */

.yacht-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.yacht-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-mid);
  box-shadow:
    0 32px 64px rgba(0,0,0,0.5),
    0 0 0 1px var(--border-mid);
}

/* image wrapper */
.yacht-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.yacht-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.yacht-card:hover .yacht-image img {
  transform: scale(1.08);
}

/* image overlay gradient */
.yacht-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 50%,
    rgba(5,14,26,0.7) 100%
  );
  pointer-events: none;
}

/* badges */
.capacity,
.price {
  position: absolute;
  z-index: 2;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 2px;
}

.capacity {
  top: 14px;
  left: 14px;
  background: rgba(5,14,26,0.75);
  backdrop-filter: blur(8px);
  color: var(--off-white);
  padding: 5px 10px;
  border: 1px solid rgba(248,244,238,0.15);
}

.price {
  top: 14px;
  right: 14px;
  background: var(--gold);
  color: var(--navy);
  padding: 5px 10px;
  font-weight: 600;
}

/* view icon on hover */
.yacht-view {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.7);
  transition: all var(--transition);
}

.yacht-card:hover .yacht-view {
  opacity: 1;
  transform: scale(1);
}

/* card body */
.yacht-info {
  padding: 18px 20px 20px;
  position: relative;
}

.yacht-info h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.yacht-info p {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

/* thin gold accent line */
.yacht-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.yacht-card:hover::before {
  opacity: 1;
}

/* no results state */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}

.no-results h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 8px;
}

/* ===================================
   MODAL POPUP
=================================== */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5, 14, 26, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-box {
  background: var(--navy-mid);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 1020px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-dim) transparent;
  animation: modalIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-box::-webkit-scrollbar { width: 4px; }
.modal-box::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

.modal-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

/* gallery side */
.modal-gallery {
  padding: 30px 20px 30px 30px;
  position: sticky;
  top: 0;
  height: fit-content;
}

.gallery-main {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 12px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.25s ease;
}

.thumbnail-row {
  display: flex;
  gap: 8px;
}

.thumbnail-row img {
  flex: 1;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  opacity: 0.65;
}

.thumbnail-row img:hover,
.thumbnail-row img.active {
  opacity: 1;
  border-color: var(--gold);
}

/* content side */
.modal-content-wrap {
  padding: 36px 30px 30px 20px;
  border-left: 1px solid var(--border);
}

/* close button */
.close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: rgba(248,244,238,0.08);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  color: var(--muted);
  line-height: 1;
  transition: all var(--transition);
  z-index: 2;
  text-decoration: none;
}

.close:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* modal content typography */
#modalContent h2,
#expModalContent h2 {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}

#modalContent .modal-meta,
#expModalContent .modal-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

#modalContent .meta-item,
#expModalContent .meta-item {
  background: var(--navy-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

#modalContent .meta-label,
#expModalContent .meta-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 4px;
}

#modalContent .meta-value,
#expModalContent .meta-value {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

#modalContent .meta-value.gold,
#expModalContent .meta-value.gold {
  color: var(--gold-light);
}

#modalContent h3,
#expModalContent h3 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 24px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

#modalContent ul,
#expModalContent ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#modalContent ul li,
#expModalContent ul li {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

#modalContent ul li::before,
#expModalContent ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-dim);
  font-size: 12px;
}

#modalContent p {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  margin-bottom: 8px;
}

.modal-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  background: #25D366;
  color: white;
  padding: 16px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  width: 100%;
  justify-content: center;
  position: relative;
  box-shadow:
    0 4px 20px rgba(37,211,102,0.35),
    0 0 0 0 rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-in-out infinite;
}

.modal-whatsapp::before {
  content: '💬';
  font-size: 18px;
  line-height: 1;
}

.modal-whatsapp:hover {
  background: #20c45e;
  transform: translateY(-2px);
  box-shadow:
    0 8px 28px rgba(37,211,102,0.55),
    0 0 0 6px rgba(37,211,102,0.15);
  animation: none;
}

@keyframes waPulse {
  0%   { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 0   rgba(37,211,102,0.4); }
  60%  { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 10px rgba(37,211,102,0);  }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35), 0 0 0 0   rgba(37,211,102,0);  }
}

/* ===================================
   FLOATING WHATSAPP
=================================== */

.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 800;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 24px;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: all var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.5);
}

/* ===================================
   EXPERIENCE PACKAGES
=================================== */

.experiences {
  padding: 80px 0 100px;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
}

.exp-header {
  margin-bottom: 48px;
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.exp-card {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.exp-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-mid);
  box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px var(--border-mid);
}

.exp-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.exp-card:hover::before {
  opacity: 1;
}

.exp-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.exp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-card:hover .exp-image img {
  transform: scale(1.08);
}

.exp-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(5,14,26,0.7) 100%);
  pointer-events: none;
}

.exp-type {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  background: rgba(5,14,26,0.75);
  backdrop-filter: blur(8px);
  color: var(--gold-light);
  padding: 5px 10px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--border-mid);
}

.exp-info {
  padding: 18px 20px 20px;
}

.exp-info h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.3;
}

.exp-price {
  font-size: 13px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.06em;
}

@media (max-width: 1100px) {
  .exp-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .exp-grid { grid-template-columns: 1fr; }
}

/* ===================================
   SCROLL ANIMATIONS
=================================== */

.anim-hidden {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-label.anim-hidden,
.section-title.anim-hidden,
.section-desc.anim-hidden,
.fleet-count.anim-hidden {
  transform: translateY(20px);
  transition-duration: 0.5s;
}

/* ===================================
   FOOTER
=================================== */

.site-footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer-inner {
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-made {
  font-size: 12px;
  font-weight: 300;
  color: var(--gold-dim);
  letter-spacing: 0.06em;
  width: 100%;
  text-align: center;
  margin-top: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.footer-made span {
  color: var(--gold);
  font-weight: 500;
}

/* ===================================
   ANIMATIONS
=================================== */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

.hamburger {
  display: none;
}


/* ===================================
   LOADING SCREEN
=================================== */

#siteLoader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#siteLoader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.loader-logo {
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.loader-logo img {
  height: 90px;
  width: auto;
  background: white;
  border-radius: 10px;
  padding: 8px 16px;
}

.loader-line {
  width: 200px;
  height: 1px;
  background: rgba(201,168,76,0.2);
  border-radius: 1px;
  overflow: hidden;
  position: relative;
}

.loader-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loaderBar 1.6s ease-in-out forwards;
}

.loader-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-dim);
  animation: loaderFade 1.6s ease-in-out infinite alternate;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.85; transform: scale(0.97); }
}

@keyframes loaderBar {
  0%   { width: 0%; }
  100% { width: 100%; }
}

@keyframes loaderFade {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}


@media (max-width: 1100px) {
  .fleet-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .exp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .fleet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .exp-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .modal-grid {
    grid-template-columns: 1fr;
  }

  .modal-gallery {
    padding: 24px 24px 0;
    position: static;
  }

  .modal-content-wrap {
    padding: 20px 24px 28px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .filter-item {
    min-width: 140px;
  }
}

/* ===================================
   RESPONSIVE — MOBILE
=================================== */

@media (max-width: 640px) {

  /* --- Nav / Hamburger --- */
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--navy);
    z-index: 998;
    justify-content: center;
    align-items: center;
    gap: 36px;
  }
  .nav.open a {
    font-size: 28px;
    letter-spacing: 0.1em;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    z-index: 999;
  }
  .hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .book-btn { padding: 8px 16px; font-size: 11px; }

  /* --- Hero --- */
  .hero { min-height: 100svh; }
  .hero-content h1 { font-size: 36px; }
  .hero-eyebrow { font-size: 11px; }
  .hero-content p { font-size: 15px; padding: 0 8px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .btn, .btn-ghost { width: 100%; max-width: 280px; justify-content: center; }

  /* --- Sections --- */
  .fleet-filter,
  .fleet,
  .experiences { width: 96%; }

  .section-title { font-size: 28px; }
  .section-desc  { font-size: 14px; }

  .filter-header,
  .fleet-header  { flex-direction: column; gap: 12px; }

  /* --- Filter --- */
  .filter-controls { flex-direction: column; }
  .filter-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border);
    min-width: unset;
  }
  .filter-reset {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 16px;
    min-width: unset;
  }

  /* --- Grids --- */
  .fleet-grid { grid-template-columns: 1fr; gap: 16px; }
  .exp-grid   { grid-template-columns: 1fr; gap: 16px; }

  /* --- Yacht Card --- */
  .yacht-image { aspect-ratio: 16/9; }
  .yacht-view  { opacity: 1; transform: scale(1); }

  /* --- Modal --- */
  .modal { padding: 0; align-items: flex-end; }
  .modal-box {
    max-height: 92svh;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    width: 100%;
  }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-gallery {
    padding: 20px 20px 0;
    position: static;
  }
  .gallery-main { aspect-ratio: 16/9; }
  .thumbnail-row img { height: 52px; }
  .modal-content-wrap {
    padding: 16px 20px 28px;
    border-left: none;
    border-top: 1px solid var(--border);
  }
  #modalContent h2,
  #expModalContent h2 { font-size: 22px; }
  #modalContent .modal-meta,
  #expModalContent .modal-meta { grid-template-columns: 1fr 1fr; }
  .close { top: 12px; right: 14px; }

  /* --- Experience cards --- */
  .exp-card .exp-image { aspect-ratio: 16/9; }

  /* --- Footer --- */
  .footer-inner    { flex-direction: column; text-align: center; gap: 14px; }
  .footer-links    { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .footer-brand    { font-size: 18px; }

  /* --- Floating WhatsApp --- */
  .floating-whatsapp { width: 50px; height: 50px; font-size: 22px; bottom: 20px; right: 20px; }

  /* --- Loader --- */
  .loader-logo img { height: 70px; }
  .loader-line     { width: 160px; }
}