/* ========== Tourism DNA Final Responsive Styles ========== */

/* Global Reset */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Override Theme Containers */
.single-tour_package .entry-content,
.ast-container,
.site-content {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Main Wrapper */
.tourism-dna-single {
  padding: 20px;
  box-sizing: border-box;
  max-width: 100%;
}

/* Centered Content */
.tourism-dna-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Headings */
.tourism-dna-content-wrapper h1 {
  text-align: center;
}
.tourism-dna-content-wrapper h2,
.tourism-dna-content-wrapper h3 {
  text-align: left;
}
.tourism-dna-content-wrapper h4 {
  font-size: 20px;
  margin-top: 30px;
  margin-bottom: 15px;
}

/* Paragraphs and Content */
.tourism-dna-content-wrapper p,
.tourism-dna-content-wrapper div {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Gallery Slider */
.tourism-dna-gallery-slider {
  max-width: 900px;
  margin: 0 auto 30px;
  overflow: hidden;
  position: relative;
}

.tourism-dna-slide-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto;
}

/* Inquiry Form */
#cab-inquiry-form form {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f9f9f9;
}

#cab-inquiry-form input,
#cab-inquiry-form textarea,
#cab-inquiry-form button {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  font-size: 15px;
  box-sizing: border-box;
}

#cab-inquiry-form button {
  background-color: #0073aa;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease;
}

#cab-inquiry-form button:hover {
  background-color: #005a8c;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
  color: #0073aa;
}

.swiper-pagination-bullet {
  background: #0073aa;
  opacity: 0.6;
}
.swiper-pagination-bullet-active {
  opacity: 1;
}

/* Success Message */
.tourism-dna-success-message {
  background: #e6ffe6;
  border: 1px solid #66cc66;
  padding: 10px;
  margin-bottom: 20px;
  color: #006600;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tourism-dna-content-wrapper h1 {
    font-size: 22px;
  }
  .tourism-dna-content-wrapper h2,
  .tourism-dna-content-wrapper h3 {
    font-size: 18px;
  }
  .tourism-dna-content-wrapper p,
  .tourism-dna-content-wrapper div {
    font-size: 15px;
  }
  #cab-inquiry-form form {
    padding: 15px;
  }
  .tourism-dna-slide-img {
    border-radius: 4px;
  }
}

/* Related Sections */
.tourism-dna-related-places,
.tourism-dna-related-packages {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.tourism-dna-place-list,
.tourism-dna-package-list {
  list-style: none;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.tourism-dna-place-list li a,
.tourism-dna-package-list li a {
  display: block;
  padding: 10px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #0073aa;
  transition: background 0.3s ease;
}

.tourism-dna-place-list li a:hover,
.tourism-dna-package-list li a:hover {
  background: #e6f4ff;
}

/* Inquiry Sidebar */
.tourism-dna-inquiry-sidebar {
  padding: 20px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 30px;
}

.tourism-dna-inquiry-sidebar h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Location Filter */
.tourism-dna-location-filter {
  margin: 30px 0;
}

.tourism-dna-location-filter select {
  padding: 8px;
  font-size: 16px;
}