/* Custom Colors */
:root {
  --primary-color: #1c3e7b;
  --secondary-color: #ffa500;
  --dark-color: #1a1a1a;
  --light-color: #f8f9fa;
  --border-color: #e9ecef;
}

/* General Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* Header & Navigation */
.navbar {
  background-color: var(--primary-color) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: white !important;
}

.navbar .nav-link {
  color: white !important;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: var(--secondary-color) !important;
}

.btn-book-now {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border: none !important;
  font-weight: 700;
  padding: 0.5rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.btn-book-now:hover {
  background-color: #ff9000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d5aa3 100%);
  color: white;
  padding: 0;
  min-height: 400px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #e0e0e0;
}

.btn-explore {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  border: none !important;
  font-weight: 700;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 0.375rem;
  transition: all 0.3s ease;
}

.btn-explore:hover {
  background-color: #ff9000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

/* Hero Slider */
.hero-slider {
  position: relative;
  width: 100%;
  height: 350px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  width: 32px;
  background-color: var(--secondary-color);
  border-radius: 6px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  z-index: 5;
}

.slider-arrow:hover {
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 1;
}

.hero-slider:hover .slider-arrow {
  opacity: 1;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

/* Sections */
section {
  padding: 3rem 0;
}

section.light-bg {
  background-color: var(--light-color);
}

section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
}

/* Cards */
.card {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card-text {
  color: #666;
  font-size: 0.95rem;
}

/* Package Cards */
.package-card {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
}

.package-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.package-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.package-info {
  padding: 1rem;
}

.package-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.package-img {
  width: 100%;
  height: auto; 
  object-fit: contain;
  display: block;     
  max-height: 280px;  
  margin: 0 auto; 
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.star {
  color: var(--secondary-color);
}

/* Category Cards */
.category-card {
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
}

.category-image {
  width: 100%;
  height: 275px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.category-info {
  padding: 1rem;
  background-color: white;
  border: 1px solid var(--border-color);
  border-top: none;
}

/* Destination Card */
.destination-card {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.destination-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.destination-emoji {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.destination-name {
  color: var(--primary-color);
  font-weight: 700;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer ul li {
  margin-bottom: 0.5rem;
}

footer ul li a {
  color: #e0e0e0;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: var(--secondary-color);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 165, 0, 0.2);
  border-radius: 50%;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 2rem;
  color: #e0e0e0;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .hero-slider {
    height: 250px;
    margin-top: 1.5rem;
  }

  .slider-arrow {
    width: 35px;
    height: 35px;
  }
}

/* Utilities */
.section-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  margin: 2rem 0;
}
