/* 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;
}


/* Navbar ends */


.terms {
    --accent: #ff6b35;         /* Tourista orange */
    --ink: #222;
    --muted: #555;
    --line: #e8eef6;
    --bg: #f7faff;
    --card: #ffffff;

    background: var(--bg);
    padding: 80px 20px;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
  }

  .terms-wrapper {
    max-width: 960px;
    margin: 0 auto;
    background: var(--card);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    padding: 40px 28px;
  }

  .terms h1 {
    font-size: 2.2rem;
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: -0.02em;
  }

  .terms .meta {
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 18px;
  }

  .terms .intro {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 24px;
  }

  /* Details / Summary (Collapsible) */
  .terms details {
    border-top: 1px solid var(--line);
    padding: 16px 0;
  }
  .terms details:last-of-type {
    border-bottom: 1px solid var(--line);
  }

  .terms summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    font-weight: 600;
    font-size: 1.05rem;
    padding-right: 36px;
    outline: none;
  }

  /* Remove default triangle and add custom icon */
  .terms summary::-webkit-details-marker { display: none; }
  .terms summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-weight: 700;
    color: var(--accent);
    transition: transform 0.2s ease;
  }
  .terms details[open] summary::after {
    content: "–";
    transform: translateY(0);
  }

  .terms .content {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.98rem;
  }

  .terms ul {
    margin: 0.2rem 0 0.8rem 1.1rem;
    padding: 0;
  }
  .terms li { margin: 0.35rem 0; }

  .terms .link {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 107, 53, 0.5);
  }
  .terms .link:hover { border-bottom-style: solid; }




/* 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 */




/* Dropdown header */
.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;
}
.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;
}
.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;
}
.cancel-btn {
  background: #ff4d4d;
  color: white;
  border: none;
  padding: 5px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  margin-top: 6px;
}

.booking-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 10px;
    background: #f9f9f9;
}
.btn-div{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}