/* Dhirajcab.com - Main Stylesheet */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Topbar */
.topbar { background: linear-gradient(to right, #ea580c, #f97316); color: #fff; padding: 8px 0; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; gap: 20px; }
.topbar-left a, .topbar-right { color: #fff; display: flex; align-items: center; gap: 6px; }
.topbar-left a:hover { color: #fed7aa; }

/* Header */
.main-header { background: #000; color: #fff; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.4); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; }
.logo { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.logo-icon { background: linear-gradient(to right, #ea580c, #f97316); padding: 10px 14px; border-radius: 10px; font-size: 22px; color: #fff; }
.logo-name { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.logo-tag { display: block; font-size: 12px; color: #f97316; }
.main-nav { display: flex; gap: 24px; align-items: center; }
.main-nav a { color: #fff; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover { color: #f97316; }
.btn-admin { background: #f97316; padding: 8px 18px; border-radius: 8px; }
.btn-admin:hover { background: #ea580c !important; }
.mobile-menu-btn { display: none; background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; }
.mobile-nav { display: none; flex-direction: column; background: #111; padding: 10px 16px; }
.mobile-nav a { color: #fff; padding: 10px 0; border-bottom: 1px solid #333; }
.mobile-nav.open { display: flex; }

/* Hero Section */
.hero { position: relative; background: linear-gradient(135deg, #000 0%, #1a1a1a 100%); color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('https://images.pexels.com/photos/3692870/pexels-photo-3692870.jpeg?auto=compress&cs=tinysrgb&w=1920'); background-size: cover; background-position: center; opacity: 0.18; }
.hero-content { position: relative; z-index: 2; padding: 80px 16px; text-align: center; max-width: 900px; margin: 0 auto; }
.hero h2 { font-size: 52px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.hero h2 span { display: block; background: linear-gradient(to right, #fb923c, #ea580c); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 20px; color: #d1d5db; margin-bottom: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 36px; }
.badge { display: flex; align-items: center; gap: 8px; background: rgba(249,115,22,0.15); border: 1px solid #f97316; padding: 10px 22px; border-radius: 999px; font-size: 15px; }
.badge i { color: #fb923c; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.btn-primary { background: linear-gradient(to right, #f97316, #ea580c); color: #fff; padding: 16px 32px; border-radius: 10px; font-size: 17px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; transition: opacity 0.2s; box-shadow: 0 4px 20px rgba(249,115,22,0.4); }
.btn-primary:hover { opacity: 0.9; }
.btn-secondary { background: #fff; color: #000; padding: 16px 32px; border-radius: 10px; font-size: 17px; font-weight: 700; transition: background 0.2s; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.btn-secondary:hover { background: #f3f4f6; }
.hero-fade { position: absolute; bottom: 0; left: 0; right: 0; height: 80px; background: linear-gradient(to top, #fff, transparent); }

/* Why Choose Us */
.why-section { padding: 70px 0; background: #fff; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; font-weight: 800; color: #111; margin-bottom: 12px; }
.section-title h2 span { color: #f97316; }
.section-title p { color: #6b7280; font-size: 17px; max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card { background: linear-gradient(135deg, #f9fafb, #fff); border: 1px solid #e5e7eb; border-radius: 14px; padding: 32px; transition: all 0.3s; }
.feature-card:hover { border-color: #f97316; box-shadow: 0 10px 40px rgba(249,115,22,0.15); transform: translateY(-2px); }
.feature-icon { background: linear-gradient(to right, #f97316, #ea580c); width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 26px; color: #fff; }
.feature-card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: #111; }
.feature-card p { color: #6b7280; font-size: 15px; line-height: 1.6; }

/* Routes Section */
.routes-section { padding: 70px 0; background: #f9fafb; }
.city-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 36px; }
.city-tab { padding: 12px 24px; border-radius: 10px; font-weight: 600; cursor: pointer; border: 1px solid #d1d5db; background: #fff; color: #374151; transition: all 0.2s; }
.city-tab.active { background: linear-gradient(to right, #f97316, #ea580c); color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(249,115,22,0.3); }
.city-tab:hover:not(.active) { background: #fff7ed; border-color: #fb923c; }
.routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.route-card { background: #fff; border-radius: 14px; border: 1px solid #e5e7eb; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.06); transition: all 0.3s; cursor: pointer; }
.route-card:hover { border-color: #f97316; box-shadow: 0 8px 30px rgba(249,115,22,0.2); transform: translateY(-2px); }
.route-card-header { background: linear-gradient(to right, #f97316, #ea580c); padding: 16px 20px; color: #fff; display: flex; align-items: center; justify-content: space-between; }
.route-cities { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; }
.route-card-body { padding: 20px; }
.route-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.meta-item { display: flex; align-items: center; gap: 8px; color: #6b7280; font-size: 14px; }
.meta-item i { color: #f97316; font-size: 16px; }
.meta-item strong { display: block; color: #111; font-size: 15px; }
.route-dist { font-size: 14px; color: #6b7280; margin-bottom: 16px; }
.route-dist strong { color: #111; }
.btn-book { width: 100%; background: #111; color: #fff; border: none; padding: 13px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.btn-book:hover { background: #f97316; }
.no-routes { text-align: center; padding: 50px; color: #9ca3af; font-size: 17px; grid-column: 1/-1; }

/* Testimonials */
.testi-section { padding: 70px 0; background: #fff; }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 14px; padding: 28px; }
.testi-stars { color: #f59e0b; font-size: 18px; margin-bottom: 12px; }
.testi-comment { color: #374151; line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testi-author { font-weight: 700; color: #111; }
.testi-city { font-size: 13px; color: #9ca3af; }

/* Route Detail Page */
.route-hero { background: linear-gradient(to right, #f97316, #ea580c); color: #fff; padding: 50px 0; }
.route-hero-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.route-hero h1 { font-size: 38px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.route-hero-arrow { font-size: 30px; }
.route-hero p { margin-top: 10px; color: #fed7aa; font-size: 16px; }
.route-detail-wrap { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; padding: 50px 0; }
.route-info-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 20px rgba(0,0,0,0.08); padding: 36px; margin-bottom: 28px; }
.route-info-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; color: #111; }
.route-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-box { display: flex; align-items: center; gap: 14px; }
.stat-icon { background: #fff7ed; padding: 14px; border-radius: 10px; font-size: 22px; color: #ea580c; }
.stat-box p { font-size: 13px; color: #9ca3af; }
.stat-box strong { font-size: 20px; color: #111; display: block; }
.seo-content { color: #4b5563; line-height: 1.8; font-size: 15px; white-space: pre-line; }

/* Booking Form */
.booking-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 30px rgba(0,0,0,0.1); padding: 32px; position: sticky; top: 80px; }
.booking-card h3 { font-size: 22px; font-weight: 800; margin-bottom: 24px; color: #111; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; color: #111; outline: none; transition: border 0.2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.12); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit { width: 100%; background: linear-gradient(to right, #f97316, #ea580c); color: #fff; border: none; padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 800; cursor: pointer; transition: opacity 0.2s; margin-top: 6px; }
.btn-submit:hover { opacity: 0.9; }
.booking-call { text-align: center; margin-top: 14px; font-size: 14px; color: #6b7280; }
.booking-call a { color: #f97316; font-weight: 700; }
.alert { padding: 14px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 14px; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* Footer */
.main-footer { background: #000; color: #fff; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: #f97316; font-size: 20px; margin-bottom: 14px; }
.footer-col h4 { color: #f97316; font-size: 16px; margin-bottom: 14px; }
.footer-col p { color: #9ca3af; font-size: 14px; line-height: 1.8; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #9ca3af; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: #f97316; }
.social-links { display: flex; gap: 10px; }
.social-links a { background: #f97316; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: background 0.2s; }
.social-links a:hover { background: #ea580c; }
.contact-info p { display: flex; align-items: center; gap: 8px; color: #9ca3af; font-size: 14px; margin-bottom: 10px; }
.contact-info a { color: #9ca3af; transition: color 0.2s; }
.contact-info a:hover { color: #f97316; }
.contact-info i { color: #f97316; width: 18px; }
.footer-bottom { border-top: 1px solid #1f2937; padding: 20px 16px; text-align: center; }
.footer-bottom p { color: #6b7280; font-size: 13px; }

/* Admin */
.admin-wrap { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: #fff; box-shadow: 2px 0 10px rgba(0,0,0,0.08); position: fixed; height: 100vh; overflow-y: auto; }
.admin-sidebar-header { background: linear-gradient(to right, #7c3aed, #6d28d9); padding: 22px 20px; }
.admin-sidebar-header h1 { color: #fff; font-size: 20px; font-weight: 800; }
.admin-nav { padding: 14px; }
.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; color: #374151; font-size: 14px; font-weight: 500; margin-bottom: 4px; transition: all 0.2s; }
.admin-nav a:hover, .admin-nav a.active { background: #ede9fe; color: #7c3aed; }
.admin-nav a i { width: 18px; text-align: center; }
.admin-nav .logout-btn { color: #ef4444; margin-top: 12px; }
.admin-nav .logout-btn:hover { background: #fef2f2; color: #dc2626; }
.admin-main { flex: 1; margin-left: 240px; padding: 32px; background: #f9fafb; min-height: 100vh; }
.admin-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-top h2 { font-size: 28px; font-weight: 800; color: #111; }
.admin-user { background: #fff; padding: 10px 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,0.07); display: flex; align-items: center; gap: 12px; }
.admin-user-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(to right, #7c3aed, #6d28d9); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.stat-card { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 24px; transition: box-shadow 0.2s; }
.stat-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); }
.stat-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.stat-card-icon { width: 48px; height: 48px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: #fff; }
.stat-card-val { font-size: 30px; font-weight: 800; color: #111; }
.stat-card-label { color: #6b7280; font-size: 14px; font-weight: 500; }
.admin-table-wrap { background: #fff; border-radius: 14px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); padding: 28px; margin-bottom: 28px; }
.admin-table-wrap h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; color: #111; }
.admin-table-wrap .admin-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
table { width: 100%; border-collapse: collapse; }
thead th { text-align: left; padding: 12px 16px; font-size: 13px; font-weight: 700; color: #374151; border-bottom: 2px solid #f3f4f6; }
tbody td { padding: 14px 16px; font-size: 14px; border-bottom: 1px solid #f3f4f6; color: #374151; }
tbody tr:hover { background: #f9fafb; }
.badge-status { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-pending { background: #fef9c3; color: #854d0e; }
.badge-confirmed { background: #dcfce7; color: #166534; }
.badge-completed { background: #dbeafe; color: #1e40af; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.admin-btn { padding: 8px 18px; border-radius: 8px; border: none; font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.admin-btn-primary { background: #7c3aed; color: #fff; }
.admin-btn-primary:hover { background: #6d28d9; }
.admin-btn-danger { background: #ef4444; color: #fff; }
.admin-btn-danger:hover { background: #dc2626; }
.admin-btn-success { background: #22c55e; color: #fff; }
.admin-btn-sm { padding: 5px 12px; font-size: 12px; }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; justify-content: center; align-items: center; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: 14px; padding: 32px; width: 100%; max-width: 500px; max-height: 90vh; overflow-y: auto; }
.modal h3 { font-size: 20px; font-weight: 800; margin-bottom: 20px; }
.modal-close { float: right; background: none; border: none; font-size: 22px; cursor: pointer; color: #9ca3af; }
.admin-login-wrap { min-height: 100vh; background: linear-gradient(135deg, #000 0%, #1a1a1a 100%); display: flex; align-items: center; justify-content: center; padding: 20px; }
.admin-login-card { background: #fff; border-radius: 20px; width: 100%; max-width: 420px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.admin-login-header { background: linear-gradient(to right, #f97316, #ea580c); padding: 36px; text-align: center; color: #fff; }
.admin-login-header .icon { width: 80px; height: 80px; background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 36px; }
.admin-login-header h1 { font-size: 26px; font-weight: 800; }
.admin-login-header p { color: #fed7aa; margin-top: 4px; }
.admin-login-body { padding: 36px; }

/* Responsive */
@media (max-width: 1024px) {
  .features-grid, .routes-grid, .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .route-detail-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .main-nav { display: none; }
  .mobile-menu-btn { display: block; }
  .features-grid, .routes-grid, .testi-grid, .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h2 { font-size: 32px; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; padding: 16px; }
  .route-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hide-sm { display: none; }
}
