/* Custom CSS for Bhatia Travels */

:root {
  --primary-color: #dc2626;
  --secondary-color: #6b7280;
  --light-bg: #f8fafc;
  --dark-text: #1f2937;
}

/* Global Styles */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0.8)
    ),
    url("../public/images/hero-background.jpg") center/cover;
  backdrop-filter: blur(1px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(0.5px);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 4vw, 2rem);
}

/* Card Hover Effects */
.hover-card {
  transition: all 0.3s ease;
}

.hover-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--primary-color) !important;
}

/* Navigation */
.navbar-brand {
  font-weight: 700;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

/* Buttons */
.btn-danger {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
}

.btn-outline-danger {
  border-color: var(--primary-color);
  color: var(--primary-color);
  font-weight: 600;
}

.btn-outline-danger:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Custom Badge */
.badge {
  font-weight: 600;
  padding: 0.5em 0.75em;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, #c91b1bff 0%, #b91c1c 100%);
  color: #fff !important;
  border-color: red !important;
  text: white;
}
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:active,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item:active {
  color: #000 !important; /* force text color */
  background-color: transparent !important; /* remove blue bg highlight */
  outline: none !important; /* remove blue outline */
  box-shadow: none !important; /* remove glow effect */
}
.bg-dark-red {
  background: linear-gradient(135deg, #c91b1bff 0%, #b91c1c 100%);
}

.btn-dark-red {
  background: linear-gradient(135deg, #c91b1bff 0%, #b91c1c 100%);
  color: #fff !important;
}
.text-dark-red {
  background: linear-gradient(135deg, #c91b1bff 0%, #b91c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Service Cards */
.service-icon {
  width: 80px;
  height: 80px;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* Testimonial Cards */
.testimonial-card {
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

/* Footer */
footer a:hover {
  color: var(--primary-color) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    padding: 2rem 0;
  }

  .display-1 {
    font-size: 3rem;
  }

  .display-6 {
    font-size: 1.5rem;
  }

  .card-body {
    padding: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Colors */
.text-pink {
  color: #e91e63 !important;
}

.bg-danger-light {
  background-color: rgba(220, 38, 38, 0.1) !important;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States */
.btn:focus,
.form-control:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(220, 38, 38, 0.25);
  border-color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b91c1c;
}
