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

/* ── Page Hero ── */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
  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(3rem, 8vw, 6rem);
  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.2rem;
  font-weight: 300;
  color: var(--grey-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Floating 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;
}

.particle:nth-child(11) {
  left: 10%;
  width: 9px;
  height: 9px;
  animation-delay: 6s;
  animation-duration: 11s;
}

.particle:nth-child(12) {
  left: 50%;
  width: 11px;
  height: 11px;
  animation-delay: 3.5s;
  animation-duration: 13s;
}

@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 active state ── */
.nav-links a.active {
  color: var(--gold);
}

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

/* ── Event Types Section ── */
.event-types-section {
  padding: 80px 24px 40px;
  background: var(--black);
}

.event-types-container {
  max-width: 1100px;
  margin: 0 auto;
}

.event-types-intro {
  text-align: center;
  margin-bottom: 60px;
}

.event-types-intro .ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-diamond {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.event-types-intro p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--grey-light);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

/* Event type cards grid */
.event-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 80px;
}

.event-type-card {
  position: relative;
  background: var(--black-soft);
  border: 1px solid var(--charcoal);
  border-radius: 10px;
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.event-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.5s ease;
}

.event-type-card:hover::before,
.event-type-card.selected::before {
  width: 100%;
}

.event-type-card:hover,
.event-type-card.selected {
  border-color: rgb(201, 168, 76, 0.4);
  transform: translateY(-3px);
  box-shadow:
    0 10px 30px rgb(0, 0, 0, 0.3),
    0 0 20px var(--gold-glow);
}

.event-type-card.selected {
  background: rgb(201, 168, 76, 0.06);
}

.event-type-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--charcoal);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.event-type-card:hover .event-type-icon,
.event-type-card.selected .event-type-icon {
  border-color: var(--gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

.event-type-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.event-type-card:hover .event-type-icon svg,
.event-type-card.selected .event-type-icon svg {
  stroke: var(--gold-light);
}

.event-type-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
}

.event-type-card:hover h3,
.event-type-card.selected h3 {
  color: var(--gold-light);
}

/* Selected checkmark */
.event-type-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.3s ease;
}

.event-type-card.selected .event-type-check {
  opacity: 1;
  transform: scale(1);
}

.event-type-check svg {
  width: 12px;
  height: 12px;
  stroke: var(--black);
  stroke-width: 2.5;
  fill: none;
}

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

.plan-form-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 48px;
  border: 1px solid var(--charcoal);
  border-radius: 16px;
  background: var(--black-rich);
  position: relative;
  overflow: hidden;
}

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

.plan-form-header {
  text-align: center;
  margin-bottom: 40px;
}

.plan-form-header h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 8px;
}

.plan-form-header p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--grey);
  font-weight: 300;
}

.plan-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Selected event type display */
.selected-event-display {
  padding: 14px 0;
  border-bottom: 1px solid var(--charcoal);
  position: relative;
}

.selected-event-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}

.selected-event-value {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  font-weight: 300;
}

.selected-event-value.placeholder {
  color: var(--grey);
  font-style: italic;
}

/* Hidden input for event type */
#form-event-type {
  display: none;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

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

.form-success .success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.form-success p {
  font-size: 0.95rem;
  color: var(--grey-light);
}

/* ── Responsive ── */
@media (width <= 992px) {
  .event-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (width <= 768px) {
  .page-hero {
    min-height: 38vh;
    padding: 140px 20px 60px;
  }

  .event-types-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .event-type-card {
    padding: 24px 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .plan-form-container {
    padding: 36px 24px;
  }
}

@media (width <= 480px) {
  .event-types-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .event-type-card {
    padding: 20px 12px;
  }

  .event-type-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
  }

  .event-type-icon svg {
    width: 18px;
    height: 18px;
  }

  .event-type-card h3 {
    font-size: 0.95rem;
  }
}
