/**
 * Our Sky Lodge Domes Page Styles (Inspired by post ID 1814)
 * Theme: Salkantay Treks Peru
 * Version: 2.0.0
 */

.stp-domes-page {
  background-color: #f8fafc;
  color: #334155;
}

/* --------------------------------------------------------------------------
   Campsite Deep-Dive Showcase (Soraypampa, Chaullay, Loreta La Playa)
   -------------------------------------------------------------------------- */
.stp-campsite-block {
  padding: 5rem 0;
  border-bottom: 1px solid #eef2f6;
}

.stp-campsite-block:nth-child(even) {
  background: #ffffff;
}

.stp-campsite-block:nth-child(odd) {
  background: #f8fafc;
}

.stp-campsite-title {
  font-size: 2.35rem;
  font-weight: 850;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 0.35rem;
  letter-spacing: -0.5px;
}

.stp-campsite-sub {
  font-size: 1.05rem;
  font-weight: 750;
  color: #2d6a4f;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1.25rem;
}

.stp-campsite-desc {
  font-size: 1.025rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* 4-Item Icon Box Grid from Post 1814 */
.stp-specs-grid-1814 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 2rem;
}

.stp-spec-box-1814 {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.stp-campsite-block:nth-child(even) .stp-spec-box-1814 {
  background: #f8fafc;
}

.stp-spec-box-1814:hover {
  transform: translateY(-2px);
  border-color: #52b788;
}

.stp-spec-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stp-spec-icon-wrap.is-location {
  background: #fef2f2;
  color: #be5108;
}

.stp-spec-icon-wrap.is-altitude {
  background: #fefce8;
  color: #d29400;
}

.stp-spec-icon-wrap.is-domes {
  background: #d8f3dc;
  color: #2d6a4f;
}

.stp-spec-icon-wrap.is-capacity {
  background: #eff6ff;
  color: #2f6da4;
}

.stp-spec-icon-wrap.is-food {
  background: #f1f5f9;
  color: #717171;
}

.stp-spec-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #64748b;
  margin-bottom: 2px;
}

.stp-spec-value {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* Campsite Gallery Carousel & Grid */
.stp-campsite-gallery-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
  position: relative;
}

.stp-campsite-main-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.stp-campsite-gallery-wrap:hover .stp-campsite-main-img {
  transform: scale(1.03);
}

.stp-campsite-thumb-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.stp-campsite-thumb-item {
  height: 100px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  position: relative;
}

.stp-campsite-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.stp-campsite-thumb-item:hover img {
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   Comparison Matrix Table
   -------------------------------------------------------------------------- */
.stp-domes-matrix-section {
  padding: 5rem 0;
  background: #ffffff;
}

.stp-matrix-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.stp-matrix-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
}

.stp-matrix-table th {
  background: #0f172a;
  color: #ffffff;
  font-weight: 850;
  font-size: 1.05rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
}

.stp-matrix-table th:first-child {
  background: #1e293b;
  width: 25%;
}

.stp-matrix-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
  color: #334155;
}

.stp-matrix-table tr:nth-child(even) td {
  background: #f8fafc;
}

.stp-matrix-table tr:last-child td {
  border-bottom: none;
}

.stp-matrix-row-title {
  font-weight: 800;
  color: #0f172a;
}

/* --------------------------------------------------------------------------
   Engineering & Thermal Specs Grid
   -------------------------------------------------------------------------- */
.stp-domes-specs-section {
  padding: 5rem 0;
  background: #0f172a;
  color: #ffffff;
}

.stp-domes-specs-section .stp-section-heading {
  color: #ffffff;
}

.stp-domes-specs-section .stp-section-subheading {
  color: #94a3b8;
}

.stp-tech-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 2.25rem 1.75rem;
  transition: all 0.25s ease;
  height: 100%;
}

.stp-tech-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #52b788;
  transform: translateY(-4px);
}

.stp-tech-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(82, 183, 136, 0.15);
  color: #52b788;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.stp-tech-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.stp-tech-desc {
  font-size: 0.925rem;
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991.98px) {
  .stp-specs-grid-1814 {
    grid-template-columns: 1fr;
  }
  .stp-campsite-main-img {
    height: 300px;
  }
  .stp-matrix-card {
    overflow-x: auto;
  }
  .stp-matrix-table {
    min-width: 650px;
  }
}
