/* Rajput Travels - Modern Vibrant CSS */
/* Phase 1 - Complete Styling */

:root {
  /* Vibrant Color Palette */
  --primary: #ff6b35;
  --primary-dark: #e55a2b;
  --secondary: #ff8c42;
  --accent: #ffa726;
  --gradient-main: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa726 100%);
  --gradient-hero: linear-gradient(135deg, #ff4757 0%, #ff6b35 50%, #ff8c42 100%);
  --gradient-card: linear-gradient(145deg, #fff 0%, #f8f9fa 100%);
  
  /* Neutral Colors */
  --dark: #2c3e50;
  --dark-light: #34495e;
  --gray: #7f8c8d;
  --gray-light: #bdc3c7;
  --white: #ffffff;
  --light: #f8f9fa;
  --light-gray: #ecf0f1;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', sans-serif;
  
  /* Spacing */
  --container-width: 1200px;
  --section-padding: 80px 0;
  --border-radius: 12px;
  --border-radius-lg: 20px;
  
  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 15px 50px rgba(0,0,0,0.15);
  --shadow-primary: 0 8px 25px rgba(255,107,53,0.3);
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark);
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.4rem; }
h5 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray);
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--border-radius);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(255,107,53,0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Top Bar */
.topbar {
  background: var(--dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.9rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar a {
  color: var(--white);
  font-size: 0.9rem;
}

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

.topbar-wa {
  background: #25d366;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

/* Navbar */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.4rem;
  line-height: 1;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

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

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown */
.has-dropdown {
  position: relative;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  border-bottom: 1px solid var(--light-gray);
}

.dropdown li:last-child {
  border-bottom: none;
}

.dropdown a {
  display: block;
  padding: 12px 20px;
  color: var(--dark);
  font-size: 0.9rem;
}

.dropdown a:hover {
  background: var(--light);
  color: var(--primary);
}

.nav-cta {
  background: var(--gradient-main);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  background: var(--gradient-hero);
  color: var(--white);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Booking Form */
.booking-section {
  padding: 60px 0;
  background: var(--light);
}

.booking-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.form-title {
  text-align: center;
  margin-bottom: 2rem;
}

.form-title h2 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group input,
.form-group select {
  padding: 14px 16px;
  border: 2px solid var(--light-gray);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.1);
}

.form-submit {
  text-align: center;
}

/* Sections */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-main);
  border-radius: 2px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.1);
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.card-text {
  color: var(--gray);
  margin-bottom: 1.5rem;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Route Cards */
.route-card {
  background: var(--gradient-card);
  border: 1px solid var(--light-gray);
  border-radius: var(--border-radius);
  padding: 25px;
  transition: var(--transition);
}

.route-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.route-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.route-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark);
}

.route-distance {
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.route-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  margin-bottom: 1.5rem;
}

.price-item {
  text-align: center;
  padding: 12px;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--light-gray);
}

.price-label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 4px;
}

.price-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
}

/* Fleet Cards */
.fleet-card {
  text-align: center;
}

.fleet-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--white);
}

/* Features Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--white);
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
}

.author-info h5 {
  margin-bottom: 0;
  color: var(--dark);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--gray);
}

/* Blog Cards */
.blog-card {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.blog-category {
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Breadcrumb */
.breadcrumb-nav {
  padding: 20px 0;
  background: var(--light);
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.breadcrumb-item a {
  color: var(--gray);
}

.breadcrumb-item.active {
  color: var(--primary);
  font-weight: 500;
}

.sep {
  color: var(--gray-light);
  margin: 0 5px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
}

.footer-top {
  padding: 60px 0 40px;
}

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

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer-brand p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 1.5rem;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-list a,
.footer-contact-list span {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.footer-contact-list a:hover {
  color: var(--accent);
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* Float Buttons */
.float-wa, .float-call {
  position: fixed;
  right: 25px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
}

.float-wa {
  bottom: 90px;
  background: #25d366;
  animation: pulse 2s infinite;
}

.float-call {
  bottom: 25px;
  background: var(--gradient-main);
}

.float-wa:hover, .float-call:hover {
  transform: scale(1.1);
  color: var(--white);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  
  .nav-links {
    position: fixed;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .nav-links li {
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--light);
    margin-top: 10px;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .booking-form {
    padding: 30px 20px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .topbar-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .topbar-left, .topbar-right {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .route-pricing {
    grid-template-columns: 1fr 1fr;
  }
  
  .float-wa, .float-call {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--light); }
.bg-white { background: var(--white); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-2 { margin-top: 2rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }