/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f4f4f4;
  font-family: "Raleway", sans-serif;
  line-height: 1.7;
  background-color: #f4f4f4;
  color: #333;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  color: #73bbde;
}

/* Infobar */
.infobar {
  background-color: #333;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  z-index: 101;
  width: 100%;
  height: 35px;
}

.infobar .info-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.infobar .info-links li a {
  color: #fff;
  text-decoration: none;
}

#infoLogo {
  font-weight: bold;
  text-overflow: ellipsis;
}

/* Navbar */
.navbar {
  background-color: #2f7c90;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 35px;
  z-index: 100;
  width: 100%;
  text-overflow: ellipsis;
}

.navbar .logo img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-links li a {
  text-decoration: none;
  color: #f6d6d6;
  font-weight: 500;
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  text-decoration: none;
  color: #f6f7c4;
  font-weight: 500;
}

/* Icons */
.icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon {
  background: none;
  border: none;
  cursor: pointer;
  color: #86a2aa;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.icon:hover {
  background-color: #2596b3;
  border: none;
  cursor: pointer;
  color: #f6f7c4;
}

.profile-initial {
  background-color: #007bff;
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
}

/* Search Box */
.search_box {
  position: relative;
}

.search_box .row {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  background-color: #fff;
}
.result-box {
  z-index: 1000;
  background: rgba(255, 255, 255, 0.25); /* semi-transparent */
  border-radius: 10px;
  max-height: 300px;
  overflow-y: auto;
  position: absolute;
  width: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px); /* glass blur */
  -webkit-backdrop-filter: blur(12px);
}
.result-box ul {
  border-top: 1px solid #999;
  padding: 15px 10px;
}
.result-box ul li {
  list-style: none;
  border-radius: 3px;
  padding: 15px 10px;
  cursor: pointer;
  color: #333;
}
.result-box ul li:hover {
  background: rgb(245, 238, 238);
}

.search_box .bsearch {
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
}

.search_box .search {
  border: none;
  outline: none;
  padding: 0.4rem;
  font-size: 0.9rem;
  background-color: transparent;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  cursor: pointer;
}

.fa-ellipsis-vertical {
  color: #f6d6d6;
}

.toggle-icon {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #35a8c5;
    flex-direction: column;
    width: 100%;
    text-align: right;
    padding: 2rem;
  }

  .nav-links P {
    font-weight: bold;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: #333;
  }

  .toggle-icon {
    display: none;
  }

  .infobar .info-links {
    display: none;
  }
}

.footerbody {
  background-color: #2f7c90;
  color: #f0f0f0;
  padding: 2rem 1rem;
  font-family: "Raleway", sans-serif;
  line-height: 1.6;
}

.travel_footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
}

.travel_footer .container {
  flex: 1 1 200px;
}

.accordion-toggle {
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-toggle .toggle-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  display: none; /* default hidden */
}

.accordion-content {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1rem;
  display: block;
  transition: max-height 0.3s ease-out;
}

.accordion-content li {
  margin-bottom: 0.5rem;
}

.accordion-content li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.accordion-content li a:hover {
  color: #fff;
}
.social_nav {
  text-align: center;
}
.social_nav a {
  color: #f0f0f0;
  font-size: 1.2rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social_nav a:hover {
  color: #00bcd4;
}

.authenticity_footer {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 1.5rem;
}

.logo_footer img {
  height: 60px;
  margin-bottom: 1rem;
}

.footer_description p,
.copy_right p {
  font-size: 0.95rem;
  color: #bbb;
  margin-bottom: 0.5rem;
}

/* ===== Mobile Accordion Behavior ===== */
@media (max-width: 768px) {
  .accordion-toggle .toggle-icon {
    display: inline-block;
  }

  .accordion-content {
    display: none;
  }

  .accordion-toggle.active + .accordion-content {
    display: block;
  }

  .accordion-toggle.active .toggle-icon {
    transform: rotate(45deg);
  }
}

.video-container {
  position: relative;
  width: 100%;
  height: calc(100vh); /* Subtract navbar height */
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* Prevent user from interacting with the video */
  z-index: 1;
}

.overlay-text {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
}

.overlay-text h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.overlay-text h3 {
  font-size: 1.5em;
  font-weight: 300;
}

#home {
  margin-top: 80px; /* Match the navbar height */
}

.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 80px);
  overflow: hidden;
}

/* Responsive tweaks for smaller screens */
@media (max-width: 600px) {
  .video-container {
    aspect-ratio: 4 / 3; /* Adjust aspect ratio for mobile */
    max-height: calc(100vh - 40px); /* Less offset on smaller screens */
  }
}

@media (max-width: 400px) {
  .video-container {
    aspect-ratio: 1 / 1; /* Square container on very small screens */
    max-height: calc(100vh - 20px);
  }
}

.section {
  padding: 40px 20px;   
  scroll-margin-top: 100px;
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  margin-top: 30px;
  align-items: center;
}
.section h2 {
  margin-bottom: 20px;
  color: #0077cc;
  text-align: center;
}
.info-list {
  list-style: none;
  padding: 0;
  line-height: 1.7;
  font-size: 1rem;
}
.info-list li {
  padding: 5px;
}
.destinations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.destination-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s;
  background: #fff;
}
.destination-card:hover {
  transform: scale(1.05);
}
.destination-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
.destination-card h3 {
  margin: 10px;
  color: #0077cc;
}
.destination-card p {
  padding: 10px;
}
@media (max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1rem;
  }
}
.mainContainer {
  font-family: "Roboto", sans-serif;
  display: grid;
  grid-template-columns: 3fr 2fr;
  height: 85vh;
  width: 100%;
  background-color: rgb(255, 255, 255);
  margin-top: 100px;
}

@media (max-width: 768px) {
  .mainContainer {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }
}

.mapContainer {
  padding: 20px;
  background-image: url("images/myanmar.jpg");
  background-size: cover;
  background-position: center;
  border-right: 2px solid #ddd;
  overflow-y: auto;
  font-family: "Playfair Display", serif;
  transition: background-image 0.5s ease-in-out;
  position: relative;
}

.mapContainer h1 {
  color: black;
}

.mainContainer h1 {
  color: rgb(225, 238, 244);
  background-color: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 20px;
  text-align: center;
  margin-top: 5px;
  font-family: "Playfair Display", serif;
}

.infoContainer {
  position: relative;
  padding: 20px;
  background-image: url("images/coverBg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top;
  color: goldenrod;
  overflow-y: scroll;
}

.infoContainer h2 {
  color: goldenrod;
}

.infoContainer p,
.infoContainer a {
  color: rgb(94, 94, 94);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}

.infoContainer a {
  font-weight: bold;
}

/* SVG Map Styling */
svg {
  pointer-events: auto;
  width: 100%;
  height: 420px;
  max-height: 500px;
  display: block;
  margin: auto;
  touch-action: manipulation;
  opacity: 1;
}

svg path {
  pointer-events: auto;
  opacity: 1;
  fill: #7bd3ea;
  transition: 0.2s ease-in-out;
  stroke: white; /* Simulates a border */
  stroke-width: 2; /* Thickness of the border */
  cursor: pointer;
}

svg path:active {
  fill: #f6f7c4;
  opacity: 1;
}

/* Tooltip */
.toggle {
  position: absolute;
  background: #000000;
  color: white;
  padding: 4px 15px;
  border-radius: 2px;
  letter-spacing: 0.05em;
  font-size: 12px;
  display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .mapContainer,
  .infoContainer {
    padding: 15px;
  }

  .infoContainer p,
  .infoContainer a {
    font-size: 14px;
  }

  svg {
    max-height: 400px;
  }
}

.content {
  position: relative;
  max-width: 100%;
  max-height: fit-content;
  transition: transform 0.5s ease;
  overflow: hidden;
  background-color: #f0c9c9;
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
  font-family: "Playfair Display", serif;
}

.content p {
  font-family: "Raleway", sans-serif;
  font-size: 1rem;
  color: #444;
}

.explore-buttons {
  margin-top: 10px;
}

.btn {
  display: inline-block;
  padding: 5px 14px;
  margin-right: 5px;
  background-color: #7bd3ea;
  color: #f6d6d6;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  transition: background-color 0.3s ease;
  font-family: inherit;
  font-weight: 500;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.btn:hover {
  color: gold;
  background-color: #69c6de;
}

.attractions {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.attraction-card {
  flex: 1 1 calc(33.333% - 20px);
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.attraction-card img {
  width: 100%;
  height: 155px;
  object-fit: cover;
}

.attraction-card h3 {
  margin: 10px 0 5px;
}

.attraction-card p {
  padding: 0 10px 15px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .attraction-card {
    flex: 1 1 100%;
  }
  .mapContainer {
    display: none;
  }
}

.image-btn .profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
