:root {
  --bg: #f8fafc; /* slate-50 */
  --text: #0f172a; /* slate-900 */
  --muted: #64748b; /* slate-500 */
  --card: #ffffff;
  --border: #e2e8f0; /* slate-200 */
  --primary: #2563eb; /* blue-600 */
  --primary-strong: #1d4ed8; /* blue-700 */
  --shadow: 0 10px 25px -10px rgba(2, 6, 23, 0.25);
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'Outfit', Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* Container */
.container {
  max-width: 1120px;
  margin-inline: auto;
  padding: 0 1rem;
}

/* Accent blobs */
.bg-accents {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.35;
  animation: floatBlobs 20s infinite ease-in-out alternate;
}
.blob-a {
  width: 28rem;
  height: 28rem;
  left: -8rem;
  top: -8rem;
  background: #bfdbfe;
  animation-delay: 0s;
}
.blob-b {
  width: 22rem;
  height: 22rem;
  right: -4rem;
  top: 8rem;
  background: #dbeafe;
  animation-delay: -5s;
}

@keyframes floatBlobs {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 50px) scale(1.05); }
  100% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 30;
  transition: all 0.3s ease;
}
.site-header.has-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding-block: 0.25rem;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
}
.brand svg {
  color: var(--primary);
}
.brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1;
}
.brand-text sup {
  font-size: 0.55em;
  vertical-align: super;
}
.brand-accent {
  color: var(--primary);
}
.tagline {
  display: block;
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
}
.nav-links > li > a {
  position: relative;
  color: #334155;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}
.nav-links > li > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.nav-links > li > a:hover {
  color: var(--primary);
}
.nav-links > li > a:hover::after {
  width: 100%;
}
.nav-links > li > a.active {
  color: var(--primary);
  font-weight: 600;
}
.nav-links > li > a.active::after {
  width: 100%;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}
.dropdown-btn {
  background: none;
  border: 0;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.3s ease;
}
.dropdown-btn::after {
  content: '▾';
  font-size: 0.8em;
  transition: transform 0.3s ease;
  display: inline-block;
}
.has-dropdown:hover .dropdown-btn {
  color: var(--primary);
}
.has-dropdown:hover .dropdown-btn::after {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  top: 100%;
  min-width: 14rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1), 0 10px 15px -3px rgba(0,0,0,0.05);
  padding: 0.75rem;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 50;
}
.has-dropdown:focus-within .dropdown,
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  color: #475569;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.25s ease;
}
.dropdown a:hover {
  background: #f1f5f9;
  color: var(--primary);
  transform: translateX(4px);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #0f172a;
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 64px;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 1rem;
    display: none;
    flex-direction: column;
    gap: 0.75rem;
  }
  .nav-toggle {
    display: flex;
  }
}

.nav-links.open {
  display: flex;
}

/* ————— Hero Slider ————— */
.hero-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0f172a;
}
.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.2s ease-in-out, transform 7s ease-out;
  transform: scale(1.05);
}
.hero-slider .slide.active {
  opacity: 1;
  z-index: 2;
  transform: scale(1);
}
.hero-slider .slide.previous {
  opacity: 1;
  z-index: 1;
  transform: scale(1);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 1;
}

/* Hero Content overrides */
.hero-wrap .hero {
  position: relative;
  z-index: 2;
  padding: 10rem 1rem 8rem;
  text-align: center;
  width: 100%;
}
.hero-wrap .hero-title,
.hero-wrap .hero-subtitle {
  color: #fff;
}
.hero-wrap .hero-subtitle {
  color: #e2e8f0;
}
.hero-wrap .btn-ghost {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(4px);
}
.hero-wrap .btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
.hero-wrap .t-primary { color: #93c5fd; }
.hero-wrap .t-primary-strong { color: #bfdbfe; }

/* Hero */
.hero {
  padding: 4rem 1rem 3rem;
  text-align: center;
}
.hero .pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: #fff;
  color: #111827;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.hero-title {
  margin: 1rem auto 0;
  max-width: 22ch;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.hero-text-block {
  display: inline-block;
}
.t-primary {
  color: var(--primary);
}
.t-primary-strong {
  color: var(--primary-strong);
}
.hero-subtitle {
  max-width: 62ch;
  margin: 0.9rem auto 0;
  color: #475569;
  font-size: 1.05rem;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.9rem;
  padding: 0.85rem 1.15rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}
.btn svg {
  flex: 0 0 auto;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn-primary:hover {
  background: #1f54c8;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}
.btn-ghost {
  border: 1px solid #bfdbfe;
  background: #fff;
  color: #1d4ed8;
}
.btn-ghost:hover {
  background: #eff6ff;
  border-color: #93c5fd;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(147, 197, 253, 0.25);
}

/* Small line break only for >= 640px */
.br-sm {
  display: none;
}

@media (min-width: 640px) {
  .br-sm {
    display: block;
  }
}

/* ————— Search Panel ————— */
.search {
  padding: 3rem 0;
}
.panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1rem 1rem;
}

/* tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
}
.tab-btn {
  border: 1px solid transparent;
  background: #fff;
  color: #1e293b;
  padding: 0.55rem 0.9rem;
  border-radius: 0.8rem;
  font-weight: 600;
}
.tab-btn.is-active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

/* panels */
.tab-panel {
  margin-top: 1rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.span-2 {
  grid-column: span 2;
}
.span-3 {
  grid-column: span 3;
}
.span-4 {
  grid-column: span 4;
}
.align-end {
  display: flex;
  align-items: end;
}

@media (max-width: 960px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .span-2,
  .span-3,
  .span-4 {
    grid-column: span 2;
  }
}
@media (max-width: 520px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .span-2,
  .span-3,
  .span-4 {
    grid-column: span 1;
  }
}

/* fields */
.field {
  display: flex;
  flex-direction: column;
}
.field span {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0 0 0.35rem;
}
.field input,
.field textarea,
.field select,
.select select {
  width: 100%;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
  font: inherit;
  color: #0f172a;
}
.field input:focus,
.field textarea:focus,
.field select:focus,
.select select:focus {
  outline: none;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
  background: #fff;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}

.row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.row.end {
  justify-content: flex-start;
}
.check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  font-size: 0.9rem;
}
.select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.select svg {
  color: #475569;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 1.2rem;
  text-align: center;
}
.stat-num {
  font-weight: 800;
  font-size: 1.8rem;
}
.stat-label {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

/* ————— Destinations Grid ————— */
.dest {
  padding: 2.5rem 0 3rem;
}
.dest-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1rem;
}
.dest-head h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.25rem);
  margin: 0 0 0.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.dest-head p {
  color: #64748b;
  margin: 0;
}

.trip-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .trip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .trip-grid {
    grid-template-columns: 1fr;
  }
}

.trip-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.trip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(2, 6, 23, 0.25);
}
.media {
  position: relative;
  aspect-ratio: 16/9;
  background: #e2e8f0;
  overflow: hidden;
}
.media {
  position: relative;
  aspect-ratio: 16/9;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.trip-card:hover .media img {
  transform: scale(1.05);
}

.badge {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  background: rgba(2, 132, 199, 0.92);
  color: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
}
.badge-sale {
  right: 0.75rem;
  left: auto;
  background: rgba(234, 88, 12, 0.92);
}

.badge-indigo {
  background: rgba(79, 70, 229, 0.92);
}
.badge-teal {
  background: rgba(13, 148, 136, 0.92);
}
.badge-blue {
  background: rgba(29, 78, 216, 0.92);
}
.badge-violet {
  background: rgba(124, 58, 237, 0.92);
}
.badge-amber {
  background: rgba(217, 119, 6, 0.92);
}

.content {
  padding: 1rem;
}
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}
.top h3 {
  margin: 0;
  font-size: 1.05rem;
}
.rating {
  color: #f59e0b;
  font-weight: 600;
}
.desc {
  color: #475569;
  font-size: 0.95rem;
  margin: 0.35rem 0 0.5rem;
}
.meta {
  display: flex;
  gap: 0.9rem;
  color: #64748b;
  font-size: 0.9rem;
}
.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
}
.price {
  font-weight: 800;
  font-size: 1.35rem;
}
.price small {
  font-weight: 600;
  color: #64748b;
}

/* ————— Newsletter ————— */
.newsletter {
  padding: 2.5rem 0 2rem;
}
.news-wrap {
  color: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
}
.news-wrap h2 {
  margin: 0 0 0.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: clamp(1.6rem, 3.2vw, 2rem);
}
.news-sub {
  margin: 0.25rem 0 1rem;
  color: rgba(255, 255, 255, 0.9);
}
.news-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
  align-items: center;
}
.news-form input {
  grid-column: 1 / span 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  font: inherit;
}
.news-form input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}
.news-form input:focus {
  outline: none;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.28);
}
.news-form .btn {
  grid-column: 2 / span 1;
}
.hint {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}
.status {
  grid-column: 1 / -1;
  margin: 0;
  font-weight: 600;
}
.status.error {
  color: #fecaca;
} /* red-200 */
.status.success {
  color: #bbf7d0;
} /* green-200 */

/* visually hidden label (keeps a11y) */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ————— Footer ————— */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  margin-top: 2rem;
}
.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 1.5rem;
  padding: 2rem 1rem;
}
.foot-brand .brand {
  color: #cbd5e1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.foot-brand .brand svg {
  color: #60a5fa;
}
.foot-tag {
  color: #94a3b8;
  margin: 0.35rem 0 0;
}
.foot-col h3 {
  margin: 0.2rem 0 0.5rem;
  font-size: 1rem;
  color: #e2e8f0;
}
.foot-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.foot-col a {
  color: #cbd5e1;
  text-decoration: none;
}
.foot-col a:hover {
  color: #93c5fd;
}
.contact {
  gap: 0.35rem;
}

.legal {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
}
.legal p {
  margin: 0;
  color: #94a3b8;
}
.legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
.legal-links a {
  color: #94a3b8;
  text-decoration: none;
}
.legal-links a:hover {
  color: #cbd5e1;
}

@media (max-width: 960px) {
  .news-form {
    grid-template-columns: 1fr;
  }
  .news-form .btn {
    grid-column: 1;
  }
  .footer {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .footer {
    grid-template-columns: 1fr;
  }
  .legal {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* ————— Scroll Reveals ————— */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.hero .hero-text-block { display: inline-block; }
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }

/* ————— Modal ————— */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.is-open .modal-content {
  transform: translateY(0) scale(1);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #0f172a;
}
.booking-form {
  padding: 1.5rem 2rem 2.5rem;
}
.booking-form .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.booking-form .span-2 {
  grid-column: span 2;
}
@media (max-width: 520px) {
  .booking-form .grid {
    grid-template-columns: 1fr;
  }
  .booking-form .span-2 {
    grid-column: span 1;
  }
}
