@charset "utf-8";

/* ==========================================================================
   PAGE SPECIFIC STYLES: HOW TO GET HERE & EXCURSION GUIDES
   ========================================================================== */

/* Top Spacing Compensation for Fixed Header */
body {
  padding-top: 130px !important;
}

@media (max-width: 767px) {
  body {
    padding-top: 85px !important;
  }
}

.hero-container {
  margin-bottom: 2rem;
}

/* --------------------------------------------------------------------------
   0. TOP HERO / ARRIVAL BANNER WITH HOVER ZOOM
   -------------------------------------------------------------------------- */
.directions-hero-card {
  width: 100%;
  margin-bottom: 2rem;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  background-color: #f1f5f9;
}

.hero-image-container {
  width: 100%;
  height: 320px; /* Fixed height container for crisp hero rendering */
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

@media (max-width: 767px) {
  .hero-image-container {
    height: 200px;
  }
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.directions-hero-card:hover .hero-banner-img,
.hero-image-container:hover .hero-banner-img {
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   1. QUICK META & GPS NAVIGATION WARNING BAR
   -------------------------------------------------------------------------- */
.quick-meta-bar {
  background-color: var(--bg-alt, #f4f6f4);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius, 8px);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 2.5rem;
}

.quick-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.meta-item .meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted, #555555);
  font-weight: 600;
}

.meta-item .meta-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary, #3a5335);
}

.copy-btn {
  background-color: var(--primary, #3a5335);
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm, 4px);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.copy-btn:hover {
  background-color: var(--text-accent, #207a6f);
}

.quick-meta-warning {
  border-top: 1px solid #cbd5e1;
  background-color: #f4f6f4;
  padding: 0.9rem 1.25rem;
}

.quick-meta-warning p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-dark, #1c2d37);
}

.quick-meta-warning p strong {
  color: var(--primary, #3a5335);
}

.quick-meta-warning i {
  color: var(--text-accent, #207a6f);
  margin-right: 6px;
}

.quick-meta-warning code {
  background-color: rgba(32, 122, 111, 0.1);
  color: var(--primary, #3a5335);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 0.85em;
  font-weight: 600;
}

.quick-meta-warning .external-link {
  color: var(--text-accent, #207a6f);
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.quick-meta-warning .external-link:hover {
  color: var(--primary, #3a5335);
}

/* --------------------------------------------------------------------------
   2. TABS NAV & PANES
   -------------------------------------------------------------------------- */
.tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 2px solid var(--bg-alt, #f4f6f4);
  margin-bottom: 24px;
}

.tab-btn {
  background: none;
  border: none;
  padding: 12px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted, #555555);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tab-btn:hover {
  color: var(--primary, #3a5335);
}

.tab-btn.active {
  color: var(--primary, #3a5335);
  border-bottom-color: var(--primary, #3a5335);
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

/* --------------------------------------------------------------------------
   3. SAMARIA GORGE TRANSPORT PILL SELECTOR
   -------------------------------------------------------------------------- */
.samaria-tab-selector {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem 0;
  background-color: #e5e9e4;
  padding: 5px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.samaria-tab-btn {
  flex: 1;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 9999px;
  background: transparent;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: #555555;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.samaria-tab-btn i {
  color: #777777;
  transition: color 0.2s ease, transform 0.2s ease;
}

.samaria-tab-btn:hover:not(.active) {
  color: var(--primary, #3a5335);
  background-color: rgba(255, 255, 255, 0.6);
}

.samaria-tab-btn:hover:not(.active) i {
  color: var(--primary, #3a5335);
}

.samaria-tab-btn.active {
  background-color: #233020;
  color: #ffffff;
  border-color: var(--color-gold, #c5a059);
  box-shadow: 0 3px 10px rgba(35, 48, 32, 0.25);
}

.samaria-tab-btn.active i {
  color: var(--color-gold, #c5a059);
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .samaria-tab-selector {
    flex-direction: column;
    border-radius: var(--radius-sm, 8px);
  }

  .samaria-tab-btn {
    border-radius: var(--radius-sm, 6px);
  }
}

/* --------------------------------------------------------------------------
   4. STEP-BY-STEP GUIDES & LISTS
   -------------------------------------------------------------------------- */
.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-item {
  position: relative;
  padding-left: 36px;
  margin-bottom: 20px;
}

.step-item::before {
  content: attr(data-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 24px;
  height: 24px;
  background-color: var(--text-accent, #207a6f);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item h4 {
  margin: 0 0 4px 0;
  color: var(--primary, #3a5335);
  font-size: 1rem;
}

.step-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-main, #2c3531);
}

/* --------------------------------------------------------------------------
   5. DISTANCE MATRIX & CARDS
   -------------------------------------------------------------------------- */
.distance-table-wrapper {
  overflow-x: auto;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
}

.distance-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  text-align: left;
}

.distance-table th {
  background-color: var(--bg-alt, #f4f6f4);
  color: var(--primary, #3a5335);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 2px solid var(--primary, #3a5335);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.distance-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #edf2f7;
  color: var(--text-main, #2c3531);
}

.distance-table tr:hover td {
  background-color: var(--bg-alt, #f4f6f4);
}

.distance-matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.distance-category-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius, 8px);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.distance-category-header {
  background-color: var(--bg-alt, #f4f6f4);
  border-bottom: 2px solid var(--primary, #3a5335);
  padding: 14px 20px;
}

.distance-category-header h4 {
  margin: 0;
  color: var(--primary, #3a5335);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.distance-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.distance-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid #edf2f7;
  gap: 16px;
}

.distance-item:last-child {
  border-bottom: none;
}

.distance-item:hover {
  background-color: var(--bg-alt, #f4f6f4);
}

.distance-info {
  display: flex;
  flex-direction: column;
}

.hub-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main, #2c3531);
}

.hub-note {
  font-size: 0.8rem;
  color: var(--text-muted, #555555);
  margin-top: 2px;
}

.distance-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  min-width: max-content;
}

.dist-val {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary, #3a5335);
}

.dist-time {
  font-size: 0.75rem;
  color: var(--text-muted, #555555);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   6. TRANSPORT CARD & FULL-HEIGHT FLUSH LANDMARK MEDIA
   -------------------------------------------------------------------------- */
.driving-card,
.transport-card {
  display: flex !important;
  align-items: stretch !important; /* Forces right media column to match left text height */
  justify-content: space-between;
  border: 1px solid var(--text-accent, #2a9d8f);
  border-radius: var(--radius, 8px);
  background-color: var(--bg, #ffffff);
  overflow: hidden !important; /* Clips image corners seamlessly to card border-radius */
  padding: 0 !important; /* Clears outer padding so media goes flush edge-to-edge */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.driving-card-text {
  flex: 1 1 auto;
  padding: 1.75rem 1.5rem;
}

.driving-card-text .intro-p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-main, #2c3531);
  margin-bottom: 1.25rem;
}

/* Right Media Column (300px fixed width) */
.driving-card .card-image-wrapper,
.transport-card .card-image-wrapper {
  flex: 0 0 300px;
  margin: 0 !important;
  border-radius: 0 !important;
  height: auto !important;
  position: relative;
}

/* Image Full-Height Stretch Rules */
.driving-card .card-image-wrapper .card-media,
.transport-card .card-image-wrapper .card-media {
  width: 100%;
  height: 100% !important; /* Fills full card height */
  object-fit: cover !important; /* Edge-to-edge full fill without stretching */
  display: block;
}

/* Landmark Caption Tag Overlay */
.card-image-wrapper figcaption,
.card-landmark-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 0.75rem;
  font-style: italic;
  text-align: center;
  margin: 0;
}

/* Map Action Buttons (Option B: Brand Gold Hover Text) */
.map-buttons-row,
.map-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-map,
.map-buttons-row .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm, 4px);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #ffffff !important; /* Crisp white text in default state */
  background-color: var(--primary, #3a5335);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-map:hover,
.btn-map:focus,
.map-buttons-row .btn:hover,

.map-buttons-row .btn:focus {
  background-color: #233020; /* Darkened olive container */
  color: var(--color-gold, #c5a059) !important; /* Bright, legible gold text on hover */
}

@media (max-width: 768px) {
  .driving-card,
  .transport-card {
    flex-direction: column !important;
  }
  
  .driving-card .card-image-wrapper,
  .transport-card .card-image-wrapper {
    flex: none;
    width: 100%;
    height: 220px !important;
  }
}

/* --------------------------------------------------------------------------
   7. FAQ ACCORDION HEADER & BODY TOGGLES
   -------------------------------------------------------------------------- */
.faq-item {
  border: none;
  border-radius: var(--radius-sm, 8px);
  overflow: hidden;
  background-color: transparent;
  margin-top: 1.5rem;
}

.faq-header {
  width: 100%;
  padding: 1.1rem 1.25rem;
  background-color: #233020;
  color: #ffffff;
  border: 1px solid var(--color-gold, #c5a059);
  border-radius: var(--radius-sm, 8px);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.85rem;
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 4px 12px rgba(35, 48, 32, 0.2);
  outline: none;
}

.faq-header span {
  flex: 1;
  text-align: left;
  color: #ffffff;
}

.faq-header i.fa-person-hiking {
  color: var(--color-gold, #c5a059);
  font-size: 1.25rem;
  margin: 0;
  display: inline-block;
  transition: transform 0.2s ease;
}

.faq-header:hover {
  background-color: #2c3c28;
  box-shadow: 0 6px 16px rgba(35, 48, 32, 0.3);
}

.faq-header:hover i.fa-person-hiking {
  transform: scale(1.1);
}

.faq-header::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--color-gold, #c5a059);
  font-weight: 700;
  line-height: 1;
  margin-left: auto;
  transition: transform 0.2s ease;
}

.faq-item.active .faq-header::after {
  content: '−';
}

.faq-item.active .faq-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: rgba(197, 160, 89, 0.3);
}

.faq-body {
  display: none;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-top: none;
  border-bottom-left-radius: var(--radius-sm, 8px);
  border-bottom-right-radius: var(--radius-sm, 8px);
  padding: 1.25rem 20px 16px 20px;
  font-size: 0.9rem;
  color: var(--text-main, #2c3531);
  line-height: 1.6;
}

.faq-item.active .faq-body {
  display: block;
}

.samaria-tab-panel {
  display: none;
}

.samaria-tab-panel.active {
  display: block;
}

.mt-3 {
  margin-top: 1.25rem;
}

/* --------------------------------------------------------------------------
   8. RATES CTA BANNER BUTTON OVERRIDE
   -------------------------------------------------------------------------- */
.rates-cta {
  background-color: #233020;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius, 8px);
  text-align: center;
  color: #ffffff;
}

.rates-cta h2 {
  color: #ffffff;
  margin-top: 0;
}

.rates-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0.5rem auto 1.5rem auto;
}

.rates-cta .btn-gold {
  background-color: var(--color-gold, #c5a059);
  color: #233020;
  border: 1px solid var(--color-gold, #c5a059);
  padding: 12px 28px;
  border-radius: var(--radius-sm, 6px);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.rates-cta .btn-gold:hover {
  background-color: #233020;
  color: #ffffff;
  border-color: var(--color-gold, #c5a059);
}