/* ==========================================================================
   WILD ROAR SAFARI - PACKAGES STYLESHEET (packages.css)
   Luxury White / Light Theme Layout
   ========================================================================== */

.packages-page-section {
  background-color: #faf8f3;
  padding: 24px 0 60px 0;
}

.packages-hero-banner {
  position: relative;
  padding: 210px 0 90px 0;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(201, 158, 88, 0.25);
  text-align: center;
}

.packages-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(8, 20, 14, 0.65) 0%, rgba(8, 20, 14, 0.92) 100%);
  z-index: 1;
}

.packages-hero-content {
  text-align: center;
}

.package-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 10px;
}

.package-wide-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid rgba(20, 53, 37, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(18, 40, 28, 0.05);
  transition: all 0.35s ease;
}

.package-wide-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-primary);
  box-shadow: 0 10px 28px rgba(18, 40, 28, 0.1);
}

.package-media-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.package-media-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

.package-wide-card:hover .package-media-img {
  transform: scale(1.05);
}

.package-badge-float {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 9px;
  background: rgba(14, 32, 22, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201, 158, 88, 0.4);
  border-radius: 9999px;
  color: #fce2a6;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.package-content-wrap {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
}

.package-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 2px;
}

.package-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0;
}

.package-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 6px;
  text-align: justify;
  text-justify: inter-word;
}

.package-itinerary-brief {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: #f4f8f5;
  border: 1px solid #dbe6df;
  border-radius: 6px;
  padding: 8px 12px;
  margin-bottom: 6px;
}

.itin-item-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--forest-emerald);
  margin-bottom: 2px;
}

.itin-item-desc {
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.package-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(20, 53, 37, 0.08);
}

.package-inclusions-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.76rem;
  color: var(--text-main);
}

.package-inclusions-summary span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.package-inclusions-summary svg {
  color: #1d774a;
}

@media (max-width: 992px) {
  .package-wide-card {
    grid-template-columns: 1fr;
  }
  .package-media-wrap {
    height: 180px;
    min-height: unset;
  }
  .package-media-img {
    position: static;
    width: 100%;
    height: 100%;
  }
  .package-itinerary-brief {
    grid-template-columns: 1fr;
  }
  .package-footer-actions {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Resort Facilities Block */
.resort-facilities-block {
  margin-top: 40px;
  background: #ffffff;
  border-radius: 12px;
  padding: 32px 36px;
  border: 1px solid rgba(20, 53, 37, 0.1);
  box-shadow: 0 4px 16px rgba(18, 40, 28, 0.04);
}

.resort-facilities-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
}

.resort-facilities-title span {
  color: #1e3a8a;
}

.resort-facilities-desc {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  max-width: 920px;
  margin-bottom: 22px;
}

.resort-facilities-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.resort-facilities-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: #2d3748;
  font-weight: 500;
}

.facility-pointer {
  font-size: 1.1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .resort-facilities-block {
    padding: 22px 20px;
  }
  .resort-facilities-title {
    font-size: 1.5rem;
  }
}

/* ==========================================================================
   RESORT LISTING CARDS (MATCHING REFERENCE UI)
   ========================================================================== */
.resorts-listing-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 15px;
}

.resort-booking-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.resort-booking-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary, #b6893c);
  box-shadow: 0 12px 32px rgba(18, 40, 28, 0.12);
}

.resort-card-img-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 230px;
  overflow: hidden;
}

.resort-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.resort-card-info-box {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.resort-name {
  font-family: var(--font-body), sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #1e293b;
  margin: 0 0 6px 0;
  letter-spacing: -0.2px;
}

.resort-stars {
  color: #f59e0b;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  line-height: 1;
}

.resort-description {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 16px;
}

.resort-specs-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.resort-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  color: #334155;
  font-weight: 600;
}

.resort-spec-icon {
  font-size: 0.95rem;
  color: #f59e0b;
  flex-shrink: 0;
}

.resort-bottom-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.btn-resort-book {
  background: linear-gradient(135deg, #c4994e 0%, #b6893c 60%, #946b28 100%);
  color: #ffffff;
  padding: 11px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 14px rgba(182, 137, 60, 0.28);
}

.btn-resort-book:hover {
  background: linear-gradient(135deg, #1f4f37 0%, #153827 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(21, 56, 39, 0.35);
  color: #ffffff;
}

@media (max-width: 900px) {
  .resort-booking-card {
    grid-template-columns: 1fr;
  }
  .resort-card-img-box {
    height: 220px;
    min-height: unset;
  }
  .resort-card-info-box {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .packages-hero-banner {
    padding: 95px 0 28px 0 !important;
    min-height: unset !important;
    display: block !important;
    text-align: left !important;
  }
  .packages-hero-content {
    text-align: left !important;
    align-items: flex-start !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .packages-hero-banner .section-badge {
    margin: 0 0 8px 0 !important;
    font-size: 0.65rem !important;
    padding: 3px 10px !important;
    display: inline-block !important;
    text-align: left !important;
  }
  .packages-hero-banner .section-title {
    font-size: 1.45rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }
  .packages-hero-banner .section-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    text-align: justify !important;
    text-justify: inter-word;
    margin: 0 !important;
    max-width: 100% !important;
  }
  .hero-search-inner {
    margin-top: 10px !important;
    margin-bottom: 12px !important;
  }
  .packages-page-section {
    padding: 10px 0 35px 0 !important;
  }
  .resorts-listing-stack,
  .package-cards-stack {
    gap: 14px !important;
  }
  .resort-booking-card,
  .package-wide-card {
    grid-template-columns: 1fr !important;
    border-radius: 12px !important;
  }
  .resort-card-img-box,
  .package-media-wrap {
    height: 165px !important;
    min-height: unset !important;
  }
  .resort-card-info-box,
  .package-content-wrap {
    padding: 14px 14px 12px 14px !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .resort-name,
  .package-title {
    font-size: 1.18rem !important;
    margin-bottom: 3px !important;
    text-align: left !important;
  }
  .resort-stars {
    font-size: 0.82rem !important;
    margin-bottom: 6px !important;
  }
  .resort-description,
  .package-desc {
    font-size: 0.82rem !important;
    line-height: 1.50 !important;
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 8px !important;
  }
  .resort-specs-list {
    gap: 6px !important;
    margin-bottom: 10px !important;
    text-align: left !important;
  }
  .resort-spec-item {
    font-size: 0.78rem !important;
    gap: 6px !important;
  }
  .resort-bottom-row {
    padding-top: 10px !important;
    width: 100% !important;
  }
  .btn-resort-book {
    width: 100% !important;
    height: 40px !important;
    font-size: 0.84rem !important;
    justify-content: center !important;
    padding: 0 16px !important;
    border-radius: 6px !important;
  }
  .resort-facilities-block {
    margin-top: 18px !important;
    padding: 16px 14px !important;
    border-radius: 12px !important;
    text-align: left !important;
  }
  .resort-facilities-title {
    font-size: 1.35rem !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
    text-align: left !important;
  }
  .resort-facilities-desc {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    text-align: justify !important;
    text-justify: inter-word;
    margin-bottom: 14px !important;
  }
  .resort-facilities-list {
    gap: 7px !important;
    text-align: left !important;
  }
  .resort-facilities-list li {
    font-size: 0.84rem !important;
    line-height: 1.45 !important;
    gap: 6px !important;
    align-items: flex-start !important;
  }
  .facility-pointer {
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
  }
}

@media (max-width: 480px) {
  .packages-hero-banner {
    padding: 88px 0 22px 0 !important;
  }
  .packages-hero-banner .section-title {
    font-size: 1.28rem !important;
  }
  .packages-hero-banner .section-subtitle {
    font-size: 0.78rem !important;
  }
  .packages-page-section {
    padding: 8px 0 25px 0 !important;
  }
  .resort-card-img-box,
  .package-media-wrap {
    height: 150px !important;
  }
  .resort-card-info-box {
    padding: 12px 12px 10px 12px !important;
  }
  .resort-name {
    font-size: 1.08rem !important;
  }
  .resort-description {
    font-size: 0.78rem !important;
  }
  .btn-resort-book {
    height: 38px !important;
    font-size: 0.80rem !important;
  }
  .resort-facilities-block {
    margin-top: 14px !important;
    padding: 14px 12px !important;
  }
  .resort-facilities-title {
    font-size: 1.22rem !important;
    margin-bottom: 6px !important;
  }
  .resort-facilities-desc {
    font-size: 0.78rem !important;
    margin-bottom: 10px !important;
  }
  .resort-facilities-list {
    gap: 6px !important;
  }
  .resort-facilities-list li {
    font-size: 0.78rem !important;
  }
  .facility-pointer {
    font-size: 0.85rem !important;
  }
}



