* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
}

/* Navbar */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease;
  z-index: 1000;
  background: rgba(0,0,0,0.3); /* transparent shade */
}

#navbar.scrolled {
  background: rgba(0,0,0,0.9); /* solid black */
}

.logo img {
  height: 50px;
  width: auto;
}

/* Nav menu */
nav {
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

/* Hover underline animation */
.nav-links li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: red;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links li a:hover {
  color: #ff5555;
}

/* Hamburger icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  margin-left: 20px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: 0.3s;
}

/* Hamburger animation when active */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Fullscreen Hero Video */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.3rem;
}




/*---tour plan open--*/

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f5f5;
}

#tour-plan-heading {
  text-align: center;
  margin: 40px 0 20px;
}

#tour-plan-heading h2 {
  color: black;
  font-family: 'Poppins', sans-serif;
  font-size: 36px;
  font-weight: 700;
}

.card-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;

  /* Background image added */
  background-image: url('assets/tourplanebg1.jpg');  /* ඔබේ background image path එක මෙහි දාන්න */
  background-size: cover;       /* Image එක පුරාම දිගට දර්ශනය වේ */
  background-position: center;  /* Image එක මැදට set කරයි */
  background-repeat: no-repeat; /* Image එක නැවත නැවත නොපෙන්වයි */
  transition: background 0.3s ease;
}



.card-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
  transition: background 0.3s ease;
}

/* Hover background change */
.card-section:hover {
  background: #eef7ff;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.card img {
  width: 100%;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin: 15px 0 5px;
}

.card p {
  color: #555;
  padding: 0 10px;
}

.card button {
  background: #0078d4;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 15px 0;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.card button:hover {
  background: #005fa3;
}

/* Tablet view (2 cards per row) */
@media (max-width: 992px) {
  .card-section {
      grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile view (1 card per row) */
@media (max-width: 576px) {
  .card-section {
      grid-template-columns: 1fr;
  }
}






/*---tour plane close--*/

/* Content Section */
.content {
  padding: 100px 20px;
  background: #f4f4f4;
  text-align: center;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  #navbar {
    padding: 15px 20px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    background: rgba(0,0,0,0.95);
    width: 70%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    transition: right 0.5s ease;
    z-index: 999;
  }

  .nav-links.active {
    right: 0;
    display: flex;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero-content h1 {
    font-size: 2rem;
    padding: 0 20px;
  }

  .hero-content p {
    font-size: 1rem;
  }
}


/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: transparent;
  padding: 0;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.whatsapp-float img {
  width: 70px;
  height: 70px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

@media (max-width: 600px) {
  .whatsapp-float img {
    width: 45px;
    height: 45px;
  }
}


/* WhatsApp Floating Button finish */

footer {
  text-align: center;
  margin-top: 40px;
  padding: 10px;
  background-color: #eee;
}