/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background-color: #fafafa;
}

/* Header Styles */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2c3e50;
  letter-spacing: -0.5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #3498db;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #3498db;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}
/* Destinations Section */
.destinations {
  padding: 6rem 0;
  background: #fafafa;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  margin-top: 30px;
}

.destinations-grid {
  display: flex;
  flex-wrap: nowrap; /* Prevent wrapping, keep in one row */
  overflow-x: auto; /* Enable horizontal scroll only */
  overflow-y: hidden; /* Disable vertical scroll */
  gap: 2.5rem;
  margin-top: 3rem;
  scroll-behavior: smooth; /* Smooth animated scrolling */
  -webkit-overflow-scrolling: touch; /* Smooth on iOS */
}

/* Destination Cards */
.destination-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  width: 350px;
  flex: 0 0 auto; /* Prevent shrinking */
}

.destination-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-image {
  position: relative;
  height: 380px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.8),
    rgba(41, 128, 185, 0.8)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.destination-card:hover .card-overlay {
  opacity: 1;
}

.destination-card:hover .btn-book {
  opacity: 1;
  transform: translateY(0);
}

.card-content {
  padding: 2rem;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.card-description {
  color: #7f8c8d;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #95a5a6;
}

.card-meta i {
  margin-right: 0.5rem;
  color: #3498db;
}
/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #da6767, #c63434);
  color: rgb(212, 199, 200);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 237, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(214, 193, 4, 0.4);
  color: #0a0505;
}

.btn-book {
  background: rgba(129, 133, 76, 0.9);
  color: #bcc630;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  transform: translateY(10px);
  opacity: 0;
}

.btn-book:hover {
  background: rgb(220, 223, 66);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(202, 201, 140, 0.493);
}
/* Smaller, minimal horizontal scrollbar */
.destinations-grid::-webkit-scrollbar {
  height: 5px; /* scrollbar thickness */
}

.destinations-grid::-webkit-scrollbar-track {
  background: transparent;
}

.destinations-grid::-webkit-scrollbar-thumb {
  background: #3498dbc9;
  border-radius: 10px;
}

.destinations-grid::-webkit-scrollbar-thumb:hover {
  background: #b7b7b7;
}
.footer {
  background: #2c3e50;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ecf0f1;
}

.footer-section ul {
  list-style: none;
}

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

.footer-section a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #3498db;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(52, 152, 219, 0.1);
  border-radius: 50%;
  color: #3498db;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #3498db;
  color: white;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  text-align: center;
  color: #95a5a6;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav-menu {
    gap: 0.4rem;
  }
  ol,
  ul {
    padding-left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  .imgFor {
    height: 300px;
    width: 400px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .destinations {
    padding: 4rem 0;
  }

  .card-content {
    padding: 1.5rem;
  }
}
@media (max-width: 390px) {
  .nav {
    padding-left: 1px;
  }
  .nav-menu {
    gap: 0.1rem;
  }
  ol,
  ul {
    padding-left: 0;
    padding-right: 8px;
  }
}
@media (max-width: 480px) {
  .destinations-grid {
    justify-content: center; /* Align to center */
    scroll-snap-type: x mandatory; /* Snap cards into place */
  }

  .destination-card {
    scroll-snap-align: center; /* Each card centers */
  }
}
