/* ==========================================================================
   FerrySetu — Coastal Harbour Teal & Ferry Signal Coral Theme (Zero Gray)
   Pure white surfaces, fresh seafoam-mint tints, deep harbour teal bands,
   and vibrant maritime ferry coral-orange accents.
   ========================================================================== */

:root {
  --fs-white: #ffffff;
  --fs-ice: #eefaf7;
  --fs-ice-soft: #dff3ee;
  --fs-dark: #062c2b;
  --fs-dark-alt: #083836;
  --fs-dark-card: #0e4a47;
  --fs-ink: #062c2b;
  --fs-ocean-body: #145e59;
  --fs-ocean: #0f766e;
  --fs-sky: #ff9e75;
  --fs-lime: #ff7a45;
  --fs-coral-cta: #e55320;
  --fs-coral-hover: #c94314;
  --fs-lime-soft: #ffc8ad;
  --fs-border: #b2ddd4;
  --fs-border-dark: #185c58;
}

/* Base typography & smooth scrolling */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background-color: var(--fs-white);
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--fs-white);
  color: var(--fs-ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--fs-lime);
  color: var(--fs-dark);
}

h1, h2, h3, .font-display {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Editorial serif italic accent */
.font-serif-italic {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 400;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #0f766e;
}

.eyebrow-dark {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fs-sky);
}

.eyebrow-light {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fs-lime-soft);
}

/* ==========================================================================
   Header (Transparent over hero -> Deep Harbour Teal Frosted on scroll)
   ========================================================================== */
.fs-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(6, 44, 43, 0.74) 0%, rgba(6, 44, 43, 0.08) 100%);
  border-bottom: 1px solid rgba(255, 158, 117, 0.24);
  color: #ffffff;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.fs-header.is-scrolled {
  background: rgba(6, 44, 43, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 158, 117, 0.26);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(6, 44, 43, 0.28);
}

.fs-nav-link {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  color: #d4efea;
  padding: 0.35rem 0;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.fs-nav-link:hover,
.fs-nav-link.is-active {
  color: #ffffff;
}

.fs-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--fs-lime);
  transition: width 0.25s ease;
}

.fs-nav-link:hover::after,
.fs-nav-link.is-active::after {
  width: 100%;
}

.fs-header-cta {
  background-color: var(--fs-coral-cta);
  border: 1px solid var(--fs-coral-cta);
  color: #ffffff;
  border-radius: 9999px;
  box-shadow: none;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.fs-header-cta:hover {
  background-color: var(--fs-coral-hover);
  border-color: var(--fs-coral-hover);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: none;
}

.fs-country-select option {
  background-color: #062c2b;
  color: #ffffff;
}

/* ==========================================================================
   Hero Swiper Section
   ========================================================================== */
.fs-hero {
  position: relative;
  min-height: 760px;
  height: 92vh;
  max-height: 980px;
  background-color: var(--fs-dark);
}

@media (max-width: 767px) {
  .fs-hero {
    min-height: 640px;
    height: 82vh;
    max-height: 760px;
  }
}

.fs-hero .swiper,
.fs-hero .swiper-wrapper,
.fs-hero .swiper-slide {
  width: 100%;
  height: 100%;
}

.fs-hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 44, 43, 0.86) 0%, rgba(8, 56, 54, 0.52) 55%, rgba(8, 56, 54, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 44, 43, 0.42) 0%, rgba(6, 44, 43, 0.05) 38%, rgba(6, 44, 43, 0.88) 100%);
}

.fs-hero-title {
  font-size: clamp(2rem, 3.8vw, 3.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.fs-section-title {
  font-size: clamp(1.75rem, 3vw, 2.85rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.fs-hero .swiper-slide img {
  transform: scale(1.04);
  transition: transform 6s ease-out;
}

.fs-hero .swiper-slide-active img {
  transform: scale(1);
}

/* Custom Swiper Navigation & Pagination */
.fs-swiper-btn {
  width: 46px;
  height: 46px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 158, 117, 0.48);
  background: rgba(6, 44, 43, 0.52);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.fs-swiper-btn:hover {
  background-color: var(--fs-coral-cta);
  border-color: var(--fs-coral-cta);
  color: #ffffff;
  transform: scale(1.05);
}

.fs-hero-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(212, 239, 234, 0.48);
  opacity: 1;
  transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.fs-hero-pagination .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 9999px;
  background: var(--fs-lime);
}

.fs-why-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(212, 239, 234, 0.48);
  opacity: 1;
  transition: width 0.3s ease, background-color 0.3s ease, border-radius 0.3s ease;
}

.fs-why-pagination .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 9999px;
  background: var(--fs-lime);
}

/* ==========================================================================
   Buttons & Pill CTAs (Deep Harbour Teal + Ferry Signal Coral Accents)
   ========================================================================== */
.fs-pill-lime {
  background-color: var(--fs-coral-cta);
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.fs-pill-lime:hover {
  background-color: var(--fs-coral-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(229, 83, 32, 0.32);
}

.fs-pill-ocean {
  background-color: #062c2b;
  color: #ffffff;
  border-radius: 9999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.fs-pill-ocean:hover {
  background-color: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.3);
}

.fs-underline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--fs-dark);
  padding-bottom: 0.25rem;
  border-bottom: 1.5px solid var(--fs-dark);
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.fs-underline-link:hover {
  color: #e55320;
  border-color: #e55320;
  gap: 0.6rem;
}

.fs-underline-link-light {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--fs-lime);
  padding-bottom: 0.25rem;
  border-bottom: 1.5px solid rgba(255, 122, 69, 0.78);
  transition: color 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

.fs-underline-link-light:hover {
  color: #ffffff;
  border-color: #ffffff;
  gap: 0.6rem;
}

/* ==========================================================================
   Booking Search Widget (Pure White Card + Sea-Mist Inputs)
   ========================================================================== */
.fs-booking-card {
  background-color: var(--fs-white);
  border: 1px solid #b2ddd4;
  border-radius: 24px;
  box-shadow: 0 24px 64px rgba(6, 44, 43, 0.16);
}

.fs-input-box {
  background-color: #eefaf7;
  border: 1px solid #a3d6cb;
  border-radius: 12px;
  color: var(--fs-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.fs-input-box:focus-within {
  border-color: #0f766e;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.14);
}

.fs-swap-btn {
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, color 0.2s ease;
}

.fs-swap-btn.is-rotated {
  transform: rotate(180deg);
}

.fs-tab-pill {
  border-radius: 9999px;
  border: 1px solid #a3d6cb;
  color: var(--fs-ink);
  background-color: #eefaf7;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.fs-tab-pill:hover {
  border-color: #0f766e;
  background-color: #dcf1ec;
}

.fs-tab-pill.is-active {
  background-color: #062c2b;
  border-color: #062c2b;
  color: #ffffff;
}

/* ==========================================================================
   Uniform Rounded Feature Cards
   ========================================================================== */
.fs-arch-rect {
  border-radius: 16px;
}

.fs-card-img-zoom img {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.fs-card-img-zoom:hover img {
  transform: scale(1.06);
}

.fs-circle-arrow {
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  background-color: #062c2b;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.group:hover .fs-circle-arrow {
  background-color: var(--fs-coral-cta);
  color: #ffffff;
  transform: rotate(45deg);
}

/* ==========================================================================
   Horizontal Mobile Scroll Strip
   ========================================================================== */
.fs-no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.fs-no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* ==========================================================================
   Accessible Pure-CSS FAQ Accordion (<details> / <summary>)
   ========================================================================== */
.fs-faq-item {
  border-bottom: 1px solid #b2ddd4;
}

.fs-faq-item summary {
  list-style: none;
  cursor: pointer;
}

.fs-faq-item summary::-webkit-details-marker {
  display: none;
}

.fs-faq-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  color: #062c2b;
  background-color: #dcf1ec;
  transition: transform 0.28s ease, background-color 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.fs-faq-item[open] .fs-faq-plus {
  transform: rotate(45deg);
  background-color: #062c2b;
  color: var(--fs-lime);
}

/* ==========================================================================
   Modal Dialog Styling
   ========================================================================== */
dialog.fs-modal::backdrop {
  background: rgba(6, 44, 43, 0.72);
  backdrop-filter: blur(5px);
}
