@import url('colour.css');

/* Reset + Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  overflow-x: hidden;
  margin: 0;
  font-family: "Poppins", sans-serif;
  /* background: url("../assets/Transparent-background-with-dots.png") no-repeat center center; */
  background-size: cover;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/Transparent-background-with-dots.png") no-repeat center center;
  background-size: cover;
  z-index: -1;
}

/* Navbar */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  background-color: white;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  z-index: 1000;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 40px;
  width: auto;
}

/* Default Menu (Desktop) */
nav ul {
  list-style: none;
  display: flex;
  gap: 35px;
}

nav ul li a {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: var(--color-primary);
}

/* Hamburger Icon */
.icons {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-dark);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .icons {
    display: block;
  }

  nav ul {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 70%;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 80px 30px;
    gap: 25px;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.15);
    transition: left 0.3s ease;
  }

  nav ul.show {
    left: 0;
  }

  .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--color-dark);
    cursor: pointer;
  }

  nav ul li a {
    font-size: 18px;
  }
}

/* Section Header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  margin-bottom: 10px;
}

/* Travel Section */
.travel-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
  gap: 20px;
  justify-content: center;
  justify-items: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  margin: 90px auto 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  /* background: rgba(255, 255, 255, 0.2); */
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  /* max-width: 500px; */
  width: 90%;
  transition: all 0.3s ease;
}

/* Each item */
.travel-item {
  display: flex;
  flex-direction: column;
  width:fit-content;
  align-items: center;
  justify-content: center;
  color: var(--color-dark);
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

.travel-item i {
  font-size: 2rem;
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.5);
  padding: 15px;
  border-radius: 50%;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
  transition: background 0.3s ease, color 0.3s ease;
}

.travel-item span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Hidden items - default state */
/* Hidden items - default state */
.hidden-items {
  display: none;
  width: 100%;
  justify-content: center; /* center items horizontally */
  align-items: center;
  gap: 40px;
  grid-column: 1 / -1; /* span full width of the grid */
}

/* When shown */
.hidden-items.show {
  display: flex; /* show in a single horizontal row */
  justify-content: center; /* center horizontally */
  align-items: center;
  flex-wrap: nowrap; /* keep all in one row */
}



/* Mobile view */
@media (max-width: 600px) {
  .travel-section {
    gap: 1rem;
    padding: 1.5rem;
    max-width: 90%;
  }

  .travel-item i {
    font-size: 1.4rem;
    padding: 10px;
  }

  .travel-item span {
    font-size: 0.8rem;
  }
}

/* Ads Banner */
.ads-banner2 {
  width: 90%;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}
/*.ads-banner2 {*/
/*  width: 100%;*/
/*  overflow: hidden;*/
/*  position: relative;*/
/*}*/

/*.slider-track {*/
/*  display: flex;*/
/*  width: 100%;*/
/*  transition: transform 0.7s ease-in-out;*/
/*}*/

/*.slider-track img {*/
/*  width: 100%;*/
/*  flex-shrink: 0;*/
/*  object-fit: contain;*/
/*  display: block;*/
/*}*/

.ads-banner2 img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.6s ease-in-out;
}


/* Tablet (medium screens) */
/* @media (max-width: 992px) {
  .ads-banner2 {
    height: 250px;
  }
}

/* Mobile (small screens) */
/* @media (max-width: 600px) {
  .ads-banner2 {
    height: 200px;
  }
} */

/* Extra small devices */
/* @media (max-width: 400px) {
  .ads-banner2 {
    height: 150px;
  }
} */ 

/* -------- Exclusive Deals Section -------- */
.exclusive-deals {
  padding: 10px 0; 
  max-width: 90%;
  margin: 0 auto;
  color: var(--color-light);
}

.exclusive-deals h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark);
}

/* Scrollable container */
.container-deals {
  display: flex;
  align-items: center;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  position: relative;
}

.container-deals::-webkit-scrollbar {
  display: none;
}

.container-deals::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 3px;
}

/* Deal Items */
.items {
  flex: 0 0 auto;
  background: var(--color-light);
  border-radius: 15px;
  padding: 5px 8px;
  text-align: center;
  color: var(--color-primary);
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;

  /* Center content */
  /* display: flex; */
  flex-direction: row;
  gap: 2px;
  align-items: center;      /* Vertical center */
  justify-content: center;  /* Horizontal center */
  flex-direction: column;   /* Keep icon and text stacked vertically */
}


.items i {
  font-size: 15px;
  color: var(--color-primary);
  /* margin-bottom: 8px; */
}

.items:hover,
.items.active {
  background: var(--color-primary);
  color: var(--color-text);
  transform: translateY(-3px);
}

.items:hover i,
.items.active i {
  color: var(--color-accent);
}

/* View More Button */
.view-more {
  flex: 0 0 auto;
  background: var(--color-accent);
  color: var(--color-dark);
  align-self: flex-end;
  margin-left: auto;
  border-radius: 15px;
  padding: 5px 8px;
  text-align: center;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  width: fit-content;
  right: -10px;
  bottom: -10px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: background 0.3s, transform 0.3s;
}

/* Ads Image */
.ads-deals {
  margin-top: 25px;
  text-align: center;
}

.ads-deals img {
  width: 100%;
  border-radius: 5px;
  /* height: 100px; */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.ads-deals img:hover {
  transform: scale(1.02);
}
.ads-deals img {
  display: none;
  width: 100%;
}

.ads-deals img:first-child {
  display: block;
}



/* Trending Section */
.trending-section {
  padding: 10px 10px;
}

.trending-section h3 {
  align-self: flex-start;
}

.trending-section .lead {
  max-width: 700px;
  margin: 0 auto 50px;
  color: #777;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* grid */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 25px;
}

/* destination card */
.destination-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.destination-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.destination-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.destination-card h3 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 2;
  margin: 0;
}

/* hover effect */
.destination-card:hover img {
  transform: scale(1.08);
}

.destination-card:hover::before {
  opacity: 1;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .destination-card img {
    height: 200px;
  }

  .destination-card h3 {
    font-size: 1.3rem;
  }
}

/* Trending Destinations 2 */
.trending-destinations-2 {
  padding: 10px 0;
  margin:0 auto;
  width: 90%;
}

/* Horizontal Scroll Container */
.destinations-scroll-2 {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

/* Hide scrollbar */
.destinations-scroll-2::-webkit-scrollbar {
  display: none;
}

/* Card Styles */
.destination-card-2 {
  flex: 0 0 auto;
  width: 260px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  cursor: pointer;
}

.destination-card-2:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.destination-card-2 img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.destination-info-2 {
  padding: 12px 16px;
}

.destination-info-2 h4 {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin-bottom: 6px;
}

.destination-info-2 p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* Why Book Section */
.why-book-section {
  background: linear-gradient(to right, var(--color-light), #f0f0f0);
  padding: 80px 20px;
  text-align: center;
}

.why-book-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.why-book-section h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--color-dark);
}

.why-book-section .lead {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.why-book-section .lead span {
  color: var(--color-primary);
  font-weight: 600;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

/* Individual reason cards */
.reason-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.reason-card i {
  font-size: 2.5rem;
  color: var(--color-accent);
  margin-bottom: 15px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.reason-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.reason-card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .why-book-section {
    padding: 60px 15px;
  }

  .reason-card {
    padding: 30px 20px;
  }

  .reason-card i {
    font-size: 2rem;
  }
}

/* ================= FOOTER ================= */
.site-footer {
  background: var(--color-dark);
  color: var(--color-text);
  padding: 80px 20px 40px;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* About + Logo */
.footer-logo {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.footer-about p {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.2;
  /* margin-bottom: 20px; */
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: var(--color-text);
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: var(--color-primary);
  transform: translateY(-3px);
}

/* Footer Links */
.footer-links h3,
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--color-primary);
}

/* Contact Info */
.footer-contact p {
  font-size: 0.95rem;
  color: #ccc;
  margin-bottom: 2px;
}

.footer-contact i {
  color: var(--color-primary);
  margin-right: 10px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  /* border-top: 1px solid rgba(255, 255, 255, 0.1); */
  /* margin-top: 40px; */
}

.footer-bottom p {
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .site-footer {
    padding: 20px 15px 30px;
  }
  .footer-container {
    text-align: center;
    gap: 5px;
  }

  .social-icons a {
    margin: 0 8px;
  }

  .footer-logo {
    justify-content: center;
  }
}

/* Hide on desktop (screens above 768px) */
@media (min-width: 768px) {
  .close-btn {
    display: none !important;
  }
}

/* Show on mobile (optional if you already show it) */
@media (max-width: 767px) {
  .close-btn {
    display: block; /* or flex */
  }
}



@media (min-width: 1024px) {
 

   .section-header {
    align-items: center;
  }
 .section-header h3 {
    font-size: 32px;   /* increase heading */
  }

  .section-header .view-more {
    font-size: 15px;   /* increase button text */
  }
 .ads-deals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .ads-deals img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
  }
}

