/* ============================================================
   PACKAGE DETAIL PAGES — Falana Tours & Travels
   Uses same design tokens as style.css (navy, red, gold, ivory)
   ============================================================ */

/* ---------- Page Hero ---------- */
.package-detail-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.package-detail-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 21, 39, 0.35) 0%,
    rgba(7, 21, 39, 0.85) 100%
  );
}

.package-detail-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px 52px;
  color: #f5efe0;
}

.package-detail-hero .hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #e3c788;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.package-detail-hero .hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #c9a04e;
  display: inline-block;
}

.package-detail-hero .hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: #f5efe0;
  max-width: 720px;
  margin-bottom: 18px;
}

.package-detail-hero .hero-desc {
  font-size: 1.05rem;
  color: rgba(245, 239, 224, 0.85);
  max-width: 520px;
  margin-bottom: 30px;
}

/* Badge row below title */
.hero-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-badge {
  background: rgba(201, 160, 78, 0.2);
  border: 1px solid rgba(201, 160, 78, 0.5);
  color: #e3c788;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 7px 16px;
  border-radius: 999px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: #f5efe0;
  border-bottom: 1px solid rgba(11, 31, 58, 0.1);
  padding: 12px 24px;
}

.breadcrumb-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(46, 32, 23, 0.6);
}

.breadcrumb-inner a {
  color: #8b1e1e;
  text-decoration: none;
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
}

.breadcrumb-inner span.sep {
  color: rgba(46, 32, 23, 0.35);
}

/* ---------- Main Content Layout ---------- */
.package-detail {
  padding: 60px 24px 100px;
}

.package-detail .container {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
}

@media (min-width: 1280px) {
  .package-detail .container {
    grid-template-columns: 1.1fr 280px;
    gap: 50px;
    align-items: start;
  }
}

/* ---------- Left Content Column ---------- */
.detail-content {
  min-width: 0;
  max-width: 100%;
}

/* ---------- Right Booking Sidebar ---------- */
.booking-sidebar {
  display: none;
}

@media (min-width: 1280px) {
  .booking-sidebar {
    display: block;
    position: sticky;
    top: 90px;
    height: fit-content;
  }
}

.booking-sidebar .booking-section {
  background: rgba(11, 31, 58, 0.05);
  border: 1px solid rgba(11, 31, 58, 0.12);
  border-radius: 4px;
  padding: 26px 22px;
}

.booking-sidebar .booking-head {
  margin-bottom: 18px;
  text-align: left;
}

.booking-sidebar .booking-head h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b1f3a;
  line-height: 1.3;
}

.booking-sidebar .eyebrow {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8b1e1e;
  margin-bottom: 6px;
}

.booking-sidebar .booking-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.booking-sidebar .field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.booking-sidebar .field label {
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0b1f3a;
  opacity: 0.7;
}

.booking-sidebar .field input,
.booking-sidebar .field select,
.booking-sidebar .field textarea {
  font-family: 'Work Sans', sans-serif;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(11, 31, 58, 0.15);
  border-radius: 2px;
  padding: 8px 10px;
  font-size: 0.85rem;
  color: #0b1f3a;
  outline: none;
  transition: border-color 0.25s cubic-bezier(0.22, 0.61, 0.36, 1), background 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.booking-sidebar .field input::placeholder {
  color: rgba(11, 31, 58, 0.4);
}

.booking-sidebar .field input:focus,
.booking-sidebar .field select:focus,
.booking-sidebar .field textarea:focus {
  border-color: #8b1e1e;
  background: rgba(255, 255, 255, 0.9);
}

.booking-sidebar .field-full {
  grid-column: 1 / -1;
}

.booking-sidebar .btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 10px 16px;
}

.booking-sidebar .booking-note {
  text-align: left;
  margin-top: 12px;
  font-size: 0.78rem;
  color: #0b1f3a;
  opacity: 0.75;
}

.booking-sidebar .booking-note a {
  color: #8b1e1e;
  font-weight: 600;
}

/* Booking form inside sidebar */
.booking-sidebar-form {
  background: #0b1f3a;
  border: 1px solid rgba(201, 160, 78, 0.3);
  border-radius: 8px;
  padding: 28px 24px;
  box-shadow: 0 16px 40px -12px rgba(7, 21, 39, 0.45);
}

.booking-sidebar-form .booking-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(201, 160, 78, 0.18);
}

.booking-sidebar-form .eyebrow {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #c9a04e;
  margin-bottom: 8px;
}

.booking-sidebar-form .booking-head h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f5efe0;
  line-height: 1.3;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Sidebar form — single column grid */
.booking-sidebar-form .booking-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.booking-sidebar-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-sidebar-form .field label {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(201, 160, 78, 0.85);
}

.booking-sidebar-form .field input,
.booking-sidebar-form .field select,
.booking-sidebar-form .field textarea {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.88rem;
  color: #f5efe0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(245, 239, 224, 0.16);
  border-radius: 4px;
  padding: 11px 13px;
  width: 100%;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.booking-sidebar-form .field input::placeholder,
.booking-sidebar-form .field textarea::placeholder {
  color: rgba(245, 239, 224, 0.28);
  font-size: 0.84rem;
}

.booking-sidebar-form .field input:focus,
.booking-sidebar-form .field select:focus,
.booking-sidebar-form .field textarea:focus {
  border-color: #c9a04e;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 160, 78, 0.12);
}

.booking-sidebar-form .field input[type="date"] {
  color-scheme: dark;
}

.booking-sidebar-form .field textarea {
  resize: vertical;
  min-height: 72px;
}

.booking-sidebar-form .field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a04e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
  cursor: pointer;
}

.booking-sidebar-form .field select option {
  background: #0b1f3a;
  color: #f5efe0;
}

.booking-sidebar-form .btn {
  width: 100%;
  justify-content: center;
  padding: 13px;
  font-size: 0.88rem;
  margin-top: 4px;
}

.booking-sidebar-form .booking-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: rgba(245, 239, 224, 0.45);
  text-align: center;
  line-height: 1.6;
}

.booking-sidebar-form .booking-note a {
  color: #c9a04e;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Section Title ---------- */
.detail-content h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #0b1f3a;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid #c9a04e;
  position: relative;
}

.detail-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b1f3a;
  margin: 40px 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-content h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: #8b1e1e;
  border-radius: 2px;
  flex-shrink: 0;
}

.detail-content p {
  font-size: 0.97rem;
  color: rgba(46, 32, 23, 0.8);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---------- Itinerary List ---------- */
.itinerary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 0;
}

.itinerary-list::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, #c9a04e, rgba(201,160,78,0.15));
}

.itinerary-list li {
  display: flex;
  gap: 20px;
  padding: 18px 0;
  position: relative;
}

.itinerary-list li::before {
  content: counter(step);
  counter-increment: step;
  width: 38px;
  height: 38px;
  min-width: 38px;
  background: #0b1f3a;
  color: #c9a04e;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  border: 2px solid #c9a04e;
}

.itinerary-list {
  counter-reset: step;
}

.itinerary-list li .day-content {
  padding-top: 6px;
  flex: 1;
}

.itinerary-list li .day-label {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  color: #8b1e1e;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}

.itinerary-list li .day-text {
  font-size: 0.92rem;
  color: rgba(46, 32, 23, 0.8);
  line-height: 1.7;
}

/* ---------- Inclusions / Exclusions ---------- */
.inc-exc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 10px;
}

@media (min-width: 640px) {
  .inc-exc-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.inc-box,
.exc-box {
  border-radius: 4px;
  padding: 28px 24px;
}

.inc-box {
  background: rgba(27, 77, 77, 0.06);
  border: 1px solid rgba(27, 77, 77, 0.2);
}

.exc-box {
  background: rgba(139, 30, 30, 0.05);
  border: 1px solid rgba(139, 30, 30, 0.18);
}

.inc-box h4,
.exc-box h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inc-box h4 {
  color: #1b4d4d;
}

.exc-box h4 {
  color: #8b1e1e;
}

.inc-box h4::before {
  content: '✓';
  width: 22px;
  height: 22px;
  background: #1b4d4d;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exc-box h4::before {
  content: '✕';
  width: 22px;
  height: 22px;
  background: #8b1e1e;
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.inc-box ul,
.exc-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inc-box ul li,
.exc-box ul li {
  font-size: 0.87rem;
  color: rgba(46, 32, 23, 0.82);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}

.inc-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: #1b4d4d;
  border-radius: 50%;
}

.exc-box ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  background: #8b1e1e;
  border-radius: 50%;
}

/* ---------- Sticky Sidebar ---------- */
.detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 1024px) {
  .detail-sidebar {
    position: sticky;
    top: 90px;
  }
}

/* Price Card */
.price-card {
  background: #0b1f3a;
  color: #f5efe0;
  border-radius: 4px;
  padding: 32px 28px;
  border: 1px solid rgba(201, 160, 78, 0.3);
}

.price-card .price-label {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c9a04e;
  margin-bottom: 8px;
  display: block;
}

.price-card .price-amount {
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #e3c788;
  line-height: 1;
}

.price-card .price-per {
  font-size: 0.82rem;
  color: rgba(245, 239, 224, 0.6);
  margin-left: 4px;
}

.price-card .price-note {
  font-size: 0.78rem;
  color: rgba(245, 239, 224, 0.55);
  margin-top: 10px;
  margin-bottom: 22px;
}

.price-card .btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
  padding: 14px;
}

/* Highlights Card */
.highlights-card {
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.1);
  border-radius: 4px;
  padding: 28px 24px;
  box-shadow: 0 8px 30px -12px rgba(11, 31, 58, 0.12);
}

.highlights-card h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0b1f3a;
  margin-bottom: 18px;
}

.highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(46, 32, 23, 0.82);
  line-height: 1.5;
}

.highlights-list li .hl-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Contact Card */
.contact-card {
  background: rgba(201, 160, 78, 0.08);
  border: 1px solid rgba(201, 160, 78, 0.3);
  border-radius: 4px;
  padding: 24px;
  text-align: center;
}

.contact-card p {
  font-size: 0.85rem;
  color: rgba(46, 32, 23, 0.75);
  margin-bottom: 12px;
}

.contact-card a.call-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #8b1e1e;
  text-decoration: none;
}

.contact-card a.call-link:hover {
  color: #0b1f3a;
}

/* ============================================================
   BOOKING FORM — Full Section
   ============================================================ */
.booking-section {
  margin-top: 60px;
  padding: 50px 44px;
  background: #0b1f3a;
  border-radius: 8px;
  border: 1px solid rgba(201, 160, 78, 0.3);
  box-shadow: 0 24px 60px -20px rgba(7, 21, 39, 0.5);
}

/* Heading */
.booking-section .booking-head {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(201, 160, 78, 0.2);
}

.booking-section .booking-head .eyebrow {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #c9a04e;
  margin-bottom: 10px;
}

.booking-section .booking-head h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #f5efe0;
  line-height: 1.2;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Grid layout */
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 620px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .booking-section {
    padding: 32px 22px;
  }
}

/* Field wrapper */
.booking-grid .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.booking-grid .field-full {
  grid-column: 1 / -1;
}

/* Labels */
.booking-grid .field label {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(201, 160, 78, 0.85);
}

/* Inputs, select, textarea */
.booking-grid input,
.booking-grid select,
.booking-grid textarea {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.93rem;
  color: #f5efe0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(245, 239, 224, 0.18);
  border-radius: 4px;
  padding: 13px 15px;
  outline: none;
  width: 100%;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  -webkit-appearance: none;
  appearance: none;
}

.booking-grid input::placeholder,
.booking-grid textarea::placeholder {
  color: rgba(245, 239, 224, 0.28);
  font-size: 0.88rem;
}

.booking-grid input:focus,
.booking-grid select:focus,
.booking-grid textarea:focus {
  border-color: #c9a04e;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 0 0 3px rgba(201, 160, 78, 0.15);
}

/* Select arrow */
.booking-grid select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a04e' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.booking-grid select option {
  background: #0b1f3a;
  color: #f5efe0;
}

/* Textarea */
.booking-grid textarea {
  resize: vertical;
  min-height: 90px;
}

/* Date input */
.booking-grid input[type="date"] {
  color-scheme: dark;
}

/* Submit button */
.booking-grid .field-full .btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

/* Note below form */
.booking-section .booking-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: rgba(245, 239, 224, 0.45);
  text-align: center;
  line-height: 1.6;
}

.booking-section .booking-note a {
  color: #c9a04e;
  font-weight: 600;
  text-decoration: none;
}

.booking-section .booking-note a:hover {
  color: #e3c788;
}

/* ---------- Related Packages Strip ---------- */
.related-packages {
  padding: 70px 24px;
  background: #f5efe0;
  border-top: 1px solid rgba(11, 31, 58, 0.08);
}

.related-packages .section-head {
  text-align: center;
  margin-bottom: 40px;
}

.related-packages .section-head h2 {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #0b1f3a;
}

.related-packages .section-head .eyebrow {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #8b1e1e;
  margin-bottom: 8px;
}

.related-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.related-card {
  background: #fff;
  border: 1px solid rgba(11, 31, 58, 0.08);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 40px -20px rgba(11, 31, 58, 0.3);
}

.related-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #1b4d4d;
}

.related-card-body {
  padding: 18px 18px 20px;
}

.related-card-body h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.96rem;
  color: #0b1f3a;
  margin-bottom: 6px;
}

.related-card-body .rc-meta {
  font-size: 0.78rem;
  color: rgba(46, 32, 23, 0.6);
  margin-bottom: 12px;
}

.related-card-body .rc-price {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: #8b1e1e;
}

/* ---------- Page-specific hero heights ---------- */
@media (max-width: 640px) {
  .package-detail-hero {
    min-height: 50vh;
  }

  .package-detail-hero .hero-content {
    padding: 40px 20px 40px;
  }

  .booking-section {
    padding: 32px 20px;
  }
}
