/*
  Static HTML/CSS/JS export of the original Lovable (React + Tailwind) landing page.
  - Local fonts included (Times New Roman embedded for logo)
  - Accessible focus styles
  - Responsive layout (mobile-first)
*/

/* Local font embedding for consistent rendering */
:root {
  --bridal-bg: hsl(8 33% 97%);
  --bridal-surface: hsl(0 0% 100%);
  --bridal-text: hsl(0 12% 21%);
  --bridal-muted: hsl(0 8% 45%);
  --bridal-accent: hsl(352 31% 60%);
  --bridal-accent-hover: hsl(352 31% 52%);

  --border: rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 14px 34px rgba(0, 0, 0, 0.07);
  --shadow-cta: 0 14px 30px rgba(183, 122, 131, 0.18);

  --container: 1120px;
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bridal-bg);
  color: var(--bridal-text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

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

button {
  font: inherit;
}

h1, h2, h3 {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Garamond, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
}

h3 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0;
}

p {
  margin: 0 0 14px;
}

/* Utilities */
.container-bridal {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.section-padding {
  padding: 56px 0;
}

.center {
  text-align: center;
}

.muted {
  color: var(--bridal-muted);
}

.lead {
  color: var(--bridal-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.small {
  font-size: 0.95rem;
}

.mt-10 {
  margin-top: 10px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: 10px;
  top: 10px;
  padding: 10px 12px;
  background: var(--bridal-surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transform: translateY(-200%);
  transition: transform 0.15s ease;
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
}

/* Nav */
.site-nav {
  position: relative;
  z-index: 20;
  padding: 16px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 0.3px;
}

@media (min-width: 768px) {
  .site-nav {
    position: sticky;
    top: 0;
    background: rgba(251, 247, 246, 0.72);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bridal-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
  user-select: none;
  white-space: nowrap;
  min-height: 44px;
  padding: 14px 22px;
  font-weight: 650;
  letter-spacing: 0.2px;
  box-shadow: var(--shadow-cta);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -120%;
  width: 80%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: shine 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine {
  0%, 60% { left: -120%; opacity: 0; }
  70% { opacity: 1; }
  100% { left: 140%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary::after { animation: none; }
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.btn-primary:focus-visible {
  outline: 3px solid rgba(183, 122, 131, 0.45);
  outline-offset: 3px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bridal-accent);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  min-height: 40px;
  font-weight: 650;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 26px rgba(183, 122, 131, 0.16);
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(0.96);
}

.nav-cta:focus-visible {
  outline: 3px solid rgba(183, 122, 131, 0.45);
  outline-offset: 3px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--bridal-accent);
  font-weight: 650;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link:focus-visible {
  outline: 3px solid rgba(183, 122, 131, 0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Hero */
.hero {
  padding: 28px 0 56px;
}

.hero-frame {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.28) 35%, rgba(0,0,0,.32) 100%),
    radial-gradient(1000px 520px at 50% 30%, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 60%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.18) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 40%, rgba(255,255,255,.12) 0 1px, transparent 2px),
    radial-gradient(circle at 40% 75%, rgba(255,255,255,.10) 0 1px, transparent 2px);
  opacity: 0.18;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 42px 18px;
  max-width: 760px;
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.hero-subtitle {
  color: rgba(255,255,255,0.88);
  font-size: 1.05rem;
  margin: 6px 0 18px;
}

.hero-actions {
  margin: 18px 0 10px;
}

.hero-meta {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.hero-support {
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  margin: 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  width: max-content;
}

/* Surfaces */
.surface {
  background: var(--bridal-surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 26px;
}

@media (min-width: 700px) {
  .panel { padding: 34px; }
}

.bg-surface {
  background: var(--bridal-bg);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1.02fr 0.98fr;
    gap: 34px;
  }

  .order-1 { order: 2; }
  .order-2 { order: 1; }
}

/* Bullets */
.bullets {
  list-style: none;
  padding: 0;
  margin: 16px 0 18px;
}

.bullets li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  color: var(--bridal-muted);
}

.icon {
  width: 20px;
  height: 20px;
}

.icon-heart {
  width: 20px;
  height: 20px;
  color: var(--bridal-accent);
  flex: 0 0 auto;
  margin-top: 2px;
}

.script-accent {
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-weight: 500;
}

.accent {
  color: var(--bridal-accent);
}

/* Image frame */
.image-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-soft);
}

.image-frame img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

/* Video */
.video-preview {
  position: relative;
  border-radius: calc(var(--radius) + 8px);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  min-height: 300px;
  background: #fff;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
}

.video-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.play-btn {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.icon-play {
  width: 28px;
  height: 28px;
  color: var(--bridal-accent);
  margin-left: 3px;
}

.video-preview:hover .play-btn {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.video-overlay:focus-visible {
  outline: 3px solid rgba(183, 122, 131, 0.35);
  outline-offset: 3px;
  border-radius: 12px;
}

.caption {
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--bridal-muted);
  text-align: center;
}

/* Feature cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 190px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow-lift);
}

.feature-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(183, 122, 131, 0.10);
  border: 1px solid rgba(183, 122, 131, 0.18);
  color: var(--bridal-accent);
  flex: 0 0 auto;
}

/* CTA row */
.stack-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

@media (min-width: 640px) {
  .stack-row {
    flex-direction: row;
    align-items: center;
  }
}

.cta-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.price {
  margin-top: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

/* Footer */
.site-footer {
  padding: 26px 0 34px;
  color: var(--bridal-muted);
}

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

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.15s ease;
}

.footer-link:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.footer-link:focus-visible {
  outline: 3px solid rgba(183, 122, 131, 0.35);
  outline-offset: 3px;
  border-radius: 8px;
}

.footer-copy {
  margin: 0;
  font-size: 0.95rem;
}


/* Footer link buttons (so Imprint/Privacy can open modals) */
.footer-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

/* Modal (Imprint / Privacy Policy) */
body.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.modal-dialog {
  position: relative;
  margin: 6vh auto;
  width: min(860px, calc(100% - 2rem));
  background: var(--bridal-bg);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
  max-height: 88vh;
  overflow: auto;
  padding: 1.25rem 1.25rem 1.1rem;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.modal-title {
  margin: 0;
  font-size: 1.35rem;
}

.modal-close {
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
  font-size: 1.75rem;
  line-height: 1;
  padding: 0.15rem 0.35rem;
  border-radius: 10px;
}

.modal-close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.modal-body h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.legal-note {
  margin: 0.25rem 0 0.9rem;
  font-size: 0.95rem;
  opacity: 0.95;
}

.legal-muted {
  margin-top: 1rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

@media (max-width: 520px) {
  .modal-dialog {
    margin: 4vh auto;
    width: calc(100% - 1.25rem);
    padding: 1rem;
  }
  .modal-title {
    font-size: 1.2rem;
  }
}
