/* ==========================================================================
   HEAVEN TRIP — CUSTOMIZER STYLESHEET (customizer.css)
   Interactive 10-Step Custom Tour Package Builder
   ========================================================================== */

.customizer-section {
  padding: 5rem 0;
  background: var(--color-surface-sand);
}

.customizer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 992px) {
  .customizer-layout {
    grid-template-columns: 1.8fr 1fr;
    align-items: start;
  }
}

.customizer-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
  padding: 2.5rem 2rem;
}

@media (max-width: 640px) {
  .customizer-card {
    padding: 1.75rem 1.25rem;
  }
}

/* Stepper Progress Bar */
.stepper-header {
  margin-bottom: 2.5rem;
}

.stepper-progress-track {
  width: 100%;
  height: 8px;
  background: var(--color-border-light);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 1rem;
}

.stepper-progress-fill {
  height: 100%;
  width: 10%;
  background: linear-gradient(90deg, var(--color-blue-vibrant), var(--color-teal-primary));
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

.stepper-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stepper-current-step-name {
  color: var(--color-navy-950);
  font-weight: 800;
}

/* Step Panes */
.step-pane {
  display: none;
  animation: fadeInStep 0.35s ease forwards;
}

.step-pane.is-active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-navy-950);
  margin-bottom: 0.4rem;
}

.step-subheading {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
}

/* Form Option Grids & Chips */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.85rem;
}

.option-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border-light);
  background: var(--color-surface-offwhite);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  user-select: none;
}

.option-chip:hover {
  border-color: var(--color-blue-light);
  background: #FFFFFF;
  transform: translateY(-2px);
}

.option-chip.is-selected {
  border-color: var(--color-blue-vibrant);
  background: var(--color-blue-subtle);
  color: var(--color-blue-primary);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
  font-weight: 700;
}

.option-chip svg {
  width: 24px;
  height: 24px;
  margin-bottom: 0.5rem;
  color: var(--color-text-subtle);
  transition: color var(--transition-fast);
}

.option-chip.is-selected svg {
  color: var(--color-blue-vibrant);
}

.option-chip-label {
  font-size: 0.88rem;
  font-weight: 600;
}

/* Destination Quick Select Cards */
.dest-select-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}

.dest-select-card {
  position: relative;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
}

.dest-select-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dest-select-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(10, 25, 47, 0.8) 100%);
}

.dest-select-title {
  position: absolute;
  bottom: 0.6rem;
  left: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 700;
}

.dest-select-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-blue-light);
}

.dest-select-card.is-selected {
  border-color: var(--color-blue-vibrant);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

/* Number Counter for Travellers */
.counter-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.counter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--color-surface-offwhite);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
}

.counter-label h4 {
  font-size: 1rem;
  color: var(--color-navy-950);
}

.counter-label p {
  font-size: 0.82rem;
  color: var(--color-text-subtle);
}

.counter-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.counter-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.5px solid var(--color-border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy-950);
  transition: all var(--transition-fast);
}

.counter-btn:hover {
  background: var(--color-navy-950);
  color: #FFFFFF;
  border-color: var(--color-navy-950);
}

.counter-val {
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 24px;
  text-align: center;
}

/* Form Inputs within Steps */
.custom-form-group {
  margin-bottom: 1.25rem;
}

.custom-form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy-950);
  margin-bottom: 0.4rem;
}

.custom-input {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--color-border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--color-navy-950);
  background: var(--color-surface-offwhite);
  outline: none;
  transition: all var(--transition-fast);
}

.custom-input:focus {
  border-color: var(--color-blue-vibrant);
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

/* Stepper Navigation Buttons */
.stepper-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
}

/* Live Trip Summary Sidebar */
.trip-summary-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}

.summary-title {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-subtitle {
  font-size: 0.82rem;
  color: var(--color-teal-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.summary-items-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.88rem;
}

.summary-row-label {
  color: var(--color-text-subtle);
  font-weight: 500;
}

.summary-row-val {
  color: var(--color-navy-950);
  font-weight: 700;
  text-align: right;
  max-width: 180px;
}

.expert-notice-box {
  background: var(--color-teal-subtle);
  border: 1px solid rgba(13, 148, 136, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--color-teal-dark);
  margin-bottom: 1.25rem;
}

.expert-notice-box strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
