/* ==========================================================================
   NAMÍBIA ADVENTURE - TRIP PLANNER, BUDGET & PACKING STYLES
   ========================================================================== */

/* ==========================================================================
   INTERACTIVE SMART TRIP PLANNER
   ========================================================================== */
.planner-builder-card {
  background: var(--color-dark-800);
  border: 1px solid rgba(230, 167, 96, 0.3);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
}

.planner-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.plan-step-box {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.plan-step-box label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-sand);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-control-select, .plan-control-input {
  width: 100%;
  background: rgba(13, 16, 19, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  color: #FFFFFF;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}

.plan-control-select:focus, .plan-control-input:focus {
  border-color: var(--color-sand);
}

.plan-control-select option {
  background: var(--color-dark-900);
  color: #FFFFFF;
}

/* Attraction Selection Tags in Planner */
.planner-attractions-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 2rem 0;
}

.attraction-toggle-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.15rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  color: var(--color-text-sand);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.attraction-toggle-tag.selected {
  background: rgba(217, 107, 39, 0.25);
  border-color: var(--color-desert-dune);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(217, 107, 39, 0.3);
}

/* Generated Itinerary Output Box */
.planner-results-box {
  background: rgba(13, 16, 19, 0.8);
  border: 1px solid rgba(230, 167, 96, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-top: 2rem;
}

.generated-days-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gen-day-card {
  background: var(--color-dark-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.gen-day-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-sand-light);
}

.gen-day-details {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================================
   DYNAMIC BUDGET CALCULATOR
   ========================================================================== */
.budget-calculator-card {
  background: var(--color-dark-800);
  border: 1px solid rgba(230, 167, 96, 0.3);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.budget-header-bar {
  background: rgba(13, 16, 19, 0.7);
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.currency-toggle-group {
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 0.25rem;
}

.curr-btn {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.curr-btn.active {
  background: var(--color-desert-dune);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(217, 107, 39, 0.4);
}

.budget-content-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
}

/* Sliders & Inputs */
.budget-sliders-column {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.slider-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-sand);
}

.slider-header strong {
  color: var(--color-sand);
  font-size: 1.05rem;
}

.budget-range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  outline: none;
}

.budget-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-desert-dune);
  border: 2px solid #FFFFFF;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(217, 107, 39, 0.8);
  transition: transform var(--transition-fast);
}

.budget-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Cost Breakdown Summary Card */
.budget-summary-box {
  background: rgba(13, 16, 19, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cost-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--color-text-sand);
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.cost-item span:first-child {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-text-muted);
}

.cost-item span:first-child i {
  color: var(--color-sand);
  width: 16px;
}

.cost-item strong {
  font-family: var(--font-heading);
  color: #FFFFFF;
}

.total-cost-banner {
  background: linear-gradient(135deg, rgba(217, 107, 39, 0.25) 0%, rgba(230, 167, 96, 0.15) 100%);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}

.total-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--color-sand);
}

.total-per-person {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.total-val-display {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-sand-light);
  line-height: 1;
}

/* ==========================================================================
   INTERACTIVE PACKING CHECKLIST
   ========================================================================== */
.packing-container {
  background: var(--color-dark-800);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.packing-category-tabs {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.packing-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.packing-tab-btn.active {
  background: rgba(230, 167, 96, 0.2);
  border-color: var(--color-sand);
  color: var(--color-sand-light);
}

.packing-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.packing-item-card {
  background: rgba(13, 16, 19, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.packing-item-card:hover {
  background: rgba(22, 28, 34, 0.85);
  border-color: rgba(230, 167, 96, 0.3);
}

.packing-item-card.completed {
  background: rgba(43, 76, 56, 0.2);
  border-color: #4A7C59;
}

.packing-checkbox {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.packing-item-card.completed .packing-checkbox {
  background: #5cecd9;
  border-color: #5cecd9;
  color: #111417;
}

.packing-text {
  font-size: 0.92rem;
  color: var(--color-text-sand);
  line-height: 1.4;
}

.packing-item-card.completed .packing-text {
  color: var(--color-text-muted);
  text-decoration: line-through;
}

/* ==========================================================================
   CINEMATIC GALLERY
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 16, 19, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-photo-title {
  font-size: 1.05rem;
  color: #FFFFFF;
}

.gallery-photo-loc {
  font-size: 0.8rem;
  color: var(--color-sand);
}
