@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --primary: #009bba;
  /* Teal/Cyan */
  --secondary: #a90707;
  /* Deep Red/Maroon */
  --accent-dark: #2c3e50;
  --text-main: #333333;
  --text-light: #666666;
  --bg-light: #f9f9f9;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-main);
  line-height: 1.6;
  background-color: var(--white);
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 700;
  color: var(--text-main);
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

/* Header & Navbar */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.top-bar {
  background: var(--accent-dark);
  color: var(--white);
  padding: 5px 0;
  font-size: 0.8rem;
  text-align: right;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-btn {
  background: var(--secondary);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 4px;
}

.nav-btn:hover {
  color: var(--white) !important;
  background-color: #800000;
}


/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  width: 100%;
}

/* Search Widget */
.search-widget {
  background: rgba(255, 255, 255, 0.95);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
  max-width: 900px;
  width: 90%;
  margin-top: 50px;
}

.search-group {
  flex: 1;
  min-width: 150px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.search-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 5px;
}

.search-input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}

.search-btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
  text-transform: uppercase;
  flex: 0 0 auto;
  align-self: flex-end;
}

.search-btn:hover {
  background-color: #007f99;
}


/* Section Titles */
.section-title {
  text-align: center;
  margin: 60px 0 40px;
}

.section-title h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.section-title p {
  color: var(--text-light);
}

/* Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.dest-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
  position: relative;
}

.dest-card:hover {
  transform: translateY(-5px);
}

.dest-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.price-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #ffc107;
  color: #000;
  padding: 5px 10px;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
}

.dest-content {
  padding: 15px;
}

.dest-title {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.dest-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 15px;
}

.book-btn {
  display: block;
  width: 100%;
  padding: 10px;
  text-align: center;
  background: var(--secondary);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
}

.book-btn:hover {
  background-color: #800000;
}

/* Footer */
footer {
  background: var(--accent-dark);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: var(--primary);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary);
  display: inline-block;
  padding-bottom: 5px;
}

.footer-links li {
  list-style: none;
  margin-bottom: 10px;
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #ccc;
}

/* Sticky Contact */
.sticky-contact {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--text-main);
  color: white;
  padding: 10px;
  display: flex;
  justify-content: center;
  gap: 20px;
  z-index: 2000;
}


/* --- Destination Page Styles --- */
.page-hero {
  height: 50vh;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.page-hero h1 {
  font-size: 3rem;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.destination-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin: 60px auto;
}

.main-content {
  flex: 2;
  min-width: 300px;
}

.sidebar {
  flex: 1;
  min-width: 300px;
}

.overview-text {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

/* Itinerary */
.itinerary-box {
  margin-bottom: 30px;
}

.day-item {
  border: 1px solid #eee;
  margin-bottom: 15px;
  border-radius: 6px;
  overflow: hidden;
}

.day-header {
  background: #f4f4f4;
  padding: 15px 20px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.day-header:hover {
  background: #eee;
}

.day-content {
  padding: 20px;
  display: none;
  /* Hidden by default for accordion effect */
  border-top: 1px solid #eee;
}

.day-content.active {
  display: block;
}

/* Sidebar Widget */
.booking-widget {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 100px;
  /* Sticky below header */
}

.price-tag {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 5px;
}

.per-person {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 20px;
  display: block;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

.submit-btn {
  width: 100%;
  background: var(--secondary);
  color: var(--white);
  border: none;
  padding: 15px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
}

.submit-btn:hover {
  background-color: #800000;
}


/* --- Mobile Menu Styles --- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 15px;
  }

  .mobile-menu-btn {
    display: block !important;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .search-widget {
    flex-direction: column;
    align-items: stretch;
  }


  .search-btn {
    width: 100%;
    margin-top: 10px;
  }
}

/* --- Packages Listing Styles --- */
.listing-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin: 40px auto;
}

.filter-sidebar {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  align-self: flex-start;
}

.filter-group {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.filter-group:last-child {
  border-bottom: none;
}



.filter-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
}

.filter-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
  cursor: pointer;
}

.filter-option input {
  margin-right: 10px;
  accent-color: var(--secondary);
}

.results-section {
  flex: 3;
  min-width: 300px;
}

.results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.results-count {
  font-weight: 600;
  color: var(--text-light);
}

.sort-select {
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}


@media (max-width: 768px) {
  .filter-sidebar {
    max-width: 100%;
    width: 100%;
  }
}

/* --- Nested Navigation Menu Styles --- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 200px;
  background: #fff;
  box-shadow: var(--shadow);
  list-style: none;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
  border-radius: 4px;
}

.dropdown:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  padding: 0;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: background 0.2s;
}

.dropdown-menu li a:hover {
  background: #f9f9f9;
  color: var(--primary);
}

/* Submenu Styles */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -10px;
  /* Align slightly higher */
}

.dropdown-submenu:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    width: 100%;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    /* Hide by default on mobile, toggle via JS if needed */
    background: #f9f9f9;
    padding-left: 20px;
  }

  .dropdown:hover .dropdown-menu,
  .dropdown-submenu:hover .dropdown-menu {
    display: block;
    /* Simple hover show for mobile for now */
  }

  .dropdown-submenu .dropdown-menu {
    left: 0;
    margin-top: 0;
    background: #eee;
  }
}

/* --- Contact Page Styles --- */
.section-padding {
  padding: 60px 0;
}

.contact-page {
  margin-top: 40px;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-right: 15px;
  background: rgba(169, 7, 7, 0.1);
  padding: 15px;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-item h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.info-item p {
  margin-bottom: 0;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}