/* ============================================================
   Planned by Sophia — Charleston pastel & floral styles
   ============================================================ */

:root {
  --cream: #fdf8f3;
  --ivory: #fffdfa;
  --blush: #f3d8d3;
  --blush-deep: #dfa9a0;
  --rose: #c98d84;
  --sage: #b7c4b1;
  --sage-deep: #8fa287;
  --sky: #d9e4e8;
  --ink: #4a4341;
  --ink-soft: #7a6f6b;
  --gold: #c8a878;

  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Parisienne", cursive;
  --sans: "Jost", "Helvetica Neue", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* ===== Typography helpers ===== */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--ink);
}

.script-accent {
  font-family: var(--script);
  font-weight: 400;
  color: var(--rose);
  font-size: 1.15em;
}

.center { text-align: center; }

.flourish {
  color: var(--sage-deep);
  font-size: 1.4rem;
  margin: 0.75rem 0 1.5rem;
}
.flourish.center { text-align: center; }

.light { color: var(--ivory); }
.section-eyebrow.light { color: var(--blush); }
.flourish.light { color: var(--blush); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 2.4rem;
  border-radius: 999px;
  transition: all 0.3s ease;
}

.btn-light {
  background: rgba(253, 248, 243, 0.92);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--blush);
  transform: translateY(-2px);
}

.btn-blush {
  background: var(--blush);
  color: var(--ink);
  text-transform: none;
  letter-spacing: 0.05em;
  font-size: 1rem;
}
.btn-blush:hover {
  background: var(--ivory);
  transform: translateY(-2px);
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(253, 248, 243, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 141, 132, 0.15);
}

.nav-inner {
  width: min(1100px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}

.brand-script {
  font-family: var(--script);
  font-size: 1.6rem;
  color: var(--rose);
}

.nav-brand { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color 0.25s ease;
}
.nav-links a:hover { color: var(--rose); }

.nav-cta {
  border: 1px solid var(--blush-deep);
  padding: 0.45rem 1.3rem;
  border-radius: 999px;
  color: var(--rose) !important;
}
.nav-cta:hover { background: var(--blush); }

.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: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-image, .hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 48%, rgba(38, 33, 31, 0.45), transparent 75%),
    linear-gradient(
      to bottom,
      rgba(38, 33, 31, 0.55),
      rgba(38, 33, 31, 0.38) 50%,
      rgba(38, 33, 31, 0.6)
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 1.5rem 6rem;
  max-width: 800px;
}

.hero-eyebrow {
  color: var(--blush);
  font-size: 0.8rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.hero h1 {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.4rem;
}

.hero-script {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  color: var(--blush);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-serif {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.8rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: var(--ivory);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  color: var(--ivory);
  font-size: 1.05rem;
  font-weight: 400;
  max-width: 540px;
  margin: 0 auto 2.2rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6), 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-scallop {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-scallop svg { width: 100%; height: 60px; }

/* ===== About ===== */
.about { padding: 6rem 0 5rem; }

.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4rem;
  align-items: center;
}

.photo-frame {
  border-radius: 200px 200px 12px 12px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(201, 141, 132, 0.25);
  border: 8px solid var(--ivory);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.photo-caption {
  text-align: center;
  font-family: var(--script);
  font-size: 1.25rem;
  color: var(--sage-deep);
  margin-top: 1.1rem;
}

.about-text p { margin-bottom: 1.2rem; color: var(--ink-soft); }

.signature {
  font-family: var(--script);
  font-size: 1.9rem;
  color: var(--rose);
  margin-top: 1.6rem;
}

/* ===== Services ===== */
.services {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(ellipse at top left, rgba(183, 196, 177, 0.18), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(243, 216, 211, 0.35), transparent 55%),
    var(--ivory);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.service-card {
  background: var(--cream);
  border: 1px solid rgba(201, 141, 132, 0.18);
  border-radius: 14px;
  padding: 2.4rem 1.8rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(201, 141, 132, 0.18);
}

.service-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.3rem;
  color: var(--sage-deep);
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}

.service-card p {
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ===== Quote band ===== */
.quote-band {
  background: linear-gradient(120deg, var(--sage) 0%, var(--sky) 100%);
  padding: 4.5rem 0;
  text-align: center;
}

.quote-script {
  font-family: var(--script);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--ink);
  max-width: 750px;
  margin: 0 auto;
}

/* ===== Gallery ===== */
.gallery { padding: 6rem 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 36px rgba(74, 67, 65, 0.14);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.6rem 1.2rem 1rem;
  background: linear-gradient(to top, rgba(74, 67, 65, 0.65), transparent);
  color: var(--ivory);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== Experience timeline ===== */
.experience {
  padding: 5rem 0 6rem;
  background:
    radial-gradient(ellipse at bottom left, rgba(243, 216, 211, 0.3), transparent 60%),
    var(--ivory);
}

.timeline {
  max-width: 720px;
  margin: 2.5rem auto 0;
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 1.5px;
  background: linear-gradient(to bottom, var(--blush-deep), var(--sage));
}

.timeline-item {
  position: relative;
  padding-bottom: 2.6rem;
}
.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2rem;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blush);
  border: 2px solid var(--rose);
}

.timeline-content h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.45rem;
}

.timeline-role {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose);
  margin: 0.2rem 0 0.6rem;
}

.timeline-content p:last-child {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact {
  background:
    linear-gradient(rgba(103, 120, 95, 0.92), rgba(84, 76, 72, 0.93)),
    url("images/garden-ceremony.jpeg") center / cover no-repeat;
  padding: 6rem 0;
  text-align: center;
}

.contact .section-title { color: var(--ivory); }

.contact-lede {
  color: rgba(255, 253, 250, 0.92);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

.contact-note {
  margin-top: 1.6rem;
  color: var(--blush);
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}

/* ===== Footer ===== */
.footer {
  background: var(--ink);
  color: rgba(253, 248, 243, 0.65);
  padding: 2.4rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}

.footer-brand { color: var(--blush); font-size: 1.5rem; }

.footer p { font-size: 0.8rem; letter-spacing: 0.12em; }

.footer-credit { color: rgba(253, 248, 243, 0.45); }
.footer-credit a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(253, 248, 243, 0.3);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.footer-credit a:hover {
  color: var(--blush);
  border-color: var(--blush);
}

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo { max-width: 420px; margin: 0 auto; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(201, 141, 132, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }
  .nav-links.open { max-height: 320px; }
  .nav-links a {
    padding: 0.9rem 0;
    width: 100%;
    text-align: center;
  }
  .nav-cta {
    border: none;
    border-radius: 0;
  }
}
