/**
 * LimoRyder — Luxury Brand System
 * Shared logo, header, and brand styles across all pages
 * Premium black-and-gold airport chauffeur design
 */

/* ── Brand Tokens ──────────────────────────────────────────── */
:root {
  --lr-black:       #0a0a0a;
  --lr-black2:      #111111;
  --lr-black3:      #1a1a1a;
  --lr-black4:      #222222;
  --lr-gold:        #C9A84C;
  --lr-gold-light:  #E8C96A;
  --lr-gold-dark:   #A07830;
  --lr-gold-dim:    rgba(201,168,76,0.15);
  --lr-gold-border: rgba(201,168,76,0.3);
  --lr-white:       #FFFFFF;
  --lr-white-dim:   rgba(255,255,255,0.7);
  --lr-white-faint: rgba(255,255,255,0.08);
  --lr-font:        'Inter', -apple-system, system-ui, sans-serif;
  --lr-serif:       'Playfair Display', Georgia, 'Times New Roman', serif;
  --lr-r8:          8px;
  --lr-r12:         12px;
  --lr-r16:         16px;
  --lr-tr:          0.22s ease;
}

/* ── LimoRyder Logo Mark (SVG inline version) ─────────────── */
.lr-brand-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex-shrink: 0;
  user-select: none;
}

/* Shield monogram mark */
.lr-brand-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  position: relative;
}
.lr-brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Logo text group */
.lr-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.lr-brand-name {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lr-white);
  display: flex;
  align-items: baseline;
  gap: 0;
}
.lr-brand-name .limo { color: var(--lr-white); }
.lr-brand-name .ryder { color: var(--lr-gold); }
.lr-brand-tagline {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201,168,76,0.7);
  margin-top: 2px;
}

/* Dark-on-light variant (for light header backgrounds) */
.lr-brand-logo.on-light .lr-brand-name .limo { color: var(--lr-black); }
.lr-brand-logo.on-light .lr-brand-name .ryder { color: var(--lr-gold-dark); }
.lr-brand-logo.on-light .lr-brand-tagline { color: rgba(160,120,48,0.75); }

/* Compact variant (no tagline, smaller) */
.lr-brand-logo.compact .lr-brand-mark { width: 30px; height: 30px; }
.lr-brand-logo.compact .lr-brand-name { font-size: 1rem; }

/* ── Luxury Header (dark) ──────────────────────────────────── */
.lr-lux-hdr {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 70px;
  background: rgba(8,8,8,0.96);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(201,168,76,0.12);
  transition: background var(--lr-tr), border-color var(--lr-tr), box-shadow var(--lr-tr);
}
.lr-lux-hdr.scrolled {
  background: rgba(6,6,6,0.98);
  border-bottom-color: rgba(201,168,76,0.2);
  box-shadow: 0 4px 40px rgba(0,0,0,0.5);
}
.lr-lux-hdr-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 48px;
  box-sizing: border-box;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* Header navigation */
.lr-lux-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  margin-left: 40px;
}
.lr-lux-nav a {
  padding: 8px 13px;
  border-radius: var(--lr-r8);
  font-size: 0.845rem;
  font-weight: 500;
  color: rgba(255,255,255,0.65);
  transition: color var(--lr-tr), background var(--lr-tr);
  white-space: nowrap;
  text-decoration: none;
}
.lr-lux-nav a:hover {
  color: var(--lr-white);
  background: rgba(255,255,255,0.06);
}
.lr-lux-nav a.gold-link {
  color: var(--lr-gold);
  font-weight: 600;
}
.lr-lux-nav a.gold-link:hover {
  color: var(--lr-gold-light);
  background: var(--lr-gold-dim);
}

/* Header right actions */
.lr-lux-hdr-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.lr-lux-hdr-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  padding: 8px 12px;
  border-radius: var(--lr-r8);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--lr-tr);
  text-decoration: none;
}
.lr-lux-hdr-phone i { color: var(--lr-gold); font-size: 0.75rem; }
.lr-lux-hdr-phone:hover {
  color: var(--lr-white);
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.06);
}
.lr-lux-hdr-manage {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  padding: 8px 12px;
  border-radius: var(--lr-r8);
  transition: all var(--lr-tr);
  text-decoration: none;
}
.lr-lux-hdr-manage:hover {
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.05);
}
.lr-lux-btn-quote {
  background: linear-gradient(135deg, var(--lr-gold-light) 0%, var(--lr-gold) 50%, var(--lr-gold-dark) 100%);
  color: var(--lr-black);
  padding: 10px 22px;
  border-radius: var(--lr-r8);
  font-size: 0.845rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  transition: all var(--lr-tr);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  box-shadow: 0 2px 16px rgba(201,168,76,0.25);
}
.lr-lux-btn-quote:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201,168,76,0.4);
  filter: brightness(1.07);
}
.lr-lux-btn-signin {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  padding: 8px 12px;
  border-radius: var(--lr-r8);
  transition: all var(--lr-tr);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lr-lux-btn-signin:hover {
  color: var(--lr-white);
  background: rgba(255,255,255,0.06);
}

/* Signin dropdown */
.lr-signin-wrap {
  position: relative;
  display: inline-block;
}
.lr-signin-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #141414;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--lr-r12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  min-width: 195px;
  padding: 6px;
  z-index: 400;
}
.lr-signin-menu.open { display: block; }
.lr-signin-menu a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: var(--lr-r8);
  font-size: 0.855rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background var(--lr-tr), color var(--lr-tr);
}
.lr-signin-menu a:hover { background: rgba(255,255,255,0.06); color: var(--lr-white); }
.lr-signin-menu a.partner-si { color: var(--lr-gold); font-weight: 600; }
.lr-signin-menu a.partner-si:hover { background: var(--lr-gold-dim); }
.lr-signin-menu i { color: rgba(255,255,255,0.4); width: 15px; font-size: 0.8rem; }
.lr-signin-menu a.partner-si i { color: var(--lr-gold); opacity: 0.7; }

/* Account menu (signed in) */
.lr-account-wrap { position: relative; }
.lr-account-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--lr-gold);
  border-radius: var(--lr-r8);
  padding: 8px 14px;
  font-size: 0.845rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--lr-tr);
}
.lr-account-btn:hover {
  background: rgba(201,168,76,0.18);
  border-color: rgba(201,168,76,0.45);
}
.lr-account-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #141414;
  border: 1px solid rgba(201,168,76,0.18);
  border-radius: var(--lr-r12);
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
  min-width: 205px;
  padding: 6px;
  z-index: 400;
}
.lr-account-dropdown.open { display: block; }
.lr-account-dropdown a,
.lr-account-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--lr-r8);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background var(--lr-tr);
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--lr-font);
  text-align: left;
}
.lr-account-dropdown a:hover,
.lr-account-dropdown button:hover { background: rgba(255,255,255,0.06); color: var(--lr-white); }
.lr-account-dropdown i { color: rgba(255,255,255,0.3); width: 18px; font-size: 0.8rem; }
.lr-account-dropdown .signout-btn { color: #f87171; }
.lr-account-dropdown .signout-btn i { color: rgba(248,113,113,0.5); }
.lr-account-dropdown hr { border: none; border-top: 1px solid rgba(255,255,255,0.07); margin: 4px 8px; }

/* ── Hamburger mobile button ───────────────────────────────── */
.lr-lux-hamburger {
  display: none;
  width: 40px; height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--lr-r8);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: border-color var(--lr-tr);
}
.lr-lux-hamburger:hover { border-color: rgba(201,168,76,0.4); }
.lr-lux-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: rgba(255,255,255,0.75); border-radius: 2px;
  transition: all var(--lr-tr);
}

/* ── Mobile Drawer ─────────────────────────────────────────── */
.lr-mob-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: #080808;
  z-index: 500;
  overflow-y: auto;
  padding: 0;
  flex-direction: column;
}
.lr-mob-drawer.open { display: flex; }
.lr-mob-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  flex-shrink: 0;
}
.lr-mob-close {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: none; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: rgba(255,255,255,0.7);
  cursor: pointer;
}
.lr-mob-links {
  flex: 1;
  padding: 16px 24px;
}
.lr-mob-links a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color var(--lr-tr);
}
.lr-mob-links a:hover { color: var(--lr-white); }
.lr-mob-links a.gold { color: var(--lr-gold); font-weight: 600; }
.lr-mob-account-section {
  padding: 12px 0 8px;
  border-top: 1px solid rgba(201,168,76,0.12);
  margin-top: 6px;
}
.lr-mob-account-section .label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  padding: 8px 0 6px;
}
.lr-mob-ctas {
  padding: 16px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
.lr-mob-cta-book {
  background: linear-gradient(135deg, var(--lr-gold-light), var(--lr-gold-dark));
  color: var(--lr-black);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px;
  border-radius: var(--lr-r8);
  text-align: center;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lr-mob-cta-phone {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 14px;
  border-radius: var(--lr-r8);
  text-align: center;
  text-decoration: none;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.lr-mob-cta-phone i { color: var(--lr-gold); }

/* ── Luxury Footer Logo ────────────────────────────────────── */
.lr-ftr-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  margin-bottom: 16px;
}
.lr-ftr-logo .lr-brand-name { color: var(--lr-white); }
.lr-ftr-logo .ryder { color: var(--lr-gold); }

/* ── Media queries ─────────────────────────────────────────── */
@media (max-width: 1440px) {
  .lr-lux-hdr-inner { max-width: 100%; padding: 0 48px; gap: 16px; }
  .lr-lux-nav { gap: 1px; }
  .lr-lux-nav a { padding: 7px 6px; font-size: 0.68rem; }
  .lr-lux-phone, .lr-lux-hdr-phone { display: none; }
  .lr-lux-hdr-right { gap: 8px; }
  .lr-lux-btn-quote { padding: 9px 15px; }
}

@media (max-width: 1200px) {
  .nav-create-link { display: none !important; }
}

@media (max-width: 900px) {
  .lr-lux-nav,
  .lr-lux-hdr-phone,
  .lr-lux-hdr-manage,
  .lr-lux-btn-signin,
  .lr-signin-wrap,
  .lr-account-wrap { display: none !important; }
  .lr-lux-hamburger { display: flex !important; }
  .lr-lux-btn-quote { padding: 9px 16px; font-size: 0.8rem; }
}
@media (max-width: 480px) {
  .lr-lux-hdr-inner { padding: 0 18px; }
  .lr-brand-mark { width: 32px; height: 32px; }
  .lr-brand-name { font-size: 1.05rem; }
}

/* ── Brand Wordmark — inline one-line "LimoRyder" ──────────── */
.lr-brand-wordmark {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  line-height: 1 !important;
  gap: 0 !important;
}
.lr-wm-limo,
.lr-wm-ryder {
  display: inline !important;
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  font-family: 'Inter', -apple-system, system-ui, sans-serif !important;
  white-space: nowrap !important;
  margin-top: 0 !important;
}
.lr-wm-limo { color: #ffffff !important; }
.lr-wm-ryder { color: #C9A84C !important; }
.lr-wm-tag {
  flex-basis: 100% !important;
  font-size: 0.57rem !important;
  font-weight: 500 !important;
  color: rgba(201,168,76,0.6) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}

/* ── Additional aliases added for Phase 13 ─────────────────── */
/* Phone link in header (alias for lr-lux-hdr-phone) */
.lr-lux-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  padding: 8px 12px;
  border-radius: var(--lr-r8);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all var(--lr-tr);
  text-decoration: none;
  white-space: nowrap;
}
.lr-lux-phone i { color: var(--lr-gold); font-size: 0.75rem; }
.lr-lux-phone:hover {
  color: var(--lr-white);
  border-color: rgba(201,168,76,0.35);
  background: rgba(201,168,76,0.06);
}
/* Mobile nav links */
.lr-mob-nav {
  flex: 1;
  padding: 16px 24px;
  overflow-y: auto;
}
.lr-mob-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  text-decoration: none;
  transition: color var(--lr-tr);
}
.lr-mob-nav a:hover { color: var(--lr-white); }
/* Mobile drawer header row */
.lr-mob-drawer-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
  flex-shrink: 0;
}
/* Mobile drawer CTA buttons container */
.lr-mob-drawer-btns {
  padding: 16px 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}
