/* ============================================================
   KC WELLNESS MEDICAL SPA — SUMMER BASH 2026
   ============================================================ */

/* --- VARIABLES --------------------------------------------- */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E8D48B;
  --gold-dark:   #8B6914;
  --black:       #080808;
  --black-mid:   #111111;
  --pink:        #D4307A;
  --pink-light:  #F06FA8;
  --cream:       #F5EDD6;
  --white:       #FFFFFF;

  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Raleway', sans-serif;

  --ease: 0.3s ease;
}

/* --- RESET & BASE ------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--black);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
em { font-style: italic; }

/* --- SHARED: DIAMOND DIVIDER ------------------------------- */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

.diamond {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.divider-line {
  display: inline-block;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.divider.small .divider-line { width: 36px; }
.divider.small .diamond { width: 5px; height: 5px; }

/* --- SHARED: PAGE-LOAD FADE-UP ----------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  animation: fadeUp 0.85s ease forwards;
}

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

/* Animation delays for hero stagger */
.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.5s;  }
.delay-4 { animation-delay: 1.0s;  }
.delay-5 { animation-delay: 1.4s;  }

/* --- SHARED: SCROLL REVEAL --------------------------------- */
.scroll-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.scroll-reveal.delay-1 { transition-delay: 0.15s; }
.scroll-reveal.delay-2 { transition-delay: 0.30s; }
.scroll-reveal.delay-3 { transition-delay: 0.45s; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 24px 100px;
}

/* Radial gold glow — center top */
.hero-glow-top {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 52% at 50% -2%, rgba(201,168,76,0.17) 0%, transparent 70%);
  pointer-events: none;
}

/* 45° diagonal line texture */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent 0px,
    transparent 39px,
    rgba(201,168,76,0.027) 39px,
    rgba(201,168,76,0.027) 40px
  );
  pointer-events: none;
}

/* Pink glow — bottom right */
.hero-glow-pink {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 40% at 96% 100%, rgba(212,48,122,0.13) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-logo {
  width: 260px;
  max-width: 78vw;
  filter: drop-shadow(0 0 28px rgba(201,168,76,0.32));
  margin-bottom: 8px;
}

.hero-the {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 3.5vw, 30px);
  color: var(--cream);
  opacity: 0.65;
  letter-spacing: 5px;
  margin-top: 10px;
}

/* SUMMER BASH — shimmer + fade-up managed entirely here */
.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(50px, 11vw, 94px);
  letter-spacing: clamp(4px, 1.2vw, 12px);
  text-transform: uppercase;
  line-height: 1;
  margin-top: 6px;

  /* Shimmer gradient on text */
  background: linear-gradient(
    90deg,
    var(--gold-dark)  0%,
    var(--gold)       22%,
    var(--gold-light) 42%,
    #FFF8E2           50%,
    var(--gold-light) 58%,
    var(--gold)       78%,
    var(--gold-dark)  100%
  );
  background-size: 260% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  /* Fade up first, then shimmer kicks in */
  opacity: 0;
  transform: translateY(26px);
  animation:
    fadeUp    0.85s ease    0.75s forwards,
    shimmer   5.5s  linear  1.6s  infinite;
}

@keyframes shimmer {
  0%   { background-position: 220% center; }
  100% { background-position: -220% center; }
}

/* Date block */
.hero-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  gap: 3px;
}

.save-the-date {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--pink);
  text-transform: uppercase;
}

.month-day {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 6.5vw, 52px);
  color: var(--white);
  letter-spacing: 4px;
  line-height: 1.1;
}

.year {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 15px;
  letter-spacing: 8px;
  color: var(--gold);
}

.date-accent {
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--pink), transparent);
  margin-top: 12px;
}

/* Animated scroll cue */
.scroll-cue {
  margin-top: 52px;
  display: flex;
  justify-content: center;
}

.scroll-dot {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  animation: bounce 1.9s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0);    opacity: 0.85; }
  50%       { transform: translateY(11px); opacity: 0.35; }
}


/* ============================================================
   EVENT DETAILS STRIP
   ============================================================ */
.details {
  background: var(--black-mid);
  border-top:    1px solid rgba(201,168,76,0.38);
  border-bottom: 1px solid rgba(201,168,76,0.38);
  padding: 40px 24px;
}

.details-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  flex-wrap: wrap;
}

.detail-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 160px;
  gap: 5px;
}

.detail-icon {
  font-size: 18px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 2px;
}

.detail-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
}

.detail-value {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--cream);
  font-weight: 400;
  line-height: 1.45;
}

.detail-sep {
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, transparent, rgba(201,168,76,0.45), transparent);
  flex-shrink: 0;
}


/* ============================================================
   PERKS SECTION
   ============================================================ */
.perks {
  background: var(--black);
  padding: 96px 24px 104px;
}

.perks-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-italic {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--cream);
  opacity: 0.65;
  letter-spacing: 3px;
}

.section-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 4.5vw, 44px);
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.card {
  position: relative;
  background: rgba(201,168,76,0.04);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 1px;
  padding: 40px 40px 40px 54px;
  overflow: hidden;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.card:hover {
  border-color: rgba(201,168,76,0.48);
  box-shadow: 0 0 40px rgba(201,168,76,0.06);
}

/* Left accent bar: gold → pink gradient */
.card-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--gold), var(--pink));
}

/* Large faded background number */
.card-number {
  position: absolute;
  right: 20px;
  bottom: 6px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 90px;
  color: rgba(201,168,76,0.055);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  letter-spacing: -2px;
}

.card-body {
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 3px;
  padding: 3px 10px;
  border-radius: 1px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.badge.pink {
  background: rgba(212,48,122,0.13);
  border: 1px solid rgba(212,48,122,0.48);
  color: var(--pink-light);
}

.badge.gold {
  background: rgba(201,168,76,0.09);
  border: 1px solid rgba(201,168,76,0.38);
  color: var(--gold-light);
}

.card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(17px, 2.2vw, 22px);
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.card-text {
  font-family: var(--font-body);
  font-size: 17px;
  color: rgba(245,237,214,0.78);
  line-height: 1.75;
  font-weight: 300;
}


/* ============================================================
   RSVP FORM SECTION
   ============================================================ */
.rsvp {
  background: var(--black-mid);
  padding: 96px 24px 104px;
}

.rsvp-label {
  text-align: center;
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 6px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.rsvp-box {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  border: 1px solid rgba(201,168,76,0.32);
  padding: 56px 48px;
  background: rgba(8,8,8,0.55);
}

/* Corner diamond ornaments */
.corner {
  position: absolute;
  font-size: 9px;
  color: var(--gold);
  line-height: 1;
}
.corner.tl { top: -5px;  left: -4px;  }
.corner.tr { top: -5px;  right: -4px; }
.corner.bl { bottom: -5px; left: -4px;  }
.corner.br { bottom: -5px; right: -4px; }

.form-eyebrow {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  color: rgba(245,237,214,0.55);
  text-align: center;
  letter-spacing: 2px;
}

.form-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 3vw, 32px);
  letter-spacing: 4px;
  color: var(--gold-light);
  text-align: center;
  margin-top: 4px;
  margin-bottom: 36px;
}

/* Field layout */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  position: relative;
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.req {
  color: var(--pink);
  font-size: 12px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: 1px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--cream);
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field input::placeholder {
  color: rgba(245,237,214,0.25);
}

.field input:focus {
  border-color: rgba(201,168,76,0.65);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.07), 0 0 18px rgba(201,168,76,0.05);
}

.field input.error {
  border-color: rgba(212,48,122,0.55);
}

.field-error {
  display: block;
  font-family: var(--font-ui);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--pink-light);
  margin-top: 5px;
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.field-error.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Phone row: country code + number */
.phone-row {
  display: flex;
  gap: 0;
}

.country-code-select {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(201,168,76,0.22);
  border-right: none;
  border-radius: 1px 0 0 1px;
  padding: 13px 10px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--cream);
  outline: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23C9A84C' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
}

.country-code-select option {
  background: #1a1208;
  color: var(--cream);
}

.country-code-select:focus {
  border-color: rgba(201,168,76,0.65);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.07);
  z-index: 1;
}

.phone-row input[type="tel"] {
  border-radius: 0 1px 1px 0;
  flex: 1;
  min-width: 0;
}

/* Yes / No pill toggle */
.toggle-group {
  display: flex;
  margin-top: 2px;
}

.toggle {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(201,168,76,0.25);
  color: rgba(245,237,214,0.4);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 3px;
  padding: 11px 0;
  cursor: pointer;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.toggle:first-child {
  border-right: none;
  border-radius: 1px 0 0 1px;
}

.toggle:last-child {
  border-radius: 0 1px 1px 0;
}

.toggle.active {
  background: rgba(201,168,76,0.11);
  border-color: rgba(201,168,76,0.65);
  color: var(--gold-light);
}

.toggle:hover:not(.active) {
  border-color: rgba(201,168,76,0.4);
  color: rgba(245,237,214,0.65);
}

/* Friend name — slides open when "Yes" selected */
.friend-field {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-bottom: 0;
  transition: max-height 0.38s ease, opacity 0.28s ease, margin-bottom 0.28s ease;
}

.friend-field.open {
  max-height: 110px;
  opacity: 1;
  margin-bottom: 20px;
}

/* Submit button */
.submit-btn {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 18px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  border: none;
  border-radius: 1px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--black);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--ease), box-shadow var(--ease), transform 0.1s ease;
}

.submit-btn:hover {
  background: linear-gradient(90deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 0 28px rgba(201,168,76,0.28);
}

.submit-btn:active {
  transform: translateY(1px);
}

.form-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(245,237,214,0.4);
  margin-top: 14px;
  font-weight: 300;
}

/* Success state */
.success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 44px 0;
}

.success.visible {
  display: flex;
  animation: successIn 0.55s ease forwards;
}

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

.check-svg {
  width: 70px;
  height: 70px;
  margin-bottom: 24px;
}

.check-circle {
  stroke: rgba(201,168,76,0.28);
  stroke-width: 1.5;
}

.check-path {
  stroke: var(--gold);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 46;
  stroke-dashoffset: 46;
  animation: drawCheck 0.55s ease 0.3s forwards;
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.success-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 4px;
  color: var(--gold-light);
}

.success-sub {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 300;
  font-size: 20px;
  color: rgba(245,237,214,0.6);
  margin-top: 8px;
  letter-spacing: 1px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(201,168,76,0.28);
  padding: 60px 24px 40px;
}

.footer-inner {
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-logo {
  width: 155px;
  opacity: 0.82;
  filter: drop-shadow(0 0 10px rgba(201,168,76,0.14));
}

.footer-tag {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(245,237,214,0.45);
  letter-spacing: 1px;
}

.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 4px;
}

.social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--gold);
  opacity: 0.65;
  transition: opacity var(--ease), color var(--ease);
}

.social:hover {
  opacity: 1;
  color: var(--gold-light);
}

.social svg {
  width: 21px;
  height: 21px;
}

.footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(201,168,76,0.18);
  margin-top: 6px;
}

.footer-copy {
  font-family: var(--font-ui);
  font-weight: 200;
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(201,168,76,0.32);
  text-transform: uppercase;
}


/* ============================================================
   RESPONSIVE — 768px+
   ============================================================ */
@media (min-width: 768px) {
  .hero-logo {
    width: 310px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .rsvp-box {
    padding: 64px 60px;
  }
}

/* ============================================================
   RESPONSIVE — 1200px+
   ============================================================ */
@media (min-width: 1200px) {
  .hero-logo {
    width: 340px;
  }

  .rsvp-box {
    padding: 72px 72px;
  }
}

/* ============================================================
   RESPONSIVE — Small mobile (<= 600px)
   ============================================================ */
@media (max-width: 600px) {
  .field-row {
    grid-template-columns: 1fr;
  }

  .rsvp-box {
    padding: 40px 24px;
  }

  .details-inner {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .detail-sep {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(201,168,76,0.38), transparent);
  }

  .card {
    padding: 32px 28px 32px 44px;
  }
}
