/* ============================================================
   Go2Greece Relaunch — "Aegean Fresh" design system
   ONE stylesheet. Layered: (1) tokens, (2) base, (3) shared
   components used across every page, (4) page-specific blocks
   at the very bottom (add only when a genuinely new pattern
   appears — reuse the components above by default).
   Replaces bootstrap / style.css / media.css. No Bootstrap.
   ============================================================ */

/* ---------- (1) TOKENS ---------- */
:root {
  --g2g-blue: #0E7AC4;
  --g2g-blue-2: #31B3E7;
  --g2g-blue-deep: #0B5E97;
  --g2g-navy: #0B2C42;
  --g2g-navy-2: #124A6B;
  --g2g-yellow: #FFC907;          /* nav bar + category pills */
  --g2g-live: #F04438;            /* "happening now" / live signals only */
  --g2g-good: #12A150;            /* up / open / positive metric */
  --g2g-bg: #F6FAFD;
  --g2g-border: #E4EDF4;
  --g2g-hairline: #EEF3F8;
  --g2g-chip: #E4F1FA;
  --g2g-chip-soft: #F1F6FA;
  --g2g-text: #0B2C42;
  --g2g-muted: #48657A;
  --g2g-placeholder: #7A93A5;
  --g2g-footer-text: #B7CCDA;
  --g2g-accent-on-dark: #7CC4EE;
  --g2g-accent-on-dark-2: #9BD4F5;
  --g2g-grad: linear-gradient(135deg, #0E7AC4, #31B3E7);          /* CTAs, accents */
  --g2g-grad-hero: linear-gradient(135deg, #0B5E97, #0E7AC4 45%, #31B3E7);
  --g2g-grad-header: linear-gradient(90deg, #0974b6, #067fbd 253px, #067fbd); /* sampled from logo PNG */
  --g2g-grad-logo: linear-gradient(90deg, #0974b6, #077fbe);      /* footer logo chip only */
  /* category / group accents (airports, islands, excursions tiles) */
  --g2g-c-cyclades: #0E7AC4;  --g2g-c-dodecanese: #31B3E7; --g2g-c-ionian: #2C8C63;
  --g2g-c-sporades: #C79A12;  --g2g-c-saronic: #0B5E97;    --g2g-c-naegean: #155E75;
  --g2g-radius-card: 20px;
  --g2g-radius-tile: 16px;
  --g2g-radius-panel: 22px;
  --g2g-container: 1288px;
  --g2g-shadow-hover: 0 8px 24px rgba(6, 32, 48, .08);
  --g2g-shadow-lift: 0 16px 40px rgba(6, 32, 48, .12);
}

/* ---------- (2) BASE ---------- */
* { box-sizing: border-box; }
body { margin: 0; background: var(--g2g-bg); font-family: 'Poppins', sans-serif; color: var(--g2g-text);
  display: flex; flex-direction: column; min-height: 100vh; }   /* sticky footer */
.page-main { flex: 1 0 auto; }                                   /* pushes footer to the viewport bottom */
a { color: var(--g2g-blue); text-decoration: none; }
a:hover { color: var(--g2g-blue-deep); }
img { display: block; max-width: 100%; }
.container { max-width: var(--g2g-container); margin: 0 auto; padding: 0 24px; }
.section { padding: 26px 0 8px; }
.text-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- (3) SHARED COMPONENTS ---------- */

/* MASTER HEADER — two-tier, sticky. Copy onto every page. */
.site-header { position: sticky; top: 0; z-index: 50; }
.topbar { background: #067fbd; }
.topbar__inner { max-width: var(--g2g-container); margin: 0 auto; padding: 0 24px;
  background: var(--g2g-grad-header); display: flex; justify-content: space-between; align-items: center; }
.topbar__logo { height: 76px; margin-top: -10px; }     /* sun in logo touches page top */
.topbar__utils { display: flex; gap: 2px; align-items: center; font-size: 13px; font-weight: 500; color: #DCEFFB; flex-wrap: wrap; }
.topbar__utils a { color: #fff; padding: 8px 12px; border-radius: 999px; }
.topbar__utils a:hover { background: rgba(255,255,255,.14); color: #fff; }
.topbar__actions { display: flex; gap: 10px; align-items: center; }
.glass-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); font-size: 13px; font-weight: 600; color: #fff; }
/* Yellow nav bar. Root pages = domain nav; destination pages = resort nav. */
.navbar { background: var(--g2g-yellow); }
.navbar__inner { max-width: var(--g2g-container); margin: 0 auto; padding: 0 24px; display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 13.5px; font-weight: 600; color: var(--g2g-navy); }
.navbar__item { padding: 11px 14px; cursor: pointer; color: #1a1a1a; }
.navbar__item:hover { color: #1a1a1a; }   /* neutral black on the yellow bar (beat the global a / a:hover blue) */
.navbar__item--active { background: #fff; font-weight: 700; color: #1a1a1a; }

/* HERO BAND — the page-specific first block. These are helpers, not a fixed hero. */
.hero-band { position: relative; overflow: hidden; background: var(--g2g-grad-hero); }
.hero-band__inner { max-width: var(--g2g-container); margin: 0 auto; padding: 30px 24px 40px; position: relative; }
.hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; mix-blend-mode: luminosity; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(11,44,66,.7), rgba(14,107,174,.4)); }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 48px; display: block; } /* fill: var(--g2g-bg) */
.hero-title { color: #fff; font-size: 42px; font-weight: 800; margin: 0; line-height: 1.08; text-shadow: 0 2px 16px rgba(6,32,48,.3); }
.hero-sub { color: #E6F4FD; font-size: 15px; line-height: 1.6; margin-top: 10px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #C9E6F8; }
.breadcrumb a { color: #fff; font-weight: 500; }
.breadcrumb span.sep { color: var(--g2g-accent-on-dark-2); }
/* glass description panel + hero stat card (airport detail) */
.glass-panel { background: rgba(11,44,66,.45); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 22px 26px; }
.stat-card { background: #fff; border-radius: var(--g2g-radius-card); box-shadow: 0 18px 44px rgba(6,32,48,.22); display: grid; }
.stat-card__cell { padding: 24px 20px; text-align: center; border-right: 1px solid var(--g2g-hairline); }
.stat-card__cell:last-child { border-right: 0; }
.stat-card__value { font-size: 30px; font-weight: 800; color: var(--g2g-navy); }
.stat-card__label { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g2g-placeholder); margin-top: 4px; }

/* SECTION HEADS */
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-title { font-size: 22px; font-weight: 700; }
.section-sub { font-size: 13px; color: var(--g2g-muted); margin-top: 3px; }
.section-link { font-size: 12.5px; font-weight: 600; color: var(--g2g-blue); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--g2g-blue); }
.icon-chip { width: 34px; height: 34px; border-radius: 10px; background: var(--g2g-chip); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.icon-chip--grad { background: var(--g2g-grad); }
/* coloured section panels (airport detail) */
.panel { border-radius: var(--g2g-radius-panel); padding: 26px 28px; }
.panel--blue  { background: linear-gradient(135deg,#EAF4FB,#F2F9FD); border: 1.5px solid #DCEBF6; }
.panel--amber { background: linear-gradient(135deg,#FBF5E6,#FEFBF3); border: 1.5px solid #F0E4C6; }
.panel--green { background: linear-gradient(135deg,#EAF3EF,#F4FAF7); border: 1.5px solid #D7EAE0; }

/* BUTTONS & PILLS */
.btn { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer; border: 0; white-space: nowrap; }
.btn--primary { padding: 11px 24px; background: var(--g2g-grad); color: #fff; }
.btn--dark { padding: 10px 18px; background: var(--g2g-navy); color: #fff; }
.btn--outline { padding: 11px 24px; background: #fff; border: 1.5px solid #D6E4EE; color: var(--g2g-text); }
.btn--outline-dark { padding: 12px 24px; background: none; border: 1.5px solid var(--g2g-navy-2); color: var(--g2g-footer-text); }
/* filter pills (islands / airports / excursions / real-estate / news) */
.filter { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 9px 17px; font-size: 12.5px; font-weight: 600; cursor: pointer;
  background: #fff; color: var(--g2g-muted); border: 1.5px solid var(--g2g-border); }
.filter--active { background: var(--g2g-navy); color: #fff; border-color: var(--g2g-navy); }
.filter__count { opacity: .7; }
.category-pill { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--g2g-navy); background: var(--g2g-yellow); border-radius: 999px; padding: 6px 15px; }
.tag { font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--g2g-navy); background: rgba(255,255,255,.92); border-radius: 999px; padding: 4px 11px; }
.flag { font-size: 10.5px; font-weight: 700; color: #fff; border-radius: 999px; padding: 4px 11px; }
.flag--new { background: var(--g2g-good); } .flag--feature { background: var(--g2g-blue); } .flag--top { background: var(--g2g-yellow); color: var(--g2g-navy); }
.score-chip { font-size: 12px; font-weight: 700; color: #fff; background: var(--g2g-blue); border-radius: 8px; padding: 3px 7px; }
.stat-mini { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--g2g-muted); background: var(--g2g-chip-soft); border-radius: 8px; padding: 4px 9px; }

/* CARDS */
.card { background: #fff; border: 1.5px solid var(--g2g-border); border-radius: var(--g2g-radius-card); overflow: hidden;
  color: var(--g2g-text); display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card:hover { border-color: var(--g2g-blue); box-shadow: var(--g2g-shadow-hover); }
.card--lift:hover { box-shadow: var(--g2g-shadow-lift); }
.card__media { position: relative; background-size: cover; background-position: center; } /* set height inline; holds <image-slot> or bg */
.card__body { padding: 15px 17px 16px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-weight: 700; font-size: 15px; line-height: 1.35; text-wrap: pretty; }
.card__meta { font-size: 12px; color: var(--g2g-placeholder); margin-top: 5px; }
.card__foot { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--g2g-hairline); }
.price { font-size: 22px; font-weight: 800; color: var(--g2g-navy); }
/* code tile (airports directory) — set the gradient/colour inline per category */
.code-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.code-tile__code { font-size: 26px; font-weight: 800; letter-spacing: .03em; }
.code-pill { flex-shrink: 0; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .03em; border-radius: 8px; padding: 3px 9px; }
/* image scrim for photo tiles with overlaid label */
.media-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(6,32,48,.7)); }

/* GRIDS */
.grid { display: grid; gap: 16px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.grid--6 { grid-template-columns: repeat(6, 1fr); gap: 12px; }
.grid--sidebar { grid-template-columns: 1fr 336px; gap: 26px; align-items: start; }
.grid--profile { grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }

/* STICKY SUB-NAV (airport detail in-page nav) */
.subnav { position: sticky; top: 120px; z-index: 40; background: rgba(246,250,253,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--g2g-border); }
.subnav__inner { max-width: var(--g2g-container); margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; }
.subnav a { font-size: 13px; font-weight: 600; color: var(--g2g-muted); padding: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.subnav a:hover { color: var(--g2g-blue); border-bottom-color: var(--g2g-blue); }
[id] { scroll-margin-top: 180px; }

/* LIVE SIGNALS (Resort Live) */
@keyframes g2gpulse { 0% { box-shadow: 0 0 0 0 rgba(240,68,56,.55); } 70% { box-shadow: 0 0 0 8px rgba(240,68,56,0); } 100% { box-shadow: 0 0 0 0 rgba(240,68,56,0); } }
.live-dot { width: 8px; height: 8px; border-radius: 999px; background: #FF6259; display: block; animation: g2gpulse 1.8s infinite; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; background: #FEECEB; border-radius: 999px; padding: 5px 13px; }
.live-badge__text { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--g2g-live); }

/* CTA BANNER (navy) */
.cta { background: var(--g2g-navy); border-radius: var(--g2g-radius-panel); padding: 34px 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--g2g-accent-on-dark); }
.cta__title { color: #fff; font-size: 21px; font-weight: 700; margin-top: 6px; }
.cta__sub { color: var(--g2g-footer-text); font-size: 13px; margin-top: 4px; }

/* MASTER FOOTER */
.site-footer { background: var(--g2g-navy); color: var(--g2g-footer-text); }
.site-footer__cols { max-width: var(--g2g-container); margin: 0 auto; padding: 44px 24px 20px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 36px; }
.site-footer a { color: var(--g2g-footer-text); font-size: 13px; }
.site-footer a:hover { color: var(--g2g-accent-on-dark); }
.site-footer__head { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.site-footer__col { display: flex; flex-direction: column; gap: 9px; }
.footer-logo { background: var(--g2g-grad-logo); border-radius: 12px; padding: 7px 13px; display: inline-flex; }
.footer-logo img { height: 40px; }
.social { width: 34px; height: 34px; border-radius: 9px; background: rgba(124,196,238,.14); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom-inner { max-width: var(--g2g-container); margin: 0 auto; padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; }

/* ---------- (4) PAGE-SPECIFIC (add here only for genuinely new patterns) ---------- */
/* e.g. real-estate angled property-stack hero, resort-live board rows — none needed as shared yet */

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .grid--4, .grid--5, .grid--6 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .grid--sidebar, .grid--profile { grid-template-columns: 1fr; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}
/* HEADER collapse: below tablet, drop the secondary utility links + phone (they are duplicated by
   the yellow nav bar, which stays as the primary nav and wraps); shrink the logo. */
@media (max-width: 900px) {
  .topbar__utils { display: none; }
  .topbar__logo { height: 60px; margin-top: -6px; }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4, .grid--5, .grid--6 { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  /* tighten every container gutter on phones */
  .container, .topbar__inner, .navbar__inner, .hero-band__inner,
  .site-footer__cols, .site-footer__bottom-inner { padding-left: 16px; padding-right: 16px; }
  .topbar__inner { flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
  .topbar__actions .glass-pill { display: none; }     /* keep only "Sign in" on phones */
  .navbar__inner { justify-content: center; }
  .cta { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
  /* PRAGMATIC mobile override: the header/body headings are still inline-styled (big desktop sizes),
     so scale them down for phones here until those partials migrate to classes. !important is needed
     only to beat the inline font-size. */
  .page-main h1 { font-size: 28px !important; line-height: 1.18 !important; }
  .page-main h2 { font-size: 22px !important; }
}
@media (max-width: 460px) {
  .site-footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .hero-title { font-size: 26px; }
}
