/* VOYAGER_THEME_APP_CSS_V1
   Core stylesheet for the voyager public theme: reset, header/nav,
   footer, buttons/inputs, product-tile rail + coming-soon state,
   hero/search shell. Page-specific CSS (search results, calendar,
   passenger popover, book/payment/status) lives in its own file per
   templates/public/themes/voyager/_sections/shared_styles.html include
   list, kept apart so no single file becomes another 5000-line app.css. */

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;overflow-x:hidden;overscroll-behavior-x:none}
body.voyager-app{
  margin:0;background:var(--voy-color-bg);color:var(--voy-color-ink);
  font-family:var(--voy-font-body);font-size:var(--voy-font-size-base);
  line-height:var(--voy-line-base);overscroll-behavior-x:none;
}
.voyager-app img{max-width:100%;display:block}
.voyager-app a{color:inherit;text-decoration:none}
.voyager-app :focus-visible{outline:2px solid var(--voy-color-focus);outline-offset:2px}
.voyager-app h1,.voyager-app h2,.voyager-app h3{
  font-family:var(--voy-font-display);font-weight:600;margin:0;color:var(--voy-color-ink);
  letter-spacing:-.01em;
}
.voyager-app button{font-family:inherit;cursor:pointer}

.voy-container{max-width:var(--voy-container);margin:0 auto;padding:0 clamp(16px,2vw,24px)}
@media (max-width:760px){.voy-container{padding:0 16px}}

.voy-visually-hidden{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0,0,0,0);white-space:nowrap;border:0;
}

/* ============================= HEADER ============================= */
/* VOYAGER_HEADER_NAV_REVISION_V1: the product nav is the header's whole
   job - a real icon set (Lucide, see the SVGs below) replaces the earlier
   hand-drawn ones, and the tile treatment moves from a bubbly full pill
   to a quieter rounded-rect with a precise 2px underline for "current
   page" - closer to how a boarding-pass/airline nav reads than a chip. */
.voy-header{
  position:sticky;top:0;z-index:40;background:var(--voy-color-surface);
  border-bottom:1px solid var(--voy-color-border);height:var(--voy-header-h);
}
.voy-header-inner{
  max-width:var(--voy-container);margin:0 auto;padding:0 clamp(16px,2vw,24px);height:100%;
  display:flex;align-items:center;gap:clamp(16px,2.5vw,36px);
}
.voy-brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.voy-brand img{height:32px;width:auto}
.voy-brand-text{font-family:var(--voy-font-display);font-size:clamp(17px,1.4vw,21px);font-weight:700;color:var(--voy-color-ink)}

.voy-nav-products{display:flex;align-items:stretch;gap:4px;flex:1;min-width:0;height:100%}
.voy-nav-tile{
  display:flex;align-items:center;gap:9px;padding:0 16px;border-radius:var(--voy-radius-sm);
  font-size:14px;font-weight:600;color:var(--voy-color-ink-soft);white-space:nowrap;position:relative;
  align-self:center;height:44px;
}
.voy-nav-tile::after{
  content:"";position:absolute;left:16px;right:16px;bottom:-1px;height:2px;border-radius:2px;
  background:var(--voy-color-primary);opacity:0;transform:scaleX(.6);transition:opacity .15s ease,transform .15s ease;
}
/* VOYAGER_HEADER_NAV_REVISION_V1: a precise underline (not a filled pill)
   reads as "current tab" the way a real airline/booking nav does - bold
   label + tinted icon carry the rest of the emphasis, calmly. */
.voy-nav-tile[data-active="true"]{color:var(--voy-color-primary-dark);font-weight:700}
.voy-nav-tile[data-active="true"]::after{opacity:1;transform:scaleX(1)}
.voy-nav-tile[data-active="true"] .voy-icon{color:var(--voy-color-primary)}
.voy-nav-tile:not([data-active="true"]):hover{background:var(--voy-color-surface-alt)}
.voy-nav-tile .voy-icon{width:20px;height:20px;flex-shrink:0;color:var(--voy-color-muted)}
.voy-nav-tile[data-coming-soon]{color:var(--voy-color-muted);cursor:pointer}
.voy-soon-pill{
  font-size:10px;font-weight:600;letter-spacing:.02em;text-transform:uppercase;
  background:transparent;color:var(--voy-color-muted);
  border:1px solid var(--voy-color-border);border-radius:var(--voy-radius-pill);
  padding:2px 7px;line-height:1.4;
}

.voy-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.voy-lang-select{
  appearance:none;background:var(--voy-color-surface-alt);border:1px solid var(--voy-color-border);
  border-radius:var(--voy-radius-pill);padding:8px 30px 8px 14px;font-size:13px;font-weight:600;
  color:var(--voy-color-ink-soft);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23707b76' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;
}
.voy-header-link-btn{
  display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:var(--voy-radius-pill);
  font-size:13px;font-weight:700;border:1px solid var(--voy-color-border);color:var(--voy-color-ink);
  background:var(--voy-color-surface);
}
.voy-header-link-btn:hover{border-color:var(--voy-color-border-strong)}
.voy-mobile-menu-trigger{
  display:none;width:40px;height:40px;border-radius:var(--voy-radius-pill);border:1px solid var(--voy-color-border);
  background:var(--voy-color-surface);align-items:center;justify-content:center;
}

@media (max-width:900px){
  .voy-header{height:var(--voy-header-h-mobile)}
  .voy-header-inner{padding:0 16px;gap:12px}
  .voy-nav-products{display:none}
  .voy-header-link-btn span{display:none}
  .voy-mobile-menu-trigger{display:inline-flex}
}

/* Mobile product/menu sheet */
.voy-mobile-sheet{
  position:fixed;inset:0;z-index:70;display:none;
}
.voy-mobile-sheet[data-open="true"]{display:block}
.voy-mobile-sheet-backdrop{position:absolute;inset:0;background:rgba(22,35,31,.4)}
.voy-mobile-sheet-panel{
  position:absolute;top:0;right:0;bottom:0;width:min(340px,86vw);background:var(--voy-color-surface);
  padding:20px;box-shadow:var(--voy-shadow-lg);display:flex;flex-direction:column;gap:18px;overflow-y:auto;
}
.voy-mobile-sheet-close{align-self:flex-end;width:36px;height:36px;border-radius:var(--voy-radius-pill);
  border:1px solid var(--voy-color-border);background:var(--voy-color-surface);}
.voy-mobile-sheet .voy-nav-tile{width:100%;height:auto;justify-content:flex-start;padding:12px;font-size:15px;border-radius:var(--voy-radius-md)}
.voy-mobile-sheet .voy-nav-tile::after{display:none}
.voy-mobile-sheet .voy-nav-tile .voy-icon{color:var(--voy-color-primary)}

/* ============================= BUTTONS/INPUTS ============================= */
.voy-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:13px 22px;border-radius:var(--voy-radius-md);font-size:15px;font-weight:700;
  border:1px solid transparent;line-height:1.2;
}
.voy-btn-primary{background:var(--voy-color-primary);color:#fff}
.voy-btn-primary:hover{background:var(--voy-color-primary-dark)}
/* VOYAGER_POLISH_V1: a flat accent button read as "just another button" -
   a soft gradient + a shadow tinted to the accent color (not a generic
   grey shadow) plus a 1px hover lift gives the primary booking action
   some real weight, without any bounce/gimmick - a single quick
   transition, matching the "small professional transitions only" rule. */
/* SKYEXPRESS_UX_V1 (item G): the search CTA no longer uses the strong
   saturated orange accent gradient - a calmer, SkyExpress-slate tone
   keeps it clearly clickable without dominating the whole page. Only
   .voy-search-cta uses .voy-btn-accent anywhere in this theme. */
.voy-btn-accent{
  background:linear-gradient(180deg,var(--voy-color-cta) 0%,var(--voy-color-cta-dark) 100%);
  color:#fff;font-weight:800;box-shadow:0 1px 2px rgba(24,38,54,.12),0 6px 16px rgba(63,111,143,.22);
}
.voy-btn-accent:hover{background:linear-gradient(180deg,var(--voy-color-cta-dark) 0%,var(--voy-color-cta-dark) 100%);
  box-shadow:0 2px 4px rgba(24,38,54,.16),0 8px 20px rgba(63,111,143,.28);transform:translateY(-1px)}
.voy-btn-accent:active{transform:translateY(0)}
.voy-btn-ghost{background:var(--voy-color-surface);color:var(--voy-color-ink);border-color:var(--voy-color-border)}
.voy-btn-ghost:hover{border-color:var(--voy-color-border-strong)}
.voy-btn-block{width:100%}
.voy-btn:disabled,.voy-btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed}

.voy-field{
  display:flex;flex-direction:column;gap:4px;
  padding:10px 14px;border-radius:var(--voy-radius-md);border:1px solid var(--voy-color-border);
  background:var(--voy-color-surface);cursor:pointer;
}
.voy-field:hover{border-color:var(--voy-color-border-strong)}
.voy-field[data-open="true"]{border-color:var(--voy-color-primary);box-shadow:0 0 0 3px var(--voy-color-primary-tint)}
.voy-field-label{font-size:11px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--voy-color-muted)}
.voy-field-value{font-size:15px;font-weight:700;color:var(--voy-color-ink)}
.voy-field-value[data-empty="true"]{color:var(--voy-color-muted);font-weight:500}
.voy-field select,.voy-field input{border:0;background:transparent;font:inherit;color:inherit;width:100%;padding:0}
.voy-field select:focus,.voy-field input:focus{outline:none}

/* ============================= FOOTER ============================= */
/* VOYAGER_FOOTER_COMPACT_V1: the previous 4-column card-directory layout
   (column headings + stacked link lists) is structurally tall no matter
   how tight the padding gets. A single flowing row - brand left, every
   link inline on the right, wrapping as needed - plus a thin copyright
   line is the actual "compact professional footer" shape the owner's
   reference pointed at; every link is still present and readable, just
   not stacked into its own category column. */
.voy-footer{background:var(--voy-color-ink);color:#dfe6e2;margin-top:32px}
.voy-footer-inner{
  max-width:var(--voy-container);margin:0 auto;padding:18px 24px;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 28px;
}
.voy-footer-brand{font-family:var(--voy-font-display);font-size:16px;font-weight:700;color:#fff;flex-shrink:0}
.voy-footer-links{display:flex;flex-wrap:wrap;align-items:center;gap:4px 20px}
.voy-footer-links a{font-size:13px;color:#cdd7d2;padding:2px 0}
.voy-footer-links a:hover{color:#fff}
.voy-footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:9px 24px;font-size:11px;color:#93a49d;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;max-width:var(--voy-container);margin:0 auto}
@media (max-width:760px){
  .voy-footer-inner{flex-direction:column;align-items:flex-start;padding:16px 16px 14px;gap:10px}
  .voy-footer-links{gap:5px 16px}
}

/* ============================= COMING SOON MODAL ============================= */
.voy-soon-modal{position:fixed;inset:0;z-index:80;display:none;align-items:center;justify-content:center;padding:20px}
.voy-soon-modal[data-open="true"]{display:flex}
.voy-soon-modal-backdrop{position:absolute;inset:0;background:rgba(22,35,31,.45)}
.voy-soon-modal-card{
  position:relative;background:var(--voy-color-surface);border-radius:var(--voy-radius-lg);
  padding:32px;max-width:360px;text-align:center;box-shadow:var(--voy-shadow-lg);
}
.voy-soon-modal-card .voy-soon-pill{margin-bottom:14px;display:inline-block}
.voy-soon-modal-card p{color:var(--voy-color-ink-soft);font-size:14px;margin:8px 0 20px}

/* ===================================================================
   VOYAGER_PHOTO_CHANGER_V1 - background behind <main> only (below the
   header, above the footer), spanning both the hero/search section AND
   the offers section since both are children of the SAME <main> (see
   home.html). Same stacked-crossfade-<img> contract as Flori's own
   hero and the earlier SkyExpress Photo Changer precedent. Only when a
   background is actually configured does the plain grey page colour
   give way, and an adjustable readability overlay (0 = none, the
   default) sits between the photo and the search card / offer cards.
   =================================================================== */
main.public-content.voy-photo-bg{
  position:relative;isolation:isolate;background:var(--voy-color-bg);
}
main.public-content.voy-photo-bg>.voy-bg-layer{
  position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none;
  background:var(--voy-color-bg);
}
main.public-content.voy-photo-bg>.voy-bg-layer .voy-bg-photo{
  position:absolute;inset:0;width:100%;height:100%;display:block;border:0;
  object-fit:cover;object-position:center center;
  opacity:0;transition:opacity 1.4s ease;will-change:opacity;
}
main.public-content.voy-photo-bg>.voy-bg-layer .voy-bg-photo.is-active{opacity:1}
/* VOYAGER_PHOTO_CHANGER_HERO_MASK_FIX: .voy-hero (search.css) has its
   own opaque gradient background for the 0-images default state - that
   must become transparent ONLY while the shared photo behind it is
   actually showing, so the same photo is visible immediately below the
   header (behind/around the search card), not just starting at the
   offers section below it. */
main.public-content.voy-photo-bg .voy-hero{background:transparent}
/* Readability overlay: --voy-overlay-opacity (0-100, from Operator.
   hero_photo_overlay_opacity, set inline on <main>) as a plain black
   veil alpha - 0 renders nothing, matching every operator that never
   touches this new field. */
main.public-content.voy-photo-bg>.voy-bg-layer::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:rgba(0,0,0,calc(var(--voy-overlay-opacity,0)/100));
}
@media(prefers-reduced-motion:reduce){
  main.public-content.voy-photo-bg>.voy-bg-layer .voy-bg-photo{transition:none}
}
