/* =========================
   PRICING PAGE BASE
========================= */

.pricing-section {
    background: var(--muted-1);
    font-family: "Barlow", sans-serif;
}

.pricing-section h1 {
    color: var(--brand-dark);
    font-weight: 700;
}

.pricing-section h6 {
    color: var(--brand-green);
    font-weight: 600;
    letter-spacing: 1px;
}

/* =========================
   TAB STRUCTURE
========================= */

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.pricing-tab-block {
    text-align: center;
}

.tab-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* =========================
   TOGGLE BUTTONS
========================= */

.pricing-toggle {
    display: inline-flex;
    background: #ffffff;
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    color: #516171;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #092032;
}

.tab-btn.active {
    background: var(--brand-green);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(var(--brand-green-rgb),0.35);
}

/* =========================
   PRICING CARDS
========================= */

.pricing-card {
    transition: transform 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
}

.card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(0,0,0,0.08);
    position: relative;
}

/* Popular badge and emphasized card */
.badge-popular {
    position: absolute;
    right: 16px;
    top: 16px;
    background: linear-gradient(180deg,var(--brand-orange),#f59e00);
    color: #092032;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    z-index: 5;
}

.pricing-card.popular .card {
    transform: translateY(-6px);
    box-shadow: 0 18px 48px rgba(4,20,34,0.12);
    border: 1px solid rgba(76,186,74,0.12);
}

.pricing-card.popular .price {
    font-size: 1.9rem;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 24px;
}

.card-title {
    font-weight: 700;
    margin-bottom: 8px;
    color: #092032;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-green);
    margin-bottom: 16px;
}

/* =========================
   FEATURES LIST
========================= */

.features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.features li {
    font-size: 0.9rem;
    color: #516171;
    margin-bottom: 8px;
}

.features i {
    color: var(--brand-green);
    margin-right: 8px;
}

/* =========================
   BUTTON
========================= */

.btn-brand {
    background-color: var(--brand-green);
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    padding: 12px;
    transition: background 0.2s ease;
}

.btn-brand:hover {
    background-color: var(--brand-green-dark);
    color: #ffffff;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
    .pricing-tabs {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .pricing-toggle {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* =========================
   BOOKING MODAL
========================= */

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
}

.booking-modal.active {
  display: block;
}

.booking-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.booking-modal-content {
  position: relative;
  max-width: 420px;
  background: #ffffff;
  margin: 8vh auto;
  padding: 32px;
  border-radius: 16px;
  z-index: 1;
}

/* 3D viewer modal */
.viewer-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
}
.viewer-modal.active { display: block; }
.viewer-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.65); }
.viewer-modal-content {
    position: relative;
    max-width: 1000px;
    width: calc(100% - 48px);
    background: #071827;
    margin: 6vh auto;
    padding: 18px;
    border-radius: 12px;
    z-index: 1;
}
.viewer-modal-content model-viewer { width: 100%; height: 620px; background: #000; border-radius: 8px; }
.viewer-close { position: absolute; top: 10px; right: 12px; background: none; border: none; color: #fff; font-size: 22px; }

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

.booking-summary p {
  margin-bottom: 8px;
}

.booking-total {
  font-size: 1.1rem;
  font-weight: 600;
  color: #092032;
}
