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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Albert Sans', sans-serif;
  background: #fffbf5;
  color: #2d4c28;
  overflow-x: hidden;
}

.grecaptcha-badge {
	display:none!important;
}

/* ─── NAVIGATION ─── */
nav {
  background: #fbf7f0;
  padding: 18px 0 14px;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 80px;
}
nav ul li a {
  font-size: 14px;
  font-weight: 500;
  color: #465a43;
  text-decoration: none;
  letter-spacing: 0.56px;
  text-transform: none;
  transition: color 0.2s;
}
nav ul li a:hover { color: #2d4c28; }


iframe {
  width: 500px;
  border-radius: 10px;
}
/* ─── HERO ─── */
.hero {
  background: #fffbf5;
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.hero-photo-wrapper {
  position: relative;
  width: 440px;
}

.hero-photo-wrapper img {
  max-width: 100%;
}

.hero-calligraphy {
  width: 320px;
  display: block;
  margin: 0 auto 28px;
}
.hero-intro {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.57;
  color: #2d4c28;
  text-align: center;
  max-width: 658px;
  margin: 0 auto 48px;
}
.hero-photos {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 700px;
  margin: 0 auto 0;
}

img {
    max-width: 100%;
}

/* ─── GREEN DIVIDER ─── */
.green-divider {
margin-bottom: 40px;
}

.two-col-image img {
    height: 500px;
}

/* ─── NÁŠ PŘÍBĚH ─── */
.nas-pribeh {
  background: #BBCCB8;
  padding: 80px 0 90px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.two-col {
  display: flex;
  align-items: center;
  gap: 80px;
}
.two-col-text { flex: 1; }
.two-col-image { flex: 0 0 440px; }
.section-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.29;
  color: #2d4c28;
  margin-bottom: 28px;
}

.program .section-inner {
    text-align: center;
}


.section-body {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.57;
  max-width: 440px;
  color: #2d4c28;
}
.section-body p + p { margin-top: 24px; }
.section-body strong, .section-body b { font-weight: 800; }


/* ─── OBŘAD & OSLAVA ─── */
.obrad {
  background: #fffbf5;
  padding: 80px 0 0;
}
.obrad-info {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 60px;
}
.obrad-details {
  flex: 1;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-top: 65px;
}
.obrad-detail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.obrad-detail-item .detail-icon {
  width: 44px;
  height: 44px;
}
.obrad-detail-item span {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.57;
  color: #2d4c28;
}
.obrad-detail-item a {
  color: #2d4c28;
  text-decoration: underline;
}
.obrad-photos {
  display: flex;
  width: 100%;
}
.obrad-photos a {
  flex: 1;
  height: 400px;
  object-fit: cover;
}

/* ─── PROGRAM ─── */
.program {
  background: #BBCCB8;
  padding: 80px 0 80px;
  position: relative;
}
.program::before {
  content: '';
  display: block;
  background: #bbccb8;
  height: 8px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.program-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: #2d4c28;
  margin-bottom: 60px;
}
.timeline {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}
.timeline-line {
  position: absolute;
  top: 96px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: #2d4c28;
  opacity: 0.25;
}
.timeline-items {
  display: flex;
  justify-content: space-between;
  position: relative;
}
.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.timeline-label-top {
  font-size: 17px;
  font-weight: 800;
  color: #2d4c28;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 4px;
}
.timeline-dot {
  width: 46px;
  height: 46px;
  background: #c8d8c5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin: 6px 0;
}
.timeline-dot img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.timeline-time {
  font-size: 22px;
  font-weight: 900;
  color: #2d4c28;
  margin-top: 4px;
}
.timeline-label-bottom {
  font-size: 17px;
  font-weight: 800;
  color: #2d4c28;
  text-align: center;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  margin-top: 4px;
}
/* Items with top labels show time below dot, those with bottom show time above */
.timeline-item.bottom .timeline-label-top { visibility: hidden; }
.timeline-item.top .timeline-label-bottom { visibility: hidden; }

/* ─── BAREVNÁ PALETA ─── */
.paleta {
  background: #fffbf5;
  padding: 80px 0 80px;
}
.paleta-inner {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    max-width: 800px;
    margin: auto;
}
.paleta-text { flex: 1; max-width: 540px; }
.paleta-blobs {
  flex: 0 0 240px;
  position: relative;
  height: 260px;
}
.blob {
  position: absolute;
  border-radius: 50%;
}
.blob-green {
  width: 160px; height: 160px;
  background: #758e71;
  top: 0; right: 60px;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
}
.blob-cream {
  width: 110px; height: 110px;
  background: #f0e8d8;
  top: 80px; right: 0;
  border-radius: 50% 40% 60% 50% / 60% 50% 50% 40%;
}
.blob-lightgreen {
  width: 130px; height: 100px;
  background: #bbccb8;
  bottom: 0; right: 80px;
  border-radius: 45% 55% 60% 40% / 40% 60% 40% 60%;
}

/* ─── PHOTO STRIP ─── */
.photo-strip {
  display: flex;
  width: 100%;
}
.photo-strip a {
  flex: 1;
}


/* ─── RSVP ─── */
.rsvp {
  background: #465a43;
  padding: 80px 0 80px;
}
.rsvp .section-title { color: #f7f2e8; }
.rsvp-form {
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: flex;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.form-group label {
  font-size: 16px;
  font-weight: 700;
  color: #fffbf5;
}
.form-group input,
.form-group textarea {
  background: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 12px;
  font-family: 'Albert Sans', sans-serif;
  font-size: 16px;
  color: #2d4c28;
  outline: none;
  width: 100%;
}
.form-group textarea {
  height: 65px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 2px #bbccb8;
}
.form-label { font-size: 16px; font-weight: 700; color: #fffbf5; }
.radio-group {
  display: flex;
  gap: 28px;
  margin-top: 4px;
}
.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.radio-option input[type="radio"] { display: none; }
.radio-circle {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.radio-dot {
  width: 15px;
  height: 15px;
  background: #758e71;
  border-radius: 50%;
  display: none;
}
.radio-option input[type="radio"]:checked + .radio-circle .radio-dot { display: block; }
.radio-option span {
  font-size: 16px;
  color: #fffbf5;
}
.btn-submit {
  background: #758e71;
  color: #fff;
  font-family: 'Albert Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  border: none;
  border-radius: 48px;
  padding: 18px 42px;
  cursor: pointer;
  align-self: center;
  min-width: 220px;
  transition: background 0.2s;
}
.btn-submit:hover { background: #5e7559; }

/* ─── JAK SE DOSTAT ─── */
.jak-se-dostat {
  background: #fffbf5;
  padding: 80px 0 90px;
}
.address-block {
  font-size: 18px;
  line-height: 1.57;
  color: #2d4c28;
  margin-top: 24px;
}
.address-block p { margin-bottom: 2px; }
.address-block p.map-link { margin-bottom: 20px; }
.address-block p.map-link a {
  color: #2d4c28;
  text-decoration: underline;
}
.dostat-photo {
  flex: 0 0 532px;
  height: 479px;
  object-fit: cover;
  border-radius: 22px;
}

/* ─── FOOTER ─── */
footer {
  background: #fbf7f0;
  padding: 36px 0 32px;
  text-align: center;
}
footer img.footer-logo {
  height: 48px;
  display: block;
  margin: 0 auto 16px;
}
footer p {
  font-size: 16px;
  font-weight: 400;
  color: #2d4c28;
  line-height: 1.29;
}

/* ─── UTILITIES ─── */
.text-center { text-align: center; }

/* ═══════════════════════════════════════════════
   RESPONZIVNÍ STYLY
   ─── Tablet: 768px – 1024px ───────────────────
   ─── Mobil:  < 768px ──────────────────────────
   ═══════════════════════════════════════════════ */

/* ─── TABLET ─── */
@media (max-width: 1024px) {
  nav ul {
    gap: 32px;
  }

  .hero-photo-wrapper {
    width: 340px;
  }

  .two-col {
    gap: 40px;
  }

  .two-col-image {
    flex: 0 0 340px;
  }

  .two-col-image img {
    height: 100%;
  }

  .obrad-info {
    gap: 40px;
  }

  .paleta-inner {
    gap: 40px;
  }

  .obrad-photos a {
    height: 280px;
  }

  .dostat-photo {
    flex: 0 0 380px;
    height: 360px;
    width: 380px;
  }

  .jak-se-dostat .two-col {
    gap: 40px;
  }
}


/* ─── MOBIL ─── */
@media (max-width: 768px) {

  iframe {
    width: 100%;
    border-radius: 10px;
  }
  /* Navigace */
  nav {
    padding: 12px 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  nav ul {
    gap: 10px;
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    padding-bottom: 4px;
  }
  nav ul li a {
    font-size: 12px;
	  letter-spacing: 0.2px
  }

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

  /* Hero */
  .hero {
    padding: 36px 0 0;
  }
  .hero-photo-wrapper {
    width: 90%;
    max-width: 320px;
  }
  .hero-intro {
    font-size: 16px;
    padding: 0 24px;
    margin-bottom: 32px;
  }
  .hero-photos {
    max-width: 100%;
    padding: 0 16px;
  }

  /* Section inner */
  .section-inner {
    padding: 0 20px;
  }

  /* Obecné two-col → stack */
  .two-col {
    flex-direction: column;
    gap: 32px;
    align-items: stretch !important;
  }
  .two-col-image {
    flex: unset;
    width: 100%;
  }
  .two-col-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 20px;
  }
  .section-body {
    font-size: 16px;
    max-width: 100%;
  }

  /* Náš příběh */
  .nas-pribeh {
    padding: 52px 0 56px;
  }

  /* Obřad & oslava */
  .obrad {
    padding: 52px 0 0;
  }
  .obrad-info {
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
  }
  .obrad-details {
    flex-direction: column;
    flex-wrap: wrap;
    gap: 24px;
        width: 100%;
    margin-top: 0;
    justify-content: center;
    text-align: center;
  }
  .obrad-detail-item {
    min-width: 120px;
    margin: auto;
  }
  .obrad-detail-item span,
  .obrad-detail-item a {
    font-size: 15px;
  }
  .obrad-photos {
    flex-direction: column;
  }
  .obrad-photos a {
    height: 220px;
    width: 100%;
  }
  .obrad-photos a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Program */
  .program {
    padding: 52px 0 52px;
  }
  .program-title {
    font-size: 26px;
    margin-bottom: 36px;
  }
  .program .section-inner img {
    width: 100%;
    height: auto;
  }

  /* Barevná paleta */
  .paleta {
    padding: 52px 0 52px;
  }
  .paleta-inner {
    flex-direction: column;
    gap: 6px;
    align-items: center;
  }
  .paleta-text {
    max-width: 100%;
  }
  .paleta-blobs {
    flex: unset;
    width: 240px;
    height: 220px;
  }

  /* Photo strip */
  .photo-strip {
    flex-direction: column;
  }
  .photo-strip a {
    width: 100%;
  }
  .photo-strip a img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }

  /* RSVP */
  .rsvp {
    padding: 52px 0 56px;
  }
  .rsvp-form {
    max-width: 100%;
    padding: 0 4px;
  }
  .form-row {
    flex-direction: column;
    gap: 16px;
  }

  /* Jak se dostat */
  .jak-se-dostat {
    padding: 52px 0 56px;
  }
  .jak-se-dostat .two-col {
    flex-direction: column;
    gap: 36px !important;
  }
  .dostat-photo {
    flex: unset !important;
    width: 100% !important;
    height: 280px !important;
    border-radius: 16px;
  }
  .address-block {
    font-size: 16px;
  }

  /* Footer */
  footer {
    padding: 28px 20px 24px;
  }
}

/* ─── MALÝ MOBIL (< 420px) ─── */
@media (max-width: 420px) {
  nav ul li a {
    font-size: 12px;
  }
  .hero-photo-wrapper {
    width: 95%;
  }
  .hero-intro {
    font-size: 15px;
  }
  .obrad-details {
    flex-direction: column;
    align-items: center;
  }
}







/* Skrýt nativní radio button */
.wpcf7-list-item input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s;
  flex-shrink: 0;
  position: relative;
  vertical-align: middle;
  outline: none;
}

/* Hover stav */
.wpcf7-list-item input[type="radio"]:hover {
  border-color: #639922;
  outline: none;
}

/* Checked stav — zelené pozadí */
.wpcf7-list-item input[type="radio"]:checked {
  border-color: #ffffff;
  background: #3B6D11;
  outline: none;
}


.wpcf7-not-valid-tip {
    color: #ff6c6c;
    font-size: 12px;
    font-weight: normal;
    margin-top: 5px;
    font-weight: 700;
    display: block;
}


/* Bílá tečka uvnitř */
.wpcf7-list-item input[type="radio"]:checked::after {
  content: '';
  display: block;
  outline: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.wpcf7-response-output {
    padding: 10px !important;
    background: #46b450;
    color: #000;
    font-weight: 700;
    text-align: center;
    max-width: 500px;
    margin: auto !important;
    border-radius: 9px;
}

/* Layout položek vedle sebe */
.wpcf7-radio {
  display: flex;
  gap: 24px;
  align-items: center;
}

.wpcf7-list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 16px;
}
