/*
Theme Name: GreatAlaskaHotels MTC
Theme URI: https://greatalaskahotels.com/
Author: Marketing the Change
Author URI: https://marketingthechange.com/
Description: Editorial FSE theme for Great Alaska Hotels. Slate + Glacier + Spruce + Sunset + Snow + Paper palette. Manrope + Fraunces + Inter + JetBrains Mono. Custom post types for hotel, region, city, season. Region + season architecture matches how Alaska travellers plan by geography (Southcentral / Interior / Southeast / Arctic + Bush) and season (cruise summer / aurora winter / shoulder).
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greatalaskahotels-mtc
Tags: full-site-editing, block-patterns, editorial, travel, hotels, alaska
*/

/* Minimal supplemental styles. Bulk of styling flows from theme.json. */

:root {
  --gah-slate:   #1D2731;
  --gah-depth:   #2C3844;
  --gah-snow:    #F5F7F9;
  --gah-paper:   #EFEBE1;
  --gah-glacier: #4A94B8;
  --gah-spruce:  #3C6E5A;
  --gah-sunset:  #D97852;
  --gah-ink:     #12181F;
  --gah-frost:   #F8F9FA;
  --gah-mist:    #7B838E;
  --gah-fog:     #3E4954;
  --gah-moss:    #5A8F72;
  --gah-salmon:  #C15A3E;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--gah-glacier);
  color: var(--gah-frost);
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

/* Slate Wash, hero + full-bleed sections + hotel review heroes */
.wp-block-cover.is-style-slate-wash::after,
.img-slate-wash::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(29,39,49,0.35) 0%, rgba(29,39,49,0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Aurora Glow, radial spruce wash for aurora hotel cards + roundup heroes */
.img-aurora-glow { position: relative; overflow: hidden; isolation: isolate; }
.wp-block-image.is-style-aurora-glow img,
.img-aurora-glow img { filter: contrast(1.05) saturate(1.05); }
.wp-block-image.is-style-aurora-glow::after,
.wp-block-cover.is-style-aurora-glow::after,
.img-aurora-glow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(60,110,90,0.20) 0%, transparent 60%);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}

/* Paper Frame, inline editorial images on Paper sections */
.wp-block-image.is-style-paper-frame,
.img-paper-frame {
  padding: 12px;
  background: var(--gah-paper);
  border: 1px solid #E0D8C6;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(18,24,31,0.06);
  display: inline-block;
}
.wp-block-image.is-style-paper-frame img,
.img-paper-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}

/* Pills */
.gah-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.gah-pill--glacier { background: var(--gah-glacier); color: var(--gah-frost); }
.gah-pill--spruce  { background: var(--gah-spruce);  color: var(--gah-frost); }
.gah-pill--sunset  { background: var(--gah-sunset);  color: var(--gah-ink); }
.gah-pill--moss    { background: var(--gah-moss);    color: var(--gah-frost); }
.gah-pill--fog     { background: var(--gah-snow);    color: var(--gah-ink); border: 1px solid var(--gah-mist); }
.gah-pill--salmon  { background: var(--gah-salmon);  color: var(--gah-frost); }

/* Monospace numeric */
.gah-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 500;
}

/* Trust strip */
.gah-trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: var(--gah-slate);
  color: var(--gah-frost);
}
.gah-trust-strip .stat-num {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.5rem);
  color: var(--gah-spruce);
  display: block;
  line-height: 1;
}
.gah-trust-strip .stat-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 13px;
  margin-top: 8px;
  display: block;
}
@media (max-width: 782px) {
  .gah-trust-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Aurora plan advisory (seasonal / KP index cue) */
.gah-aurora-alert {
  background: var(--gah-paper);
  color: var(--gah-ink);
  border-left: 4px solid var(--gah-spruce);
  padding: 16px 20px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.gah-aurora-alert strong { color: var(--gah-moss); }

/* Cruise port band advisory */
.gah-cruise-band {
  background: var(--gah-depth);
  color: var(--gah-frost);
  border-left: 4px solid var(--gah-sunset);
  padding: 16px 20px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

/* Seasonal closure banner (Denali Park Road Oct-May, Brooks Camp lottery) */
.gah-closure-alert {
  background: var(--gah-salmon);
  color: var(--gah-frost);
  padding: 12px 20px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
}

/* Affiliate disclosure band (mandatory above every Booking.com / cruise widget) */
.gah-disclosure {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--gah-mist);
  padding: 8px 12px;
  background: var(--gah-snow);
  border-left: 3px solid var(--gah-glacier);
  margin: 16px 0 8px;
  line-height: 1.5;
}
.gah-disclosure a { color: var(--gah-fog); text-decoration: underline; }

/* Editorial eyebrow */
.gah-eyebrow {
  display: inline-block;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  color: var(--gah-spruce);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}

/* Hotel card */
.gah-hotel-card {
  background: var(--gah-frost);
  border: 1px solid #E4E7EA;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 150ms ease-out, border-color 150ms ease-out;
}
.gah-hotel-card:hover {
  transform: translateY(-4px);
  border-color: var(--gah-glacier);
}
.gah-hotel-card .card-body { padding: 24px; }

/* Aurora rating arcs (5-arc stylised, Spruce filled, Mist unfilled) */
.gah-aurora-rating {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}
.gah-aurora-rating .arc {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: var(--gah-mist);
  opacity: 0.4;
}
.gah-aurora-rating .arc.filled {
  background: var(--gah-spruce);
  opacity: 1;
}
.gah-aurora-rating .label {
  margin-left: 8px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--gah-mist);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* In-park lodge badge (Denali-specific distinction from gateway) */
.gah-inpark-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--gah-spruce);
  color: var(--gah-frost);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Cruise-friendly badge */
.gah-cruise-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: var(--gah-sunset);
  color: var(--gah-ink);
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Sticky header shadow when scrolled */
.gah-sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 200ms ease-out;
}
.gah-sticky-header.scrolled { box-shadow: 0 2px 12px rgba(29,39,49,0.15); }

/* Motion respect */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
