/* ============================================
   ROYAL ROUTE TRAVEL, TAXI SERVICE AMRITSAR
   Main Stylesheet
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: #fff;
  font-size: 15px;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ============================================
   COLORS
   ============================================ */
:root {
  --primary: #1a1a2e;
  --secondary: #0f3460;
  --accent: #f5c518;
  --green: #25d366;
  --text: #333;
  --light: #f8f9fa;
  --border: #e8e8e8;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 { font-size: 36px; font-weight: 800; line-height: 1.3; }
h2 { font-size: 28px; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
h3 { font-size: 18px; font-weight: 700; color: var(--primary); }
h4 { font-size: 16px; font-weight: 700; color: var(--primary); }
p { color: #555; line-height: 1.7; }

.section-sub {
  color: #666;
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 700px;
}

/* ============================================
   LAYOUT
   ============================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 65px 20px; }
.bg-light { background: var(--light); }
.bg-dark { background: var(--primary); }
.text-center { text-align: center; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s;
}
.btn:hover { opacity: 0.9; transform: translateY(-2px); }

.btn-primary { background: var(--accent); color: var(--primary); }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--primary); }
.btn-dark { background: var(--primary); color: var(--accent); }

.btn-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--accent);
  color: var(--primary);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: var(--primary); font-weight: 700; }

/* ============================================
   NAVIGATION
   ============================================ */
nav {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.logo span { color: #fff; }

.nav-menu {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
}
.nav-menu a {
  color: #ccc;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  font-weight: 500;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: var(--accent);
  background: rgba(245,197,24,0.1);
}

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 220px;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 999;
  padding: 8px 0;
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a {
  display: block;
  color: var(--primary) !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
  border-radius: 0 !important;
}
.dropdown-menu a:hover {
  background: var(--light) !important;
  color: var(--secondary) !important;
}
.dropdown > a::after { content: " ▾"; font-size: 11px; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  display: block;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  background: var(--light);
  padding: 10px 20px;
  font-size: 13px;
  color: #888;
  border-bottom: 1px solid var(--border);
}
.breadcrumb .container { display: flex; gap: 6px; align-items: center; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb span { color: #bbb; }

/* ============================================
   HERO, HOMEPAGE
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 60%, #1a4a7a 100%);
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(245,197,24,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero h1 { color: var(--accent); margin-bottom: 18px; }
.hero p { font-size: 18px; color: #ddd; max-width: 680px; margin: 0 auto 32px; }
.hero-badges {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
}

/* INNER PAGE HERO */
.hero-inner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff;
  padding: 50px 20px;
  text-align: center;
}
.hero-inner h1 { color: var(--accent); font-size: 30px; margin-bottom: 12px; }
.hero-inner p { color: #ccc; font-size: 16px; max-width: 600px; margin: 0 auto 20px; }

/* ============================================
   CARDS, SERVICES
   ============================================ */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.grid-6 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.card-icon { font-size: 38px; margin-bottom: 14px; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 14px; }
.card-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--secondary);
  font-weight: 700;
  font-size: 14px;
}
.card-link:hover { color: var(--accent); }

/* ============================================
   ROUTE TABLE
   ============================================ */
.table-wrap { overflow-x: auto; border-radius: 8px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
thead { background: var(--primary); color: var(--accent); }
thead th { padding: 14px 16px; text-align: left; white-space: nowrap; }
tbody tr:nth-child(even) { background: #f9f9f9; }
tbody tr:hover { background: #fff8e1; }
tbody td { padding: 12px 16px; border-bottom: 1px solid #eee; }
.fare-note { font-size: 13px; color: #888; margin-top: 12px; }

/* ============================================
   FLEET
   ============================================ */
.fleet-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.fleet-card:hover { transform: translateY(-4px); }
.fleet-icon { font-size: 36px; margin-bottom: 12px; }
.fleet-card h3 { font-size: 16px; margin-bottom: 6px; }
.fleet-card p { font-size: 13px; color: #777; margin-bottom: 14px; }
.fleet-card .btn { font-size: 13px; padding: 8px 16px; width: 100%; text-align: center; }

/* ============================================
   WHY US
   ============================================ */
.why-card { text-align: center; padding: 24px 16px; }
.why-icon { font-size: 40px; margin-bottom: 14px; }
.why-card h3 { margin-bottom: 8px; }
.why-card p { font-size: 14px; }

/* ============================================
   REVIEWS
   ============================================ */
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.stars { color: var(--accent); font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 14px; color: #444; line-height: 1.7; margin-bottom: 14px; }
.reviewer { font-weight: 700; color: var(--primary); font-size: 14px; }
.review-date { font-size: 12px; color: #aaa; }

/* ============================================
   FAQ
   ============================================ */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}
.faq-item h3 {
  font-size: 16px;
  color: var(--primary);
  margin-bottom: 8px;
  cursor: pointer;
}
.faq-item p { font-size: 14px; color: #555; line-height: 1.7; }

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
  padding: 65px 20px;
}
.cta-banner h2 { color: var(--accent); font-size: 30px; margin-bottom: 14px; }
.cta-banner p { color: #ddd; font-size: 17px; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--accent);
  padding: 30px 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  text-align: center;
}
.stat-item h3 { font-size: 32px; font-weight: 800; color: var(--primary); }
.stat-item p { font-size: 13px; font-weight: 600; color: #555; }

/* ============================================
   FOOTER
   ============================================ */
.footer-main {
  background: #111;
  color: #aaa;
  padding: 50px 20px 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  max-width: 1100px;
  margin: 0 auto 36px;
}
.footer-col h4 {
  color: var(--accent);
  font-size: 15px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p { font-size: 13px; line-height: 1.8; color: #888; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #888; font-size: 13px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: #555;
  max-width: 1100px;
  margin: 0 auto;
}
.footer-bottom a { color: var(--accent); }

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--green);
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 18px rgba(37,211,102,0.5);
  z-index: 9999;
  transition: transform 0.2s;
}
.float-wa:hover { transform: scale(1.1); }

.float-call {
  position: fixed;
  bottom: 92px;
  right: 24px;
  background: var(--accent);
  color: var(--primary);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 18px rgba(245,197,24,0.5);
  z-index: 9999;
  transition: transform 0.2s;
}
.float-call:hover { transform: scale(1.1); }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  h1 { font-size: 24px; }
  h2 { font-size: 22px; }
  .hero { padding: 50px 16px; }
  .hero p { font-size: 15px; }
  section { padding: 45px 16px; }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 16px;
    border-top: 2px solid var(--accent);
    gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 10px 14px; width: 100%; }
  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: rgba(255,255,255,0.05);
    padding: 4px 0 4px 16px;
  }
  .dropdown-menu a { color: #ccc !important; }
  .hamburger { display: flex; }

  .topbar .container { justify-content: center; text-align: center; }
  .btn-group { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .btn { padding: 11px 18px; font-size: 14px; }
  .float-wa { width: 50px; height: 50px; font-size: 24px; bottom: 16px; right: 16px; }
  .float-call { width: 50px; height: 50px; font-size: 20px; bottom: 76px; right: 16px; }
}
