/* ══════════════════════════════════════════════
   PLAN YOUR EVENT — PAGE-SPECIFIC STYLES
   ══════════════════════════════════════════════ */

/* ── Page Hero ── */
.page-hero {
  position: relative;
  min-height: 40vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 150px 24px 70px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgb(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgb(201, 168, 76, 0.05) 0%, transparent 50%), var(--black);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 7vw, 5rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--grey-light);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Particles */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 12px 4px rgb(201, 168, 76, 0.6),
    0 0 30px 8px rgb(201, 168, 76, 0.25);
  animation: floatUp ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 5%;
  width: 8px;
  height: 8px;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  left: 15%;
  width: 10px;
  height: 10px;
  animation-delay: 2s;
  animation-duration: 14s;
}

.particle:nth-child(3) {
  left: 25%;
  width: 7px;
  height: 7px;
  animation-delay: 4s;
  animation-duration: 11s;
}

.particle:nth-child(4) {
  left: 35%;
  width: 12px;
  height: 12px;
  animation-delay: 1s;
  animation-duration: 15s;
}

.particle:nth-child(5) {
  left: 45%;
  width: 9px;
  height: 9px;
  animation-delay: 3s;
  animation-duration: 13s;
}

.particle:nth-child(6) {
  left: 55%;
  width: 7px;
  height: 7px;
  animation-delay: 5.5s;
  animation-duration: 14.5s;
}

.particle:nth-child(7) {
  left: 65%;
  width: 9px;
  height: 9px;
  animation-delay: 0.5s;
  animation-duration: 11.5s;
}

.particle:nth-child(8) {
  left: 75%;
  width: 13px;
  height: 13px;
  animation-delay: 2.5s;
  animation-duration: 16s;
}

.particle:nth-child(9) {
  left: 85%;
  width: 8px;
  height: 8px;
  animation-delay: 4.5s;
  animation-duration: 12s;
}

.particle:nth-child(10) {
  left: 92%;
  width: 10px;
  height: 10px;
  animation-delay: 1.5s;
  animation-duration: 14s;
}

@keyframes floatUp {
  0% {
    bottom: -5%;
    opacity: 0;
    transform: translateX(0) scale(0.3);
  }

  8% {
    opacity: 1;
    transform: scale(1);
  }

  25% {
    opacity: 1;
    transform: translateX(12px);
  }

  50% {
    opacity: 0.9;
    transform: translateX(-8px);
  }

  75% {
    opacity: 0.7;
    transform: translateX(15px);
  }

  92% {
    opacity: 0.3;
  }

  100% {
    bottom: 105%;
    opacity: 0;
    transform: translateX(-5px) scale(0.5);
  }
}

.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

/* ── Form Section ── */
.form-section {
  padding: 60px 24px 100px;
  background: var(--black);
}

.form-outer {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Progress Bar ── */
.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  padding: 0 20px;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.progress-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--charcoal);
  background: var(--black-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--grey);
  transition: all 0.4s ease;
}

.progress-step.active .progress-dot {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.progress-step.done .progress-dot {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.progress-step-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-top: 8px;
  white-space: nowrap;
  transition: color 0.3s;
}

.progress-step.active .progress-step-label,
.progress-step.done .progress-step-label {
  color: var(--gold);
}

.progress-line {
  flex: 1;
  height: 1px;
  background: var(--charcoal);
  margin: 0 -4px;
  margin-bottom: 20px;
  transition: background 0.4s;
}

.progress-line.filled {
  background: var(--gold);
}

/* ── Form Card ── */
.form-card {
  background: var(--black-soft);
  border: 1px solid var(--charcoal);
  border-radius: 16px;
  padding: 48px 44px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.form-step {
  display: none;
  animation: fadeIn 0.4s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Step Header ── */
.step-header {
  margin-bottom: 32px;
}

.step-number {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  display: block;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 6px;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey);
  font-weight: 300;
  line-height: 1.6;
}

/* ── Fields ── */
.field-group {
  margin-bottom: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.field-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-bottom: 10px;
}

.field-label .optional {
  color: var(--grey-dark);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.05em;
}

.field-input,
.field-textarea,
.field-select {
  width: 100%;
  padding: 14px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--charcoal);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  border-bottom-color: var(--gold);
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--grey-dark);
}

.field-textarea {
  resize: vertical;
  min-height: 80px;
}

/* ── Check / Radio Items ── */
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.check-item {
  position: relative;
}

.check-item input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.check-item label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--grey-light);
  background: var(--black-rich);
  border: 1px solid var(--charcoal);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.check-item input:checked + label {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgb(201, 168, 76, 0.06);
  box-shadow: 0 0 15px var(--gold-glow);
}

.check-item label:hover {
  border-color: rgb(201, 168, 76, 0.3);
}

.check-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--charcoal);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  flex-shrink: 0;
}

.check-item input:checked + label .check-box {
  background: var(--gold);
  border-color: var(--gold);
}

.check-box svg {
  width: 10px;
  height: 10px;
  stroke: var(--black);
  stroke-width: 3;
  fill: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.check-item input:checked + label .check-box svg {
  opacity: 1;
}

.radio-item label .check-box {
  border-radius: 50%;
}

.radio-item input:checked + label .check-box {
  background: transparent;
  border-color: var(--gold);
  position: relative;
}

.radio-item input:checked + label .check-box::after {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  position: absolute;
}

.radio-item input:checked + label .check-box svg {
  opacity: 0;
}

/* ── Conditionals ── */
.other-specify {
  margin-top: 10px;
  display: none;
}

.other-specify.show {
  display: block;
}

.conditional {
  display: none;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--charcoal);
  animation: fadeIn 0.3s;
}

.conditional.show {
  display: block;
}

/* ── Package Options ── */
.package-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.package-option {
  position: relative;
}

.package-option input {
  position: absolute;
  opacity: 0;
}

.package-option label {
  display: block;
  padding: 20px 16px;
  background: var(--black-rich);
  border: 1px solid var(--charcoal);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}

.package-option input:checked + label {
  border-color: var(--gold);
  background: rgb(201, 168, 76, 0.06);
  box-shadow: 0 0 20px var(--gold-glow);
}

.package-option label:hover {
  border-color: rgb(201, 168, 76, 0.3);
}

.pkg-name {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 4px;
  display: block;
}

.pkg-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  display: block;
}

.pkg-desc {
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--grey);
  margin-top: 6px;
  display: block;
  line-height: 1.4;
}

/* ── Form Navigation ── */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--charcoal);
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s;
  padding: 10px 0;
}

.btn-back:hover {
  color: var(--gold);
}

.btn-back svg {
  width: 16px;
  height: 16px;
  stroke: currentcolor;
  fill: none;
  stroke-width: 2;
}

.btn-back.hidden {
  visibility: hidden;
}

.btn-next {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 16px 40px;
  background: var(--gold);
  color: var(--black);
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-out);
}

.btn-next:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}

/* ── Disclaimer ── */
.disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 28px;
  cursor: pointer;
}

.disclaimer input {
  margin-top: 3px;
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.disclaimer span {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--grey-light);
  font-weight: 300;
  line-height: 1.5;
}

/* ── Summary (extracted from inline style) ── */
#form-summary {
  margin-bottom: 28px;
}

/* ── Success State ── */
.form-success {
  display: none;
  text-align: center;
  padding: 60px 20px;
  animation: fadeIn 0.5s;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: scaleIn 0.5s ease 0.2s both;
}

@keyframes scaleIn {
  from {
    transform: scale(0.5);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.success-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
}

.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.form-success p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--grey-light);
  font-weight: 300;
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Summary Rows ── */
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--charcoal);
  gap: 16px;
}

.summary-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  min-width: 120px;
}

.summary-value {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--grey-light);
  font-weight: 300;
  text-align: right;
  word-break: break-word;
}

/* ── Responsive ── */
@media (width <= 768px) {
  .page-hero {
    padding: 130px 20px 50px;
    min-height: 35vh;
  }

  .form-card {
    padding: 36px 24px;
  }

  .field-row,
  .package-options {
    grid-template-columns: 1fr;
  }

  .progress-step-label {
    display: none;
  }

  .progress-dot {
    width: 28px;
    height: 28px;
    font-size: 0.55rem;
  }

  .check-group {
    flex-direction: column;
  }
}

@media (width <= 480px) {
  .form-card {
    padding: 28px 18px;
  }

  .step-title {
    font-size: 1.4rem;
  }

  .btn-next {
    padding: 14px 28px;
    font-size: 0.75rem;
  }
}
