body, html {
    font-family: "DM Sans", sans-serif;
    background: #f4faf5;
    color: #2c2c2c;
    min-width: 570px;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    height: 100%;
  }

body{
  display: flex;
  flex-direction: column;
  min-height: 100vh;

}
  /* Header */
  .header {
    background: white;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  /* footer */
  .footer {
    background: rgba(29,65,44,1);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
  }

  /* Levý dropdown Projekty */
  .logo-dropdown {
    position: relative;
    display: flex;
    align-items: center;
  }

  .logo img {
    height: 56px;
    display: block;
  }



  .dropdown-btn {
    margin-left: 0.5rem;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 1rem;
  }

  .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid #d7e6d9;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: none;
    min-width: 220px;
    z-index: 1000;
  }

  .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    text-decoration: underline;
    color:rgb(108, 20, 0);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
  }

  .dropdown-menu a:hover {
    background: #f0f0f0;
  }

  .dropdown-menu img {
    height: 50px;
    width: auto;
  }

  /* Střední menu */
  .main-menu a {
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
    color: #236538;
  }

  .main-menu a:hover {
    color: #2e7d47;
  }

  /* Pravá část */
  .header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
  }



  /* Jazykový dropdown */
  .language-dropdown {
    position: relative;
    display: inline-block;
  }

  .language-dropdown .dropdown-btn {

    color: white;
    cursor: pointer;
  }


  .language-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.25rem;
    background: white;
    border: 1px solid #d7e6d9;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 60px;
    z-index: 1000;
  }

  .language-dropdown .dropdown-menu a {
    display: block;
    padding: 0.4rem 0.8rem;
    text-decoration: none;
    color: #2c2c2c;
    font-weight: normal;
    text-align: center;
  }

  .language-dropdown .dropdown-menu a:hover {
    background: #f0f0f0;
    border-radius: 0.5rem;
  }

  /* Hamburger menu */
  .hamburger-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .hamburger-menu {
    padding:20px;
    display: none;
    flex-direction: column;
    background: white;
    border: 1px solid #d7e6d9;
    position: absolute;
    top: 100%;
    right: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .hamburger-menu a {
    padding: 0.5rem 1rem;
    text-decoration: none;
    color: #2c2c2c;
  }

  .hamburger-menu a:hover {
    background: #f0f0f0;
  }

  .hamburger-menu .header-right {
    padding: 0.5rem 1rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }


  /* Responsivní */
  @media (max-width: 768px) {
    .main-menu, .header-right {
      display: none;
    }
    .hamburger-btn {
      display: block;
    }
  }

  .gift-button {
    background: #2e7d47;
    color: white;
    border: none;
    padding: 1rem 1.2rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: bold;
    text-decoration: none;
  }

 .gift-button:hover {
    background: #236538;
  }


  #main{
  flex: 1;
  padding-bottom: 40px; /* volitelné, ať je tam místo */
  }

  /* Voucher formulář */
  .container {
    max-width: 520px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    border: 1px solid #d7e6d9;
  }
  h2 { 
    margin-top:0.5rem;
    margin-bottom:0.5rem;
    color:#236538;
    font-size:1.4rem;
  }
  
  label { display:block; margin-bottom:0.5rem; font-weight:500; }
  input[type="text"] {
    width: 100%;
    padding:0.8rem;
    border-radius:0.6rem;
    border:1px solid #d7e6d9;
    font-size:1rem;
    margin-bottom:1.5rem;
  }
  button.verify {
    width: 100%;
    padding:0.9rem;
    background:#2e7d47;
    color:white;
    border:none;
    border-radius:0.6rem;
    font-size:1.1rem;
    cursor:pointer;
    font-weight:600;
    transition: background 0.2s ease;
  }
  button.verify:hover { background:#236538; }


  button.verify:disabled {
    background-color: #ccc;
    color: #666; 
    cursor: not-allowed; 
    opacity: 0.6; 
  }
  button.verify:disabled:hover {
    background-color: #ccc;
  }

  .result {
    margin-top:1.5rem;
    padding:1rem;
    border-radius:0.6rem;
    display:none;
    font-size:1rem;
  }
  .arrow-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;      /* velikost kruhu */
  height: 24px;
  border-radius: 50%;
  background-color: #2e7d47; /* zelená jako na webu */
}

.arrow-circle svg {
  width: 12px;     
  height: 12px;
  fill: white;      
  stroke: white;
}

.valid { 
  background:#d5f5d5;
  border:1px solid #8bd48b;
  color:#165c16;
  box-shadow: 0 8px 10px rgba(0,0,0,0.08);
  text-align: center;
  border-radius: 0.6rem;
  margin-bottom: 15px;
}

.invalid {
  background:#f7d4d4;
  border:1px solid #e39b9b;
  color:#8a1a1a;
  box-shadow: 0 8px 10px rgba(0,0,0,0.08);
  text-align: center;
  border-radius: 0.6rem;
}

.error_text{
  color:rgb(180, 45, 51);
  font-style: italic;
  font-weight: 100;
  margin-top: 10px;

}
.note_text{
  color: rgb(29, 65, 44);
  font-style: italic;
  font-weight: 100;
  margin-top: 5px;

}


.lower {
    background:  rgb(29, 65, 44);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    width: 100%;
    padding: 20px 20px 20px 20px;
}

.lower_heading {
  text-transform: uppercase;
  font-size: 14px;
  font-weight:700;
  color:rgb(227, 182, 156);
}

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 10px;
}
.icon-item{
  padding-bottom: 10px;
}

.icon-item a {

  display: inline;
  align-items: center;
  text-decoration: none;
  color: white; 
  transition: color 0.3s;
}

.icon-item a:hover .icon-text {
  color: rgb(227, 182, 156); 
}

.icon-item img {
  width: 30px; 
  height: 30px;
}

.icon-text {
  color: white; 
  transition: color 0.3s; /* plynulá změna barvy při hover */
}
.icon-text-icon {
padding-left: 10px;
}


.icon-item:hover {
  color: rgb(227, 182, 156); /* barva textu při hover */
}

/* Responsivní pravidlo pro menší obrazovky */
@media (max-width: 768px) {
  .icon-text-icon {
    display: none; /* text se skryje, zůstane jen ikona */
  }
  .icon-list-small{
        display: flex;
        flex-direction: row;
        gap: 10px; /* mezera mezi položkami */
  }
  .icon-item img {
    width: 40px; /* velikost ikony */
    height: 40px;
  }

}


.footer-fixed {
    width: 100%;
  padding: 20px;
  text-align: center;
  background: #222;
  color: white;

}

.footer-fixed svg {
  display: inline-block;
  vertical-align: middle;
  fill: white;
  margin-left: 10px;
  margin-right: 10px;

  
}