/* assets/styles.css — Say I Do Studios (Clean & Stable Luxury Version) */

:root {
  --ink: #111111;
  --muted: #3f4652;
  --line: rgba(18,20,25,.10);
  --line2: rgba(18,20,25,.06);
  --shadow-hero: 0 22px 60px rgba(18,20,25,.10);
  --shadow-soft: 0 12px 30px rgba(18,20,25,.06);
  --radius: 16px;
  --radius2: 12px;

  --serif: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", Times, serif;
  --sans: "Montserrat", system-ui, -apple-system, sans-serif;
  --caps: "Italiana", ui-serif, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: #fbfaf8;
  background-image:
  radial-gradient(circle at 18% 8%, rgba(243,215,221,.4) 0%, transparent 50%),
  radial-gradient(circle at 86% 18%, rgba(234,223,203,.3) 0%, transparent 50%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  color: #111111;
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.price,
.section-title {
  font-family: var(--serif);
}

a {
  color: inherit;
  text-decoration-color: rgba(18,20,25,.30);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: rgba(18,20,25,.52);
}

.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  z-index: 9999;
  clip: auto;
}

/* Layout Grid Core */
.wrap {
  min-height: calc(100vh - 74px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  padding: 32px 16px 0;
}

.shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

/* Sticky Site Header Alignment */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255,255,255,.85);
  border-bottom: 1px solid var(--line2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

/* Premium Logo Containment Specs */
.header-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin: 10px 0 16px;
}

.hero-logo {
  display: block;
  width: 100%;
  max-width: 340px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 520px) {
  .header-logo {
    height: 30px;
  }

  .hero-logo {
    max-width: 260px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  font-family: var(--caps);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(18,20,25,.84);
  font-weight: 600;
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .12s ease, border-color .12s ease;
}

.nav a:hover {
  background: rgba(255,255,255,.86);
  border-color: var(--line);
}

.nav .nav-cta {
  background: linear-gradient(135deg, rgba(243,215,221,.75), rgba(234,223,203,.62));
  border-color: rgba(18,20,25,.12);
  padding: 9px 14px;
}

.nav-toggle {
  display: none;
  font-family: var(--caps);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(18,20,25,.14);
  background: rgba(255,255,255,.94);
  color: rgba(18,20,25,.82);
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    right: 18px;
    top: 62px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(18,20,25,.12);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(18,20,25,.12);
    min-width: 240px;
    z-index: 1000;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 12px;
    text-align: center;
  }
}

/* Structural Containment & Typography Formatting */
.card,
.panel,
.price-card,
.video-card,
.faq-card,
.review-card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,.85);
  border: 1px solid rgba(18,20,25,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hero);
  position: relative;
}

.inner {
  position: relative;
  padding: 52px 46px 36px;
}

@media (max-width: 720px) {
  .inner {
    padding: 38px 18px 24px;
  }
}

.kicker {
  font-family: var(--caps);
  letter-spacing: .26em;
  text-transform: uppercase;
  font-size: 13px;
  color: #333333;
  margin: 0 0 12px;
  text-align: center;
  font-weight: 600;
}

.sub {
  margin: 14px auto 0;
  max-width: 72ch;
  color: #222222;
  font-size: clamp(17px, 2.1vw, 21px);
  line-height: 1.75;
  text-align: center;
  font-weight: 400;
}

.mini-badges {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.badge {
  font-size: 11px;
  padding: 8px 12px;
  border: 1px solid rgba(18,20,25,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  color: rgba(18,20,25,.68);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Sections */
.section {
  padding: 80px 0;
  border-top: 0;
  width: 100%;
  position: relative;
}

.section-head {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.section-title {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 38px;
  letter-spacing: .01em;
  color: rgba(18,20,25,.92);
}

.section-sub {
  margin: 0 auto;
  color: rgba(18,20,25,.84);
  font-size: 18px;
  line-height: 1.75;
  max-width: 74ch;
}

.parallax-bg {
  background-image: url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=2000&auto=format&fit=crop');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  position: relative;
  color: white;
  padding: 120px 20px;
  border-radius: var(--radius);
  overflow: hidden;
}

.parallax-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  border-radius: var(--radius);
  z-index: 1;
  pointer-events: none;
}

.parallax-bg .section-head {
  position: relative;
  z-index: 2;
  color: white;
}

.parallax-bg .section-title,
.parallax-bg .section-sub {
  color: white;
}

/* Master Player & Portfolio Thumbnail Grid Specs */
.master-player-wrap {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-video {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hero);
  border: 1px solid rgba(18,20,25,.10);
}

.interactive-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 20px;
}

@media(max-width: 768px) {
  .interactive-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.thumb-card {
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(18,20,25,.08);
  background: #111;
}

.thumb-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.thumb-card .video-embed {
  border-radius: 0;
  box-shadow: none;
  pointer-events: none;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
}

.thumb-card .yt-thumb {
  display: block;
}

.thumb-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(17, 17, 17, 0.7);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  padding-left: 2px;
  transition: background 0.2s ease;
  pointer-events: none;
}

.thumb-card:hover .thumb-overlay-icon {
  background: rgba(17, 17, 17, 0.9);
}

/* YouTube Container Overrides */
.yt-overlay {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  border-radius: 0;
}

.yt-overlay iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: auto;
}

.yt-overlay.playing,
.yt-overlay.loaded,
.yt-overlay.is-playing {
  cursor: default;
}

.yt-overlay.playing iframe,
.yt-overlay.loaded iframe,
.yt-overlay.is-playing iframe {
  pointer-events: auto;
}

.yt-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.yt-overlay:hover .yt-thumb {
  opacity: 0.6;
  transform: scale(1.02);
}

.play-btn-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255,255,255,0.8);
  border: none;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.play-btn-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 53%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent #111;
  pointer-events: none;
}

.yt-overlay:hover .play-btn-custom {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Hide poster/play artwork after the updated site.js loads the iframe */
.yt-overlay.playing .yt-thumb,
.yt-overlay.loaded .yt-thumb,
.yt-overlay.is-playing .yt-thumb,
.yt-overlay.playing .play-btn-custom,
.yt-overlay.loaded .play-btn-custom,
.yt-overlay.is-playing .play-btn-custom {
  display: none;
}

/* Buttons Configuration */
.cta {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(18,20,25,.14);
  background: rgba(255,255,255,.85);
  color: #000000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease, background .15s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(18,20,25,.20);
  box-shadow: 0 12px 26px rgba(18,20,25,.08);
  background: rgba(255,255,255,.90);
}

.btn.primary {
  border-color: rgba(18,20,25,.15);
  background: linear-gradient(135deg, rgba(243,215,221,.9), rgba(234,223,203,.8));
}

.btn.full {
  width: 100%;
}

/* Horizontal Stacked Pricing Boxes */
.pricing-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 30px auto 0;
}

.price-row-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(18, 20, 25, 0.12);
  border-radius: var(--radius);
  padding: 32px 40px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-row-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(18, 20, 25, 0.08);
}

.pr-header {
  flex: 0 0 280px;
  border-right: 1px solid rgba(18, 20, 25, 0.1);
  padding-right: 32px;
  margin-right: 32px;
  text-align: left;
}

.pr-header h3 {
  margin: 0 0 4px;
  font-size: 26px;
  line-height: 1.2;
}

.pr-header .price {
  margin: 0;
  font-size: 2rem;
  font-weight: 400;
  color: rgba(18, 20, 25, 0.85);
}

.popular-tag {
  display: inline-block;
  font-family: var(--caps);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a48e7b;
  margin-bottom: 8px;
}

.pr-list {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: left;
  font-size: 15px;
  color: rgba(18, 20, 25, 0.85);
}

.pr-list li {
  position: relative;
  padding-left: 18px;
}

.pr-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #d1bfae;
  font-weight: bold;
}

.price-row-card.popular {
  background: #fffafa;
  border: 1px solid rgba(18, 20, 25, 0.3);
}

@media (max-width: 768px) {
  .price-row-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 24px;
  }

  .pr-header {
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(18, 20, 25, 0.1);
    padding-right: 0;
    padding-bottom: 20px;
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
  }

  .pr-list {
    grid-template-columns: 1fr;
  }
}

/* Add-ons Matrix Formats */
.addons-grid-clean {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 18px;
}

@media(max-width: 768px) {
  .addons-grid-clean {
    grid-template-columns: 1fr;
  }
}

.addon-card-clean {
  border: 1px solid rgba(18,20,25,.10);
  border-radius: var(--radius2);
  padding: 22px 20px;
  background: rgba(255,255,255,.38);
  text-align: center;
  min-height: 100%;
}

.addon-card-clean h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.addon-card-clean p {
  margin: 0;
  line-height: 1.65;
}

.addon-price {
  margin: 0 0 10px !important;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: var(--serif);
  color: rgba(18,20,25,.7);
}

/* FAQ Interface Layout */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 30px;
}

@media(max-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  padding: 24px;
  border-radius: var(--radius2);
  box-shadow: none;
  background: rgba(255,255,255,.6);
  border: 1px solid rgba(18,20,25,.08);
}

.faq-card h3 {
  margin: 0 0 12px;
  font-weight: 600;
  font-size: 20px;
}

.faq-card p {
  margin: 0;
  font-size: 15px;
}

/* Testimonials Carousel Arrow Mechanics */
.review-carousel {
  margin-top: 40px;
  position: relative;
  max-width: 800px;
  margin-inline: auto;
  text-align: center;
}

.review-track {
  position: relative;
  width: 100%;
  min-height: 280px;
  padding-bottom: 20px;
}

.review-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  margin: 0;
  padding: 0 20px;
  pointer-events: none;
}

.review-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  pointer-events: auto;
}

.review-slide blockquote {
  margin: 0 0 24px;
  font-size: clamp(17px, 2.2vw, 22px);
  font-family: var(--serif);
  font-style: italic;
  color: #111;
  line-height: 1.6;
  font-weight: 500;
}

.review-name {
  display: block;
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 4px;
}

.review-meta {
  font-family: var(--caps);
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(18,20,25,.62);
}

.review-arrows {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  position: relative;
  z-index: 10;
}

.r-arrow {
  background: transparent;
  border: none;
  font-family: var(--caps);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  padding: 8px 16px;
  transition: opacity 0.2s ease;
}

.r-arrow:hover {
  opacity: 0.5;
}

/* Progressive Multi-Step Form Styling */
.form {
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(18,20,25,.08);
  background: rgba(255,255,255,.7);
}

.form h3 {
  font-family: var(--serif);
  font-size: 32px;
  margin: 0 0 24px;
  text-align: center;
}

.form label {
  display: block;
  margin-top: 24px;
  font-size: 13px;
  font-family: var(--caps);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #333333;
  font-weight: 600;
  text-align: left;
}

.form input[type="text"],
.form input[type="email"],
.form input[type="date"],
.form input[type="tel"],
.form textarea,
.form select {
  width: 100%;
  margin-top: 8px;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid rgba(18,20,25,.35);
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: #111111;
  font-weight: 400;
  transition: border-color 0.3s ease;
  border-radius: 0;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(18,20,25,.50);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-bottom: 2px solid #111111;
  box-shadow: none;
}

.fieldgroup {
  margin-top: 32px;
  padding: 0;
  border: none;
  background: transparent;
}

.fieldgroup legend {
  font-family: var(--caps);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
  color: #333333;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 0;
}

.form label.choice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  margin-top: 0;
  border-bottom: 1px solid rgba(18,20,25,.05);
  cursor: pointer;
  font-family: var(--sans);
  text-transform: none;
  letter-spacing: 0;
}

.form label.choice:last-child {
  border-bottom: none;
}

.form label.choice:hover {
  background: transparent;
  opacity: 0.7;
}

.form label.choice input {
  flex: 0 0 auto;
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #d1bfae;
}

.form label.choice span {
  font-size: 15px;
  line-height: 1.4;
  color: #111;
}

.form label.choice .fine {
  display: block;
  font-size: 13px;
  color: rgba(18,20,25,.7);
  margin-top: 4px;
}

/* Progressive Disclosure Animation Stages */
.multi-step-form {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.form-step {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.form-step.active {
  display: block;
  opacity: 1;
  animation: slideIn 0.5s forwards;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 40px;
}

@keyframes slideIn {
  from {
    transform: translateX(30px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Verification Feedback Status */
.form-alert {
  margin: 0 0 24px;
  padding: 16px 20px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.form-alert.success {
  background: #edf8f0;
  border: 1px solid rgba(46, 125, 50, 0.22);
  color: #1f5f2a;
}

.form-alert.error {
  background: #fff4f4;
  border: 1px solid rgba(179, 32, 30, 0.18);
  color: #8a2a24;
}

/* Site Footer - Clean Centered Version */
.site-footer {
  margin-top: 56px;
  padding: 44px 16px 52px;
  border-top: 1px solid var(--line2);
  text-align: center;
  width: 100%;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.footer-main {
  margin: 0;
  color: #111111;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.site-footer .fine {
  margin: 0;
  max-width: 680px;
  color: rgba(18,20,25,.58);
  font-size: 12px;
  line-height: 1.7;
}

.site-footer .fine.dba {
  margin-top: 2px;
  color: rgba(18,20,25,.42);
  font-size: 11px;
}

/* Cinematic Transitions
 *  Safe by default: content stays visible even if JS fails. */
.fade-up {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.15s;
}

.delay-2 {
  transition-delay: 0.3s;
}

.delay-3 {
  transition-delay: 0.45s;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover,
  .price-row-card:hover,
  .thumb-card:hover {
    transform: none;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.gear {
  font-family: var(--caps);
  letter-spacing: .10em;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.98em;
  white-space: nowrap;
}

.gear-num {
  font-size: 1.18em;
  line-height: 0;
  position: relative;
  top: .05em;
  letter-spacing: 0;
}
