/* ===================================
   Sai Shruti Travels - Main Stylesheet
   =================================== */

/* Root Variables */
:root {
  --primary-color: #0d6efd;
  --secondary-color: #595c5f;
  --success-color: #1a5d3e;
  --warning-color: #ff9307;
  --danger-color: #ee47ee;
  --dark-color: #212529;
  --light-color: #f8f9fa;
}
/* ===============================
   Global Professional Scrollbar
   =============================== */

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #b5b5b5;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #8c8c8c;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #b5b5b5 #f1f1f1;
}

/* General Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("/placeholder.svg?height=600&width=1200")
    center / cover no-repeat;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.min-vh-75 {
  min-height: 75vh;
}

/* Page Headers */
.page-header {
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
}

/* Feature Icons */
.feature-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cards */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

/* Location Cards */
.location-card img {
  height: 200px;
  object-fit: cover;
}

/* Package Cards */
.package-card {
  overflow: hidden;
}

.package-card img {
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.package-card:hover img {
  transform: scale(1.05);
}

/* Vehicle Cards */
.vehicle-card img {
  height: 180px;
  object-fit: cover;
}

/* Review Cards */
.review-card {
  border-left: 4px solid var(--primary-color);
}

/* Buttons */
.btn-lg {
  padding: 0.75rem 1.5rem;
}

.btn-success {
  background-color: #25d366;
  border-color: #25d366;
}

.btn-success:hover {
  background-color: #128c7e;
  border-color: #128c7e;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
}

/* Navbar */
.navbar-brand {
  font-size: 1.25rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

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

/* Footer */
footer a:hover {
  color: #fff !important;
}

/* Map Placeholder */
.map-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Admin Sidebar */
.sidebar {
  min-height: calc(100vh - 56px);
}

.sidebar .nav-link {
  color: #333;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 0.25rem;
}

.sidebar .nav-link:hover {
  background-color: #e9ecef;
}

.sidebar .nav-link.active {
  background-color: var(--primary-color);
  color: #fff !important;
}

/* Admin Tables */
.table th {
  font-weight: 600;
  background-color: #f8f9fa;
}

/* Badge Styles */
.badge-pilgrimage {
  background-color: #6f42c1;
}

.badge-sightseeing {
  background-color: #20c997;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    min-height: 60vh;
  }

  .sidebar {
    position: static;
    min-height: auto;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .display-4 {
    font-size: 2rem;
  }

  .display-5 {
    font-size: 1.75rem;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Form Styles */
.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Itinerary Timeline */
.itinerary-item {
  position: relative;
  padding-left: 30px;
  padding-bottom: 20px;
  border-left: 2px solid var(--primary-color);
}

.itinerary-item:last-child {
  border-left: 2px solid transparent;
}

.itinerary-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  background-color: var(--primary-color);
  border-radius: 50%;
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}
