/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f2f9ff;
  color: #333;
}

/* Navbar */
.navbar-custom {
  background-color: rgba(173, 216, 230, 0.95); /* Light Blue */
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #e0f0ff;
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: #004b99 !important;
  font-weight: 500;
}

.navbar-custom .nav-link:hover {
  color: #007bff !important;
}

/* Carousel */
.carousel-inner img {
  height: 100vh;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4); /* Gradient effect */
  padding: 2rem;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  animation: fadeIn 2s ease-out;
}

.carousel-caption p {
  font-size: 1.25rem;
  color: #fff;
  animation: fadeIn 3s ease-out;
}

.carousel-caption .btn-primary {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  animation: fadeIn 4s ease-out;
}

.carousel-caption .btn-primary:hover {
  background-color: #0056b3;
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Titles */
.section-title {
  color: #004b99;
  text-align: center;
  font-weight: bold;
  margin-bottom: 2rem;
  margin-top: 1rem;
}

/* Cards */
.card {
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h5 {
  color: #007bff;
  font-weight: 600;
}

.card .btn-outline-success {
  border-color: #007bff;
  color: #007bff;
}

.card .btn-outline-success:hover {
  background-color: #007bff;
  color: white;
}

/* Buttons */
.btn-primary {
  background-color: #007bff;
  border-color: #007bff;
}

.btn-primary:hover {
  background-color: #0056b3;
  border-color: #004c99;
}

/* Booking & About Sections */
#booking,
#about,
#tours {
  padding: 4rem 0;
}

#booking {
  background-color: #eaf6ff;
}

/* Footer */
.footer-custom {
  background-color: rgba(173, 216, 230, 0.95);
  color: #004b99;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  border-top: 1px solid #e0f0ff;
}

/* Hero Section */
header {
  position: relative;
  height: 100vh; /* Fullscreen height */
}

.carousel-inner .carousel-item img {
  height: 100vh;
  object-fit: cover;
}

/* Gradient Overlay for Better Text Visibility */
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.4); /* Gradient effect */
  padding: 2rem;
  border-radius: 8px;
  max-width: 800px;
  width: 100%;
}

.carousel-caption h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  animation: fadeIn 2s ease-out;
}

.carousel-caption p {
  font-size: 1.25rem;
  color: #fff;
  animation: fadeIn 3s ease-out;
}

.carousel-caption .btn-primary {
  font-size: 1.1rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
  animation: fadeIn 4s ease-out;
}

.carousel-caption .btn-primary:hover {
  background-color: #0056b3;
}

/* Fade-in Animation */
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .carousel-caption h1 {
    font-size: 1.75rem;
  }

  .carousel-caption p {
    font-size: 1rem;
  }
}