/* =========================================================
   Dress by Shego — Shego Veronica Dress Rental
   Palette pulled from the SV rose-gold glitter logo
   ========================================================= */

:root {
  --blush:        #e7b9c6;   /* soft blush pink from logo bg */
  --blush-deep:   #d99fb1;
  --rose:         #b76e79;   /* rose gold mid */
  --rose-dark:    #9c5563;
  --cream:        #fdf5f2;   /* warm off-white */
  --cream-2:      #f8e9ec;
  --ink:          #241a1e;   /* near-black warm */
  --ink-soft:     #5a4a50;
  --gold-1:       #e8c3a0;
  --gold-2:       #d9a3ac;
  --gold-3:       #c98a9a;
  --line:         rgba(155, 85, 99, 0.18);
  --shadow:       0 24px 60px -28px rgba(120, 60, 75, 0.55);
  --radius:       18px;

  --serif:  "Bodoni Moda", Georgia, "Times New Roman", serif;
  --script: "Pinyon Script", "Bodoni Moda", cursive;
  --sans:   "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* rose-gold "glitter" gradient */
  --metal: linear-gradient(120deg, #b76e79 0%, #e8c3a0 25%, #f4d9c4 40%, #c98a9a 60%, #9c5563 80%, #e8c3a0 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* ---------- Shared type helpers ---------- */
.metal-text {
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---- Pink/gold glitter shimmer (drawn on a canvas by script.js) ---- */
.shimmer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;                 /* over sections, under the nav (z 50) */
  pointer-events: none;
}

/* ---- "DRESS RENTAL" lockup line under the logo ---- */
.logo-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85em;
  font-family: var(--serif);
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.52em;
  padding-left: 0.52em;            /* balance the trailing letter-spacing */
  font-size: clamp(1.05rem, 2.6vw, 1.5rem);
  color: var(--rose-dark);
  margin: 0.7rem 0 0;
}
.logo-sub::before,
.logo-sub::after {
  content: "\2726";                /* ✦ */
  font-size: 0.62em;
  letter-spacing: 0;
  color: var(--rose);
  transform: translateY(-0.05em);
}
.logo-sub--sm { font-size: clamp(0.8rem, 1.8vw, 1rem); letter-spacing: 0.42em; padding-left: 0.42em; }
.logo-sub--light { color: var(--blush); }
.logo-sub--light::before,
.logo-sub--light::after { color: var(--gold-1); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 0.95em 1.9em;
  border-radius: 100px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--lg { font-size: 0.85rem; padding: 1.1em 2.6em; }
.btn--solid {
  background: var(--metal);
  background-size: 200% 200%;
  color: #fff;
  box-shadow: 0 12px 30px -12px rgba(155, 85, 99, 0.7);
  animation: shimmer 6s ease infinite;
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(155, 85, 99, 0.8); }
.btn--ghost {
  background: transparent;
  color: var(--rose-dark);
  border-color: var(--rose);
}
.btn--ghost:hover { background: var(--rose); color: #fff; transform: translateY(-2px); }

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

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 0.6rem 0;
}
.nav.is-scrolled {
  background: rgba(253, 245, 242, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -14px rgba(120, 60, 75, 0.5);
}
.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo { height: 52px; width: auto; transition: height 0.3s ease; }
.nav.is-scrolled .nav__logo { height: 44px; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}
.nav__links a:not(.nav__cta)::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 1px;
  background: var(--rose);
  transition: width 0.25s ease;
}
.nav__links a:not(.nav__cta):hover { color: var(--rose-dark); }
.nav__links a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta {
  background: var(--metal);
  background-size: 200% 200%;
  color: #fff !important;
  padding: 0.7em 1.5em;
  border-radius: 100px;
  animation: shimmer 6s ease infinite;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
  background:
    radial-gradient(120% 90% at 50% 0%, var(--cream-2) 0%, var(--cream) 45%),
    linear-gradient(180deg, var(--blush) 0%, var(--cream) 60%);
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  width: 70vmax; height: 70vmax;
  top: -25vmax; left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(231,185,198,0.65) 0%, rgba(231,185,198,0) 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__inner { position: relative; max-width: 820px; }
.hero__logo {
  width: min(280px, 62vw);
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 16px 30px rgba(155, 85, 99, 0.28));
  animation: floatIn 1s ease both;
}
.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 0.8rem;
  animation: floatIn 1s ease 0.1s both;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 1.4rem;
  animation: floatIn 1s ease 0.2s both;
}
.hero__lede {
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto 2.2rem;
  animation: floatIn 1s ease 0.3s both;
}
.hero__actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: floatIn 1s ease 0.4s both;
}
.hero__scroll {
  position: absolute;
  bottom: 1.4rem; left: 50%;
  transform: translateX(-50%);
  font-size: 1.6rem;
  color: var(--rose);
  animation: bounce 2s infinite;
}
@keyframes floatIn { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes bounce { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,8px);} }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink);
  overflow: hidden;
  padding: 0.9rem 0;
}
.marquee__track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: scroll 26s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--blush);
  white-space: nowrap;
}
.marquee__track span:nth-child(even) { color: var(--gold-1); font-style: normal; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =========================================================
   SECTIONS (shared)
   ========================================================= */
.section { padding: clamp(4rem, 9vw, 7.5rem) 1.6rem; max-width: 1200px; margin: 0 auto; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.section__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose-dark);
  margin-bottom: 0.7rem;
}
.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.section__sub { color: var(--ink-soft); font-size: 1.05rem; }

/* =========================================================
   COLLECTION / GALLERY
   ========================================================= */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(120, 60, 75, 0.65); }
.card { position: relative; z-index: 41; }   /* keep glitter off the dress photos */
.card__badge {
  position: absolute;
  top: 0.9rem; left: 0.9rem;
  z-index: 2;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(36, 26, 30, 0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.4em 0.8em;
  border-radius: 100px;
}
.card__media { aspect-ratio: 3 / 4; overflow: hidden; }
.card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.card:hover .card__img { transform: scale(1.06); }
/* graceful placeholder if a photo isn't added yet */
.card__img.is-empty {
  background: var(--metal);
  background-size: 300% 300%;
  animation: shimmer 8s ease infinite;
  min-height: 100%;
}
.card__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.3rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(36,26,30,0.82));
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.card__cap span { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.card__cap em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blush);
}

.collection__cta { text-align: center; margin-top: 3rem; }
.collection__cta p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.collection__note {
  display: inline-block;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 0.7em 1.5em;
  color: var(--rose-dark) !important;
  font-size: 0.95rem;
}
.collection__note strong { color: var(--ink); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%); max-width: none; }
.how .section__head, .how .steps { max-width: 1200px; margin-left: auto; margin-right: auto; }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.step {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step__num {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.6rem;
  background: var(--metal);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media {
  position: relative;
  z-index: 41;                 /* keep glitter off the photo */
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media img.is-empty {
  background: var(--metal);
  background-size: 300% 300%;
  animation: shimmer 8s ease infinite;
  min-height: 100%;
}
.about__text .section__title { margin-bottom: 1.2rem; }
.about__text p { color: var(--ink-soft); margin-bottom: 1.1rem; }
.about__text .btn { margin-top: 0.6rem; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { max-width: 900px; }
.contact__card {
  text-align: center;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--cream-2), var(--cream));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.8rem;
  box-shadow: var(--shadow);
}
.contact__logo { width: 150px; margin: 0 auto 1.4rem; }
.contact__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  color: var(--rose-dark);
  margin-bottom: 0.8rem;
}
.contact__sub { color: var(--ink-soft); max-width: 460px; margin: 0 auto 2rem; }

/* ---- Form ---- */
.contact__form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
  max-width: 620px;
  margin: 0 auto 1.6rem;
  text-align: left;
}
.field { display: flex; flex-direction: column; gap: 0.4rem; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 0.98rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8em 1em;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(183, 110, 121, 0.14);
}
.field textarea { resize: vertical; min-height: 110px; }
.field button { justify-self: start; margin-top: 0.2rem; }
.contact__hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  min-height: 1.2em;
}
.contact__hint.is-error { color: #b23a48; }

/* ---- "or" divider ---- */
.contact__or {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 620px;
  margin: 0 auto 1.4rem;
  color: var(--ink-soft);
}
.contact__or::before,
.contact__or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.contact__or span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.contact__actions { margin-bottom: 2.4rem; }
.contact__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  max-width: 620px;
  margin: 0 auto;
}
.contact__list li { display: flex; flex-direction: column; gap: 0.3rem; }
.contact__list strong {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-dark);
  font-weight: 500;
}
.contact__list a, .contact__list span { color: var(--ink); font-size: 0.98rem; }
.contact__list a:hover { color: var(--rose-dark); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  padding: 3.5rem 1.6rem 2.5rem;
}
.footer__logo { width: 120px; margin: 0 auto 1rem; opacity: 0.95; }
.footer__tag {
  font-family: var(--script);
  font-size: 1.8rem;
  color: var(--blush);
  margin-bottom: 1rem;
}
.footer__social { margin-bottom: 1.4rem; }
.footer__social a {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-1);
  transition: color 0.2s ease;
}
.footer__social a:hover { color: #fff; }
.footer__fine { font-size: 0.78rem; color: rgba(253,245,242,0.5); letter-spacing: 0.04em; }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin: 0 auto; }
  .contact__list { grid-template-columns: 1fr; text-align: left; max-width: 320px; }
}

@media (max-width: 680px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    padding: 2rem 2.2rem;
    background: var(--cream);
    box-shadow: -20px 0 50px -20px rgba(120,60,75,0.5);
    transform: translateX(110%);
    transition: transform 0.35s ease;
  }
  .nav.is-open .nav__links { transform: translateX(0); }
  .nav__links a { font-size: 1rem; }
  .nav__toggle { display: flex; z-index: 60; }
  .gallery { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
