/* ============================================================
   SINGLE TOUR STYLES — Earthy Go2Africa Look
   ============================================================ */

:root {
  --tta-sand: #f5f0e6;
  --tta-earth: #7a4b28;
  --tta-savanna: #c19a6b;
  --tta-forest: #2e5339;
  --tta-sunset: #d26c22;
  --tta-accent: #f2b632;
  --tta-text: #2b2b2b;
  --tta-muted: #666;
  --tta-bg: #fff;
  --tta-radius: 12px;
  --tta-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  --tta-transition: all 0.3s ease;
  --tta-font: "Poppins", "Nunito Sans", sans-serif;
}

/* === HERO === */
.tour-hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.tour-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.tour-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 3rem;
  max-width: 720px;
}

.tour-hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
	color: var(--tta-sand);
}

.tour-hero-content p {
  font-size: 1.1rem;
}

/* === SUMMARY BAR === */
.tour-summary {
  background: var(--tta-sand);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 1.2rem 1rem;
  border-bottom: 1px solid #ddd;
}

.tour-summary-item {
  text-align: center;
  margin: 0.8rem;
}

.tour-summary-item span {
  display: block;
  font-weight: 600;
  color: var(--tta-earth);
}

.tour-summary-item small {
  color: var(--tta-muted);
}

/* === MAIN LAYOUT === */
.tour-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.tour-main {
  background: var(--tta-bg);
  padding: 2rem;
  border-radius: var(--tta-radius);
  box-shadow: var(--tta-shadow);
}

.tour-main h2 {
  color: var(--tta-earth);
  margin-top: 2rem;
}

.tour-sidebar {
  position: sticky;
  top: 90px;
  background: var(--tta-sand);
  border-radius: var(--tta-radius);
  padding: 1.5rem;
  box-shadow: var(--tta-shadow);
}

.tour-sidebar h3 {
  margin-bottom: 1rem;
  color: var(--tta-earth);
}

/* === RATES TABLE === */
.tour-rates table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tour-rates th, .tour-rates td {
  border-bottom: 1px solid #ddd;
  padding: 10px;
}

.tour-rates th {
  background: var(--tta-sand);
  font-weight: 600;
}

/* === ITINERARY ACCORDION === */
.itinerary {
  margin-top: 2rem;
}

.itinerary-day {
  border-bottom: 1px solid #eee;
}

.itinerary-day button {
  width: 100%;
  text-align: left;
  padding: 0.8rem 0;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: var(--tta-earth);
  cursor: pointer;
  position: relative;
}

.itinerary-day button::after {
  content: "+";
  position: absolute;
  right: 0;
  transition: var(--tta-transition);
}

.itinerary-day button.active::after {
  content: "–";
}

.itinerary-day-content {
  display: none;
  padding: 0.8rem 0 1rem;
  color: var(--tta-muted);
}

.itinerary-day button.active + .itinerary-day-content {
  display: block;
}

/* === GALLERY === */
.tour-gallery {
  margin-top: 3rem;
}

.tour-gallery h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.tour-gallery-grid {
  columns: 3 250px;
  column-gap: 1rem;
}

.tour-gallery-item {
  margin-bottom: 1rem;
  border-radius: var(--tta-radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.tour-gallery-item:hover {
  transform: scale(1.02);
}

.tour-gallery-item img {
  width: 100%;
  display: block;
}

/* === LIGHTBOX === */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--tta-transition);
  z-index: 9999;
}

.lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: var(--tta-radius);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* === CTA === */
.tour-cta {
  background: var(--tta-forest);
  color: #fff;
  text-align: center;
  padding: 4rem 1rem;
  margin-top: 4rem;
}

.tour-cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
	color: var(--tta-sand);
}

.tour-cta a {
  display: inline-block;
  background: var(--tta-sunset);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--tta-transition);
}

.tour-cta a:hover {
  background: var(--tta-accent);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
  .tour-body {
    grid-template-columns: 1fr;
  }
  .tour-sidebar {
    position: static;
  }
  .tour-gallery-grid {
    columns: 2 150px;
  }
}

@media (max-width: 600px) {
  .tour-hero-content h1 {
    font-size: 2rem;
  }
  .tour-summary {
    flex-direction: column;
  }
}


.tta-tour-enquiry {
  background: #f7f9fb;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 3rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.tta-tour-enquiry h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #123c24;
}

.tta-enquiry-grid label {
  display: block;
  margin: 0.75rem 0 0.25rem;
  font-weight: 600;
  color: #333;
}

.tta-enquiry-grid input,
.tta-enquiry-grid textarea,
.tta-enquiry-grid select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.tta-enquiry-grid input:focus,
.tta-enquiry-grid textarea:focus {
  border-color: #00804b;
  outline: none;
}

.tta-enquiry-btn {
  margin-top: 1.5rem;
  padding: 0.8rem 1.8rem;
  background: #00804b;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.tta-enquiry-btn:hover {
  background: #046c3c;
}

/* ====== ENQUIRY BUTTON & FORM ====== */
.tta-enquiry-toggle-btn {
  background: #00804b;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.9rem 1.8rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.tta-enquiry-toggle-btn:hover {
  background: #046c3c;
}

.tta-enquiry-toggle-btn.active {
  background: #d63031;
  color: #fff;
}

.tta-enquiry-form-wrapper {
  background: #f7f9fb;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 1.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  animation: fadeIn 0.3s ease-in-out;
}

.tta-enquiry-form-wrapper h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #123c24;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Optional: Add spacing between form elements */
.tta-enquiry-form-wrapper input,
.tta-enquiry-form-wrapper textarea,
.tta-enquiry-form-wrapper select {
  width: 100%;
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}
