/* =====================================
   GLOBAL TYPOGRAPHY & SPACING
===================================== */
.text80 { font-size: 0.8rem; }
.text90 { font-size: 0.9rem; }
.text110 { font-size: 1.1rem; }
.section-gap { margin: 1.5rem 0; }

/* =====================================
   CONTENT CONSTRAIN
===================================== */
.content-constrain {
    max-width: 1000px;       /* limits content width */
    margin-left: auto;       /* centers horizontally */
    margin-right: auto;      /* centers horizontally */
    padding-left: 10px;      /* small padding for breathing room on small screens */
    padding-right: 10px;     /* small padding for breathing room on small screens */
    box-sizing: border-box;  /* ensures padding is included in width */
    width: 100%;             /* allows shrinking on smaller screens */
}

/* =====================================
   GOLD DESIGN SYSTEM (UNIFIED)
===================================== */
.gold-card,
.tab-btn,
.date-btn,
.option-card {
  border: 2px solid #d4af37;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  color: #333;   /* ✅ black text instead of gold */
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}

.gold-card:hover,
.tab-btn:hover,
.date-btn:hover,
.option-card:hover {
  transform: translateY(-2px);
  background: #fff7e6;
  border-color: #C19A6B;
}

/* ACTIVE GOLD STATE */
.gold-card.is-active,
.tab-btn.is-active,
.date-btn.is-active,
.option-card.is-active,
.option-card:has(input:checked) {
  background: linear-gradient(135deg, #b8860b, #d4af37);
  color: #fff;
  border-color: #b8860b;
  box-shadow: 0 8px 20px rgba(184,134,11,0.25);
}

/* Force all inner text white when active */
.gold-card.is-active *,
.tab-btn.is-active *,
.date-btn.is-active *,
.option-card.is-active *,
.option-card:has(input:checked) * {
  color: #fff !important;
}

/* =====================================
   TABS
===================================== */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  font-weight: 600;
}

/* Tab panels */
.estimator-tab { display: none; }
.estimator-tab.is-active { display: block; }

/* =====================================
   DATE OPTIONS
===================================== */
.date-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 15px;
}

/* =====================================
   OPTIONS GRID (ALL SECTIONS)
===================================== */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Hide inputs inside cards */
.option-card input {
  display: none;
}

/* Popular badge */
.option-card {
  position: relative;
}

.option-card.popular::after {
  content: "Most Popular";
  position: absolute;
  top: -10px;
  right: 10px;
  background-color: #b9975b;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 6px;
  border-radius: 4px;
  z-index: 5;
}

/* =====================================
   SLIDER (GUEST COUNT)
===================================== */
.guest-slider,
#guestCount {
  width: 100%;
  margin: 12px 0;
  height: 12px;
  border-radius: 6px;
  accent-color: #d4af37;
}

.guest-row { width: 100%; }

.guest-display-package,
#guestNumber {
  display: inline-block;
  margin-top: 5px;
  font-weight: bold;
}

/* =====================================
   RESULT BOX (TOTALS)
===================================== */
.result-box {
  background: #fff8e7;
  border: 2px solid #d4af37;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 25px;
}

.result-box h2 {
  font-size: 2.2rem;
  color: #b8860b;
  margin-bottom: 10px;
}

.result-box p {
  font-size: 0.9rem;
  margin: 4px 0;
}

.result-box .total-note {
  /*font-style: italic;*/
  font-size: 1rem;
  color: #555;
}

/* =====================================
   PACKAGE TABLE (CLEAN + FIXED)
===================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

.package-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  min-width: 700px;
}

.package-table th,
.package-table td {
  width: 25%;
  padding: 12px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #d4af37;
  word-wrap: break-word;
}

.package-table th {
  background: #fff8e7;
  font-weight: bold;
}

/* Sticky first column */
.package-table th:first-child,
.package-table td:first-child {
  position: sticky;
  left: 0;
  background: #fff8e7;
  z-index: 2;
  text-align: left;
}

/* Hover */
.package-table tbody tr:hover {
  background-color: #fffaf2;
}

/* =====================================
   MOBILE PACKAGE CARDS
===================================== */
.mobile-package-cards { display: none; }

@media (max-width: 768px) {
  .table-responsive { display: none; }
  .mobile-package-cards { display: block; }
    
/* =====================================
   MOBILE ACCORDION
===================================== */
.accordion-item {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  border: none;
  cursor: pointer;
  position: relative;
}

/* Chevron */
.accordion-header::after {
  content: "▼";
  position: absolute;
  right: 16px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

/* Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 12px 16px 16px;
}

/* Featured (Signature) */
.accordion-header.featured {
  background: linear-gradient(135deg, #b8860b, #d4af37);
  color: #fff;
}

.accordion-header.featured .badge {
  background: #fff;
  color: #b8860b;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 8px;
}
    

  .package-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    /*box-shadow: 0 5px 15px rgba(0,0,0,0.05);*/
  }

  .package-card.featured {
    border: 2px solid #b8860b;
    position: relative;
  }

  .package-card.featured .badge {
    position: absolute;
    top: -12px;
    right: 12px;
    background: #b8860b;
    color: #fff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
  }
}

/* =====================================
   PAYMENT BUTTON
===================================== */
.payment-section {
  text-align: center;
  margin: 40px auto 20px;
  padding: 20px 20px;
  max-width: 1000px;
}
.payment-note {
  text-align: left;
}
.pay-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 16px 34px;
  background: linear-gradient(135deg, #2e7d32, #388e3c);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  /*box-shadow: 0 8px 18px rgba(0,0,0,0.15);*/
  transition: all 0.25s ease;
}

.pay-btn:hover {
  transform: translateY(-2px);
}
/* Package / option descriptions */
.package-desc {
    text-align: left;
  font-weight: 400;     /* lighter */
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
}

.package-details {
  margin-top: 8px;
  padding-left: 18px;
  text-align: left;
}

.package-details li {
  font-weight: 400;     /* lighter list text */
  font-size: 0.9rem;
  line-height: 1.4;
  color: #555;
  margin-bottom: 4px;
}
.gold-card.is-active *,
.tab-btn.is-active *,
.date-btn.is-active *,
.option-card.is-active *,
.option-card:has(input:checked) * {
  color: #fff !important;
}
/* Left-align the "Everything..." description line in package cards */
.package-btn .package-desc {
  display: block;
  text-align: left;
}
/* Base: keep spans as blocks */
.package-btn .package-desc {
  display: block;
}

/* Price line (first .package-desc) = centered */
.package-btn .package-desc:first-of-type {
  text-align: center;
}

/* “Everything…” line (second .package-desc) = left */
.package-btn .package-desc:last-of-type {
  text-align: left;
}
/* Keep descriptions light even when active */
.option-card.is-active .package-desc,
.option-card.is-active .package-details li,
.option-card:has(input:checked) .package-desc,
.option-card:has(input:checked) .package-details li {
  font-weight: 400;
  opacity: 0.95;  /* slightly softer than headings */
}
.date-options .date-btn.is-active {
  background: linear-gradient(135deg, #b8860b, #d4af37);
  color: #fff;
  border-color: #b8860b;
}
/* Ensure popular badge always sits on top */
.option-card.popular::after {
  z-index: 10;       /* higher than most other elements */
}

/* Consolidate position: relative */
.option-card {
  position: relative; /* already done, fine */
}

/* Force unselected day button text black */
.date-btn {
  color: #333;        /* unselected */
}

/* Optional: keep popular badge slightly above card hover */
.option-card.popular::after {
  top: -12px;         /* small nudge for visibility */
  right: 12px;
}
/* =====================================
   MOBILE ACCORDION
===================================== */
.accordion-item {
  margin-bottom: 12px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fff;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  border: none;
  cursor: pointer;
  position: relative;
}

/* Chevron */
.accordion-header::after {
  content: "▼";
  position: absolute;
  right: 16px;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

/* Content */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 16px;
  transition: all 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 12px 16px 16px;
}

/* Featured (Signature) */
.accordion-header.featured {
  background: linear-gradient(135deg, #b8860b, #d4af37);
  color: #fff;
}

.accordion-header.featured .badge {
  background: #fff;
  color: #b8860b;
  font-size: 0.85rem;
  padding: 3px 8px;
  border-radius: 10px;
  margin-left: 8px;
}
/* Make the price above the description centered */
.option-card .package-desc {
  display: block;
}

/* Price line = centered */
.option-card .package-desc:first-of-type {
  text-align: center;
}

/* Description line = left-aligned */
.option-card .package-desc:last-of-type {
  text-align: left;
}
.guest-table-styling .option-card {
  text-align: left;       /* Align descriptions & details to left */
  padding: 1.25rem;
  border-radius: 1rem;
  /*box-shadow: 0 4px 10px rgba(0,0,0,0.05);*/
  cursor: pointer;
  transition: transform 0.2s ease;
}

.guest-table-styling .option-card:hover,
.guest-table-styling .option-card.is-active {
  transform: translateY(-2px);
  border: 2px solid #b8860b; /* luxury accent color */
}

.guest-table-styling .price {
  display: block;
  text-align: center;    /* Center price above description */
  font-weight: 600;
  margin: 0.25rem 0 0.75rem;
  color: #222;
}

.guest-table-styling .package-desc {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #555;
}

.guest-table-styling .package-details {
  list-style: disc;
  margin-left: 1.25rem;
  color: #333;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  /* Make cards tap-to-expand for mobile */
  .guest-table-styling .option-card ul.package-details {
    display: none;
  }

  .guest-table-styling .option-card.is-active ul.package-details {
    display: block;
  }
}
/* The fix on some of the padding issues */
@media (max-width: 768px) {

  /* Reduce global page padding */
  body, html {
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
  }

  /* Target common layout wrappers */
  .container,
  .section,
  .row,
  .wrapper {
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
  }
}
@media (max-width: 768px) {

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section .container,
  .section .row {
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 100% !important;
    width: 100% !important;
  }
}
@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
  }

  .tab-group {
    grid-template-columns: 1fr;
  }

  .form-wrapper {
    margin: 20px 12px;
    padding: 16px;
  }
}
.styled-select {
  min-height: 120px;
}
 /* BAR CALCULATOR BOX */
/* BAR ESTIMATOR – TAB ROW LAYOUT */
#bar-estimator .tab-group {
  display: flex;
  flex-wrap: wrap;            /* allows wrapping on mobile */
  gap: 10px;
  margin-top: 10px;
}

/* Make each button share space evenly */
#bar-estimator .tab-btn {
  flex: 1;
  min-width: 70px;            /* prevents tiny buttons */
  padding: 12px 10px;
  font-size: 0.95rem;
  letter-spacing: 0.3px;  
}

/* Optional: tighter rows on mobile */
@media (max-width: 768px) {
  #bar-estimator .result-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#bar-estimator .estimator-results {
  margin-top: 25px;
}

#bar-estimator .result-card {
  background: #fdfbf7;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

#bar-estimator .result-highlight {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 10px 0 20px;
}

#bar-estimator .result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

#bar-estimator .result-grid div {
  font-size: 0.95rem;
}

#bar-estimator .result-note {
  font-size: 0.85rem;
  color: #777;
}
#bar-estimator .result-subtext {
  font-size: 1rem;
  color: #555;
  margin: 5px 0 15px;
  font-weight: 500;
  text-align: center;
}
/* ==============================
   BAR ESTIMATOR TABS ACTIVE STYLE
================================= */
#bar-estimator .tab-btn.active {
  background: linear-gradient(135deg, #b8860b, #d4af37);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(184,134,11,0.3);
  transform: translateY(-2px);
  border-color: #b8860b;
}

/* Optional: smooth hover effect for all tabs */
#bar-estimator .tab-btn {
  transition: all 0.25s ease;
}
#bar-estimator .tab-btn:hover {
  background: #fff7e6;
  border-color: #C19A6B;
  transform: translateY(-2px);
}