/* ==========================================================
   Mary Ruf — Wedding Content Creator
   Palette + type is controlled here: change once, applies everywhere.
   ========================================================== */
:root {
  --ivory: #faf7f2;
  --ivory-deep: #f3ede4;
  --ink: #2e2a26;
  --ink-soft: #6b625a;
  --rose: #b98577;
  --rose-deep: #a06a5c;
  --line: #e5dcd0;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 18px 45px -18px rgba(46, 42, 38, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rose-deep); }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.container--narrow { width: min(760px, 92%); }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn--primary {
  background: var(--rose);
  color: #fff;
}
.btn--primary:hover {
  background: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn--ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--ivory);
  transform: translateY(-2px);
}
.btn--full { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.1rem;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
}
.nav__logo {
  height: 42px;
  width: auto;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav__links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}
.nav__links a:hover { color: var(--rose-deep); }
.nav__cta {
  border: 1px solid var(--rose);
  color: var(--rose-deep) !important;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  transition: all 0.25s ease;
}
.nav__cta:hover { background: var(--rose); color: #fff !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 1.5px;
  background: var(--ink);
  transition: all 0.3s ease;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background:
    radial-gradient(ellipse 60% 45% at 18% 20%, rgba(185, 133, 119, 0.14), transparent),
    radial-gradient(ellipse 55% 40% at 85% 75%, rgba(185, 133, 119, 0.12), transparent),
    var(--ivory);
  overflow: hidden;
}
.hero__inner { padding-block: 8rem 5rem; }
.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 1.08;
  margin-bottom: 1.6rem;
}
.hero__title em { font-style: italic; color: var(--rose-deep); }
.hero__sub {
  max-width: 34rem;
  margin: 0 auto 2.6rem;
  font-size: 1.12rem;
  color: var(--ink-soft);
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__scroll {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll span {
  display: block;
  width: 1px; height: 44px;
  background: var(--ink-soft);
  animation: drip 2s ease-in-out infinite;
  transform-origin: top;
}
@keyframes drip {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 0.7; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Sections ---------- */
.section { padding-block: 6.5rem; }
.section--tint { background: var(--ivory-deep); }

.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: 0.9rem;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.15;
  margin-bottom: 1.6rem;
}
.section__lead {
  color: var(--ink-soft);
  max-width: 38rem;
  margin: -0.4rem auto 3rem;
}

/* ---------- Placeholders (swap for real photos) ---------- */
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  color: var(--rose-deep);
  background: linear-gradient(150deg, #ece2d6, #e7d5cb 55%, #ddc6bb);
  border-radius: var(--radius);
}
.ph svg { width: 44px; height: 44px; opacity: 0.6; }
.ph p { font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4.5rem;
  align-items: center;
}
.ph--portrait {
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
}
.about__text p { margin-bottom: 1.2rem; color: var(--ink-soft); }
.about__text strong { color: var(--ink); font-weight: 500; }
.about__points {
  list-style: none;
  margin-top: 1.6rem;
  display: grid;
  gap: 0.7rem;
}
.about__points li {
  padding-left: 1.6rem;
  position: relative;
  color: var(--ink-soft);
}
.about__points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--rose);
}

/* ---------- What I Do cards ---------- */
.cards {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.card {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon {
  width: 52px; height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(185, 133, 119, 0.13);
  color: var(--rose-deep);
  margin-bottom: 1.3rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}
.card p { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Portfolio gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.gallery__item {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(46, 42, 38, 0.55), transparent);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}
/* Varied tones so placeholders look intentional, not broken */
.ph--g1 { background: linear-gradient(160deg, #e9dccf, #dcc4b6); }
.ph--g2 { background: linear-gradient(160deg, #e2d8ce, #c9b4a6); }
.ph--g3 { background: linear-gradient(160deg, #efe4d7, #d8bfb0); }
.ph--g4 { background: linear-gradient(160deg, #e5d5c8, #cbb0a2); }
.ph--g5 { background: linear-gradient(160deg, #ece0d2, #d3bcae); }
.ph--g6 { background: linear-gradient(160deg, #e7d9cb, #c6ab9d); }

/* ---------- Testimonials ---------- */
.quotes {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.quote {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.4rem 2rem;
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.6rem; left: 1.4rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(185, 133, 119, 0.25);
}
.quote p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

/* ---------- Packages ---------- */
.pricing {
  margin-top: 3.4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  align-items: stretch;
}
.plan {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  display: flex;
  flex-direction: column;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured {
  border-color: var(--rose);
  box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute;
  top: -0.85rem; left: 50%;
  transform: translateX(-50%);
  background: var(--rose);
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.plan h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}
.plan__price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: var(--rose-deep);
  margin: 0.4rem 0 0.2rem;
}
.plan__desc {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.plan ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-bottom: 2rem;
  text-align: left;
  flex-grow: 1;
}
.plan ul li {
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.plan ul li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--rose);
}
.pricing__note {
  margin-top: 2.6rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ---------- FAQ ---------- */
.faq__list { margin-top: 3rem; display: grid; gap: 0.9rem; }
.faq__item {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
}
.faq__item summary {
  cursor: pointer;
  font-weight: 400;
  font-size: 1.05rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--rose-deep);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Contact form ---------- */
.contact__form {
  margin-top: 2.6rem;
  display: grid;
  gap: 1.3rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
}
.contact__form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact__form input,
.contact__form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(185, 133, 119, 0.15);
}
.contact__form textarea { resize: vertical; }
.contact__alt {
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(250, 247, 242, 0.75);
  padding-block: 3.4rem;
}
.footer__inner {
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  text-align: center;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ivory);
}
.footer__social {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}
.footer__social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(250, 247, 242, 0.3);
  border-radius: 50%;
  color: rgba(250, 247, 242, 0.85);
  transition: all 0.25s ease;
}
.footer__social a:hover {
  background: var(--rose);
  border-color: var(--rose);
  color: #fff;
}
.footer__social svg { width: 19px; height: 19px; }
.footer__copy { font-size: 0.85rem; }

/* ---------- Scroll-reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .quotes, .pricing { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .about__grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .ph--portrait { max-width: 380px; margin-inline: auto; }
}

@media (max-width: 720px) {
  .section { padding-block: 4.5rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .form__row { grid-template-columns: 1fr; }

  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--ivory);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    font-size: 1.1rem;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav__links.is-open { transform: none; }
  .nav__toggle { position: relative; z-index: 10; }
  .nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item { aspect-ratio: 4 / 4.4; }
}
