/* =============================================
   OFFER DETAIL PAGE
   assets/css/offer.css
============================================= */

/* =============================================
   HERO
============================================= */
.offer-hero {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.offer-hero-overlay {
  width: 100%;
  padding: 80px 0 50px;
  background: linear-gradient(
    to bottom,
    rgba(7, 26, 57, 0.2) 0%,
    rgba(7, 26, 57, 0.75) 60%,
    rgba(7, 26, 57, 0.92) 100%
  );
}

.offer-hero-sub {
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 12px;
}

.offer-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.offer-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}


/* =============================================
   KEY STATS BAR
============================================= */
.offer-stats-bar {
  background: #0a1d44;
  color: #fff;
  padding: 22px 0;
}

.offer-stats-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.offer-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30px;
  border-right: 1px solid rgba(255,255,255,0.15);
}

.offer-stat:last-child {
  border-right: none;
}

.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 600;
}

.offer-stat-price .stat-value {
  color: #c8a96b;
  font-size: 1.3rem;
}


/* =============================================
   CONTENT SECTIONS
============================================= */
.offer-section {
  margin-bottom: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid #eef0f5;
}

.offer-section:last-of-type {
  border-bottom: none;
}

/* Heading with two-tone underline accent */
.offer-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0a1d44;
  margin-bottom: 22px;
  padding-bottom: 12px;
  display: block;
  border-bottom: 2px solid #eef0f5;
  position: relative;
}

.offer-section h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 52px;
  height: 2px;
  background: #c8a96b;
}

/* Overview text */
.offer-section p {
  color: #444;
  line-height: 1.8;
  font-size: 1rem;
}

.offer-overview-text {
  border-left: 3px solid #c8a96b;
  padding-left: 18px;
  color: #444;
  line-height: 1.8;
  font-size: 1.02rem;
}


/* =============================================
   HIGHLIGHTS GRID
============================================= */
.offer-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f8f9fc;
  border-left: 3px solid #c8a96b;
  padding: 12px 14px;
  border-radius: 0 6px 6px 0;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}

.highlight-tick {
  color: #c8a96b;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}


/* =============================================
   ITINERARY TIMELINE
============================================= */
.offer-timeline {
  position: relative;
}

/* Connector line drawn per-item so it always aligns with the markers */
.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  padding-bottom: 6px;
  margin-bottom: 6px;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 18px;           /* half of 36px marker */
  top: 36px;            /* start below marker */
  bottom: 0;
  width: 2px;
  background: #dce3f0;
  z-index: 0;
}

.timeline-marker {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #0a1d44;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 1;
  position: relative;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #dce3f0;
}

.timeline-content {
  padding-top: 7px;
  padding-bottom: 16px;
  flex: 1;
}

.timeline-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a;
}

.timeline-note {
  display: block;
  font-size: 0.82rem;
  color: #888;
  margin-top: 3px;
}

.timeline-intro {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 24px;
  font-style: italic;
}

/* At Sea styling */
.timeline-item--sea .timeline-port {
  color: #6c8ab5;
  font-weight: 400;
  font-style: italic;
}

.timeline-marker--sea {
  background: #6c8ab5 !important;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px #c8d6ea !important;
}

/* Port description from ports table */
.timeline-port-desc {
  display: block;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin-top: 5px;
}

/* DJ insider tip */
.timeline-tip {
  display: block;
  font-size: 0.85rem;
  color: #5a4a1e;
  background: #fdf6e3;
  border-left: 3px solid #c8a96b;
  padding: 7px 10px;
  border-radius: 0 4px 4px 0;
  margin-top: 8px;
  line-height: 1.45;
}

.tip-label {
  font-weight: 700;
  color: #8a6a1a;
}


/* =============================================
   TRUST STRIP
============================================= */
.offer-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: #0a1d44;
  border-radius: 10px;
  padding: 22px 26px;
  margin-top: 10px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.9rem;
  flex: 1 1 200px;
}

.trust-icon {
  color: #c8a96b;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}


/* =============================================
   ENQUIRY CARD
============================================= */
.offer-enquiry-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  overflow: hidden;
  position: sticky;
  top: 24px;
}

.enquiry-price-header {
  background: #0a1d44;
  color: #fff;
  padding: 20px 24px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.enquiry-price-label {
  font-size: 0.85rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.enquiry-price-value {
  font-size: 2rem;
  font-weight: 700;
  color: #c8a96b;
  line-height: 1;
}

.enquiry-price-value small {
  font-size: 1rem;
  font-weight: 400;
}

.enquiry-type-toggle {
  display: flex;
  border-bottom: 1px solid #eee;
}

.type-btn {
  flex: 1;
  padding: 12px;
  border: none;
  background: #f5f7fa;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.type-btn:first-child {
  border-right: 1px solid #eee;
}

.type-btn.active {
  background: #fff;
  color: #0a1d44;
  border-bottom: 3px solid #c8a96b;
}

.type-btn:hover:not(.active) {
  background: #eef0f5;
}

.enquiry-form-heading {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0a1d44;
  padding: 18px 24px 0;
  margin: 0;
}

.offer-enquiry-card form {
  padding: 16px 24px 0;
}

.enquiry-card-footer {
  padding: 16px 24px 20px;
  text-align: center;
  font-size: 0.88rem;
  color: #777;
  border-top: 1px solid #f0f0f0;
  margin-top: 14px;
}

.enquiry-phone {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1d44;
  text-decoration: none;
  margin-top: 2px;
}

.enquiry-phone:hover {
  color: #c8a96b;
}


/* =============================================
   STICKY BOTTOM BAR (mobile)
============================================= */
.sticky-offer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0a1d44;
  color: #fff;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.2);
}

.sticky-price {
  font-weight: 700;
  font-size: 1rem;
  color: #c8a96b;
}


/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 991px) {
  .offer-hero {
    min-height: 55vh;
    align-items: center;
  }

  .offer-stat {
    padding: 10px 18px;
  }

  body {
    padding-bottom: 70px; /* space for sticky bar */
  }
}

@media (max-width: 575px) {
  .offer-hero-title {
    font-size: 1.6rem;
  }

  .offer-hero-cta .btn {
    width: 100%;
  }

  .offer-stats-inner {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .offer-stat {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    padding-bottom: 14px;
    width: 100%;
  }

  .offer-stat:last-child {
    border-bottom: none;
  }
}
