/* === Globální proměnné === */
:root {
    --bg:#f6f6f6;
  --card:#ffffff;
  --accent:#f2c94c; /* yellow */
  --accent-dark:#95761a; /* yellow */
  --text:#100854;
  --muted:#100854;
  --logo:#100854;
  --maxw: 1100px;
  --radius: 12px;
  font-family: 'Inter', system-ui, sans-serif;

  /* === AJAX proměnné === */
  --bg_ajax: #0a0a0a;
  --text_ajax: #e6e6e6;
  --accent_ajax: #00e0b0;
}

/* === Obecné === */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.container{max-width:1100px;margin:24px auto;padding:0 16px}
/* === SLUŽBY (responsive grid) === */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* ✅ flexibilní počet sloupců */
  gap: 20px;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.service-card {
  background: var(--card);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.service-card p {
  flex-grow: 1;
  font-size: 0.95rem;
  line-height: 1.5;
}

.mini-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 900px) {
  .services {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr; /* 📱 na mobile 1 karta pod sebou */
    gap: 16px;
  }

  .service-card {
    padding: 16px;
  }

  .mini-img img {
    height: 160px;
  }
}

.service-card h3{margin-top:0}
.mini-img img{width:100%;height:140px;object-fit:cover;border-radius:6px}

/* .button{display:inline-block;margin-top:10px;padding:8px 12px;border-radius:8px;background:var(--accent);text-decoration:none;color:#111; font-size: large; font-weight:600; transition: 0,2s;}
.button:hover{
  color: white;
} */
/* sections */
section h2{margin-top:0}
#proc-nas p{line-height:1.5;color:var(--muted)}

.a-logo {
  text-decoration: none;
}

/* === HEADER === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg);
  border-bottom: 4px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 150;
}

.conteiner-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: white;
  padding: 5px;
}

.title-conteiner h1 {
  margin: 0;
  font-size: 18px;
  color: var(--text);
}

.title-conteiner h2 {
  margin: 0;
  font-size: 12px;
  color: var(--text);
}

/* === NAVIGACE === */
.main-nav {
  display: flex;
  gap: 14px;
  align-items: center;
  transition: transform 0.25s ease;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  padding: 8px 6px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.main-nav a.active,
.main-nav a:hover {
  background: var(--accent);
  color: var(--bg);
}

/* === DROPDOWN MENU === */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown > a::after {
  content: " ▾";
  font-size: 0.8em;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--bg);
  min-width: 220px;
  box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
  border-radius: 8px;
  overflow: hidden;
  z-index: 100;
}

.dropdown-content a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: var(--text);
}

.dropdown-content a:hover {
  background-color: var(--accent);
  color: var(--bg);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content.dropdown-open {
  display: block;
}

/* === BURGER MENU === */
.burger {
  background: none;
  border: none;
  color: var(--text);
  font-size: 26px;
  cursor: pointer;
  display: none;
  z-index: 200;
}

/* === MOBILE === */
@media (max-width: 600px) {
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 75vw; /* ✅ jen 3/4 šířky */
    background: var(--bg);
    flex-direction: column;
    padding: 80px 18px 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-left: 3px solid var(--accent);
    z-index: 120;
  }

  .main-nav.nav-active {
    transform: translateX(0);
  }

  .burger {
    display: block;
    position: relative;
    z-index: 200;
  }

  .site-header {
    position: relative;
    z-index: 150;
    background: var(--bg);
  }

  .dropdown-content {
    position: static;
    background: none;
    box-shadow: none;
    border: none;
    padding-left: 10px;
  }

  .dropdown-content a {
    border-left: 3px solid var(--accent);
    color: var(--accent);
    padding: 8px 12px;
  }

  .dropdown-content a:hover {
    background: none;
    color: #fff;
  }

  .dropdown-content.dropdown-open {
    display: block;
  }
}

/* === OBECNÉ ELEMENTY === */
.button {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  background: var(--accent);
  text-decoration: none;
  color: var(--text);
  font-size: large;
  font-weight: 600;
  transition: 0.2s;
}

.button:hover {
  color: white;
  background: var(--accent-dark);
}

/* === FOOTER === */
footer {
  padding: 18px;
  text-align: center;
  color: var(--text);
  margin-top: 40px;
  border-top: 1px solid #222;
}

/* === AJAX SEKCE === */
.ajax_body {
  margin: 0;
  background: var(--bg_ajax);
  color: var(--text_ajax);
  line-height: 1.5;
}

.a_ajax {
  color: var(--accent_ajax);
  text-decoration: none;
}
.a_ajax:hover {
  color: var(--accent-dark);
}

.btn_ajax {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 8px;
  border: none;
  background: var(--accent_ajax);
  color: #000;
  font-weight: 700;
  cursor: pointer;
  margin-right: 10px;
}

.btn_ajax.secondary {
  background: transparent;
  border: 1px solid var(--accent_ajax);
  color: var(--accent_ajax);
}

.h2_ajax {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 30px;
  border-left: 4px solid var(--accent_ajax);
  padding-left: 12px;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: var(--maxw);
  margin: 60px auto;
  padding: 0 5%;
}

.hero-text {
  flex: 1;
  min-width: 300px;
  padding-right: 40px;
}

.hero-media {
  flex: 1;
  min-width: 300px;
  height: 240px;
  background: #141414;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.9rem;
  overflow: visible !important;
}


.section {
  max-width: var(--maxw);
  margin: 80px auto;
  padding: 0 5%;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.product-media {
  background: #1a1a1a;
  height: 150px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

/* === FAQ === */
.faq-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  background-color: #004080;
  color: white;
}

.faq-answer {
  padding: 1rem;
  display: none;
  background-color: #f9f9f9;
}

/* === OBRAZKY, FORMULAR === */
.title-img {
  margin: 10px auto;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 500px;
}

.conteiner-kontakt {
  margin-top: 12px;
  background: #fff;
  padding: 12px;
  border-radius: 8px;
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

form button {
  background-color: var(--accent);
  color: #000;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}
.img_card{
    max-width: 100%;
    max-height: 100%;
}
form button:hover {
  background-color: var(--accent-dark);
  color: #fff;
}
 .card {
      background: #111;
      border: 1px solid #222;
      border-radius: var(--radius);
      padding: 20px;
      transition: transform 0.2s ease, border-color 0.2s ease;
      cursor: pointer;
    }

    .card:hover {
      transform: translateY(-4px);
      border-color: var(--accent);
    }
      .product-media {
      background:rgb(86, 86, 86);
      height: 150px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #666;
      margin-bottom: 12px;
      font-size: 0.9rem;
    }