/**
 * CruiseCarnivaline — Master Design System Stylesheet
 * Domain: cruisecarnivaline.com
 * Phone: (866) 666-6068 / tel:+18666666068
 * 100% Exclusive Cruise Architecture
 */

/* ==========================================================================
   1. CSS VARIABLES & DESIGN TOKENS
   ========================================================================== */
:root {
  /* Color Palette */
  --primary-navy: #09203f;
  --primary-navy-dark: #051427;
  --primary-navy-light: #13335c;
  --ocean-blue: #0284c7;
  --ocean-blue-hover: #0369a1;
  --ocean-light: #e0f2fe;
  --ocean-subtle: #f0f9ff;
  
  --primary-coral: #dc2626;
  --primary-coral-hover: #b91c1c;
  --coral-light: #fee2e2;

  --emerald-green: #059669;
  --emerald-light: #d1fae5;

  --gold-accent: #d97706;
  --gold-light: #fef3c7;

  /* Neutrals */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #0284c7;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  
  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-search: 0 12px 36px rgba(9, 32, 63, 0.2);

  /* Container */
  --container-max: 1240px;
}

/* ==========================================================================
   2. RESET & GLOBAL BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-main);
  background-color: var(--bg-body);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-narrow {
  max-width: 920px;
}

/* ==========================================================================
   3. TOPBAR & NAVIGATION
   ========================================================================== */
.topbar {
  background-color: var(--primary-navy-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.topbar-badge {
  background: var(--ocean-blue);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.topbar-phone {
  font-weight: 700;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 0.82rem;
}

.topbar-phone:hover {
  color: var(--ocean-light);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.topbar-link {
  color: #cbd5e1;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.topbar-link:hover {
  color: #ffffff;
}

/* Main Navigation Header */
.main-header {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo img {
  height: 36px;
  width: auto;
  max-width: 210px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(6px, 1.1vw, 16px);
  margin: 0 auto;
}

.nav-item {
  display: flex;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--primary-navy);
  padding: 6px 2px;
  position: relative;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--ocean-blue);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--ocean-blue);
  border-radius: var(--radius-full);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--primary-coral);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 3px 10px rgba(220, 38, 38, 0.22);
}

.btn-header-call:hover {
  background-color: var(--primary-coral-hover);
  color: #ffffff;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  flex-shrink: 0;
}

.hamburger-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--primary-navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile Drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1000;
  box-shadow: var(--shadow-xl);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.mobile-nav-drawer.open {
  left: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 32, 63, 0.6);
  backdrop-filter: blur(2px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-nav-close {
  font-size: 1.8rem;
  color: var(--text-muted);
}

.mobile-nav-body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  display: block;
  padding: 8px 0;
}

.mobile-nav-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   4. CRUISE HERO SECTION
   ========================================================================== */
.hero-section {
  background: linear-gradient(180deg, #09203f 0%, #13335c 100%);
  color: #ffffff;
  padding: 56px 0 240px; /* 240px bottom padding guarantees popups never get cut off by next section */
  position: relative;
  overflow: visible !important;
  z-index: 100;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  color: var(--ocean-light);
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-trust-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: #94a3b8;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   5. CRUISE SEARCH WIDGET (6 MANDATORY FIELDS)
   ========================================================================== */
.cruise-search-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-search);
  padding: 24px;
  position: relative;
  z-index: 50;
  overflow: visible;
}

.cruise-search-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  align-items: end;
}

.col-dest { grid-column: span 4; }
.col-port { grid-column: span 4; }
.col-date { grid-column: span 4; }
.col-dur  { grid-column: span 3; }
.col-trav { grid-column: span 3; }
.col-line { grid-column: span 3; }
.col-btn  { grid-column: span 3; }

.search-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  position: relative;
  z-index: 20;
}

.search-field-group:focus-within,
.search-field-group.has-open-popup {
  z-index: 500 !important;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 5px;
}

.input-container {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  height: 48px;
  padding: 0 12px;
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s;
  z-index: 10;
}

.input-container:focus-within,
.input-container.is-focused,
.input-container.datepicker-open,
.input-container.menu-open {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  z-index: 500 !important;
}

.input-container.has-error {
  border-color: var(--primary-coral);
  background-color: #fff5f5;
}

.input-icon {
  width: 18px;
  height: 18px;
  fill: var(--ocean-blue);
  flex-shrink: 0;
  margin-right: 10px;
}

.form-input, .form-select {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--primary-navy);
  height: 100%;
}

.form-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 20px;
  padding-right: 24px;
}

.btn-input-clear {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: 6px;
  transition: background-color 0.2s;
}

.btn-input-clear:hover {
  background: var(--border-color);
  color: var(--primary-navy);
}

.input-error-text {
  font-size: 0.75rem;
  color: var(--primary-coral);
  margin-top: 4px;
  font-weight: 600;
}

/* Primary Search CTA Button */
.btn-search-primary {
  width: 100%;
  height: 48px;
  background: var(--primary-coral);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.btn-search-primary:hover {
  background: var(--primary-coral-hover);
}

/* Secondary Search Action / Call Bar in Search Widget */
.search-widget-call-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.search-call-prompt {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-call-btn {
  font-weight: 700;
  color: var(--primary-coral);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.search-call-btn:hover {
  text-decoration: underline;
}

/* ==========================================================================
   6. AUTOCOMPLETE DROPDOWN STYLES
   ========================================================================== */
.autocomplete-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  max-height: 280px;
  overflow-y: auto;
  z-index: 9999;
  padding: 6px 0;
}

.autocomplete-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  transition: background-color 0.15s;
}

.autocomplete-item:hover,
.autocomplete-item.is-active {
  background-color: var(--ocean-subtle);
}

.ac-item-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ocean-light);
  color: var(--ocean-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ac-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.ac-item-content {
  flex: 1;
  min-width: 0;
}

.ac-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ac-item-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autocomplete-empty {
  padding: 16px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. DATE PICKER POPUP STYLES
   ========================================================================== */
.date-picker-trigger {
  cursor: pointer;
}

.date-picker-trigger input {
  cursor: pointer;
}

.cruise-datepicker-popup {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 300px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  padding: 16px;
}

@media (min-width: 1025px) {
  .col-date .cruise-datepicker-popup {
    right: 0;
    left: auto;
  }
}

.dp-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.dp-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-navy);
}

.dp-nav-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-subtle);
  color: var(--primary-navy);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.dp-nav-btn:hover {
  background: var(--ocean-light);
  color: var(--ocean-blue);
}

.dp-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.dp-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.dp-day {
  height: 34px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s;
}

.dp-day:hover:not(.disabled):not(.dp-empty) {
  background-color: var(--ocean-light);
  color: var(--ocean-blue);
}

.dp-day.dp-today {
  border: 1.5px solid var(--ocean-blue);
  font-weight: 700;
}

.dp-day.dp-selected {
  background-color: var(--ocean-blue) !important;
  color: #ffffff !important;
  font-weight: 700;
}

.dp-day.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.dp-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.dp-today-btn, .dp-done-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ocean-blue);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.dp-today-btn:hover, .dp-done-btn:hover {
  background: var(--ocean-subtle);
}

/* ==========================================================================
   8. TRAVELERS DROPDOWN STYLES
   ========================================================================== */
.travelers-trigger {
  cursor: pointer;
}

.travelers-summary-input {
  cursor: pointer;
}

.travelers-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 260px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  padding: 16px;
  z-index: 9999;
  display: none;
}

.travelers-menu.is-open {
  display: block;
}

.traveler-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.traveler-info-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.traveler-info-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.stepper-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stepper-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #ffffff;
  color: var(--primary-navy);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.stepper-btn:hover:not(:disabled) {
  border-color: var(--ocean-blue);
  color: var(--ocean-blue);
  background: var(--ocean-subtle);
}

.stepper-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.stepper-count {
  font-size: 0.95rem;
  font-weight: 700;
  width: 18px;
  text-align: center;
}

.travelers-done-btn {
  width: 100%;
  padding: 8px 0;
  background: var(--ocean-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  margin-top: 6px;
}

/* ==========================================================================
   9. MOBILE STICKY CALL BAR (MANDATORY CALL-FIRST)
   ========================================================================== */
.mobile-sticky-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 990;
}

.btn-sticky-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary-coral);
  color: #ffffff;
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-full);
  text-align: center;
  font-weight: 800;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}

.sticky-call-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.sticky-call-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.sticky-call-title {
  font-size: 0.8rem;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

.sticky-call-num {
  font-size: 1.15rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   10. SECTIONS & UI COMPONENTS
   ========================================================================== */
.section-padding {
  padding: 64px 0;
}

.section-header {
  margin-bottom: 40px;
}

.section-badge {
  display: inline-block;
  background: var(--ocean-light);
  color: var(--ocean-blue);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-badge.coral {
  background: var(--coral-light);
  color: var(--primary-coral);
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--ocean-blue);
  color: #ffffff;
  padding: 10px 20px;
}

.btn-primary:hover {
  background-color: var(--ocean-blue-hover);
  color: #ffffff;
}

.btn-call {
  background-color: var(--primary-coral);
  color: #ffffff;
  padding: 10px 20px;
}

.btn-call:hover {
  background-color: var(--primary-coral-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--bg-subtle);
  color: var(--primary-navy);
  border: 1px solid var(--border-color);
  padding: 10px 20px;
}

.btn-secondary:hover {
  background-color: var(--border-color);
}

.btn-sm {
  font-size: 0.82rem;
  padding: 6px 14px;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: var(--radius-lg);
}

.btn-block {
  width: 100%;
}

/* Cruise Card Grids */
.cruise-deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cruise-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cruise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.cruise-card-media {
  position: relative;
  height: 200px;
  background: #cbd5e1;
}

.cruise-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cruise-card-line-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 32, 63, 0.85);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.cruise-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cruise-card-ship {
  font-size: 0.8rem;
  color: var(--ocean-blue);
  font-weight: 700;
  margin-bottom: 4px;
}

.cruise-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.cruise-card-ports {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex: 1;
}

.cruise-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
}

.cruise-card-price-block {
  display: flex;
  flex-direction: column;
}

.price-from-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.price-amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
}

/* Destinations 9-Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.destination-tile {
  position: relative;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.destination-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.destination-tile img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.destination-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 40%, rgba(9, 32, 63, 0.9) 100%);
  z-index: 2;
}

.destination-tile-content {
  position: relative;
  z-index: 3;
}

.dest-tile-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.dest-tile-sub {
  font-size: 0.82rem;
  color: #cbd5e1;
}

/* Call First Banner */
.call-banner-section {
  background: linear-gradient(135deg, #09203f 0%, #1e3a8a 100%);
  color: #ffffff;
  padding: 48px 0;
  border-radius: var(--radius-xl);
  margin: 48px auto;
}

.call-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.call-banner-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.call-banner-text p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.call-banner-phone {
  background-color: var(--primary-coral);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.call-banner-phone svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Why Book With Us Grid */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-us-card {
  background: #ffffff;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  text-align: center;
}

.why-us-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ocean-light);
  color: var(--ocean-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.why-us-icon {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.why-us-card h3 {
  font-size: 1.1rem;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.why-us-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: transform 0.2s;
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   11. CRUISE RESULTS PAGE STYLES
   ========================================================================== */
.results-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: flex-start;
}

.filter-sidebar {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  position: sticky;
  top: 90px;
}

.filter-sidebar-title {
  font-size: 1.1rem;
  color: var(--primary-navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 6px;
  cursor: pointer;
}

.filter-checkbox-label input {
  accent-color: var(--ocean-blue);
  width: 16px;
  height: 16px;
}

.cruise-result-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 240px 1fr;
  margin-bottom: 20px;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cruise-result-card:hover {
  box-shadow: var(--shadow-md);
}

.result-card-media {
  position: relative;
  background: #cbd5e1;
}

.result-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-line-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(9, 32, 63, 0.85);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.result-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.result-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.result-ship-meta {
  font-size: 0.8rem;
  color: var(--ocean-blue);
}

.result-rating {
  font-size: 0.8rem;
  color: var(--gold-accent);
  font-weight: 700;
}

.result-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.result-itinerary-brief {
  display: flex;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.result-cabin-prices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  background: var(--bg-subtle);
  padding: 10px;
  border-radius: var(--radius-md);
}

.cabin-price-pill {
  text-align: center;
}

.cabin-price-pill.popular {
  border: 1px solid var(--ocean-blue);
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 2px;
}

.cab-name {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cab-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.result-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: auto;
}

.result-price-block .price-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.result-price-block .price-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
}

.result-price-block .per-person {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.result-price-block .price-sub {
  font-size: 0.72rem;
  color: var(--text-light);
  display: block;
}

.result-btns {
  display: flex;
  gap: 8px;
}

/* ==========================================================================
   12. DETAIL PAGE & TIMELINE
   ========================================================================== */
.detail-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: flex-start;
}

.detail-card-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 14px;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-day-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ocean-blue);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.timeline-content {
  flex: 1;
}

.timeline-port-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.timeline-port-header h3 {
  font-size: 1rem;
  color: var(--primary-navy);
}

.timeline-times {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-activity {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.5;
}

.cabin-select-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.cabin-select-card.selected {
  border-color: var(--ocean-blue);
  background: var(--ocean-subtle);
}

.cabin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.cabin-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.cabin-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ocean-blue);
}

.cabin-size {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.cabin-desc {
  font-size: 0.82rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

/* ==========================================================================
   13. BOOKING WIZARD & POLICIES
   ========================================================================== */
.booking-flow-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.booking-steps-bar {
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  position: relative;
}

.booking-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-step.active .step-circle {
  background: var(--ocean-blue);
  color: #ffffff;
}

.step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.booking-step.active .step-label {
  color: var(--primary-navy);
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-success {
  background: var(--emerald-light);
  color: var(--emerald-green);
}

.badge-family {
  background: var(--ocean-light);
  color: var(--ocean-blue);
}

.policy-container {
  max-width: 840px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.policy-container h1 {
  font-size: 2.2rem;
  color: var(--primary-navy);
  margin-bottom: 8px;
}

.policy-last-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
}

.policy-highlight-box {
  background: var(--ocean-subtle);
  border-left: 4px solid var(--ocean-blue);
  padding: 20px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
}

.policy-section {
  margin-bottom: 28px;
}

.policy-section h2 {
  font-size: 1.25rem;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.policy-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-main);
  margin-bottom: 12px;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.main-footer {
  background-color: var(--primary-navy-dark);
  color: #cbd5e1;
  padding: 56px 0 24px;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand-title {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 18px;
}

.footer-col-title {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.88rem;
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-disclaimer-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #94a3b8;
}

.footer-disclaimer-box strong {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   15. RESPONSIVE BREAKPOINTS (360px -> 1920px)
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-menu { display: none; }
  .hamburger-btn { display: flex; }
  
  .col-dest { grid-column: span 6; }
  .col-port { grid-column: span 6; }
  .col-date { grid-column: span 4; }
  .col-dur  { grid-column: span 4; }
  .col-trav { grid-column: span 4; }
  .col-line { grid-column: span 6; }
  .col-btn  { grid-column: span 6; }

  .cruise-deals-grid,
  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .results-layout {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    margin-bottom: 24px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px; /* Space for mobile sticky call bar */
  }

  .mobile-sticky-call-bar {
    display: block;
  }

  /* Clean Single-Line Mobile Topbar */
  .topbar-right {
    display: none;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }

  .topbar-left {
    justify-content: center;
    gap: 8px;
    font-size: 0.78rem;
  }

  /* Sleek Aligned Mobile Header */
  .main-header .container {
    height: 62px;
    padding: 0 14px;
    gap: 8px;
  }

  .header-logo img {
    height: 28px;
    width: auto;
    max-width: 140px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-header-call {
    padding: 6px 12px;
    font-size: 0.78rem;
    gap: 4px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
  }

  .hamburger-btn {
    width: 34px;
    height: 34px;
    padding: 5px;
  }

  /* SHOW SEARCH SECTION FIRST IN MOBILE VIEW */
  .hero-section {
    padding: 14px 0 28px;
  }

  .hero-section .container {
    display: flex;
    flex-direction: column;
  }

  .hero-section .cruise-search-card {
    order: 1; /* SEARCH FORM FIRST */
    margin-bottom: 20px;
    width: 100%;
    padding: 20px 16px;
  }

  .hero-section .hero-content {
    order: 2; /* Hero marketing text AFTER search card */
    margin-bottom: 0;
    padding-top: 10px;
    text-align: center;
  }

  .hero-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 10px;
    margin-bottom: 10px;
  }

  .hero-trust-row {
    gap: 8px;
    font-size: 0.75rem;
    flex-direction: column;
    align-items: center;
  }

  /* Full Width Mobile Search Fields */
  .col-dest, .col-port, .col-date, .col-dur, .col-trav, .col-line, .col-btn {
    grid-column: span 12;
  }

  .cruise-search-grid {
    gap: 12px;
  }

  .input-container {
    height: 46px;
  }

  .btn-search-primary {
    height: 48px;
    font-size: 0.95rem;
  }

  .search-widget-call-row {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }

  .cruise-deals-grid,
  .destinations-grid {
    grid-template-columns: 1fr;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .cruise-result-card {
    grid-template-columns: 1fr;
  }

  .result-card-media {
    height: 180px;
  }

  .detail-layout-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .cruise-search-card {
    padding: 16px 12px;
    border-radius: var(--radius-lg);
  }

  .topbar-badge {
    font-size: 0.68rem;
    padding: 2px 6px;
  }

  .topbar-phone {
    font-size: 0.76rem;
  }

  .header-logo img {
    max-width: 120px;
    height: 25px;
  }

  .btn-header-call {
    font-size: 0.74rem;
    padding: 5px 9px;
  }

  .hero-title {
    font-size: 1.35rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }

  .result-cabin-prices-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cruise-datepicker-popup {
    width: calc(100vw - 32px);
    max-width: 320px;
    left: 50%;
    transform: translateX(-50%);
  }

  .travelers-menu {
    width: calc(100vw - 32px);
    max-width: 320px;
    left: 50%;
    transform: translateX(-50%);
  }
}
