/*
  SchedulHub Hub — visual identity for the universal, multi-sector landing page.
  This is the "parent brand" page that introduces all SchedulHub experiences
  (Bookings, Rides, Gifts) before a visitor picks one. Built on the platform's
  original purple-to-navy identity (already used across the booking product)
  so it reads as the mothership, while Rides (ink/brass) and Gifts
  (cream/coral) stay deliberately distinct as their own sub-brands.
*/
:root {
  --hub-ink: #0e1638;
  --hub-navy: #0e2c59;
  --hub-primary: #6a11cb;
  --hub-primary-2: #2575fc;
  --hub-surface: #ffffff;
  --hub-bg: #f6f7fb;
  --hub-text: #1c2333;
  --hub-muted: #6b7280;
  --hub-border: rgba(15, 23, 42, 0.08);

  --hub-rides-brass: #c6a15b;
  --hub-rides-ink: #14120f;
  --hub-gifts-coral: #dd5c53;
  --hub-gifts-gold: #c28a2e;
}

.hub-page {
  background: var(--hub-bg);
  color: var(--hub-text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.hub-page h1,
.hub-page h2,
.hub-page h3,
.hub-page .hub-heading {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-weight: 800;
  color: var(--hub-text);
}

.hub-eyebrow {
  color: #b98dff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
}

.hub-section-eyebrow {
  color: var(--hub-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Nav */
.hub-nav {
  background: var(--hub-surface);
  border-bottom: 1px solid var(--hub-border);
  padding: 16px 0;
}
.hub-nav .navbar-brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--hub-text) !important;
}
.hub-nav .navbar-brand span {
  background: linear-gradient(90deg, var(--hub-primary) 0%, var(--hub-primary-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hub-nav .nav-link {
  color: var(--hub-text) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 14px !important;
}
.hub-nav .nav-link:hover {
  color: var(--hub-primary) !important;
}

/* Buttons */
.btn-hub-primary {
  background: linear-gradient(90deg, var(--hub-primary) 0%, var(--hub-primary-2) 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-hub-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(106, 17, 203, 0.28);
  color: #fff;
}
.btn-hub-outline {
  background: transparent;
  color: var(--hub-text) !important;
  border: 1.5px solid var(--hub-border);
  border-radius: 8px;
  padding: 11px 24px;
  font-weight: 700;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.btn-hub-outline:hover {
  border-color: var(--hub-primary);
  color: var(--hub-primary) !important;
}
.btn-hub-outline-light {
  background: transparent;
  color: #fff !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  padding: 11px 24px;
  font-weight: 700;
}
.btn-hub-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Hero */
.hub-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 55% at 85% 15%, rgba(37, 117, 252, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 10% 90%, rgba(106, 17, 203, 0.35) 0%, transparent 60%),
    linear-gradient(160deg, var(--hub-ink) 0%, var(--hub-navy) 100%);
  padding: 120px 0 100px;
  color: #fff;
}
.hub-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hub-hero p.lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  max-width: 560px;
}

/* Simple stacked "sector chip" visual used in the hero instead of a photo */
.hub-hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.hub-hero-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  backdrop-filter: blur(6px);
}
.hub-hero-chip i {
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hub-hero-chip.chip-bookings i { background: rgba(37, 117, 252, 0.2); color: #7fb0ff; }
.hub-hero-chip.chip-rides i { background: rgba(198, 161, 91, 0.2); color: var(--hub-rides-brass); }
.hub-hero-chip.chip-gifts i { background: rgba(221, 92, 83, 0.2); color: #ff9a92; }
.hub-hero-chip h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 2px;
}
.hub-hero-chip p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  margin: 0;
}

/* Stat strip */
.hub-stat-strip {
  background: var(--hub-surface);
  border-bottom: 1px solid var(--hub-border);
  padding: 36px 0;
}
.hub-stat {
  text-align: center;
}
.hub-stat-number {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  background: linear-gradient(90deg, var(--hub-primary) 0%, var(--hub-primary-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hub-stat-label {
  color: var(--hub-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hub-section {
  padding: 90px 0;
}
.hub-section-alt {
  background: var(--hub-surface);
}

/* Sector showcase cards */
.hub-sector-card {
  border-radius: 16px;
  padding: 40px 32px;
  height: 100%;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hub-sector-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}
.hub-sector-card .hub-sector-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.16);
}
.hub-sector-card h3 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}
.hub-sector-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}
.hub-sector-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
}
.hub-sector-card ul li {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hub-sector-card ul li i {
  margin-top: 3px;
}
.hub-sector-card.card-bookings {
  background: linear-gradient(150deg, #6a11cb 0%, #2575fc 100%);
}
.hub-sector-card.card-rides {
  background: linear-gradient(150deg, var(--hub-rides-ink) 0%, #3a2f1d 100%);
  border: 1px solid rgba(198, 161, 91, 0.35);
}
.hub-sector-card.card-gifts {
  background: linear-gradient(150deg, var(--hub-gifts-coral) 0%, var(--hub-gifts-gold) 100%);
}
.hub-sector-card .btn-sector {
  display: inline-block;
  background: #fff;
  border-radius: 8px;
  padding: 11px 22px;
  font-weight: 700;
  text-decoration: none;
}
.hub-sector-card.card-bookings .btn-sector { color: var(--hub-primary); }
.hub-sector-card.card-rides .btn-sector { color: var(--hub-rides-ink); }
.hub-sector-card.card-gifts .btn-sector { color: var(--hub-gifts-coral); }

/* Trust / value cards */
.hub-value-card {
  background: var(--hub-bg);
  border: 1px solid var(--hub-border);
  border-radius: 14px;
  padding: 30px 26px;
  height: 100%;
}
.hub-value-card i {
  font-size: 1.6rem;
  color: var(--hub-primary);
  margin-bottom: 16px;
  display: inline-block;
}
.hub-value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.hub-value-card p {
  color: var(--hub-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Contact strip (compact — links out to the full /contact page) */
.hub-contact-strip {
  background: var(--hub-surface);
  border: 1px solid var(--hub-border);
  border-radius: 18px;
  padding: 48px;
}

/* CTA */
.hub-cta {
  background: linear-gradient(150deg, var(--hub-ink) 0%, var(--hub-navy) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.hub-cta h2 { color: #fff; }
.hub-cta p { color: rgba(255, 255, 255, 0.75); }

/* Footer */
.hub-footer {
  background: var(--hub-ink);
  color: rgba(255, 255, 255, 0.65);
  padding: 56px 0 24px;
}
.hub-footer h5 {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.hub-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
}
.hub-footer a:hover {
  color: #fff;
}
.hub-footer ul {
  list-style: none;
  padding: 0;
}
.hub-footer ul li {
  margin-bottom: 10px;
}
.hub-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.85rem;
  text-align: center;
}
.hub-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  margin-right: 10px;
}
.hub-footer-social a:hover {
  background: var(--hub-primary);
}

/* Scroll reveal (shared pattern with carhire/gifts pages) */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (max-width: 991px) {
  .hub-hero { padding: 90px 0 70px; text-align: center; }
  .hub-hero p.lead { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hub-hero-visual { margin-top: 40px; }
  .hub-section { padding: 60px 0; }
}
