html {padding-bottom:0; margin-bottom:0;}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  margin: 0;
  padding: 0;
  color: #333;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 2em;
  
}

.footerdiv {
width:100%;
  // background:linear-gradient(135deg, #6a89cc, #b8c6db);
   //background: rgba(44, 62, 80, 0.1); 

}
footer {
 
 
 
  max-width: 900px;
  margin: auto;

}

.footerdiv {
  background: #2c3e50;
  color: #ecf0f1;
  padding-top: 2em;
  margin-top: 4em;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2em;
  gap: 2em;
  justify-content: space-between;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h4 {
  margin-bottom: 0.5em;
  font-size: 1.2em;
  color: #ffffff;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5em;
}

.footer-section a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: #1abc9c;
}

.footer-button {
  display: inline-block;
  margin-top: 1em;
  background: #1abc9c;
  color: #fff;
  padding: 0.6em 1.2em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.footer-button:hover {
  background: #16a085;
}

.footer-bottom {
  background: #1a252f;
  text-align: center;
  padding: 1em;
  font-size: 0.9em;
  color: #bdc3c7;
}

.footer-bottom a {
  color: #ecf0f1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #1abc9c;
}



h1 {
  color: #2c3e50;
  margin-bottom: 1em;
  font-size: 1.8em;
}

 

.kontakt {
  font-size: 0.9em;
  color: #555;
  margin-top: 1em;
}

input, select, textarea, button {
  width: 100%;
  padding: 0.8em;
  margin-top: 0.5em;
  margin-bottom: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

button {
  background: #3498db;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
}

button:hover {
  background: #2980b9;
}


/* Výchozí stav navigace */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(44, 62, 80, 0.0);
  color: black;
  padding: 1em 1.5em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, color 0.3s ease;
  z-index: 999;
}

nav.scrolled {
  background: #2c3e50;
  color: white;
}

/* Odkazy dědí barvu */
nav a {
  margin-right: 1em;
  text-decoration: none;
  font-weight: bold;
  color: inherit;
  transition: color 0.3s ease;
}

/* Logo – ve výchozím stavu skryté */
nav .logo img {
  
  transition: opacity 0.3s ease;
}

/* Logo viditelné při scrollu */
nav.scrolled .logo img {
  opacity: 1;
}

   
    .main-buttons { display: flex; justify-content: center; gap: 4em; margin: 5em 0; }
    .main-button {
  min-height: 250px;
  width: 250px;
  padding: 2em;
  background: #ecf0f1;
  border-radius: 10px;
  transition: transform 0.2s;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
    .main-button:hover { transform: scale(1.05); background: #dce4ea; }
    .main-button i { font-size: 3em; margin-bottom: 0.5em; color: #2980b9; }
    .main-buttonfull { text-align: center; padding: 2em; background: #ecf0f1; border-radius: 10px; width: 90%; margin:0 auto; transition: transform 0.2s; }
    .main-buttonfull:hover { transform: scale(1.05); background: #dce4ea; }
    .main-buttonfull i { font-size: 3em; margin-bottom: 0.5em; color: #2980b9; }
    .ikona { display: inline-block; width: 100px; height: 100px; background-image: url('../icons.png'); background-repeat: no-repeat; margin-right: 10px; vertical-align: middle; }
    .kategorie-vyber { display: flex; flex-wrap: wrap; justify-content: center; gap: 2em; padding: 2em; }
    .kategorie-vyber a { text-align: center; display: block; width: 128px; text-decoration: none; padding: 1em; border-radius: 6px; }
    .kategorie-vyber img { width: 64px; height: 64px; margin-bottom: 0.5em; }
    .formular-container { padding: 2em; border-radius: 8px; max-width: 700px; margin: 0 auto; }
.formular-container form label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5em 0;
  gap: 1em;
}
.formular-container form label span {
  flex: 0 0 160px; /* šířka popisku */
  font-weight: bold;
}
.formular-container input,
.formular-container textarea,
.formular-container select {
  flex: 1;
  margin: 0.3em 0;
}
    .formular-container button { margin-top: 1em; padding: 0.7em 1.5em; border: none; border-radius: 6px; font-weight: bold; }
    .back-button { position: absolute; top: 1em; left: 1em; background: #ccc; padding: 0.5em 1em; border-radius: 6px; text-decoration: none; font-weight: bold; }

.infoline {
  font-size: 0.75em;
  color: #555;
  margin-top: -0.5em;
  margin-bottom: 1em;
}

.list-container {
  display: flex;
  flex-direction: column;
  gap: 0.5em;
  margin-top: 1em;
}

 .poptavka-box,
.list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 8px;
  padding: 0.8em 1em;
  margin-bottom: 0.6em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.07);
  border-left: 4px solid #3498db;
  font-size: 0.95em;
  line-height: 1.3em;
}

.poptavka-box .ikona,
.list-item .ikona {
  width: 50px;
  height: 50px;
  background-size: 500px auto;
  margin-right: 1em;
  flex-shrink: 0;
}

.poptavka-box h2,
.list-item h3 {
  font-size: 1em;
  margin: 0;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poptavka-box p,
.list-item p {
  margin: 0;
  padding: 0;
  font-size: 0.9em;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poptavka-box .kontakt {
  font-size: 0.85em;
  color: #555;
  margin-left: auto;
  text-align: right;
}


.list-item strong {
  font-weight: bold;
}


.home-hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2em;
  padding: 4em 2em;
  background: linear-gradient(135deg, #6a89cc, #b8c6db);
  border-radius: 12px;
  margin: 3em auto;
  max-width: 1000px;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.hero-text {
  flex: 1;
  min-width: 250px;
}

.hero-text img {
  max-height: 64px;
  vertical-align: middle;
  margin-bottom: 1em;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.hero-text h1 {
  margin: 0.5em 0;
  font-size: 2em;
  font-weight: 700;
  color: white;
}



.hero-text p {
  font-size: 1.1em;
  color: #f0f4f8;
  line-height: 1.6em;
}

.hero-action {
  display: flex;
  align-items: center;
  justify-content: center;
}

.round-button {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  color: white;
  border: none;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  font-size: 2em;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
  animation: pulse 2s infinite ease-in-out;
}

.round-button:hover {
  transform: scale(1.1);
  background: linear-gradient(135deg, #27ae60, #1e8449);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}



/* Formulář s filtry na jednom řádku */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 2em;
}

.filter-row label {
  flex: 1 1 20%;
  display: flex;
  flex-direction: column;
}

.filter-row button {
  flex: 1 1 10%;
  align-self: flex-end;
  height: 44px;
  font-size: 1em;
}

.sort-select {
  text-align: right;
  margin-bottom: 1em;
}

.sort-select select {
  padding: 0.5em 1em;
  font-size: 0.95em;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: border 0.2s ease;
  max-width: 160px;
}

.sort-select select:hover {
  border-color: #3498db;
}


  .reg-type-btns {
      display: flex;
      gap: 1em;
      justify-content: center;
      margin-bottom: 1em;
    }

    .reg-type-btn {
      flex: 1;
      text-align: center;
      padding: 1em;
      border-radius: 10px;
      border: 2px solid #ccc;
      cursor: pointer;
      font-weight: bold;
      transition: all 0.2s ease;
    }

    .reg-type-btn.selected {
      border-color: #2980b9;
      background: #ecf0f1;
    }

    .reg-type-btn i {
      display: block;
      font-size: 2em;
      margin-bottom: 0.5em;
    }

    .formular-container.supplier { border: 2px solid #27ae60; }
    .formular-container.client   { border: 2px solid #2980b9; }
    
    
    
    .pay-container {
  max-width: 700px;
  margin: 2em auto;
  background: #f9f9f9;
  border-radius: 12px;
  padding: 2em;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-family: 'Segoe UI', sans-serif;
}

.pay-title {
  font-size: 1.8em;
  color: #2c3e50;
  margin-bottom: 0.2em;
}

.pay-subtitle {
  font-size: 1.1em;
  margin-bottom: 1em;
}

.pay-highlight {
  font-size: 1.2em;
  background: #e1f5fe;
  padding: 0.8em;
  border-left: 5px solid #039be5;
  margin-bottom: 2em;
}

.pay-method {
  margin-top: 2em;
}

.pay-box {
  background: #fff;
  padding: 1em;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin: 1em 0;
}

.pay-qr {
  display: block;
  margin: 1em auto;
  width: 180px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.pay-form {
  text-align: center;
}

.pay-button {
  background: #2ecc71;
  color: white;
  padding: 0.8em 2em;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 1em;
  transition: background 0.2s ease;
}
.pay-button:hover {
  background: #27ae60;
}

.pay-sms {
  font-family: monospace;
  font-size: 1.2em;
  background: #fff3cd;
  padding: 1em;
  border-radius: 6px;
  text-align: center;
}

.pay-notice {
  background: #fff;
  border-left: 5px solid #f39c12;
  padding: 1em;
  margin-top: 2em;
}

.pay-link {
  display: inline-block;
  margin-top: 1em;
  margin-right: 1em;
  padding: 0.6em 1.2em;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 6px;
}
.pay-link:hover {
  background: #2980b9;
}

.pay-info {
  font-style: italic;
  margin-top: 2em;
  text-align: center;
  color: #555;
}

.pay-error {
  background: #ffdddd;
  border-left: 5px solid #e74c3c;
  padding: 1em;
  margin: 2em auto;
  max-width: 600px;
  border-radius: 6px;
  font-weight: bold;
}







/* Obal celé karty */
.poptavka-container {
  max-width: 900px;
  margin: 3em auto;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  border-radius: 10px;
  overflow: hidden;
  font-family: 'Segoe UI', sans-serif;
}

/* Záhlaví poptávky */
.poptavka-header {
  padding: 2em;
  background: #3498db;
  color: white;
}
.poptavka-header h2 {
  margin: 0 0 0.3em 0;
  font-size: 1.8em;
}
.poptavka-header .poptavka-kategorie {
  font-weight: bold;
  opacity: 0.9;
}

/* Obsahové pole */
.poptavka-body {
  padding: 2em;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em 2em;
   justify-items: center;
  text-align: center;
}

.poptavka-kontakt {
  padding: 2em;
  display: grid;
  justify-items: center;
  text-align: center;
}

.poi { cursor:pointer;}

.poptavka-body p {
  margin: 0.5em 0;
}

/* Sekce kontaktu */
.poptavka-kontakt-box {
  background: #f6f6f6;
  padding: 2em;
  border-top: 1px solid #ddd;
  border-radius: 0 0 10px 10px;
}
.poptavka-kontakt-box h3 {
  margin-top: 0;
  font-size: 1.2em;
}
.poptavka-kontakt-list p {
  margin: 0.4em 0;
}

/* Tlačítka obecně */
.poptavka-button-wrap {
  margin-top: 2em;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}
.poptavka-button,
.poptavka-pay-button,
.poptavka-tarif-button {
  padding: 0.9em 1.8em;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
  display: inline-block;
}

.poptavka-pay-button {
  background: #e67e22;
  color: white;
}
.poptavka-pay-button:hover {
  background: #cf711c;
}

.poptavka-tarif-button {
  background: #8e44ad;
  color: white;
}
.poptavka-tarif-button:hover {
  background: #732d91;
}

.poptavka-info-msg {
  font-style: italic;
  font-size: 0.95em;
  color: #333;
  background: #f9f9f9;
  padding: 1.5em;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 2em;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .poptavka-body {
    grid-template-columns: 1fr;
  }
  .poptavka-button,
  .poptavka-pay-button,
  .poptavka-tarif-button {
    width: 100%;
    text-align: center;
  }
}


.paginator {
  text-align: center;
  margin: 1em 0;
}
.page-btn {
  display: inline-block;
  margin: 0 5px;
  padding: 6px 12px;
  background: #eee;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
}
.page-btn.active {
  background: #333;
  color: white;
  font-weight: bold;
}


.ellipsis {
  display: inline-block;
  padding: 5px 10px;
  color: #999;
}
