/* =========================
   SUBURBHAUL GLOBAL STYLES
   ========================= */

:root {
  --primary: #111827;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --light: #f8fafc;
  --white: #ffffff;
  --text: #374151;
  --border: #e5e7eb;
  --success: #16a34a;

  --shadow: 0 10px 30px rgba(0,0,0,0.08);

  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* =========================
   LAYOUT
   ========================= */

.container {
  width: 90%;
  max-width: var(--container);
  margin: auto;
}

section {
  padding: 80px 0;
}

/* =========================
   HEADER
   ========================= */

header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.logo img {
  height: 55px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

/* =========================
   BUTTONS
   ========================= */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-secondary {
  background: var(--primary);
  color: white;
}

.btn-secondary:hover {
  opacity: 0.9;
}

/* =========================
   HERO
   ========================= */

.hero {
  background:
  linear-gradient(
    rgba(17,24,39,0.75),
    rgba(17,24,39,0.75)
  ),
  url('../assets/hero-home.jpg');

  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  min-height: 80vh;

  display: flex;
  align-items: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: auto;
}

.hero-buttons {
  margin-top: 35px;
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =========================
   CARDS
   ========================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* =========================
   TRUST SECTION
   ========================= */

.trust {
  background: var(--light);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 25px;
  text-align: center;
}

.trust-item {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.trust-item h3 {
  color: var(--accent);
  margin-bottom: 10px;
}

/* =========================
   CTA
   ========================= */

.cta{
    background:#07142d;
    color:#ffffff;
    text-align:center;
    padding:80px 20px;
    border-radius:12px;
    margin-top:60px;
}

.cta h2{
    color:#ffffff !important;
}

.cta p{
    color:#dbeafe;
    margin-bottom:30px;
}

/* =========================
   FOOTER
   ========================= */

footer {
  background: #0b1220;
  color: white;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

footer a {
  color: #d1d5db;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* =========================
   FORMS
   ========================= */

form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
}

textarea {
  resize: vertical;
  min-height: 140px;
}

/* =========================
   PAGE HERO
   ========================= */

.page-hero {
  background: var(--primary);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.page-hero h1 {
  margin-bottom: 15px;
}

/* =========================
   FAQ
   ========================= */

.faq-item {
  background: white;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

/* =========================
   MOBILE
   ========================= */

@media(max-width: 900px) {

  .grid-3,
  .trust-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .navbar {
    flex-direction: column;
    gap: 20px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}
.booking-summary {
    background: #f8fafc;
    border-left: 5px solid #2563eb;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.booking-summary h3 {
    margin-bottom: 15px;
}

.readonly-field {
    background: #f3f4f6;
    cursor: not-allowed;
}

.disclaimer-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 15px;
}
/* TRACKING PAGE */

.tracking-container{
    max-width:900px;
    margin:0 auto;
}

.tracking-card{
    background:#ffffff;
    border-radius:12px;
    padding:30px;
    box-shadow:0 4px 15px rgba(0,0,0,0.08);
    margin-top:30px;
}

.booking-summary-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-top:20px;
}

.summary-item{
    background:#f8fafc;
    padding:15px;
    border-radius:8px;
}

.summary-item label{
    display:block;
    font-size:0.85rem;
    color:#64748b;
    margin-bottom:5px;
}

.status-banner{
    background:#eff6ff;
    border-left:5px solid #2563eb;
    padding:20px;
    border-radius:8px;
    margin:25px 0;
}

.timeline{
    margin-top:30px;
}

.timeline-item{
    position:relative;
    padding-left:40px;
    margin-bottom:30px;
}

.timeline-item:before{
    content:"";
    position:absolute;
    left:10px;
    top:5px;
    width:14px;
    height:14px;
    border-radius:50%;
    background:#2563eb;
}

.timeline-item:after{
    content:"";
    position:absolute;
    left:16px;
    top:19px;
    width:2px;
    height:100%;
    background:#d1d5db;
}

.timeline-item:last-child:after{
    display:none;
}

.timeline-date{
    color:#64748b;
    font-size:0.9rem;
    margin-top:5px;
}

.timeline-route{
    margin-top:8px;
    font-weight:600;
}

.timeline-notes{
    margin-top:8px;
    color:#475569;
}

.info-box{
    background:#f8fafc;
    border:1px solid #e2e8f0;
    padding:20px;
    border-radius:8px;
    margin-top:20px;
}

.error-box{
    background:#fee2e2;
    border:1px solid #fecaca;
    padding:20px;
    border-radius:8px;
    margin-top:20px;
}
/* FAQ PAGE */

.faq-container{
    max-width:900px;
    margin:0 auto;
}

.faq-item{
    border:1px solid #e5e7eb;
    border-radius:10px;
    margin-bottom:15px;
    overflow:hidden;
    background:#fff;
}

.faq-question{
    width:100%;
    text-align:left;
    background:none;
    border:none;
    padding:20px;
    cursor:pointer;
    font-size:1.05rem;
    font-weight:600;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.faq-question:hover{
    background:#f8fafc;
}

.faq-answer{
    display:none;
    padding:0 20px 20px;
    color:#475569;
    line-height:1.7;
}

.faq-item.active .faq-answer{
    display:block;
}

.faq-icon{
    font-size:1.2rem;
}
/* 404 PAGE */

.error-page{
    text-align:center;
    padding:80px 20px;
}

.error-code{
    font-size:6rem;
    font-weight:700;
    color:#2563eb;
    line-height:1;
    margin-bottom:20px;
}

.error-page h1{
    margin-bottom:20px;
}

.error-page p{
    max-width:600px;
    margin:0 auto 30px;
    color:#64748b;
}

.error-actions{
    display:flex;
    gap:15px;
    justify-content:center;
    flex-wrap:wrap;
}
/* LOCATIONS PAGE */

.route-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
    margin-top:40px;
}

.route-card{
    background:#fff;
    border-radius:12px;
    padding:25px;
    box-shadow:0 4px 12px rgba(0,0,0,0.08);
}

.route-card h3{
    margin-bottom:15px;
}

.route-card p{
    margin-bottom:15px;
    color:#64748b;
}

.locations-section{
    margin:60px 0;
}
/* ROUTE PAGES */

.route-intro{
    max-width:900px;
    margin:0 auto;
    text-align:center;
}

.route-content{
    max-width:1000px;
    margin:0 auto;
}

.route-content h2{
    color:#111827;
    margin-bottom:20px;
    margin-top:40px;
}

.route-content p{
    margin-bottom:20px;
}

.route-highlights{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin:40px 0;
}

.highlight-card{
    background:#fff;
    padding:25px;
    border-radius:12px;
    box-shadow:var(--shadow);
    text-align:center;
}

.related-routes{
    background:#f8fafc;
    padding:40px;
    border-radius:12px;
    margin-top:50px;
}

.related-routes ul{
    padding-left:20px;
}

.route-faq{
    margin-top:50px;
}

.route-faq .faq-item{
    margin-bottom:20px;
}

.success-box{
    max-width:700px;
    margin:0 auto;
    background:#fff;
    padding:40px;
    border-radius:12px;
    box-shadow:var(--shadow);
    text-align:center;
}

.success-box h2{
    margin-bottom:20px;
    color:#111827;
}

.success-box p{
    margin-bottom:20px;
}