@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --royal-blue: #0A1828;
  --royal-slate: #132742;
  --gold-primary: #C5A03F;
  --gold-dark: #9E7B25;
  --gold-light: #E5C778;
  --gold-tint: rgba(197, 160, 63, 0.14);
  --sand-bg: #F9F6F0;
  --sand-surface: #EFECE4;
  --white: #FFFFFF;
  --text-main: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --border-subtle: #E2DDD2;
  --border-gold: rgba(197, 160, 63, 0.42);
  --success-green: #0F766E;
  --wa-green: #128C7E;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-card: 0 10px 28px rgba(10, 24, 40, 0.06);
  --shadow-hover: 0 20px 44px rgba(10, 24, 40, 0.14);
  --container-max: 1240px;
}

/* =================================================================
   1. STRICT RESET & ZERO OVERFLOW LOCK
   ================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--sand-bg);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.72;
  scroll-behavior: smooth;
  top: 0 !important;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

input, select, textarea {
  font: inherit;
  color: inherit;
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  line-height: 1.24;
  color: var(--royal-blue);
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-decoration: none;
}

/* =================================================================
   2. SMOOTH LEFT & RIGHT SLIDE ANIMATIONS
   ================================================================= */
@keyframes slideFromLeft {
  0% { opacity: 0; transform: translateX(-36px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideFromRight {
  0% { opacity: 0; transform: translateX(36px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes fadeUpSmooth {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

.slide-left,
.grid-3 > *:nth-child(odd),
.timeline-step:nth-child(odd) {
  animation: slideFromLeft 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.slide-right,
.grid-3 > *:nth-child(even),
.timeline-step:nth-child(even) {
  animation: slideFromRight 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fade-up {
  animation: fadeUpSmooth 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* =================================================================
   3. ADVANCED INTERACTIVE HOVER BUTTONS SYSTEM (2026)
   ================================================================= */

/* A. Primary Gold Shimmer & Arrow Slide Hover Button */
.btn-hover-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--white);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius-sm);
  padding: 0.72rem 1.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(197, 160, 63, 0.25);
  z-index: 1;
}

.btn-hover-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: left 0.55s ease;
  z-index: -1;
}

.btn-hover-gold:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 12px 26px rgba(197, 160, 63, 0.42);
  background: linear-gradient(135deg, #D4AF37, var(--gold-primary));
}

.btn-hover-gold:hover::before {
  left: 100%;
}

.btn-hover-gold .arrow-icon {
  display: inline-block;
  transition: transform 0.28s ease;
}

.btn-hover-gold:hover .arrow-icon {
  transform: translateX(5px);
}

.btn-hover-gold:active {
  transform: translateY(0) scale(0.99);
}

/* B. Royal Slide-Fill Outline Hover Button */
.btn-hover-outline {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  color: var(--royal-blue);
  border: 1.5px solid var(--royal-blue);
  border-radius: var(--radius-sm);
  padding: 0.66rem 1.2rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 1;
}

.btn-hover-outline::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--royal-blue);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn-hover-outline:hover,
.btn-hover-outline.active-pill {
  color: var(--gold-light);
  border-color: var(--royal-blue);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(10, 24, 40, 0.15);
}

.btn-hover-outline:hover::after,
.btn-hover-outline.active-pill::after {
  transform: scaleY(1);
}

/* Light version for dark hero backgrounds */
.btn-hover-outline.light {
  color: var(--white);
  border-color: var(--border-gold);
}

.btn-hover-outline.light::after {
  background-color: var(--gold-primary);
}

.btn-hover-outline.light:hover {
  color: var(--royal-blue);
  border-color: var(--gold-light);
}

/* C. WhatsApp Emerald Glow Hover Button */
.btn-hover-wa {
  background: linear-gradient(135deg, #159D8E, #0E766B);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(18, 140, 126, 0.25);
}

.btn-hover-wa:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(18, 140, 126, 0.42);
  background: linear-gradient(135deg, #19B3A2, #128C7E);
}

/* D. Email Royal Navy Hover Button */
.btn-hover-mail {
  background-color: var(--royal-blue);
  color: var(--gold-light);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hover-mail:hover {
  background-color: var(--royal-slate);
  color: var(--white);
  border-color: var(--gold-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(10, 24, 40, 0.28);
}

/* E. Navigation Link Underline Hover */
.nav-btn-hover {
  position: relative;
  background: transparent;
  border: none;
  color: #E2E8F0;
  padding: 0.5rem 0.85rem;
  font-size: 0.81rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.25s ease, background-color 0.25s ease;
  white-space: nowrap;
}

.nav-btn-hover::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 15%;
  width: 70%;
  height: 2px;
  background-color: var(--gold-light);
  transform: scaleX(0);
  transition: transform 0.28s ease;
}

.nav-btn-hover:hover,
.nav-btn-hover.active {
  color: var(--gold-light);
  background-color: rgba(255, 255, 255, 0.06);
}

.nav-btn-hover:hover::after,
.nav-btn-hover.active::after {
  transform: scaleX(1);
}

/* =================================================================
   4. LAYOUT, HEADER & TOPBAR
   ================================================================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2.25rem);
}

.section {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border-subtle);
}

.section-alt {
  background-color: var(--sand-surface);
}

.section-header {
  max-width: 760px;
  margin-bottom: 2.25rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

.topbar {
  background-color: var(--royal-blue);
  color: #E2E8F0;
  font-size: 0.76rem;
  padding: 0.5rem 4%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-contacts {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.topbar-contacts a:hover {
  color: var(--gold-light);
}

.select-compact {
  background-color: var(--royal-slate);
  color: var(--white);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  padding: 0.25rem 0.6rem;
  font-size: 0.74rem;
  cursor: pointer;
  width: auto;
}

@media (max-width: 640px) {
  .topbar-contacts a:not(:first-child) {
    display: none;
  }
}

.site-header {
  background-color: var(--royal-blue);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold-primary);
  padding: 0.6rem 4%;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
  gap: 0.75rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.brand-logo-box {
  background-color: #000000;
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.85rem;
  min-width: 112px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.brand-logo-box span {
  font-weight: 800;
  font-size: 0.96rem;
  color: var(--white);
}

.brand-logo-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.brand-titles strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.brand-titles small {
  display: block;
  font-size: 0.68rem;
  color: #94A3B8;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.nav-toggle-btn {
  display: none;
  background-color: var(--royal-slate);
  color: var(--gold-light);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  width: 38px;
  height: 38px;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 1060px) {
  .nav-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .brand-titles small {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--royal-blue);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 4%;
    border-bottom: 2px solid var(--gold-primary);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
  }
  .main-nav.open {
    display: flex;
  }
  .nav-btn-hover {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* =================================================================
   5. HERO, CARDS & DETAILS GRID
   ================================================================= */
.hero-editorial {
  background-color: var(--royal-blue);
  color: var(--white);
  padding: clamp(2.75rem, 5vw, 4.5rem) 4%;
  border-bottom: 1px solid var(--border-gold);
}

.hero-editorial h1 {
  color: var(--white);
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  margin-bottom: 1rem;
}

.hero-editorial p.lead {
  color: #CBD5E1;
  font-size: 0.98rem;
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.hero-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: start;
}

@media (max-width: 920px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.transparency-box {
  background-color: var(--royal-slate);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.transparency-box h3 {
  color: var(--gold-light);
  font-size: 1.18rem;
  margin-bottom: 0.75rem;
}

.transparency-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: #E2E8F0;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.65rem;
  width: 100%;
}

.tour-card {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.tour-card-media {
  position: relative;
  height: 210px;
  background-color: var(--royal-blue);
  overflow: hidden;
  cursor: pointer;
}

.tour-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tour-card:hover .tour-card-media img {
  transform: scale(1.06);
}

.media-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(10, 24, 40, 0.92);
  color: var(--gold-light);
  padding: 0.22rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 600;
}

.media-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: var(--white);
  color: var(--royal-blue);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
}

.tour-card-content {
  padding: 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tour-card-content h3 {
  font-size: 1.22rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.tour-card-content h3:hover {
  color: var(--gold-dark);
}

.tour-card-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.95rem;
}

.card-specs {
  background-color: var(--sand-bg);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--gold-primary);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.85rem;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  display: grid;
  gap: 0.25rem;
}

.tour-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border-subtle);
  gap: 0.75rem;
  flex-wrap: wrap;
}

.price-block small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-block strong {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--royal-blue);
}

/* DETAILS LAYOUT */
.details-grid {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 2rem 4% 4rem;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 2.25rem;
  align-items: start;
}

@media (max-width: 960px) {
  .details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.main-tour-img {
  width: 100%;
  height: 370px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.75rem;
}

@media (max-width: 600px) {
  .main-tour-img {
    height: 225px;
  }
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(85px, 1fr));
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.thumb-row img {
  width: 100%;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.thumb-row img:hover,
.thumb-row img.active-thumb {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}

.facts-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
  gap: 0.65rem;
  margin-block: 1.2rem 1.6rem;
}

.fact-box {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
}

.fact-box small {
  display: block;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fact-box strong {
  font-size: 0.82rem;
  color: var(--royal-blue);
}

.info-panel {
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: clamp(1.15rem, 3vw, 1.7rem);
  margin-bottom: 1.5rem;
}

.timeline-step {
  border-left: 3px solid var(--gold-primary);
  padding-left: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: var(--gold-primary);
}

.step-time {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.inquiry-card {
  position: sticky;
  top: 86px;
  background-color: var(--white);
  border: 2px solid var(--royal-blue);
  border-radius: var(--radius-md);
  padding: clamp(1.15rem, 3vw, 1.6rem);
  box-shadow: var(--shadow-card);
}

@media (max-width: 960px) {
  .inquiry-card {
    position: static;
  }
}

.inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
}

.field label {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--royal-blue);
}

.field input, .field select, .field textarea {
  padding: 0.6rem 0.75rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  font-size: 0.84rem;
}

.quote-summary-bar {
  background-color: var(--royal-blue);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-block: 0.85rem;
}

.quote-summary-bar strong {
  font-size: 1.35rem;
  color: var(--gold-light);
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

@media (max-width: 480px) {
  .action-grid {
    grid-template-columns: 1fr;
  }
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  background-color: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-block: 1.25rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
}

.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.83rem;
}

.data-table th {
  background-color: var(--royal-blue);
  color: var(--gold-light);
  font-size: 0.72rem;
  text-transform: uppercase;
}

/* DRAWER & MODALS */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(10, 24, 40, 0.75);
  display: flex;
  justify-content: flex-end;
  z-index: 3000;
}

.drawer-panel {
  background-color: var(--white);
  width: 100%;
  max-width: 430px;
  height: 100%;
  padding: 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 2px solid var(--gold-primary);
}

.drawer-item {
  background-color: var(--sand-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  margin-bottom: 0.6rem;
  position: relative;
}

.site-footer {
  background-color: var(--royal-blue);
  color: #CBD5E1;
  padding: 3.5rem 4% 2rem;
  border-top: 2px solid var(--gold-primary);
  margin-top: 3rem;
}

.footer-grid {
  max-width: var(--container-max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: var(--gold-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-col button.footer-link {
  display: block;
  background: none;
  border: none;
  color: #CBD5E1;
  font-size: 0.82rem;
  margin-bottom: 0.45rem;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col button.footer-link:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}