@font-face {
  font-family: "TanParadiso";
  src: url("./fonts/TANPARADISO.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --bg: #f7f3ef;
  --paper: #fcfbf8;
  --paper-2: #ffffff;
  --accent: #c98f97;
  --accent-dark: #7f565d;
  --text: #2c2625;
  --muted: #4a403e;
  --line: #d8d0ca;
  --shadow: 0 10px 30px rgba(60, 42, 38, 0.08);

  /* Nový směr podle finálního oznámení */
  --brown: #5a2d17;
  --brown-dark: #43200f;
  --brown-soft: rgba(84, 45, 23, 0.12);
  --rose-soft: rgba(159, 111, 118, 0.12);
  --rose: #9f6f76;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Cormorant Garamond", Georgia, serif;
  margin: 0;
  background: linear-gradient(180deg, #fcfffb 0%, #b0d3aa 100%);
  color: var(--text);
}

.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 18px 48px;
}

.announcement-shell {
  background: rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  padding: 0 22px 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(84, 45, 23, 0.08);
  position: relative;
  overflow: hidden;
}

.announcement-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 140px, rgba(255,255,255,0.95) 0 330px, rgba(255,255,255,0.55) 331px, transparent 560px),
    linear-gradient(rgba(255,255,255,0.42), rgba(255,255,255,0.42));
  pointer-events: none;
}

.hero {
  position: relative;
  text-align: center;
  padding: 130px 24px 70px;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 95px;
  transform: translateX(-50%);
  width: min(700px, 92vw);
  height: min(700px, 92vw);
  background: rgba(255,255,255,0.90);
  border-radius: 50% 50% 0 0;
  z-index: -1;
}

.hero-flower {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: -2;
}

.hero-flower-top {
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: min(760px, 92vw);
  opacity: 0.95;
}

.hero-top {
  margin: 15px 0 35px;
  font-size: 15px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #74432a;
  font-weight: 600;
}

.hero-names {
  margin: 0;
  font-family: "TanParadiso", serif;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0.03em;
  color: #4c2412;
}

.hero-names span {
  display: block;
  font-family: "TanParadiso", serif;
  font-size: clamp(42px, 6vw, 78px);
  font-weight: 400;
  color: #dfa5ab;
  margin: -4px 0 -8px;
}

.hero-text {
  max-width: 620px;
  margin: 30px auto 0;
  font-size: 19px;
  line-height: 1.75;
  color: #5f4a3f;
}

.hero-divider {
  width: 160px;
  height: 1px;
  background: rgba(116, 67, 42, 0.22);
  margin: 36px auto 0;
  position: relative;
}

.hero-divider::after {
  content: "♡";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -56%);
  background: rgba(255,255,255,0.92);
  color: #74432a;
  padding: 0 14px;
  font-size: 18px;
}

.hero-line::after,
.hero-divider::after {
  content: "♡";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -56%);
  font-size: 20px;
  color: var(--brown);
  background: rgba(255, 255, 255, 0.9);
  padding: 0 14px;
}

.gift-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

/* Nové karty darů */
.gift-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 28px 26px 24px;
  border: 1px solid var(--brown-soft);
  box-shadow: 0 12px 34px rgba(84, 45, 23, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.gift-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(84, 45, 23, 0.09);
  border-color: rgba(84, 45, 23, 0.2);
}

.gift-card h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: left;
  color: #3b1f10;
}

.gift-card p {
  margin: 0 0 22px;
  color: #5f4a3f;
  line-height: 1.65;
  text-align: left;
  font-size: 17px;
  font-weight: 400;
}

.gift-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--brown-soft);
}

.status {
  font-size: 14px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 600;
}

.status.free {
  color: #6f8a62;
}

.status.reserved {
  color: var(--rose);
}

button {
  border: none;
  background: var(--brown);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  letter-spacing: 0.03em;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 8px 18px rgba(84, 45, 23, 0.13);
}

button:hover {
  background: var(--brown-dark);
  transform: translateY(-1px);
}

button:disabled {
  background: #c8bdb6;
  color: #fff;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Detail daru jako sekundární tlačítko */
.gift-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.gift-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--rose-soft);
  color: var(--brown);
  border: 1px solid rgba(159, 111, 118, 0.32);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.18s ease;
}

.gift-link:hover {
  background: rgba(159, 111, 118, 0.2);
  border-color: rgba(159, 111, 118, 0.55);
  transform: translateY(-1px);
}

/* Nový modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(45, 29, 20, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9999;
}

.modal.hidden {
  display: none;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 34px 28px 28px;
  box-shadow: 0 22px 60px rgba(45, 29, 20, 0.2);
  border: 1px solid var(--brown-soft);
  z-index: 10000;
}

.modal-content h2 {
  margin: 0 0 10px;
  text-align: center;
  font-size: 32px;
  font-weight: 500;
  color: #3b1f10;
}

.modal-gift-name {
  margin: 0 0 24px;
  text-align: center;
  color: #6c5a50;
  line-height: 1.6;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: transparent;
  color: var(--brown);
  font-size: 30px;
  padding: 0;
  border: none;
  cursor: pointer;
  box-shadow: none;
}

.modal-close:hover {
  background: transparent;
  transform: none;
}

#reservation-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#reservation-form label {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brown);
  font-weight: 600;
}

#reservation-form input {
  padding: 13px 15px;
  border: 1px solid rgba(84, 45, 23, 0.18);
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: #3b1f10;
}

#reservation-form input:focus {
  outline: none;
  border-color: rgba(159, 111, 118, 0.7);
  box-shadow: 0 0 0 4px rgba(159, 111, 118, 0.13);
}

.modal-submit {
  margin-top: 6px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: rgba(44, 38, 37, 0.92);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 18px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 11000;
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
}

@media (max-width: 700px) {
  .announcement-shell {
    border-radius: 18px;
    padding: 0 16px 22px;
  }

 .hero {
  padding: 100px 18px 58px;
}

.hero::before {
  width: 115vw;
  height: 115vw;
  top: 120px;
}

.hero-flower-top {
  width: 135vw;
  top: 24px;
  opacity: 0.82;
}

.hero-text {
  font-size: 17px;
}
  .hero-flower-left {
    left: -70px;
    top: 260px;
    width: 42vw;
    opacity: 0.72;
  }

  .hero-flower-right {
    right: -70px;
    top: 260px;
    width: 42vw;
    opacity: 0.72;
  }

  .gift-card {
    border-radius: 16px;
    padding: 22px 18px 18px;
  }

  .gift-card h2 {
    font-size: 24px;
  }

  .gift-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .gift-footer button {
    width: 100%;
  }

  .gift-actions {
    width: 100%;
    flex-direction: column;
  }

  .gift-actions .gift-link,
  .gift-actions button {
    width: 100%;
  }

  .modal-content {
    border-radius: 18px;
    padding: 34px 20px 22px;
  }
}


/* Mobilní doladění hero sekce – ponechává desktop beze změny */
@media (max-width: 700px) {
  .container {
    padding: 18px 10px 36px;
  }

  .announcement-shell {
    border-radius: 18px;
    padding: 0 12px 22px;
  }

  .hero {
    padding: 92px 14px 52px;
    overflow: hidden;
  }

  .hero::before {
    top: 70px;
    bottom: 18px;
    width: min(520px, calc(100% - 16px));
    height: auto;
    border-radius: 260px 260px 18px 18px;
  }

  .hero-flower-top {
    top: 22px;
    width: min(560px, 112vw);
    opacity: 0.84;
  }

  .hero-top {
    margin: 18px 0 24px;
    font-size: 12px;
    letter-spacing: 0.18em;
  }

  .hero-names {
    font-size: clamp(24px, 9vw, 36px);
    line-height: 1.04;
    letter-spacing: 0.025em;
  }

  .hero-names span {
    font-size: clamp(32px, 11vw, 48px);
    margin: -2px 0 -5px;
  }

  .hero-text {
    max-width: 100%;
    margin-top: 24px;
    padding: 0 6px;
    font-size: 16px;
    line-height: 1.58;
  }

  .hero-divider {
    width: 130px;
    margin-top: 28px;
  }
}
