/* 
  BharatYatra - Main Stylesheet
  SEO Optimized & Performance Focused
*/

:root {
  --primary-color: #ff5a3d; /* Vibrant Travel Orange */
  --secondary-color: #1a2b48; /* Deep Navy */
  --accent-color: #ffc107; /* Golden Yellow */
  --text-dark: #333;
  --text-light: #666;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--secondary-color);
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  background: var(--white);
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  font-weight: 500;
  color: var(--secondary-color) !important;
  margin: 0 10px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1524492412937-b28074a5d7da?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.search-box {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

/* Trip Cards */
.trip-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: var(--transition);
  height: 100%;
}

.trip-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.trip-card img {
  height: 200px;
  object-fit: cover;
}

.trip-card .card-body {
  padding: 1.5rem;
}

.trip-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.trip-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 0.6rem 1.5rem;
  font-weight: 600;
  border-radius: 5px;
}

.btn-primary:hover {
  background-color: #e44d32;
  border-color: #e44d32;
}

/* Footer */
footer {
  background: var(--secondary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
}

footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

footer a {
  color: #adb5bd;
  text-decoration: none;
  transition: var(--transition);
}

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

.social-links a {
  font-size: 1.5rem;
  margin-right: 15px;
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
  background-color: #fff5f3;
  color: var(--primary-color);
}

/* Newsletter */
.newsletter {
  background: #fff5f3;
  padding: 4rem 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .search-box {
    margin-top: 20px;
  }
}
