/* ============================================================
   AIRPORT PAGE — Specific Styles
   (Common subpage styles are in subpage.css)
   Maximum design quality — editorial + functional
   ============================================================ */


/* ============================================================
   INTRO — Compact, centered
   ============================================================ */
.ap-intro {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-glass);
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .ap-intro { padding: 4.5rem 0; }
}

.ap-intro-inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.ap-intro-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--color-cool-accent);
  color: var(--color-cool-accent);
  margin-bottom: 1.5rem;
  transition: transform 0.4s var(--ease-spring), background 0.4s;
}
.ap-intro-inner:hover .ap-intro-icon {
  transform: scale(1.1);
  background: rgba(123, 156, 204, 0.1);
}

.ap-intro-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.ap-intro-title span {
  color: rgba(255,255,255,0.5);
}

.ap-intro-body {
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-bottom: 1.5rem;
}

.ap-intro-divider {
  width: 2.5rem;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 0 auto 1.5rem;
}

.ap-intro-sub {
  font-size: 0.95rem;
  color: var(--color-cool-muted);
  letter-spacing: 0.05em;
}


/* ============================================================
   ROUTES COLLECTION
   ============================================================ */
.ap-routes {
  background: var(--color-cool-surface);
  padding: 3.5rem 0 4rem;
  border-bottom: 1px solid var(--color-cool-border);
}
@media (min-width: 768px) {
  .ap-routes { padding: 4rem 0 4.5rem; }
}

.ap-routes-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: #111;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

.ap-routes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .ap-routes-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ap-routes-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Route card — enhanced */
.ap-route-card {
  display: block;
  background: #fff;
  border: 1px solid var(--color-cool-border);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s var(--ease-spring);
}
.ap-route-card:hover {
  border-color: var(--color-cool-accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.ap-route-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.ap-route-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.ap-route-card:hover .ap-route-img img {
  transform: scale(1.06);
}

.ap-route-badges {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  display: flex;
  gap: 0.3rem;
}
.ap-badge {
  font-size: var(--text-overline);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.45rem;
  text-transform: uppercase;
  border-radius: 2px;
}
.ap-badge--shuttle {
  background: var(--color-accent);
  color: #fff;
}
.ap-badge--private {
  background: #1a1a1a;
  color: #fff;
}
.ap-badge--airport {
  background: rgba(255,255,255,0.92);
  color: #111;
  backdrop-filter: blur(4px);
}
/* Event status badges */
.ap-badge--ended {
  background: rgba(100,100,100,0.85);
  color: #ddd;
}
.ap-badge--live {
  background: #ef4444;
  color: #fff;
  animation: badgePulse 2s ease-in-out infinite;
}
.ap-badge--upcoming {
  background: #22c55e;
  color: #fff;
}
@keyframes badgePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ============================================================
   EVENT SCHEDULE — Text-card grid (t-ride2 style)
   ============================================================ */
.ev-schedule-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .ev-schedule-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .ev-schedule-grid { grid-template-columns: repeat(3, 1fr); }
}

.ev-schedule-card {
  display: block;
  border: 1px solid var(--color-cool-border);
  background: #fff;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.ev-schedule-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 20px rgba(46, 92, 255, 0.08);
}

.ev-schedule-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.ev-schedule-date {
  font-family: var(--font-display);
  font-size: var(--text-body-lg);
  font-weight: 700;
  color: var(--color-accent);
}
.ev-schedule-badges {
  display: flex;
  gap: 0.35rem;
  align-items: center;
}
.ev-schedule-type {
  font-family: var(--font-display);
  font-size: var(--text-overline);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}
.ev-schedule-type--concert {
  background: rgba(46, 92, 255, 0.1);
  color: var(--color-accent);
}
.ev-schedule-type--festival {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}

.ev-schedule-name {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--color-ink);
  margin-bottom: 0.35rem;
  line-height: 1.4;
}
.ev-schedule-venue {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-ink-caption);
}

.ap-route-body {
  padding: 1rem 1.125rem 1.125rem;
}
.ap-route-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 0.25rem;
}
.ap-route-desc {
  font-size: 0.8rem;
  color: var(--color-cool-muted);
  margin-bottom: 0.75rem;
  font-weight: 300;
}

/* Route meta — interval, duration, schedule */
.ap-route-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.625rem;
}
.ap-route-meta span {
  font-size: var(--text-overline);
  font-weight: 500;
  color: #555;
  padding: 0.2rem 0.5rem;
  background: #f0f2f5;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

/* Route price */
.ap-route-price {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.ap-route-price small {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-cool-muted);
}


/* ============================================================
   WHY CHOOSE — Compact
   ============================================================ */
.ap-why {
  background: var(--color-bg);
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .ap-why { padding: 4.5rem 0; }
}

.ap-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .ap-why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.ap-why-left {
  position: relative;
}
@media (min-width: 768px) {
  .ap-why-left {
    position: sticky;
    top: 5rem;
    align-self: start;
  }
}

.ap-why-heading {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0.75rem 0 1.25rem;
}

.ap-why-desc {
  font-size: var(--text-body-lg);
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-weight: 300;
}

.ap-why-divider {
  width: 2.5rem;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-top: 1.5rem;
}

/* Why items — compact */
.ap-why-item {
  display: flex;
  gap: 1rem;
  padding: 1.125rem;
  border: 1px solid var(--color-border-glass);
  transition: border-color 0.3s, background 0.3s;
}
.ap-why-item:hover {
  border-color: var(--color-cool-accent);
  background: rgba(123, 156, 204, 0.04);
}

.ap-why-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-cool-accent);
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-cool-accent);
  transition: all 0.3s;
}
.ap-why-item:hover .ap-why-num {
  background: var(--color-cool-accent);
  color: #fff;
}

.ap-why-item-title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.35rem;
}
.ap-why-item-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  font-weight: 300;
}


/* ============================================================
   SKI BANNER — Compact
   ============================================================ */
.ap-ski-banner {
  position: relative;
  height: 18rem;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ap-ski-banner { height: 22rem; }
}

.ap-ski-bg {
  position: absolute;
  inset: 0;
}
.ap-ski-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(40%) brightness(0.9);
  transition: filter 0.6s, transform 0.6s;
}
.ap-ski-banner:hover .ap-ski-bg img {
  filter: grayscale(0%) brightness(1);
  transform: scale(1.02);
}

.ap-ski-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.45) 50%, transparent 100%);
}
@media (max-width: 767px) {
  .ap-ski-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.88), rgba(0,0,0,0.3));
  }
}

.ap-ski-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  justify-content: flex-end;
  padding-bottom: 2.5rem;
}
@media (min-width: 768px) {
  .ap-ski-content {
    justify-content: center;
    padding-bottom: 0;
  }
}

.ap-ski-label {
  font-size: var(--text-overline);
  font-weight: 400;
  color: var(--color-cool-accent-light);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.ap-ski-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--color-cool-accent);
}
.ap-ski-title {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 0.5rem;
}
.ap-ski-btn {
  width: auto;
}

.ap-ski-desc {
  font-size: var(--text-body-lg);
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 22rem;
}


/* ============================================================
   USP — 3 Columns, Compact
   ============================================================ */
.ap-usp {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border-glass);
  padding: 3.5rem 0;
}
@media (min-width: 768px) {
  .ap-usp { padding: 4rem 0; }
}

.ap-usp-heading {
  font-family: var(--font-display);
  font-size: var(--text-h2);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

.ap-usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}
@media (min-width: 768px) {
  .ap-usp-grid { grid-template-columns: repeat(3, 1fr); }
}

.ap-usp-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--color-border-glass);
  padding: 2rem 1.75rem;
  transition: all 0.5s var(--ease-spring);
  position: relative;
  overflow: hidden;
}
.ap-usp-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--color-cool-accent), var(--color-cool-accent-light));
  transition: width 0.6s var(--ease-spring);
}
.ap-usp-card:hover {
  background: rgba(255,255,255,0.05);
  transform: translateY(-3px);
}
.ap-usp-card:hover::after { width: 100%; }

.ap-usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid var(--color-cool-accent);
  color: var(--color-cool-accent);
  margin-bottom: 1.25rem;
  transition: transform 0.3s, background 0.3s;
}
.ap-usp-card:hover .ap-usp-icon {
  transform: scale(1.08);
  background: rgba(123, 156, 204, 0.1);
}

.ap-usp-title {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}

.ap-usp-line {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
}
.ap-usp-accent {
  color: var(--color-cool-accent-light);
  opacity: 0;
  transform: translateY(0.25rem);
  transition: all 0.3s;
}
.ap-usp-card:hover .ap-usp-accent {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   BOTTOM CTA — Full-width dark band
   ============================================================ */
.ap-cta {
  background: var(--color-bg-deep);
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .ap-cta { padding: 5.5rem 0; }
}

/* Subtle radial glow */
.ap-cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(123, 156, 204, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.ap-cta-label {
  display: inline-block;
  font-size: var(--text-overline);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-cool-accent);
  margin-bottom: 1.25rem;
  position: relative;
}
.ap-cta-label::before,
.ap-cta-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: var(--color-cool-accent);
  opacity: 0.4;
}
.ap-cta-label::before { right: calc(100% + 12px); }
.ap-cta-label::after { left: calc(100% + 12px); }

.ap-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff 0%, var(--color-cool-accent-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ap-cta-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 2rem;
}

.ap-cta-btn {
  font-size: 0.85rem;
  padding: 0.875rem 2.5rem;
  letter-spacing: 0.05em;
}


/* ── Filter Tabs ── */
.ap-filter-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.ap-filter-tab {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--color-border-glass);
  border-radius: 100px;
  background: transparent;
  color: var(--color-cool-muted);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.ap-filter-tab:hover {
  border-color: var(--color-cool-accent-light);
  color: var(--color-cool-accent-light);
}
.ap-filter-tab.active {
  background: var(--color-cool-accent);
  border-color: var(--color-cool-accent);
  color: #fff;
}

/* Card hide/show for filtering */
.ap-route-card[data-airport] {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.ap-route-card.filtered-out {
  display: none;
}
