/* ============================================================
   SVATEBNÍ WEB — STYLY
   ============================================================
   Barvy a fonty najdete hned tady dole v :root.
   Pokud chcete změnit odstín, stačí upravit hodnoty proměnných
   (např. --color-accent) — projeví se to v celém webu.
   ============================================================ */
/*
@font-face {
  font-display: swap;
  font-family: 'YuGothicUI';
  font-style: normal;
  font-weight: 350;
  src: local('YuGothicUI'), url('fonts/YuGothicUI-Semilight.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothicUI';
  font-style: normal;
  font-weight: 700;
  src: local('YuGothicUI'), url('fonts/YuGothicUI-Bold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothicUI';
  font-style: normal;
  font-weight: 600;
  src: local('YuGothicUI'), url('fonts/YuGothicUI-Semibold.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothicUI';
  font-style: normal;
  font-weight: 500;
  src: local('YuGothicUI'), url('fonts/YuGothicUI-Medium.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothicUI';
  font-style: normal;
  font-weight: 400;
  src: local('YuGothicUI'), url('fonts/YuGothicUI-Regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothicUI';
  font-style: normal;
  font-weight: 300;
  src: local('YuGothicUI'), url('fonts/YuGothicUI-Light.woff2') format('woff2');
}
*/

@font-face {
  font-display: swap;
  font-family: 'Faiwater';
  font-style: normal;
  font-weight: 300;
  src: local('Faiwater'), url('fonts/Faiwater.woff2') format('woff2');
}





@font-face {
  font-display: swap;
  font-family: 'YuGothic';
  font-style: normal;
  font-weight: 300;
  src: local('YuGothic'), url('fonts/YuGothic-Light.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothic';
  font-style: normal;
  font-weight: 400;
  src: local('YuGothic'), url('fonts/YuGothic-Regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothic';
  font-style: normal;
  font-weight: 500;
  src: local('YuGothic'), url('fonts/YuGothic-Medium.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'YuGothic';
  font-style: normal;
  font-weight: 700;
  src: local('YuGothic'), url('fonts/YuGothic-Bold.woff2') format('woff2');
}



:root {
  /* barevná paleta (vychází z původní prezentace) */
  --color-bg: #faf7f0;          /* krémové pozadí */
  --color-bg-alt: #f2ead4;      /* teplá béžová - střídavé sekce */
  --color-text: #2c271f;        /* tmavě hnědá / téměř černá */
  --color-text-muted: #6b6152;
  --color-accent: #b08d55;      /* zlatavá / tan - podnadpisy, linky */
  --color-accent-soft: #cdb98a;
  --color-sage: #7c8768;        /* šalvějová zelená z ilustrace */
  --color-cornflower: #5b6f9e;  /* chrpově modrá z ilustrace */
  --color-border: #e3d9bf;

  --color-trebian1: #494227;
  --color-trebian2: #977A4B;
  --color-trebian3: #2E4876;

  /* fonty */
  --font-script: 'YuGothic', cursive;
  --font-display: 'Faiwater', serif;
  --font-body: 'YuGothic', sans-serif;


  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.7;
  font-size: 17px;
}

img { max-width: 100%; display: block; border-radius: 5px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 15px;
}

.narrow { max-width: 820px; }

/* ---------- Nadpisy ---------- */

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 2.6rem);
  text-align: center;
  /* letter-spacing: 0.02em; */
  margin: 0 0 12px;
  color: var(--color-accent);
}

.section-subtitle {
  text-align: center;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  margin: 0 0 40px;
}

.center-text { text-align: center; }

/* ---------- Sekce ---------- */

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* ---------- Hlavička / navigace ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 240, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--color-text);
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--color-accent); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
}

/* ---------- Hero / úvod ---------- */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--color-bg);
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.hero-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  z-index: 1;
  filter: none !important;
}

.hero-inner {
  position: absolute;
  top: clamp(70px, 8.5vw, 125px);
  left: clamp(75px, 11.5vw, 180px);
  z-index: 4;
  text-align: center;
  margin: 0;
  padding: 10px 0;
  max-width: 520px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  color: #3d3831;
  
}

.script-lead {
  font-family: var(--font-script);
  font-size: 1.7rem;
  margin: 0 0 4px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.4);
  text-wrap: balance;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 30px;
  letter-spacing: 0.1em;
  
}

.hero-names {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  color: var(--color-accent);
  margin: 2px 0 20px 0;
  line-height: 1.15;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 8px;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.4);
}

.hero-name {
  display: inline-block;
}

.hero-names .amp {
  /* font-family: var(--font-script);
  font-weight: 500;
  color: #000000;
  font-size: 0.9em; */
  padding: 0 5px;
}

.hero-date {
  font-family: var(--font-display);
  font-size: 2.9rem;
  font-weight: 700;
  line-height: 1;
  margin: 0;
  text-align: center;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.4);

  color: var(--color-accent);
}

.hero-kids {
  text-transform: uppercase;
  letter-spacing: 0.29em;
  font-size: 0.85rem;
  font-weight: 700;
  margin: 5px 0 0 0;
  text-align: center;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.4);
}

/* ---------- Příběh ---------- */

.lead-text {
  text-align: center;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 36px;
}

.reasons {
  text-align: center;
  margin: 0 auto 30px;
}

.reasons ul {
  margin-top: 0;
  margin-left: 0;
  padding-left: 0;
}

.reasons li {
  list-style-position: inside;
  list-style-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='21' viewBox='0 -6 20 20' fill='%23e17100'><path fill-rule='evenodd' d='M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z' clip-rule='evenodd' /></svg>");
  list-style-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 20.12 12' xmlns='http://www.w3.org/2000/svg' width='21' height='12'><path d='m0 6h19.52' fill='none' stroke='%23ed1c24' stroke-miterlimit='22.93' stroke-width='.8377'/><path d='m13.82 0.2962 5.704 5.704-5.704 5.704' fill='none' stroke='%23ed1c24' stroke-miterlimit='22.93' stroke-width='.8377'/></svg>");
  list-style-image: url("data:image/svg+xml;utf8,<svg fill='%23D5AD53' version='1.1' viewBox='0 0 16 12' width='16' height='11' xmlns='http://www.w3.org/2000/svg'><path d='m16 0.33c0.45 0.45 0.45 1.2 0 1.6l-9.1 9.1c-0.45 0.45-1.2 0.45-1.6 0l-4.6-4.6c-0.45-0.45-0.45-1.2 0-1.6s1.2-0.45 1.6 0l3.8 3.8 8.3-8.3c0.45-0.45 1.2-0.45 1.6 0z' stroke-width='.036'/></svg>");
  margin-bottom:4px;
}

.reasons li span {
  padding-left: 5px;
}


.reasons-divider {
  text-align: center;
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: var(--color-accent);
  margin: 40px 0 0px;
  font-weight: 500;
}

@media (min-width: 600px) {
  .reasons li span {
    display: inline-block;
    padding-left: 10px;
  }
}

/* ---------- Program ---------- */

#program {
  padding-bottom: 0;
  overflow: hidden;
}

#program .container {
  max-width: 1460px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
  align-items: stretch;
}

.program-day {
  background: var(--color-bg);
  padding: 36px 26px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.program-day h3.script-day {
  font-family: var(--font-script);
  font-size: 1.6rem;
  text-align: center;
  margin: 0 0 30px;
  padding-bottom: 30px;
  border-bottom: 1px dashed var(--color-accent-soft);
  color: var(--color-text);
  line-height: 1.35;
}

.script-day span.date {
  display: block;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;

  color: #999;
  margin-bottom: 15px;
  font-size: 0.94rem;
}

.script-day span.event {
 display: block;
  font-family: var(--font-body);
  font-size: 1.2rem;
  letter-spacing: 0.07em;
  color: var(--color-accent);
  font-weight: 700;
  margin-top: 20px;
  line-height: 1.4;
  text-wrap: balance;
}

@media (min-width: 640px) {
  .script-day span.event {
  min-height: 2lh;
}
}

.program-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: left;
  flex-grow: 1;
  text-align: center;
  text-wrap: balance;
}

.program-list li {
  margin: 0 0 18px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.program-list li:last-child {
  margin-bottom: 0;
}

.program-list strong {
  display: block;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.program-list em {
  display: block;
  font-style: normal;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.program-flower-wide {
  display: block;
  width: 100%;
  max-width: 1300px;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin: 30px auto 0;
  vertical-align: bottom;
  mix-blend-mode: multiply;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  pointer-events: none;
}

/* ---------- Informace ---------- */
#informace { background: #fff; }
.info-block {
  margin-bottom: 60px;
}

.info-block h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0 0 5px;
  line-height: 1.2;
}

.info-block p {
  margin: 0 0 12px;
}

.info-block-confirm {
  background: var(--color-accent);
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-soft));
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 30px 18px;
  text-align: center;
  color: white;
  font-size: 1.25rem;
  font-weight: 500;
  margin-top:80px;
  line-height: 1.5;
}

/* ---------- Formulář ---------- */

.rsvp-form {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  /* border: 1px solid var(--color-border); */
}

.form-row {
  margin-bottom: 22px;
  border: none;
  padding: 0;
}

.form-row legend {
  padding: 0;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="number"],
.form-row textarea {
  width: 100%;
  padding: 11px 13px;
  /*border: 1px solid var(--color-border);*/
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  /* background: var(--color-bg); */
  background: #fcfaf7;
  color: var(--color-text);
}

.form-row textarea { resize: vertical; }

.form-row .checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 22px;
  font-weight: 400;
  font-size: 0.95rem;
}

.form-row-inline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.form-row-inline label { font-size: 0.85rem; }

.btn {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  border: none;
  padding: 14px 38px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn:hover { background: #96703e; }

/* Potvrzovací zpráva formuláře */
.form-success-box {
  background: var(--color-bg);
  border: 2px solid var(--color-sage);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.success-icon {
  width: 50px;
  height: 50px;
  background: var(--color-sage);
  color: #fff;
  font-size: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.form-success-box h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 10px;
  color: var(--color-text);
}

.success-highlight {
  font-family: var(--font-script);
  font-size: 2.2rem;
  color: var(--color-accent);
  margin: 10px 0 14px;
}

.success-subtext {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Galerie ---------- */

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

.gallery-placeholder {
  aspect-ratio: 1 / 1;
  background: var(--color-bg-alt);
  border: 1px dashed var(--color-accent-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding: 10px;
}

@media (min-width: 1024px) {
  .gallery-grid {
    margin-right: -100px;
    margin-left: -100px;
  }
}

/* ---------- Kontakty ---------- */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  margin-top: 30px;
}

.contact h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 7px;
  line-height: 1;
}

.contact p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.contact a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact a:hover { text-decoration: underline; }

/* ---------- Závěrečná fotografie ---------- */

.closing-photo-section {
  padding: 60px 0 80px;
}

.closing-photo-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.closing-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.09);
}

.closing-photo-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.closing-photo-content {
  padding: 28px 24px;
  background: var(--color-bg);
}

.closing-photo-title {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: var(--color-accent);
  margin: 50px 0 20px;
  line-height: 1.2;
  text-align: center;
}

.closing-photo-names {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0;
}

/* ---------- Responzivita ---------- */

@media (max-width: 992px) {
  .hero-inner { top: 20px; left: 16px; max-width: 440px; }
  .program-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column;
  }
  .hero-inner {
    position: relative;
    top: auto;
    left: auto;
    margin: 16px auto 20px;
    max-width: 100%;
    width: 100%;
    align-self: center;
    padding: 0 16px;
  }
  .program-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .program-day { padding: 20px 14px; }
  .program-day h3.script-day { font-size: 1.65rem; margin: 0 0 10px; }
  .program-list li { font-size: 1rem; margin: 0 0 12px; }
  .program-list strong { font-size: 0.94rem; }
  .program-list em { font-size: 0.78rem; }
  .contacts-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row-inline { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 60px 0; }
  .rsvp-form { padding: 24px; }
}

@media (max-width: 600px) {
  .hero-inner {
    margin: 14px auto 16px;
    padding: 0 12px;
  }
  .hero-names {
    font-size: 34px;
    white-space: nowrap;
    gap: 6px;
  }
  .hero-names .amp {
    font-size: 0.85em;
    padding: 0;
  }
  .script-lead { font-size: 14px; }
  .hero-date { font-size: 1.6rem; }
  .program-grid { grid-template-columns: repeat(1, 1fr); gap: 20px; }
  .program-day { padding: 25px 15px; border-radius: 12px; }
  .program-day h3.script-day { font-size: 1.45rem; margin: 0 0 20px; padding-bottom: 20px; }
  .script-day span { font-size: 0.7rem; }
  .program-list li { margin: 0 0 10px; line-height: 1.35; }
  .program-list strong { font-size: 0.88rem; }
  .program-list em { font-size: 0.74rem; }
  .contacts-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row-inline { grid-template-columns: 1fr 1fr; }
  .closing-photo-title { font-size: 1.9rem; }
  .closing-photo-names { font-size: 0.78rem; }
}







.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

.bg-white {
  background-color: #fff;
}