/* Reset a základní nastavení */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #fef8f1;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.6;
  text-align: center;
}

/* HLAVIČKA – sahá až do krajů */
header {
  width: 100vw;
  background: linear-gradient(135deg, #f4d9c6 0%, #ffe6c9 100%);
  padding: 3rem 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

header h1 {
  font-family: 'Mark Script', cursive;
  font-size: 3.5rem;
  font-weight: bold;
  color: #8b3e2f;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
}

header p {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  color: #b76b51;
  font-style: italic;
}

/* WRAPPER pro ostatní části */
.wrapper {
  width: 100%;
  max-width: 800px;
  padding: 2rem 1rem;
}

/* SEKCE */
section {
  margin-bottom: 2rem;
}

section h2 {
  color: #b55d4a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

section p {
  font-size: 1.1rem;
  color: #4b3a30;
  margin-bottom: 1.5rem;
}

/* MAPA */
.map-placeholder {
  background-color: #e0e0e0;
  color: #555;
  font-style: italic;
  padding: 2rem;
  border-radius: 8px;
  max-width: 100%;
  margin: 0 auto;
}

/* PATIČKA */
footer {
  width: 100vw;
  background: linear-gradient(135deg, #ffe6c9 0%, #f4d9c6 100%);
  box-shadow: 0 -4px 8px rgba(0,0,0,0.1);
  /* font-weight: bold; */
  color: #8b3e2f;
  padding: 1.5rem 1rem;
}

/* Odkazy */
a {
  color: #b55d4a;
  font-weight: 600;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* foto kytka */
.invitation-photo-container {
  display: flex;
  justify-content: center; /* horizontální centrování */
  align-items: center;     /* vertikální centrování */
  width: 100%;
  margin: 0 0 5rem 0;          /* mezera nahoře a dole */
  min-height: 200px;       /* volitelně, aby měl kontejner nějakou výšku */
}

.invitation-photo {
  min-width: 400px;
  width: 25%;
  height: auto;
  opacity: 0.9;
}

@media (max-width: 600px) {
  .invitation-photo {
    max-width: 100%;
    opacity: 0.9;
  }
}

/* foto */
.photo-container {
  display: flex;
  justify-content: center; /* horizontální centrování */
  align-items: center;     /* vertikální centrování */
  width: 75%;
  margin: 2rem 0 0 0;          /* mezera nahoře a dole */
  min-height: 200px;       /* volitelně, aby měl kontejner nějakou výšku */
}

.photo {
  max-width: 70%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

@media (max-width: 600px) {
  .photo {
    max-width: 100%;
    opacity: 0.9;
  }
}

/* Responzivita */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  section p {
    font-size: 1rem;
  }

  .map-placeholder {
    padding: 1.2rem;
  }
}
