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

:root {
  --ivory: #f7f0e8;
  --paper: #fffaf4;
  --rose: #b56b78;
  --rose-dark: #7b3f4b;
  --wine: #4f2f36;
  --ink: #3f3033;
  --line: rgba(123, 63, 75, 0.22);
  --glass: rgba(255, 250, 244, 0.76);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  background: #2d2326;
}

.background-slideshow {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  background: #2d2326;
}

.background-image {
  position: absolute;
  inset: -20px;
  background-position: center;
  background-size: cover;
  opacity: 0;
  filter: brightness(0.52) saturate(0.78);
  transform: scale(1.06);
  animation: backgroundFade 28s infinite;
}

.background-image-1 {
  background-image: url("images/pes1.jpeg");
  animation-delay: 0s;
}

.background-image-2 {
  background-image: url("images/pes2.jpeg");
  animation-delay: 7s;
}

.background-image-3 {
  background-image: url("images/pes3.jpeg");
  animation-delay: 14s;
}

.background-image-4 {
  background-image: url("images/pes4.jpeg");
  animation-delay: 21s;
}

@keyframes backgroundFade {
  0%,
  100% {
    opacity: 0;
  }

  7%,
  24% {
    opacity: 1;
  }

  31% {
    opacity: 0;
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(50, 36, 39, 0.42), rgba(35, 27, 29, 0.72)),
    radial-gradient(circle at 50% 15%, rgba(255, 244, 231, 0.12), transparent 45%);
}

.page-content {
  width: 100%;
  padding: 56px 24px 90px;
}

.hero-card,
.choice-section {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 250, 244, 0.56);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 30px 80px rgba(20, 12, 14, 0.28);
}

.hero-card {
  padding: 58px 56px 48px;
  border-radius: 28px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--rose-dark);
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 10px;
  color: var(--wine);
  font-family: "Great Vibes", cursive;
  font-size: clamp(68px, 10vw, 132px);
  font-weight: 400;
  line-height: 0.95;
}

.lead {
  margin: 0 auto 34px;
  max-width: 760px;
  color: #5d484d;
  font-size: clamp(21px, 2.4vw, 30px);
  line-height: 1.45;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

.photo-frame {
  position: relative;
  height: 430px;
  overflow: hidden;
  border: 10px solid rgba(255, 250, 244, 0.92);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 18px 42px rgba(62, 40, 45, 0.22);
}

.photo-frame:first-child {
  transform: rotate(-0.7deg);
}

.photo-frame:last-child {
  transform: rotate(0.7deg);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.photo-frame:hover img {
  transform: scale(1.035);
}

.counter-section {
  margin: 6px 0 32px;
}

.counter-title {
  margin-bottom: 16px;
  color: var(--wine);
  font-size: 30px;
}

.counter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.counter-box {
  padding: 18px 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 250, 244, 0.62);
}

.counter-box span {
  display: block;
  color: var(--rose-dark);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 700;
}

.counter-box small {
  color: #745b61;
  font-size: 16px;
}

.soft-button {
  padding: 15px 34px;
  border: 1px solid var(--rose-dark);
  border-radius: 999px;
  color: #fffaf4;
  background: var(--rose-dark);
  font-family: inherit;
  font-size: 22px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(85, 43, 52, 0.22);
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.soft-button:hover {
  transform: translateY(-2px);
  background: #6e3742;
}

.surprise-text {
  margin-top: 24px;
  color: var(--rose-dark);
  font-family: "Great Vibes", cursive;
  font-size: 38px;
}

.hidden {
  display: none;
}

/* TŘI VOLBY */

.choice-section {
  margin-top: 58px;
  padding: 48px 38px 42px;
  border-radius: 28px;
  text-align: center;
}

.choice-section > h2 {
  max-width: 850px;
  margin: 0 auto 34px;
  color: var(--wine);
  font-family: "Great Vibes", cursive;
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 400;
  line-height: 1.05;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.choice-card {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  align-items: center;
  padding: 34px 26px 28px;
  overflow: hidden;
  border: 1px solid rgba(123, 63, 75, 0.18);
  border-radius: 22px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 250, 244, 0.93), rgba(247, 237, 228, 0.9));
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(62, 40, 45, 0.14);
  transition:
    transform 0.32s ease,
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.choice-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(181, 107, 120, 0.16), transparent 50%);
  transition: opacity 0.32s ease;
}

.choice-card > * {
  position: relative;
  z-index: 1;
}

.choice-card:hover {
  transform: translateY(-9px) scale(1.015);
  border-color: rgba(123, 63, 75, 0.34);
  box-shadow: 0 28px 52px rgba(62, 40, 45, 0.22);
}

.choice-card:hover::before {
  opacity: 1;
}

.choice-icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin-bottom: 22px;
  border: 1px solid rgba(123, 63, 75, 0.24);
  border-radius: 50%;
  color: var(--rose-dark);
  background: rgba(255, 250, 244, 0.84);
  font-family: Georgia, serif;
  font-size: 42px;
  box-shadow: 0 12px 26px rgba(62, 40, 45, 0.13);
  transition:
    transform 0.32s ease,
    background 0.32s ease;
}

.choice-card:hover .choice-icon {
  transform: translateY(-4px) rotate(-3deg);
  background: #fffaf4;
}

.choice-heart {
  font-size: 39px;
}

.choice-card h3 {
  margin-bottom: 12px;
  color: var(--wine);
  font-size: 34px;
  font-weight: 700;
}

.choice-card p {
  flex-grow: 1;
  max-width: 290px;
  color: #6d565b;
  font-size: 21px;
  line-height: 1.42;
}

.choice-button {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 22px;
  border: 1px solid rgba(123, 63, 75, 0.5);
  border-radius: 999px;
  color: var(--rose-dark);
  background: rgba(255, 250, 244, 0.6);
  font-size: 19px;
  font-weight: 700;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.choice-card:hover .choice-button {
  color: #fffaf4;
  background: var(--rose-dark);
}

@media (max-width: 900px) {
  .hero-card {
    padding: 40px 22px 34px;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-frame {
    height: 400px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .choice-card {
    min-height: 310px;
  }
}

@media (max-width: 600px) {
  .page-content {
    padding: 22px 12px 50px;
  }

  .hero-card,
  .choice-section {
    border-radius: 20px;
  }

  .choice-section {
    padding: 38px 16px 26px;
  }

  .eyebrow {
    font-size: 14px;
  }

  .counter {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-frame {
    height: 320px;
    border-width: 7px;
  }

  .choice-card {
    padding: 30px 20px 24px;
  }
}
