/* Ghazala fleet comparison — scoped to .gf-page so it cannot alter the shared site header/footer. */
/* v2 — adds: 4-up fact rows, grouped comparison table, "shared" rows, routes lists,
   "choose this boat" panels, "which deck suits you" cards, FAQ accordion. */
.gf-page,
.gf-page * { box-sizing: border-box; }

.gf-page {
  --gf-navy: #002b55;
  --gf-deep: #17233e;
  --gf-blue: #01b7f2;
  --gf-yellow: #fdb714;
  --gf-ink: #17233e;
  --gf-muted: #5f6f80;
  --gf-line: #dbe8f5;
  --gf-pale: #f3f8fc;
  color: var(--gf-ink);
  font-family: Lato, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

.gf-page a { text-decoration: none; }
.gf-page img { max-width: 100%; }
.gf-container { margin: 0 auto; max-width: 1180px; padding-left: 18px; padding-right: 18px; }

.gf-hero {
  align-items: center;
  background: var(--gf-navy);
  color: #fff;
  display: flex;
  min-height: 530px;
  overflow: hidden;
  position: relative;
}

.gf-hero::before {
  background-image:
    linear-gradient(90deg, rgba(0,25,55,.94) 0%, rgba(0,47,85,.78) 48%, rgba(0,0,0,.24) 100%),
    url('/holidays/liveaboards/egypt/ghazalaexplorer/gallery/image1.jpg');
  background-position: center 47%;
  background-size: cover;
  content: '';
  inset: 0;
  position: absolute;
  transform: scale(1.015);
}

.gf-hero::after {
  background: linear-gradient(90deg, var(--gf-yellow), var(--gf-blue), transparent);
  bottom: 0;
  content: '';
  height: 6px;
  left: 0;
  position: absolute;
  width: 68%;
}

.gf-hero__content { padding-bottom: 70px; padding-top: 70px; position: relative; width: 100%; z-index: 1; }
.gf-eyebrow,
.gf-tag { color: var(--gf-blue); font-size: 12px; font-weight: 900; letter-spacing: .14em; margin: 0 0 13px; text-transform: uppercase; }
.gf-eyebrow { color: #c9f5ff; }
.gf-hero h1 { color: #fff; font-size: clamp(46px, 7vw, 84px); font-weight: 900; letter-spacing: -.045em; line-height: .98; margin: 0 0 22px; max-width: 760px; text-shadow: 0 4px 24px rgba(0,0,0,.28); }
.gf-hero__copy { color: rgba(255,255,255,.94); font-size: clamp(18px, 2vw, 24px); line-height: 1.48; margin: 0 0 18px; max-width: 700px; }

/* Trust line — the team has dived from both boats. */
.gf-hero__trust { color: var(--gf-yellow); font-size: 15px; font-weight: 800; line-height: 1.5; margin: 0 0 24px; max-width: 640px; }
.gf-hero__trust i { margin-right: 7px; }

.gf-proof { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0 0 28px; padding: 0; }
.gf-proof li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; font-size: 13px; font-weight: 800; padding: 8px 12px; }
.gf-proof li:first-child { background: rgba(253,183,20,.2); border-color: rgba(253,183,20,.55); }

.gf-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; }
.gf-btn { align-items: center; border: 2px solid transparent; border-radius: 8px; display: inline-flex; font-size: 14px; font-weight: 900; justify-content: center; min-height: 46px; padding: 12px 19px; text-align: center; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.gf-btn:hover,
.gf-btn:focus { box-shadow: 0 10px 24px rgba(0,0,0,.16); text-decoration: none; transform: translateY(-1px); }
.gf-btn--yellow { background: var(--gf-yellow); color: var(--gf-deep) !important; }
.gf-btn--yellow:hover,
.gf-btn--yellow:focus { background: #f5b010; }
.gf-btn--blue { background: var(--gf-blue); color: #fff !important; }
.gf-btn--outline { background: transparent; border-color: rgba(255,255,255,.7); color: #fff !important; }
.gf-btn--small { min-height: 40px; padding: 9px 14px; }
.gf-text-link { color: #007fae !important; font-size: 14px; font-weight: 900; }
.gf-text-link:hover,
.gf-text-link:focus { color: var(--gf-navy) !important; text-decoration: underline; }

.gf-section-nav { background: rgba(255,255,255,.97); box-shadow: 0 1px 0 rgba(0,0,0,.08); position: sticky; top: 0; z-index: 20; }
.gf-section-nav__inner { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 10px; padding-top: 10px; }
.gf-section-nav a { background: #edf6fb; border-radius: 999px; color: var(--gf-navy); flex: 0 0 auto; font-size: 13px; font-weight: 900; padding: 9px 13px; white-space: nowrap; }
.gf-section-nav a:hover,
.gf-section-nav a:focus { background: var(--gf-blue); color: #fff; }

.gf-section { padding: 72px 0; scroll-margin-top: 75px; }
.gf-section--pale { background: var(--gf-pale); }
.gf-section--navy { background: linear-gradient(135deg, var(--gf-navy), var(--gf-deep)); color: #fff; }
.gf-section-head { margin-bottom: 30px; max-width: 780px; }
.gf-section-head h2,
.gf-booking h2,
.gf-advice h2 { color: var(--gf-navy); font-size: clamp(34px, 4.5vw, 55px); font-weight: 900; letter-spacing: -.035em; line-height: 1.03; margin: 0 0 14px; }
.gf-section-head > p:last-child,
.gf-advice p { color: var(--gf-muted); font-size: 17px; line-height: 1.65; margin: 0; }
.gf-section-head--light h2 { color: #fff; }
.gf-section-head--light > p:last-child { color: rgba(255,255,255,.72); }

.gf-boat-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.gf-boat-card { background: #fff; border: 1px solid var(--gf-line); border-radius: 18px; box-shadow: 0 10px 34px rgba(0,43,85,.08); display: flex; flex-direction: column; overflow: hidden; }
.gf-boat-card__image { background: #d8eaf5; height: 285px; overflow: hidden; position: relative; }
.gf-boat-card__image img { display: block; height: 100%; object-fit: cover; transition: transform .25s ease; width: 100%; }
.gf-boat-card:hover .gf-boat-card__image img { transform: scale(1.025); }
.gf-boat-card__image span { background: rgba(0,43,85,.92); border-radius: 999px; bottom: 15px; color: #fff; font-size: 12px; font-weight: 800; left: 15px; padding: 8px 11px; position: absolute; }
.gf-boat-card__body { display: flex; flex: 1; flex-direction: column; padding: 26px; }
.gf-boat-card h3 { color: var(--gf-navy); font-size: 30px; font-weight: 900; letter-spacing: -.02em; margin: 0 0 10px; }
.gf-boat-card__body > p { color: var(--gf-muted); font-size: 15px; line-height: 1.65; margin: 0; min-height: 95px; }

/* Fact strip — now four across (length / guests / built / from price). */
.gf-facts { border-bottom: 1px solid var(--gf-line); border-top: 1px solid var(--gf-line); display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 23px 0; padding: 15px 0; }
.gf-facts li { padding: 0 6px; text-align: center; }
.gf-facts li + li { border-left: 1px solid var(--gf-line); }
.gf-facts strong,
.gf-facts span { display: block; }
.gf-facts strong { color: var(--gf-navy); font-size: 18px; font-weight: 900; }
.gf-facts li:last-child strong { color: #0a7d3f; }
.gf-facts span { color: var(--gf-muted); font-size: 11px; line-height: 1.3; margin-top: 3px; }

/* ---------- Comparison table ---------- */
.gf-scroll-hint { color: rgba(255,255,255,.6); display: none; font-size: 13px; font-weight: 800; margin: 0 0 10px; }
.gf-table-wrap { border: 1px solid rgba(255,255,255,.16); border-radius: 16px; overflow-x: auto; }
.gf-table { border-collapse: collapse; color: #fff; min-width: 720px; width: 100%; }
.gf-table th,
.gf-table td { border-bottom: 1px solid rgba(255,255,255,.12); border-left: 1px solid rgba(255,255,255,.12); line-height: 1.45; padding: 18px 22px; text-align: left; vertical-align: top; }
.gf-table tr > *:first-child { border-left: 0; width: 24%; }
.gf-table tr:last-child > * { border-bottom: 0; }
.gf-table thead { background: rgba(255,255,255,.09); }
.gf-table thead th { color: #fff; font-size: 14px; font-weight: 900; vertical-align: middle; }
.gf-table tbody th { color: rgba(255,255,255,.62); font-size: 12px; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.gf-table tbody td { color: rgba(255,255,255,.9); font-size: 14px; }
.gf-dot { border-radius: 50%; display: inline-block; height: 9px; margin-right: 8px; width: 9px; }
.gf-dot--blue { background: var(--gf-blue); }
.gf-dot--yellow { background: var(--gf-yellow); }

/* Group header rows inside the table (The boat / Cabins / Diving / Routes). */
.gf-table tbody tr.gf-group > th {
  background: rgba(1,183,242,.16);
  border-left: 0;
  color: var(--gf-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  padding: 12px 22px;
  text-transform: uppercase;
  width: auto;
}

/* Highlighted row (used for the solo travellers row). */
.gf-table tbody tr.gf-highlight td,
.gf-table tbody tr.gf-highlight th { background: rgba(253,183,20,.09); }
.gf-table tbody tr.gf-highlight th { color: var(--gf-yellow); }

/* "Both boats" rows — one value spanning both columns. */
.gf-same { background: rgba(255,255,255,.04); }
.gf-same__label { color: var(--gf-blue); display: block; font-size: 11px; font-weight: 900; letter-spacing: .1em; margin-bottom: 5px; text-transform: uppercase; }

/* Route lists inside table cells. */
.gf-routes { list-style: none; margin: 0; padding: 0; }
.gf-routes li { padding: 3px 0 3px 17px; position: relative; }
.gf-routes li::before { color: rgba(255,255,255,.35); content: '\2022'; left: 3px; position: absolute; }
.gf-routes .gf-routes__only { color: var(--gf-yellow); font-weight: 800; }
.gf-routes .gf-routes__only::before { color: var(--gf-yellow); }
.gf-routes__note { color: rgba(255,255,255,.55); font-size: 12px; margin: 12px 0 0; }
.gf-routes__key { background: var(--gf-yellow); border-radius: 50%; display: inline-block; height: 8px; margin-right: 6px; width: 8px; }

/* Supplement mini-lists inside table cells. */
.gf-supps { list-style: none; margin: 0; padding: 0; }
.gf-supps li { align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.1); display: flex; gap: 14px; justify-content: space-between; padding: 7px 0; }
.gf-supps li:last-child { border-bottom: 0; padding-bottom: 0; }
.gf-supps span { color: rgba(255,255,255,.72); }
.gf-supps strong { color: #fff; font-weight: 900; white-space: nowrap; }

.gf-price { color: var(--gf-yellow); font-size: 22px; font-weight: 900; }

.gf-shared { align-items: center; background: rgba(1,183,242,.1); border: 1px solid rgba(1,183,242,.28); border-radius: 14px; display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 20px; padding: 18px 20px; }
.gf-shared strong { color: var(--gf-blue); }
.gf-shared span { color: rgba(255,255,255,.82); font-size: 13px; }
.gf-shared span::before { color: var(--gf-yellow); content: '✓'; font-weight: 900; margin-right: 6px; }

/* ---------- Choose this boat if... ---------- */
.gf-choose { display: grid; gap: 22px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.gf-choose__card { background: #fff; border: 1px solid var(--gf-line); border-radius: 18px; box-shadow: 0 10px 34px rgba(0,43,85,.08); display: flex; flex-direction: column; padding: 30px; position: relative; }
.gf-choose__card::before { border-radius: 18px 18px 0 0; content: ''; height: 5px; left: 0; position: absolute; top: 0; width: 100%; }
.gf-choose__card--blue::before { background: var(--gf-blue); }
.gf-choose__card--yellow::before { background: var(--gf-yellow); }
.gf-choose__card h3 { color: var(--gf-navy); font-size: 25px; font-weight: 900; letter-spacing: -.02em; margin: 6px 0 18px; }
.gf-choose__card ul { flex: 1; list-style: none; margin: 0 0 24px; padding: 0; }
.gf-choose__card li { border-bottom: 1px solid var(--gf-line); color: var(--gf-ink); font-size: 15px; line-height: 1.55; padding: 11px 0 11px 27px; position: relative; }
.gf-choose__card li:last-child { border-bottom: 0; }
.gf-choose__card li::before { color: #0a7d3f; content: '✓'; font-weight: 900; left: 3px; position: absolute; }
.gf-choose__card .gf-btn { align-self: flex-start; }
.gf-choose__note { color: var(--gf-muted); font-size: 16px; margin: 26px 0 0; text-align: center; }

/* ---------- Cabins & deck plans ---------- */
.gf-plan { background: #fff; border: 1px solid var(--gf-line); border-radius: 18px; box-shadow: 0 10px 34px rgba(0,43,85,.08); display: grid; grid-template-columns: minmax(300px,.72fr) minmax(430px,1.28fr); margin-top: 25px; min-height: 650px; overflow: hidden; scroll-margin-top: 80px; }
.gf-plan__copy { align-self: center; padding: clamp(28px, 4.5vw, 52px); }
.gf-plan__copy h3 { color: var(--gf-navy); font-size: clamp(31px, 4vw, 45px); font-weight: 900; letter-spacing: -.03em; line-height: 1.04; margin: 0 0 14px; }
.gf-plan__copy > p:not(.gf-tag):not(.gf-plan__foot) { color: var(--gf-muted); line-height: 1.6; margin: 0 0 22px; }
.gf-cabin-list { border-top: 1px solid var(--gf-line); margin: 0 0 18px; }
.gf-cabin-list div { align-items: baseline; border-bottom: 1px solid var(--gf-line); display: flex; gap: 15px; justify-content: space-between; padding: 12px 0; }
.gf-cabin-list dt { color: var(--gf-muted); font-size: 13px; font-weight: 400; }
.gf-cabin-list dd { color: var(--gf-ink); font-size: 14px; font-weight: 900; margin: 0; text-align: right; white-space: nowrap; }
.gf-supp { background: #fff6e2; border-radius: 4px; color: #8a6100; display: inline-block; font-size: 11px; font-weight: 900; margin-left: 6px; padding: 2px 6px; white-space: nowrap; }
.gf-supp--free { background: #eaf7ee; color: #0a7d3f; }
.gf-plan__foot { background: var(--gf-pale); border-left: 3px solid var(--gf-yellow); color: var(--gf-ink); font-size: 14px; line-height: 1.55; margin: 0 0 22px; padding: 12px 15px; }
.gf-plan__image { align-items: center; background: #edf6fb; display: flex; justify-content: center; min-height: 650px; padding: 28px; }
.gf-plan__image img { display: block; max-height: 610px; object-fit: contain; width: 100%; }

/* ---------- Which deck suits you ---------- */
.gf-decks { margin-top: 60px; scroll-margin-top: 80px; }
.gf-decks__grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0,1fr)); }
.gf-deck-card { background: #fff; border: 1px solid var(--gf-line); border-radius: 16px; box-shadow: 0 8px 26px rgba(0,43,85,.07); padding: 26px; }
.gf-deck-card h3 { color: var(--gf-navy); font-size: 22px; font-weight: 900; letter-spacing: -.02em; margin: 0 0 8px; }
.gf-deck-card__badge { background: var(--gf-yellow); border-radius: 4px; color: var(--gf-deep); font-size: 10px; font-weight: 900; letter-spacing: .08em; margin-left: 7px; padding: 3px 6px; text-transform: uppercase; vertical-align: middle; }
.gf-deck-card__for { color: var(--gf-blue); font-size: 13px; font-weight: 900; line-height: 1.45; margin: 0 0 16px; }
.gf-deck-card ul { list-style: none; margin: 0; padding: 0; }
.gf-deck-card li { font-size: 14px; line-height: 1.55; padding: 7px 0 7px 23px; position: relative; }
.gf-deck-card__pros li { color: var(--gf-ink); }
.gf-deck-card__pros li::before { color: #0a7d3f; content: '✓'; font-weight: 900; left: 2px; position: absolute; }
.gf-deck-card__cons { border-top: 1px solid var(--gf-line); margin-top: 12px; padding-top: 8px; }
.gf-deck-card__cons li { color: var(--gf-muted); }
.gf-deck-card__cons li::before { color: #b98200; content: '!'; font-weight: 900; left: 6px; position: absolute; }

/* ---------- Booking ---------- */
.gf-booking { background: linear-gradient(135deg, var(--gf-navy), var(--gf-deep)); color: #fff; padding: 78px 0; scroll-margin-top: 75px; }
.gf-booking__head { align-items: flex-end; display: flex; gap: 40px; justify-content: space-between; }
.gf-booking__head > div:first-child { max-width: 720px; }
.gf-booking h2 { color: #fff; }
.gf-booking__head p:last-child { color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.6; margin: 0; }
.gf-booking__actions { display: flex; flex-direction: column; gap: 10px; min-width: 245px; }
.gf-journey { display: grid; gap: 12px; grid-template-columns: repeat(4,1fr); list-style: none; margin: 45px 0 0; padding: 0; }
.gf-journey li { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 13px; min-height: 135px; padding: 19px; }
.gf-journey span { align-items: center; background: var(--gf-yellow); border-radius: 50%; color: var(--gf-deep); display: flex; font-size: 12px; font-weight: 900; height: 27px; justify-content: center; margin-bottom: 15px; width: 27px; }
.gf-journey strong,
.gf-journey small { display: block; }
.gf-journey strong { color: #fff; font-size: 14px; margin-bottom: 6px; }
.gf-journey small { color: rgba(255,255,255,.62); line-height: 1.4; }

/* ---------- FAQs ---------- */
.gf-faq { margin: 0 auto; max-width: 900px; }
.gf-faq__item { background: #fff; border: 1px solid var(--gf-line); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.gf-faq__item summary {
  align-items: center;
  color: var(--gf-navy);
  cursor: pointer;
  display: flex;
  font-size: 17px;
  font-weight: 900;
  justify-content: space-between;
  line-height: 1.4;
  list-style: none;
  padding: 20px 24px;
}
.gf-faq__item summary::-webkit-details-marker { display: none; }
.gf-faq__item summary::after {
  color: var(--gf-blue);
  content: '+';
  flex: 0 0 auto;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  margin-left: 18px;
  transition: transform .2s ease;
}
.gf-faq__item[open] summary::after { transform: rotate(45deg); }
.gf-faq__item summary:hover { background: var(--gf-pale); }
.gf-faq__body { border-top: 1px solid var(--gf-line); padding: 18px 24px 24px; }
.gf-faq__body p { color: var(--gf-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.gf-faq__body a { color: #007fae; font-weight: 800; }

.gf-advice { align-items: center; background: var(--gf-pale); border: 1px solid var(--gf-line); border-radius: 18px; display: flex; gap: 45px; justify-content: space-between; padding: clamp(30px,5vw,58px); }
.gf-advice > div:first-child { max-width: 760px; }
.gf-advice h2 { font-size: clamp(32px,4vw,48px); }
.gf-advice__actions { align-items: center; display: flex; flex-direction: column; gap: 16px; min-width: 215px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .gf-decks__grid { grid-template-columns: 1fr; }
}

@media (max-width: 920px) {
  .gf-plan { grid-template-columns: 1fr; }
  .gf-plan__image { min-height: 560px; order: -1; }
  .gf-plan__image img { max-height: 520px; }
  .gf-booking__head,
  .gf-advice { align-items: flex-start; flex-direction: column; }
  .gf-booking__actions,
  .gf-advice__actions { align-items: stretch; min-width: 0; width: 100%; }
  .gf-journey { grid-template-columns: repeat(2, 1fr); }
  .gf-choose { grid-template-columns: 1fr; }
  .gf-scroll-hint { display: block; }
  .gf-table { min-width: 640px; }
  .gf-table th,
  .gf-table td { padding: 14px 15px; }
  .gf-table tbody tr.gf-group > th { padding: 11px 15px; }
}

@media (max-width: 700px) {
  .gf-hero { min-height: 500px; }
  .gf-hero__content { padding-bottom: 58px; padding-top: 58px; }
  .gf-section { padding: 58px 0; }
  .gf-boat-grid { grid-template-columns: 1fr; }
  .gf-boat-card__image { height: 235px; }
  .gf-boat-card__body > p { min-height: 0; }
  .gf-plan__image { min-height: 470px; padding: 16px; }
  .gf-plan__image img { max-height: 440px; }
  .gf-faq__item summary { font-size: 16px; padding: 17px 18px; }
  .gf-faq__body { padding: 16px 18px 20px; }
  .gf-decks { margin-top: 45px; }
}

@media (max-width: 480px) {
  .gf-facts { grid-template-columns: repeat(2, 1fr); }
  .gf-facts li { padding: 9px; }
  .gf-facts li + li { border-left: 0; }
  .gf-facts li:nth-child(even) { border-left: 1px solid var(--gf-line); }
  .gf-facts li:nth-child(n+3) { border-top: 1px solid var(--gf-line); }
  .gf-journey { grid-template-columns: 1fr; }
  .gf-plan__image { min-height: 400px; }
  .gf-plan__image img { max-height: 375px; }
  .gf-cabin-list div { align-items: flex-start; flex-direction: column; gap: 4px; }
  .gf-cabin-list dd { text-align: left; }
  .gf-choose__card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .gf-page * { scroll-behavior: auto !important; transition: none !important; }
}
