/* ============================================================
   MyCab.com.au — Shared Stylesheet
   Theme: Navy (#0F1F3D) + Gold (#C9A84C)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:     #C9A84C;
  --gold-d:   #a8893e;
  --gold-lt:  #f5ecd4;
  --navy:     #0F1F3D;
  --navy-mid: #1A3260;
  --navy-lt:  #1e3a72;
  --dark:     #0a1628;
  --mid:      #162444;
  --gray:     #555555;
  --light:    #f4f6fa;
  --white:    #FFFFFF;
  --radius:   6px;
  --shadow:   0 2px 16px rgba(15,31,61,.13);
  --trans:    .2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--white);
  color: #1a1a2e;
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ── Utility ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background var(--trans), color var(--trans), transform var(--trans);
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-yellow  { background: var(--gold); color: var(--navy); }
.btn-yellow:hover  { background: var(--gold-d); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--navy); }
.btn-dark    { background: var(--navy); color: var(--white); }
.btn-dark:hover    { background: var(--navy-mid); }

.section { padding: 70px 0; }
.section-alt  { background: var(--light); }
.section-dark { background: var(--navy); color: var(--white); }

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
.section-sub {
  color: var(--gray);
  margin-bottom: 44px;
  font-size: 1.05rem;
}
.section-dark .section-sub { color: #8faad4; }
.accent { color: var(--gold); }

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 12px rgba(10,22,40,.5);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.5px;
}
.logo span { color: var(--white); }

/* hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

.site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
}
.site-nav a {
  color: #b8c9e4;
  font-size: .88rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: background var(--trans), color var(--trans);
  white-space: nowrap;
}
.site-nav a:hover,
.site-nav a.active { background: var(--gold); color: var(--navy); }
.site-nav .cta-link a { background: var(--gold); color: var(--navy); }
.site-nav .cta-link a:hover { background: var(--gold-d); }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1e3a72 100%);
  color: var(--white);
  padding: 90px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 110% 50%, rgba(201,168,76,.13) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p {
  font-size: 1.1rem;
  color: #8faad4;
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cab-icon { width: 320px; height: 320px; position: relative; }

/* ── Category Cards ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border: 2px solid #dde3f0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans), border-color var(--trans);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}
.card-icon {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}
.card-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }
.card-tag {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--gray); font-size: .9rem; flex: 1; margin-bottom: 18px; }
.card .price {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
}
.card .btn { align-self: flex-start; }

/* ── How it Works ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.step { text-align: center; padding: 10px; }
.step-num {
  width: 56px;
  height: 56px;
  background: var(--gold);
  color: var(--navy);
  font-size: 1.4rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.step h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: .9rem; }
.section-dark .step p { color: #8faad4; }

/* ── Listings Preview ── */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.listing {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--trans);
}
.listing:hover { transform: translateY(-3px); }
.listing-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}
.listing-body { padding: 16px 18px; }
.listing-type {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold-d);
  background: var(--gold-lt);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.listing-body h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.listing-body .loc { color: var(--gray); font-size: .85rem; margin-bottom: 10px; }
.listing-body .listing-price { font-size: 1.1rem; font-weight: 800; color: var(--navy); }
.listing-footer {
  padding: 12px 18px;
  border-top: 1px solid #eaeef6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  color: var(--gray);
}

/* ── Stats Bar ── */
.stats-bar { background: var(--gold); padding: 36px 0; }
.stats-inner {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  text-align: center;
}
.stat-num { font-size: 2.2rem; font-weight: 900; color: var(--navy); display: block; }
.stat-label { font-size: .85rem; font-weight: 600; color: #6b4e10; }

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy-mid);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}
.cta-banner h2 { font-size: 2rem; font-weight: 900; margin-bottom: 14px; }
.cta-banner p { color: #8faad4; margin-bottom: 30px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: #6e88aa; padding: 50px 0 24px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 14px; display: block; }
.footer-brand p { font-size: .88rem; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #6e88aa; font-size: .88rem; transition: color var(--trans); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #162444;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
}
.disclaimer-note {
  background: #0d1a30;
  padding: 12px 18px;
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
  font-size: .82rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ── Inner Page Header ── */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 52px 0 44px;
}
.page-header h1 { font-size: 2.2rem; font-weight: 900; margin-bottom: 8px; }
.page-header p { color: #8faad4; font-size: 1.05rem; }
.breadcrumb { font-size: .82rem; color: #6e88aa; margin-bottom: 12px; }
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { text-decoration: underline; }

/* ── Listing Detail / Form ── */
.listing-full {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  align-items: start;
}
.listing-card-large {
  background: var(--white);
  border: 2px solid #dde3f0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.listing-card-large .listing-img-lg {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
}
.listing-card-large .body { padding: 28px; }
.listing-card-large h2 { font-size: 1.6rem; margin-bottom: 8px; }
.listing-card-large .meta { display: flex; gap: 16px; font-size: .88rem; color: var(--gray); margin-bottom: 20px; }
.listing-card-large .big-price { font-size: 2rem; font-weight: 900; color: var(--navy); margin-bottom: 20px; }
.listing-card-large p { color: var(--gray); line-height: 1.7; }

.contact-box {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 24px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}
.contact-box h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }

/* ── Form ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid #dde3f0;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--trans);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--gray); margin-top: 6px; }

/* ── Empty State ── */
.empty-state { text-align: center; padding: 60px 20px; color: var(--gray); }
.empty-state .big { font-size: 3rem; margin-bottom: 14px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--navy); }

/* ── Links Page ── */
.links-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.link-card {
  border: 2px solid #dde3f0;
  border-radius: 10px;
  padding: 22px;
  transition: border-color var(--trans), transform var(--trans);
}
.link-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.link-card .icon { font-size: 1.8rem; margin-bottom: 10px; }
.link-card h4 { font-weight: 700; margin-bottom: 6px; }
.link-card p { font-size: .88rem; color: var(--gray); margin-bottom: 12px; }
.link-card a { color: var(--gold-d); font-size: .88rem; font-weight: 600; }
.link-card a:hover { text-decoration: underline; }

/* ── Legal pages ── */
.legal-content h2 { font-size: 1.3rem; font-weight: 700; margin: 30px 0 10px; color: var(--navy); }
.legal-content p, .legal-content li { color: var(--gray); font-size: .95rem; line-height: 1.8; margin-bottom: 10px; }
.legal-content ul { padding-left: 20px; }

/* ── Filter / info banners ── */
.info-banner {
  background: #f0f4ff;
  border: 2px solid var(--gold);
  border-radius: 10px;
  padding: 22px 28px;
  margin-bottom: 36px;
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.info-banner a { color: var(--gold-d); font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .listing-full { grid-template-columns: 1fr; }
  .contact-box { position: static; }
}

@media (max-width: 640px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 12px 20px 20px;
    z-index: 99;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 10px 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .hero { padding: 60px 0 50px; }
  .stats-inner { gap: 30px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
