/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fdfdfd;
  color: #333;
  line-height: 1.6;
}

/* Navbar starts */
.header-logo{
  width: 145px;
  height: auto;
}
.header-logo:hover{
  cursor: pointer;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
}
ul.nav-links {
    font-size: 17px;
}

.logo {
  font-size: 22px;
  font-weight: 700;
  color: #0d2b66;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  color: #0d2b66;
  font-weight: 500;
  padding-bottom: 10px; 
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0; 
  width: 0%;
  height: 2px;
  background-color: #FF6F3C;
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%; 
}

.nav-links a:hover {
  color: #FF6F3C;
}

.btn {
  background: #FF6F3C;
  color: #fff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.btn:hover {
  background: #e65a27;
}

.btn-bookings{
  background: transparent;
  color: #FF6F3C;
  padding: 10px 20px;
  border: 1px solid #FF6F3C;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-bookings:hover{
  background: #FF6F3C;
  color: white;
}
.btn-div{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
/* Highlight active page */

#home-link.active,
#tours-link.active,
#about-link.active,
#contact-link.active {
  color: #FF6F3C; /* same as hover */
}


/* Navbar ends */





/* General Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  background: #fdfdfd;
  color: #222;
  line-height: 1.6;
}

.page-header {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(120deg, #00496C, #0077a8);
  color: #fff;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 700;
}
.page-header p {
  font-size: 18px;
  margin-top: 10px;
  opacity: 0.9;
}

/* Tour Sections */
.tour-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 50px 10%;
  gap: 40px;
  border-bottom: 1px solid #eee;
}
.tour-img img {
  width: 500px;
  height: 310px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.tour-details {
  flex: 1;
}
.tour-details h2 {
  font-size: 28px;
  color: #00496C;
  margin-bottom: 15px;
}
.tour-details p {
  margin-bottom: 15px;
  font-size: 16px;
}
.price {
  font-size: 18px;
  font-weight: 600;
  color: #FF6F3C;
}
.price span {
  color: #00496C;
}
.btn-book {
  background: #FF6F3C;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}
.btn-book:hover {
  background: #e65a27;
}

/* Responsive */
@media (max-width: 992px) {
  .tour-section {
    flex-direction: column;
    text-align: center;
  }
  .tour-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
  }
}


















/* Footer starts */
.footer {
  padding: 40px 20px;
  background: #fff;
  text-align: center;
}

.divider {
  border: none;
  border-top: 1px solid #eee;
  width: 80%;        
  margin: 0px auto; 
}


.footer .logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #000;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer ul li a {
  text-decoration: none;
  color: #333;
  font-size: 17px;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: #FF6F3C;
}

.footer-bottom p {
  font-size: 13px;
  color: #777;
}
.footer-logo{
  width: 145px;
  height: auto;
}

/* Footer endss */


/* ===== Confirm Button ===== */
#bookingPopup .btn-confirm {
  width: 100%;
  padding: 12px;
  background: #4CAF50;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

#bookingPopup .btn-confirm:hover {
  background: #45a049;
}

/* ===== Success Toast ===== */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
}


.bookings-dropdown {
  position: absolute;      
  top: 100%;              
  right: 0;
  background: #fff;        
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  width: 300px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 9999;           
  display: none;     
}

.bookings-dropdown.show {
  display: block;
}

.bookings-dropdown p,
.bookings-dropdown div {
  margin: 8px 0;
  font-size: 14px;
  color: #333;
}

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Unified dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background: #fff;
  min-width: 320px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 10px;
  border-radius: 10px;
  z-index: 999999 !important;  /* ✅ Force above all */
}

.dropdown-content.show {
  display: block;
}

.dropdown-content p {
  margin: 0;
  padding: 6px 0;
  font-size: 14px;
}

/* Badge for bookings count */
.badge {
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
}

/* Dropdown header */
.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  margin-bottom: 10px;
}

.close-dropdown {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

/* Booking card */
.booking-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background: #f9f9f9;
}

.booking-card h4 {
  margin: 0 0 6px;
  font-size: 15px;
  color: #333;
}

.booking-card p {
  margin: 2px 0;
  font-size: 13px;
  color: #555;
}

.cancel-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  margin-top: 6px;
}





/* =========================
   Booking Popup Styling
========================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.modal-popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 25px;
  width: 400px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

.popup-content h2 {
  margin-bottom: 10px;
  color: #00496C;
}

.popup-content p {
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
}

.form-group input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  cursor: pointer;
  color: #555;
}

.close:hover {
  color: #FF6F3C;
}

/* Toast Styling */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  z-index: 2000;
}

.toast.show {
  opacity: 1;
}
