/* ============================= */
/* GLOBAL */
/* ============================= */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #f5fff5;
  color: #333;
  margin: 0;
  padding: 20px;
}

a {
  color: #228B22;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #1e7b1e;
}

/* ============================= */
/* HEADER */
/* ============================= */
header {
  background-color: #228B22;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  color: white;
  margin-bottom: 10px;
}

/* ============================= */
/* LANGUAGE SWITCH */
/* ============================= */
nav.language-switch {
  margin-top: 10px;
}

nav.language-switch a {
  color: white;
  margin: 0 6px;
  font-weight: bold;
}

/* ============================= */
/* MAIN MENU */
/* ============================= */
.main-menu a {
  color: white;
  font-weight: bold;
  margin: 0 6px;
}

.main-menu a:hover {
  text-decoration: underline;
  color: #e8ffe8;
}

/* ============================= */
/* CONTENT */
/* ============================= */
section {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

h2 {
  color: #2e8b57;
}

ul {
  padding-left: 20px;
}

/* ============================= */
/* UTILITIES */
/* ============================= */
.center {
  text-align: center;
}

.small-note {
  font-size: 0.9em;
  color: #555;
  text-align: left;
  margin-top: 10px;
}

/* ============================= */
/* IMAGE */
/* ============================= */
.image-center {
  text-align: center;
  margin-bottom: 20px;
}

.image-center img {
  width: 800px;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ============================= */
/* INFO + STATUS BOXES */
/* ============================= */
.info-box {
  background: #eef8ee;
  border-left: 4px solid #2e8b57;
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
  font-size: 1.05em;
}

.error-box {
  background: #ffecec;
  border-left: 4px solid #c00000;
  padding: 15px;
}

.success-box {
  background: #ecffec;
  border-left: 4px solid #228B22;
  padding: 15px;
}

/* ============================= */
/* FORM LAYOUT */
/* ============================= */
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.form-col {
  flex: 1;
  min-width: 250px;
}

/* ============================= */
/* FORM ELEMENTS */
/* ============================= */
input,
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
  margin-top: 6px;
}

label {
  margin-top: 12px;
  display: block;
  font-weight: 700;
}

textarea {
  min-height: 120px;
}

/* ============================= */
/* CHECKBOX */
/* ============================= */
.checkbox-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

input[type="checkbox"] {
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 auto;
}

label.checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

/* ============================= */
/* BUTTONS */
/* ============================= */
.cta-button {
  background: #228B22;
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 1.1em;
  font-weight: bold;
  display: inline-block;
  margin: 25px auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
}

.cta-button:hover {
  color: white;
  text-decoration: underline;
}

.cta-center {
  text-align: center;
}

/* ============================= */
/* DOWNLOAD / STORE */
/* ============================= */
.download-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.store-badge-wrapper {
  display: flex;
  justify-content: center;
}

ms-store-badge::part(img) {
  max-height: 44px;
}

.store-note {
  font-size: 0.9em;
  color: #555;
  text-align: center;
}

/* ============================= */
/* FOOTER */
/* ============================= */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #555;
}

/* ============================= */
/* COOKIE BANNER */
/* ============================= */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #eef6ec;
  color: #333;
  padding: 15px;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.15);
  font-size: 0.95em;
}

#cookie-banner a {
  color: #267e4c;
  font-weight: bold;
}

#cookie-banner button {
  margin-left: 10px;
  background: #267e4c;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 5px;
  cursor: pointer;
}

#cookie-banner button:last-child {
  background: #cccccc;
  color: #333;
}

#cookie-banner button:hover {
  opacity: 0.9;
}

/* ============================= */
/* LANGUAGE BANNER */
/* ============================= */
#langBanner {
  display: none;
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #e8f5e9;
  border: 2px solid #2e8b57;
  padding: 18px 24px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  z-index: 9999;
  text-align: center;
  min-width: 260px;
  font-size: 1.05em;
}

#langBanner #langQuestion {
  font-weight: 600;
  font-size: 1.1em;
}

#btnSwitch {
  background: #2e8b57;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

#btnStay {
  margin-left: 10px;
  background: #eeeeee;
  color: #333;
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
}

#btnSwitch:hover {
  background: #256f47;
}

#btnStay:hover {
  background: #dddddd;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;      /* volitelné – aby nebylo moc široké */
  margin: 2rem auto;
  padding-top: 56.25%;  /* 16:9 poměr */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-wrapper iframe {
  border-radius: 8px;
}