/* York Cars — shared styles (nav, buttons, section tags, footer).
   Layout language inspired by modern rental templates: inset rounded panels,
   pill buttons with a circular arrow, light nav. Brand colours/fonts unchanged. */

:root {
  --navy: #0A1F44;
  --navy-light: #13295c;
  --gold: #C9A227;
  --gold-light: #e0b52e;
  --cream: #F7F5F2;
  --text: #1C2526;
  --muted: #6b6b65;
  --line: #E7E4DD;
  --green: #1a9c5a;
  --gold-tint: #F4EDD6;
  --inset: clamp(14px, 3.4vw, 50px);
  --fit: min(calc(100% - 2 * var(--inset)), calc(1400px - 2 * var(--inset)));
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 18px;
  --shadow-sm: 0 2px 10px rgba(10,31,68,0.06);
  --shadow-md: 0 10px 30px rgba(10,31,68,0.08);
  --shadow-lg: 0 22px 50px rgba(10,31,68,0.13);
}

/* ---------- NAV ---------- */
.site-nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,245,242,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.site-nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 18px var(--inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo span { color: var(--gold); }
.site-nav ul {
  display: flex;
  gap: 6px;
  list-style: none;
}
.site-nav ul a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 16px;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
}
.site-nav ul a:hover { background: rgba(10,31,68,0.07); }
.site-nav ul a.active { color: var(--gold); }

/* ---------- BUTTONS: pill + attached circular arrow ---------- */
.btn-group {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 4px;
}
.btn-group .btn-label {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 999px;
  transition: background 0.25s ease;
}
.btn-group .btn-arrow {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.25s ease;
}
.btn-group:hover .btn-label { background: var(--gold-light); }
.btn-group:hover .btn-arrow { transform: rotate(45deg); background: var(--navy-light); }
.btn-group.on-dark .btn-arrow { background: #fff; color: var(--navy); }
.btn-group .btn-label { white-space: nowrap; }
.btn-group.sm .btn-label { padding: 10px 16px; font-size: 0.82rem; }
.btn-group.sm .btn-arrow { width: 38px; height: 38px; font-size: 1rem; }

/* ---------- SECTION TAG ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.tag::before { content: '✱'; font-size: 1.05rem; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--navy);
  color: #fff;
  width: var(--fit);
  margin: 40px auto var(--inset);
  border-radius: var(--radius-xl);
  padding: 56px clamp(24px, 5vw, 64px) 28px;
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: '✱';
  position: absolute;
  right: 38%;
  bottom: 6px;
  font-size: 3.4rem;
  color: rgba(201,162,39,0.14);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.site-footer .logo { color: #fff; display: inline-block; margin-bottom: 14px; }
.site-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.site-footer p, .site-footer li, .site-footer div { font-size: 0.92rem; }
.site-footer .footer-blurb { opacity: 0.78; max-width: 280px; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a {
  color: rgba(255,255,255,0.86);
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
}
.footer-bottom p { opacity: 0.78; font-size: 0.88rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.social-icon svg { width: 18px; height: 18px; fill: #fff; }
.social-link:hover .social-icon { background: var(--gold); border-color: var(--gold); }
.social-link:hover .social-icon svg { fill: var(--navy); }

/* Call / WhatsApp under the footer blurb */
.site-footer .footer-call-label { opacity: 0.78; margin-bottom: 2px; }
.site-footer .footer-contact-list { gap: 10px; margin: 8px 0 18px; }
.site-footer .footer-contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #fff;
}
.site-footer .footer-contact-list svg { width: 20px; height: 20px; fill: var(--gold-light); flex-shrink: 0; }
.footer-quick-actions { display: flex; gap: 12px; }
.site-footer a.icon-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.site-footer a.icon-btn svg { width: 22px; height: 22px; fill: #fff; transition: fill 0.25s ease; }
.site-footer a.icon-btn:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.site-footer a.icon-btn:hover svg { fill: var(--navy); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .site-nav ul { display: none; }
  .site-nav { padding-top: 14px; padding-bottom: 14px; }
  .site-footer { padding-top: 44px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
