/* ============================================================
   Unique Rides Transportation — Shared Styles
   Covers: reset, CSS vars, top-bar, header/nav, footer, utils
   ============================================================ */

:root {
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Raleway', system-ui, sans-serif;
  --purple: #7b2d8b;
  --purple-dark: #5a1f68;
  --dark: #1a1a1a;
  --gray: #f9f9f9;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: #fff; color: #222; }

/* ---- Top bar ---- */
.top-bar { background: var(--dark); color: #ccc; font-size: 12px; text-align: center; padding: 8px 20px; letter-spacing: 1px; }
.top-bar a { color: #ccc; text-decoration: none; }
.top-bar a:hover { color: #fff; }

/* ---- Header / Nav ---- */
header { background: #fff; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 32px; }
.nav-logo img { height: 72px; width: auto; object-fit: contain; }
.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a { color: #222; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); border-bottom-color: var(--purple); }
.nav-book { background: var(--purple); color: #fff !important; padding: 10px 28px !important; border-bottom: none !important; border-radius: 2px; }
.nav-book:hover { background: var(--purple-dark) !important; }
.hamburger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 16px; margin: -16px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.hamburger span { display: block; width: 25px; height: 2px; background: #222; }
.mobile-nav { display: none; flex-direction: column; background: #fff; border-top: 1px solid #eee; padding: 20px 32px 28px; gap: 20px; }
.mobile-nav.open { display: flex !important; }
.mobile-nav a { color: #222; text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.mobile-nav-label { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #aaa; padding: 6px 0 2px; margin-top: 4px; }

/* ---- Services dropdown ---- */
.nav-dropdown { position: relative; }
.nav-dropdown > a { display: flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dropdown > a::after { content: ''; display: inline-block; width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid #222; transition: transform .2s; margin-top: 2px; }
.nav-dropdown:hover > a { color: var(--purple); }
.nav-dropdown:hover > a::after { border-top-color: var(--purple); transform: rotate(180deg); }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid #ececec; box-shadow: 0 8px 32px rgba(0,0,0,.1); min-width: 210px; z-index: 300; padding: 16px 0 8px; }
.nav-dropdown:hover .dropdown-menu { display: block; }
.nav-dropdown > a::before { content: ''; position: absolute; bottom: -16px; left: 0; width: 100%; height: 16px; }
.dropdown-menu a { display: block; padding: 10px 20px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: #222; text-decoration: none; white-space: nowrap; border-bottom: none !important; transition: background .15s, color .15s; }
.dropdown-menu a:hover { background: #f9f9f9; color: var(--purple); }
.dropdown-divider { height: 1px; background: #ececec; margin: 4px 0; }

/* ---- Footer ---- */
footer { background: #111; color: #aaa; padding: 60px 32px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; border-bottom: 1px solid #2a2a2a; padding-bottom: 48px; }
.footer-logo img { height: 72px; object-fit: contain; margin-bottom: 14px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: #aaa; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a, .footer-contact-list a { color: #aaa; text-decoration: none; font-size: 13px; transition: color .2s; }
.footer-col ul a:hover, .footer-contact-list a:hover { color: #c47ed4; }
.footer-contact-list { display: flex; flex-direction: column; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #888; flex-wrap: wrap; gap: 12px; }
.footer-socials a { color: #888; text-decoration: none; font-size: 12px; margin-left: 20px; transition: color .2s; }
.footer-socials a:hover { color: #c47ed4; }

/* ---- Shared section utilities ---- */
section { padding: 80px 32px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--purple-dark); margin-bottom: 10px; }
.section-title { font-family: var(--serif); font-size: clamp(26px, 4vw, 42px); font-weight: 700; color: var(--dark); line-height: 1.25; margin-bottom: 18px; }
.divider { width: 60px; height: 3px; background: var(--purple); margin-bottom: 24px; }
.divider-center { margin: 0 auto 24px; }

/* ---- Shared buttons ---- */
.btn-hero { background: var(--purple); color: #fff; text-decoration: none; padding: 15px 44px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: 2px; display: inline-block; transition: background .2s; }
.btn-hero:hover { background: var(--purple-dark); }
.btn-white { background: #fff; color: var(--purple); text-decoration: none; padding: 16px 48px; font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; border-radius: 2px; display: inline-block; transition: background .2s; }
.btn-white:hover { background: #f0e8f4; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-inner { padding: 12px 20px; }
}
