/* Global Styles */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --footer-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  --primary-color: #20b2aa;
  --hover-color: #17a2b8;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: var(--hover-color);
}

/* Navbar Styles */
.navbar-gradient {
  background: var(--primary-gradient);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 70px;
}

.logo-img {
  background: white;
  padding: 5px;
  border-radius: 8px;
  transition: transform 0.3s;
}

.logo-img:hover {
  transform: scale(1.05);
}

.nav-link {
  font-weight: 500;
  transition: all 0.3s;
  padding: 0.5rem 1rem;
  position: relative;
}

.nav-link:hover {
  transform: translateY(-2px);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: white;
  transition: all 0.3s;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Dropdown Menu */
.dropdown-menu {
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  margin-top: 10px;
}

.dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s;
}

.dropdown-item:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateX(5px);
}

/* Button Styles */
.btn-primary {
  background: var(--primary-gradient);
  border: none;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
  background-color: #28a745;
  border: none;
  transition: all 0.3s;
}

.btn-success:hover {
  background-color: #218838;
  transform: translateY(-2px);
}

/* Card Styles */
.card {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  border: none;
}

.card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
}

/* Alert Styles */
.alert {
  border-radius: 10px;
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer-gradient {
  background: var(--footer-gradient);
  color: white;
}

.footer-gradient h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-gradient h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: white;
}

.text-light-gray {
  color: rgba(255, 255, 255, 0.8);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  display: inline-block;
  margin-bottom: 0.5rem;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.social-links a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
}

.social-links a:hover {
  color: white;
  transform: scale(1.2);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.2);
  margin: 2rem 0 1rem;
}

/* Modal Styles */
.modal-content {
  border: none;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header-gradient {
  background: var(--primary-gradient);
  border-radius: 15px 15px 0 0;
}

/* Badge Styles */
.badge {
  font-size: 0.65rem;
  padding: 0.25rem 0.5rem;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* Package and Journey Cards */
.package-card,
.journey-card {
  height: 100%;
}

.package-card .card-body,
.journey-card .card-body {
  display: flex;
  flex-direction: column;
}

.package-card .card-text,
.journey-card .card-text {
  flex-grow: 1;
}

/* Detail Pages */
.detail-header {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.detail-stats {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Profile Styles */
.profile-header {
  background-color: #f8f9fa;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.profile-avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.profile-stats {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.rating-stars {
  color: #ffc107;
}

/* Search Form */
.search-form-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out forwards;
}

/* Responsive */
@media (max-width: 768px) {
  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .detail-header h1,
  .profile-header h1 {
    font-size: 1.8rem;
  }

  .nav-link::after {
    display: none;
  }
}

/* Scroll Padding */
html {
  scroll-padding-top: 80px;
}
