@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box; }

body {
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), url("/static/img/pozadi_2.png");
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  margin: 0;
  padding: 80px 0 0 0;
  color: #4a3e3e; }
  @media (max-width: 820px) {
    body {
      padding: 20px 0 0 0;
      width: 100%;
      font-size: 1.2rem; } }
.header {
  color: #5e3c2f;
  text-align: center;
  padding: 0 1rem 0 1rem;
  position: relative;
  display: flex;
  flex-direction: column; }
  .header .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    z-index: 1100;
    padding: 10px; }
    @media (max-width: 820px) {
      .header .mobile-menu {
        display: block; } }
  .header .hamburger {
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1200; }
    .header .hamburger .bar {
      height: 4px;
      background-color: #4a3e3e;
      border-radius: 2px;
      transition: all 0.3s ease;
      width: 30px; }
    .header .hamburger.open .bar:nth-child(1) {
      transform: rotate(45deg) translate(8px, 6px);
      width: 30px; }
    .header .hamburger.open .bar:nth-child(2) {
      opacity: 0; }
    .header .hamburger.open .bar:nth-child(3) {
      transform: rotate(-45deg) translate(8px, -6px);
      width: 30px; }
  .header .menu {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    width: 100%;
    padding: 0.5rem 1rem; }
    .header .menu .menu-item {
      border-radius: 12px;
      transition: background-color 0.3s ease, transform 0.2s ease; }
      .header .menu .menu-item a {
        display: block;
        padding: 0.8rem 1.8rem;
        color: #4a3e3e;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        transition: color 0.3s ease; }
      .header .menu .menu-item:hover {
        background-color: #bc604c;
        transform: translateY(-2px); }
        .header .menu .menu-item:hover a {
          color: #fff; }
    @media (max-width: 820px) {
      .header .menu {
        flex-direction: column;
        align-items: flex-start;
        top: 0;
        left: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: white;
        padding-top: 4rem;
        transition: left 0.3s ease; }
        .header .menu .menu-item {
          width: 100%; }
          .header .menu .menu-item a {
            display: block;
            padding: 1rem 1.5rem;
            font-size: 1.2rem; } }
    @media (max-width: 820px) {
      .header .menu.open {
        left: 0; } }
  .header h1 {
    font-family: "Dancing Script", cursive;
    font-size: 5rem;
    margin: 0;
    font-weight: 400; }
  .header h2 {
    font-size: 3.3rem;
    font-weight: 400;
    font-family: "Dancing Script", cursive;
    color: #217557;
    margin: 0; }
  .header .wedding-date {
    margin-top: 0.35rem;
    font-size: 1.6rem; }
  @media (max-width: 820px) {
    .header {
      padding: 1rem 0.5rem; }
      .header h1 {
        font-size: 4rem;
        margin-bottom: 30px; }
      .header h2 {
        font-size: 3rem; }
        .header h2 img {
          display: block;
          margin: 0 auto; }
      .header .wedding-date {
        margin-top: 80px;
        font-size: 1.4rem; } }
.content-bg {
  position: relative; }

main {
  display: grid;
  place-items: center;
  /* zarovná obsah horizontálně i vertikálně */
  grid-template-columns: 1fr;
  /* jeden sloupec */
  grid-template-rows: auto;
  box-sizing: border-box; }
  main .section {
    justify-self: center;
    box-sizing: border-box; }
  main ul, main p {
    margin: 0.5rem 0; }

.inner-content {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto; }

.wide-content {
  padding: 0 40px; }
  @media (max-width: 820px) {
    .wide-content {
      padding: 0 20px; } }
.section {
  margin-bottom: 3rem;
  width: 100%; }
  .section.center {
    text-align: center; }
  .section h2 {
    font-family: "Dancing Script", cursive;
    font-size: 3rem;
    color: #217557;
    margin-bottom: 1rem;
    font-weight: 300; }
    @media (max-width: 820px) {
      .section h2 {
        font-size: 3rem; } }
  .section ul {
    list-style: none;
    padding: 0; }
    .section ul li {
      margin-bottom: 0.5rem; }
  .section .program-timeline {
    border: 2px dashed #4a3e3e;
    border-radius: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 20px;
    flex-wrap: wrap; }
    .section .program-timeline .timeline-item {
      justify-content: center;
      flex-basis: 150px;
      text-align: center; }
      .section .program-timeline .timeline-item .icon {
        height: 55px;
        font-size: 40px; }
        .section .program-timeline .timeline-item .icon img {
          width: 50px; }
      .section .program-timeline .timeline-item .text {
        font-size: 1rem; }
    @media (max-width: 820px) {
      .section .program-timeline {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto; }
        .section .program-timeline .timeline-item .icon {
          font-size: 30px; }
          .section .program-timeline .timeline-item .icon img {
            width: 40px; }
        .section .program-timeline .text {
          font-size: 0.9rem; } }
  .section .map-container {
    width: 100%;
    display: flex;
    flex-direction: column; }
    .section .map-container .wide-line {
      display: flex;
      background: #4a3e3e;
      width: 100%;
      height: 1px; }
  @media (max-width: 600px) {
    .section h2 {
      text-align: center; } }
a {
  color: #c1442e;
  text-decoration: none; }
  a:hover {
    text-decoration: underline; }

.form-app {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto; }
  .form-app .guest-list {
    width: auto;
    margin: 20px auto 50px auto; }

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 350px;
  align-self: center; }
  .rsvp-form input,
  .rsvp-form textarea {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem; }
  .rsvp-form button {
    background: #d67243;
    color: white;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease; }
    .rsvp-form button:hover {
      background: #bc604c; }
  @media (max-width: 800px) {
    .rsvp-form {
      min-width: 100%;
      max-width: 100%;
      padding: 0; } }
/* Dekorativní letadla v pozadí s jemnou animací */
.airplane {
  position: absolute;
  background: url("/static/img/plane_alone.png") no-repeat center center;
  background-size: contain;
  opacity: 1;
  pointer-events: none;
  width: 600px;
  height: 300px; }
  @media screen and (max-width: 1600px) {
    .airplane {
      top: 100px;
      left: 50%;
      transform: translateX(-50%);
      z-index: -1;
      opacity: 0.35; } }
  @media (max-width: 820px) {
    .airplane {
      max-width: 100%;
      width: 100vw;
      overflow-x: hidden; } }
.admin h1, .admin h2 {
  text-align: center;
  color: #5c6bc0;
  font-size: 1.5rem;
  margin-bottom: 1rem; }

.admin .admin-content {
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center; }

.admin table {
  border-collapse: collapse;
  background: #fff;
  font-size: 0.8rem; }
  .admin table th, .admin table td {
    padding: 0.1rem 0.6rem;
    border: 1px solid #ddd;
    text-align: left; }
  .admin table th {
    background: #5c6bc0;
    color: #fff; }
  .admin table tr:hover {
    background: #f1f1f1; }

.admin #app {
  margin: 1rem auto;
  text-align: center; }
  .admin #app form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem; }
    .admin #app form input {
      padding: 0.3rem 0.5rem;
      font-size: 0.85rem;
      border: 1px solid #ccc;
      border-radius: 3px;
      width: 120px; }
      .admin #app form input:focus {
        border-color: #5c6bc0;
        outline: none; }
    .admin #app form button {
      padding: 0.35rem 0.8rem;
      background: #5c6bc0;
      color: #fff;
      border: none;
      border-radius: 3px;
      font-size: 0.85rem;
      cursor: pointer;
      transition: background 0.2s; }
      .admin #app form button:hover {
        background: #3f51b5; }
  .admin #app p {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #388e3c; }

footer {
  background-color: #613c2f78; }
  footer .info-icons {
    display: flex;
    justify-content: space-around; }
    footer .info-icons img {
      height: 40px; }

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform; }

.fade-in.visible {
  opacity: 1;
  transform: translateY(0); }

.logout-button {
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: #d9534f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer; }

.logout-button:hover {
  background: #c9302c; }
