/* ============================
   STORY PAGE — story.css
   ============================ */

/* ---- 1. HERO ---- */
.story-hero {
  position: relative;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
}

.story-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.75) 100%);
}

.story-hero-content {
  position: relative;
  z-index: 1;
  padding: 60px 48px;
  max-width: 780px;
}

.story-hero-label {
  color: #f5a623;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.story-hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.story-hero-tagline {
  color: #e8e8e8;
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.story-hero-stats {
  color: #f5a623;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.btn-story-primary {
  display: inline-block;
  background: #648381;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-story-primary:hover {
  background: #4e6967;
}


/* ---- 3. THE STORY ---- */
.story-prose {
  max-width: 720px;
}

.story-prose h2 {
  font-size: 2rem;
  margin: 12px 0 24px;
}

.story-prose p {
  line-height: 1.85;
  margin-bottom: 18px;
  color: #444;
}

/* ---- 4. CHOOSE YOUR STORY ---- */
.story-choose {
  background: #f4f4ef;
}

.story-choose h2 {
  margin: 12px 0 36px;
}

.route-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.route-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
}

.route-card--accent {
  background: #648381;
}

.route-card-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.route-card--accent .route-card-header {
  border-bottom-color: rgba(255,255,255,0.1);
}

.route-distance {
  display: inline-block;
  background: #f5a623;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.route-card-header h3 {
  font-size: 1.3rem;
  color: #222;
}

.route-card-body {
  padding: 20px 28px;
  flex: 1;
}

.route-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.92rem;
  color: #333;
}

.route-row:last-child {
  border-bottom: none;
}

.route-label {
  color: #648381;
  font-weight: 600;
  flex-shrink: 0;
}

.btn-route {
  display: block;
  margin: 0 28px 28px;
  padding: 12px;
  text-align: center;
  background: #648381;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-route:hover {
    background: #4e6967;
}

.btn-route--light {
    background: #f5a623;
    color: #fff;
}

.btn-route--light:hover {
    background: #d98e10;
}

.route-card--accent .route-card-header h3 {
    color: #fff;
}

.route-card--accent .route-row {
    border-bottom-color: rgba(255,255,255,0.15);
    color: #fff;
}

.route-card--accent .route-label {
    color: rgba(255,255,255,0.75);
}

.story-blockquote {
  border-left: 3px solid #648381;
  padding: 16px 24px;
  margin: 32px 0 0;
  font-size: 1.05rem;
  color: #444;
  font-style: italic;
  background: rgba(100,131,129,0.06);
  border-radius: 0 8px 8px 0;
}

.story-blockquote--form {
  margin: 32px 0;
  font-size: 1rem;
}

/* ---- 5. IS THIS STORY FOR YOU ---- */
.story-unsure {
  margin-top: 24px;
  font-size: 0.95rem;
  color: #444;
}

.story-unsure a {
  color: #648381;
  font-weight: 600;
  text-decoration: underline;
}

/* ---- 6. CAVES ---- */
.story-caves {
  background: #f4f4ef;;
}

.caves-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.caves-text .section-label {
  color: #f5a623 !important;
}

.caves-text h2 {
  color: #222;
  margin: 12px 0 20px;
}

.caves-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 28px;
}

.caves-notices {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cave-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #444;
  font-size: 0.92rem;
  line-height: 1.5;
}

.cave-notice i {
  color: #f5a623;
  margin-top: 2px;
  flex-shrink: 0;
}

.caves-image {
  border-radius: 12px;
  overflow: hidden;
  height: 400px;
}

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

/* ---- 7. TIMELINE ---- */
.story-timeline {
  margin-top: 32px;
  position: relative;
  padding-left: 32px;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #648381;
}

.timeline-item {
  position: relative;
  margin-bottom: 32px;
  display: flex;
  gap: 20px;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #648381;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #648381;
  flex-shrink: 0;
}

.timeline-dot--last {
  background: #f5a623;
  box-shadow: 0 0 0 2px #f5a623;
}

.timeline-title {
  font-weight: 600;
  font-size: 1rem;
  color: #222;
  margin-bottom: 4px;
}

.timeline-note {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}

.timeline-split-note {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.timeline-split-note span {
  display: block;
}

/* ---- 8. INCLUDES ---- */
.story-includes {
  background: #f4f4ef;
}

.includes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.include-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
  background: #fff;
  border-radius: 10px;
  font-size: 0.88rem;
  color: #444;
}

.include-item i {
  font-size: 1.4rem;
  color: #648381;
}

/* ---- 9. PREPARE ---- */
.prepare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.prepare-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #648381;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #648381;
}

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

.prepare-list li {
  padding: 9px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.93rem;
  color: #444;
}

.prepare-list li:last-child {
  border-bottom: none;
}

.before-story {
  margin-top: 40px;
}

.prepare-list--inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

/* ---- 10. SAFETY ---- */
.story-safety {
  background: #f4f4ef;
}

.safety-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.safety-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: #444;
}

.safety-item i {
  color: #648381;
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.safety-links {
  margin-top: 28px;
  font-size: 0.9rem;
  color: #666;
}

.safety-links a {
  color: #648381;
  font-weight: 600;
}

/* ---- 11. BOOKING ---- */
.pricing-table {
  width: 100%;
  max-width: 480px;
  border-collapse: collapse;
  margin: 32px 0;
  font-size: 0.95rem;
}

.pricing-table th {
  text-align: left;
  padding: 10px 16px;
  background: #2a3a38;
  color: #fff;
  font-weight: 600;
}

.pricing-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.booking-form {
  max-width: 580px;
  margin-top: 12px;
}

.booking-form .form-group {
  margin-bottom: 20px;
}

.booking-form label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none;
  border-color: #648381;
}

.booking-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 8px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: #25D366;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-whatsapp:hover {
  background: #1ebe59;
}

/* ---- MOBILE BOOKING BAR ---- */
.mobile-booking-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 12px 20px;
  gap: 12px;
  z-index: 8000;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.1);
}

.btn-mobile-book {
  flex: 1;
  text-align: center;
}

.btn-whatsapp-mobile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 1.2rem;
  text-decoration: none;
  flex-shrink: 0;
}

/* ============================
   NIGHT MODE — STORY PAGE
   ============================ */
body.night-mode .story-prose p,
body.night-mode .story-unsure,
body.night-mode .timeline-note,
body.night-mode .safety-links {
  color: #aaa !important;
}

body.night-mode .story-prose h2,
body.night-mode .timeline-title,
body.night-mode .prepare-heading {
  color: #f0f0f0 !important;
}

body.night-mode .story-section {
  background: #0d0d0d !important;
}

body.night-mode .story-choose,
body.night-mode .story-includes,
body.night-mode .story-safety {
  background: #111 !important;
}

body.night-mode .route-card {
  background: #1a1a1a !important;
}

body.night-mode .route-card--accent {
  background: #648381 !important;
}

body.night-mode .route-row {
  border-bottom-color: #2a2a2a !important;
  color: #ccc !important;
}

body.night-mode .include-item {
  background: #1a1a1a !important;
  color: #aaa !important;
}

body.night-mode .prepare-list li {
  border-bottom-color: #2a2a2a !important;
  color: #aaa !important;
}

body.night-mode .pricing-table td {
  border-bottom-color: #2a2a2a !important;
  color: #ccc !important;
}

body.night-mode .story-blockquote {
  background: rgba(100,131,129,0.1) !important;
  color: #aaa !important;
}

body.night-mode .booking-form input,
body.night-mode .booking-form select,
body.night-mode .booking-form textarea {
  background: #222 !important;
  border-color: #333 !important;
  color: #e8e8e8 !important;
}

body.night-mode .booking-form label {
  color: #ccc !important;
}

body.night-mode .mobile-booking-bar {
  background: #111 !important;
  border-top-color: #2a2a2a !important;
}

body.night-mode .timeline-title {
  color: #f0f0f0 !important;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 900px) {
  .glance-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .glance-item:nth-child(3) {
    border-right: none;
  }

  .route-cards {
    grid-template-columns: 1fr;
  }

  .caves-grid {
    grid-template-columns: 1fr;
  }

  .caves-image {
    height: 260px;
  }

  .includes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .prepare-grid {
    grid-template-columns: 1fr;
  }

  .prepare-list--inline {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .story-hero-content {
    padding: 40px 24px 100px;
  }

  .glance-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .glance-item:nth-child(2) {
    border-right: none;
  }

  .glance-item:nth-child(3) {
    border-right: 1px solid rgba(255,255,255,0.1);
  }

  .mobile-booking-bar {
    display: flex;
  }

  .booking-actions {
    flex-direction: column;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
  }
}
.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    margin-top: 8px;
}

.hero-stats-row span {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-stats-row span i {
    color: #f5a623;
}
/* ---- TRAIL CHECK-IN ---- */
.checkin-wrapper {
    margin-top: 40px;
    border-top: 2px solid #648381;
    padding-top: 32px;
}

.checkin-header h3 {
    font-size: 1.6rem;
    margin: 8px 0 12px;
}

.checkin-intro {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 24px;
}

.checkin-progress {
    margin-bottom: 32px;
}

.progress-bar {
    height: 4px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: #648381;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-label {
    font-size: 0.8rem;
    color: #888;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.checkin-section {
    display: none;
}

.checkin-section.active {
    display: block;
}

.checkin-section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkin-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #648381;
    color: #fff;
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.checkin-confidential {
    font-size: 0.72rem;
    font-weight: 600;
    color: #648381;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid #648381;
    padding: 2px 8px;
    border-radius: 20px;
}

.checkin-desc {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.checkin-note {
    font-size: 0.8rem;
    color: #888;
    margin-top: 6px;
    font-style: italic;
}

.checkin-field {
    margin-bottom: 20px;
}

.checkin-field label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.5;
}

.checkin-form input[type="text"],
.checkin-form input[type="tel"],
.checkin-form input[type="email"],
.checkin-form select,
.checkin-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #333;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.checkin-form input:focus,
.checkin-form select:focus,
.checkin-form textarea:focus {
    outline: none;
    border-color: #648381;
}

.checkin-form input[readonly] {
    background: #f4f4f4;
    color: #888;
}

.checkin-radios {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: #444;
    font-weight: 400;
    cursor: pointer;
}

.radio-label input[type="radio"] {
    width: auto;
    padding: 0;
    border: none;
    accent-color: #648381;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: #444;
    font-weight: 400;
    line-height: 1.6;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    padding: 0;
    border: none;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: #648381;
}

.checkin-nav {
    display: flex;
    gap: 16px;
    margin-top: 28px;
}

.btn-checkin-prev,
.btn-checkin-next {
    padding: 12px 28px;
    border-radius: 30px;
    border: 2px solid #648381;
    background: transparent;
    color: #648381;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-checkin-next {
    background: #648381;
    color: #fff;
}

.btn-checkin-prev:hover {
    background: #648381;
    color: #fff;
}

.btn-checkin-next:hover {
    background: #4e6967;
}

.payment-reveal {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

/* Night mode checkin */
body.night-mode .checkin-intro,
body.night-mode .checkin-desc,
body.night-mode .checkin-note {
    color: #aaa !important;
}

body.night-mode .checkin-section-title {
    color: #f0f0f0 !important;
}

body.night-mode .checkin-field label,
body.night-mode .radio-label,
body.night-mode .checkbox-label {
    color: #ccc !important;
}

body.night-mode .checkin-form input,
body.night-mode .checkin-form select,
body.night-mode .checkin-form textarea {
    background: #222 !important;
    border-color: #333 !important;
    color: #e8e8e8 !important;
}

body.night-mode .checkin-form input[readonly] {
    background: #1a1a1a !important;
    color: #666 !important;
}

body.night-mode .progress-bar {
    background: #2a2a2a !important;
}

body.night-mode .payment-reveal {
    border-top-color: #2a2a2a !important;
}
