/* Global */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #007ba7;
  background: #fff;
}
/* Using Google Fonts (External font import technique) */
h1, h2, h3 {
  margin: 0;
  color: #007ba7;
  text-align: center;
}

h1 {
  color: white;
}

section {
  padding: 60px 20px;
}

a {
  color: #007ba7;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 100;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar .logo img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
}

.navbar .logo span {
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

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

.nav-links a {
  color: white;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero */
#top {
  background: url('background.jpeg') no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  color: white;
}
/*  Centering using transform translate (-50%, -50%) */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 10px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.btn-primary {
  background: #0099cc;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #007ba7;
}

/* Tours */
.tour-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.tour-card {
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  background: #fff;
  transition: transform 0.3s;
}

.tour-card:hover {
  transform: scale(1.03);
}

.tour-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.tour-card h3 {
  color: #007ba7;
}

.tour-card p {
  margin: 0 10px 20px;
}

/* Book Now */
.book-now {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0099cc;
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  font-weight: 500;
  transition: background 0.3s;
  z-index: 9999;
}

.book-now:hover {
  background: #007ba7;
}

/* Footer */
footer {
  width: 100%;
  background: #007ba7;
  color: white;
  text-align: center;
  padding: 25px 10px;
  font-size: 0.95em;
}

footer a {
  color: #fff;
  text-decoration: underline;
  font-weight: bold;
}

footer a:hover {
  color: #cdefff;
}

/* Inquiry Form */
.tour-search {
  background: #f5f9ff;
  padding: 40px 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 50px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tour-search h2 {
  color: #007ba7;
  margin-bottom: 25px;
}

.tour-search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1 1 180px;
}

input {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.inquire-btn {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.inquire-btn:hover {
  background-color: #005fa3;
}

/* Reviews */
.reviews {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.review-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.review-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 320px;
  overflow: hidden;
  text-align: left;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.tour-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.guest-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 20px 0;
}

.guest-photo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
}

.stars {
  color: #FFD700;
  font-size: 15px;
  margin-top: 3px;
}

.review-card p {
  padding: 10px 20px 20px;
  font-style: italic;
  color: #555;
  font-size: 14px;
  line-height: 1.5;
}

/* About Section */
#about {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

#about .owner-image {
  float: left;
  margin: 0 20px 10px 0;
  width: 250px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

#about ul {
  list-style-position: outside;
  padding-left: 1.2em;
}

/* Contact links */
.contact-links a {
  font-weight: bold;
  font-style: italic;
  color: #007ba7;
}

/* --- VERTICAL SOCIAL MEDIA BAR --- */
.social-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 9999;
}

.social-bar a i {
  font-size: 28px;
  color: white;
  transition: 0.3s;
}

.social-bar a i:hover {
  color: white;
}

/* --- SOCIAL MEDIA BAR IN HOME SECTION ONLY --- */
header .social-bar {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

header .social-bar a i {
  font-size: 28px;
  color: white;
  transition: 0.3s;
}

header .social-bar a i:hover {
  color: white;
}

/* Mobile Responsive */
@media (max-width: 700px) {
  .navbar {
      flex-direction: column;
      align-items: flex-start;
      padding: 10px 15px;
  }
  .nav-links {
      flex-direction: column;
      gap: 10px;
      width: 100%;
      margin-top: 10px;
  }
  .hero-content h1 {
      font-size: 2rem;
  }
  .btn-primary {
      padding: 8px 15px;
      font-size: 14px;
  }
  .tour-card img {
      height: 150px;
  }
  .review-card {
      max-width: 90%;
  }
  #about .owner-image {
      float: none;
      display: block;
      margin: 0 auto 20px auto;
      width: 80%;
  }
  .tour-search {
      padding: 20px 15px;
  }
  .tour-search-form {
      flex-direction: column;
      align-items: stretch;
  }
}

/* Tour Package */
/* Package layout */
.packages-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.package {
  background: #fff;
  width: 280px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding-bottom: 10px;
  transition: 0.3s;
}

.package-img {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.package-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fade effect */
.fade {
  opacity: 0;
  transition: opacity 1.2s ease;
}

.package:hover {
  transform: translateY(-5px);
}

.package h3 {
  margin-top: 12px;
}

.package p {
  font-size: 14px;
  padding: 0 10px;
}

.package .price {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #27ae60;
  font-size: 18px;
}

/* Slideshow container */
.slideshow-container {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 10px;
}
/* -- TOUR PACKAGES  Slideshow using display:  JS  + CSS supports slide transitions , I used github and explaindev to do the javascript since im not an expert of js-- */
/* Images inside slideshow */
.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.slide-img.active {
  display: block;
}

/* Arrow buttons */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: white;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

/* Description toggle */
.desc-toggle {
  margin: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.desc-toggle .arrow {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* Hidden content */
.desc-content {
  display: none;
  padding: 0 15px 10px 15px;
}

.desc-content ul {
  padding-left: 20px;
}

.desc-content .price {
  color: #27ae60;
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

/* Show content when 'show' class is added */
.desc-content.show {
  display: block;
}

/* Table responsive */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

table {
  margin: 0 auto;
  border-collapse: collapse;
}

/* Improve mobile readability */
@media screen and (max-width: 600px) {
  table th, table td {
      padding: 8px;
      font-size: 14px;
  }
}

/* Contact */
.contact-section {
  max-width: 600px;
  margin: 120px auto 80px;
  padding: 40px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

.contact-section h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.contact-section .contact-sub {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.contact-section .contact-sub i {
  color: #007ba7;
  margin-right: 6px;
}

/* Style form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  padding: 14px;
  border: none;
  font-size: 16px;
  background: #007ba7;
  color: white;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #007ba7;
}

/* Tablet screens */
@media (max-width: 768px) {
  .contact-section {
      margin: 100px 20px 60px;
      padding: 30px;
  }
  .contact-section h2 {
      font-size: 30px;
  }
  .contact-section .contact-sub {
      font-size: 15px;
  }
  .contact-form input,
  .contact-form textarea {
      font-size: 14px;
      padding: 12px;
  }
  .contact-form button {
      font-size: 15px;
      padding: 12px;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .contact-section {
      margin: 80px 15px 50px;
      padding: 25px;
      border-radius: 12px;
  }
  .contact-section h2 {
      font-size: 26px;
      margin-bottom: 10px;
  }
  .contact-section .contact-sub {
      font-size: 14px;
      line-height: 1.6;
  }
  .contact-sub i {
      margin-right: 4px;
  }
  .contact-form {
      gap: 12px;
  }
  .contact-form input,
  .contact-form textarea {
      padding: 10px;
      font-size: 14px;
      border-radius: 8px;
  }
  .contact-form button {
      padding: 10px;
      font-size: 14px;
      border-radius: 8px;
  }
}

/* Inquiry responsive */
.tour-search {
  background: #f5f9ff;
  padding: 40px 20px;
  border-radius: 10px;
  max-width: 900px;
  margin: 50px auto;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tour-search h2 {
  color: #007ba7;
  margin-bottom: 25px;
  font-size: 30px;
  text-align: center;
}

.tour-search-form {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #007ba7;
  margin-bottom: 5px;
}

input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
}

/* Button full width & aligned */
.inquire-btn {
  grid-column: span 4;
  background-color: #007ba7;
  color: white;
  border: none;
  padding: 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.inquire-btn:hover {
  background-color: #007ba7;
}

/* Tablets */
@media (max-width: 768px) {
  .tour-search-form {
      grid-template-columns: repeat(2, 1fr);
  }
  .inquire-btn {
      grid-column: span 2;
  }
}

/* 1 column mobile */
@media (max-width: 480px) {
  .tour-search {
      padding: 25px 15px;
      margin: 30px 15px;
  }
  .tour-search-form {
      grid-template-columns: 1fr;
      gap: 15px;
  }
  .inquire-btn {
      grid-column: span 1;
      padding: 12px;
      font-size: 15px;
  }
}
