* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: "JetBrains Mono", monospace;
    font-optical-sizing: auto;
}

/* barvy */
:root {
    --primary-color: #180161;
    --secondary-color: #3102C7;
    --red: #FF0000;
    --text-color: #FFFFFF;
    --pink: #EB3678;
    --shadowbg: #16172d;
}

.pink {
    color: var(--pink);
}
.black {
    color: black;
}
.primary {
    color: var(--primary-color);
}

header {
    background-color: var(--primary-color);
    color: var(--text-color);
    width: 100%;
    height: 100px;
    display: block;
    margin: 0 auto;
    border-bottom: 0.5px solid grey;
}

nav {
    display: flex;
    width: 100%;
    max-width: 1420px;
    height: 100px;
    margin: 0 auto;
    align-items: center;
}

.logo img {
    height: 80px;
    float: left;
    align-items: center;
}

.logo a {
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    margin-left: 20px;
    padding-top: 16px;
    float: left;
}

.logo-in-modul {
    height: 80px;
    float: left;
    padding-left: 30px;
    padding-right: 20px;
}

.logotext-respon {
    font-size: 40px;
}

.separator {
    width: 30px;
    height: 100%;
    border-right: 1px solid grey;
    
}

.menu {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-right: 20px;
}

.menu > li {
    
    align-items: center;
}

.menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 100;
}

.menu a:hover {
    color: silver;
}

.menu span {
    color: var(--pink);
}
.menu-right {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-right: 20px;
}
.menu-right > li {
    position: relative;
    align-items: right;
   
}
.menu-right a {
    font-size: 20px;
    text-decoration: none;
    color: var(--pink);
}
.menu-right a:hover {
    color: silver;
}
/*Pravé menu pro mobil */
.menu-right-mobil span {
    color: var(--pink);
}

/*Sub menu */
.submenu {
    display: none;
    position: absolute;
    width: 250px;
    background-color: var(--text-color);
    list-style: none;
    padding-top: 10px;
    top: 100%;
    left: 0;
    padding: 0;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(130, 129, 129, 0.2);
}

/* Pouze při tříde 'open' se submenu zobrazí */
.submenu.open {
    display: block;
}

.menu > li:hover .submenu {
    display: block;
}

.submenu li a {
    display: block;
    padding: 5px 10px;
}

.submenu a {
    color: black;
}

.submenu a:hover {
    border-bottom: none;
    color: var(--text-color);
    background-color: var(--pink);
}

.mobil-menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 20px;
    margin: 0;
    list-style: none;
    position: relative;
    z-index: 2000;
    display: none;
  }
  
  .menu-toggle {
    position: absolute;
    right: 10px;
    top: -66px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 32px;
    cursor: pointer;
    z-index: 2001;
  }
  
  .resp-submenu {
    display: none;
    position: absolute;
    top: 60px; /* výška menu-toggle tlačítka */
    right: 0;
    width: 100vw;
    background-color: var(--text-color);
    list-style: none;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1000;
  }
  
  .mobil-menu li.open .resp-submenu {
    display: block;
  }
  
  .resp-submenu li {
    margin: 5px 0;
  }
  
  .resp-submenu a {
    display: block;
    padding: 10px;
    font-size: 20px;
    color: black;
    text-decoration: none;
  }
  
  .resp-submenu a:hover {
    background-color: var(--pink);
    color: white;
  }
  




/* Zajistí, že mobilní menu a submenu budou viditelné při přidání třídy .open */
.mobil-menu.open {
    display: block;
}

.resp-submenu {
    display: none;
}

.mobil-menu.open .resp-submenu {
    display: block;
}

.content {
    width: 100%;
    height: 960px;
    background-image: url('/img/laptop-1920-shadow.jpg');
    background-size: cover; /* Obrázek pokryje celé pozadí */
    background-position: center; /* Zarovná obrázek na střed */
    background-repeat: no-repeat; /* Zabrání opakování obrázku */
    background-attachment: fixed; /* Fixuje pozadí při scrollování */
    color: var(--text-color);
    font-weight: 100;
}

.outset-description {
    width: 60%;
    margin: 0 auto;
    height: auto;
    align-items: center;
    padding-top: 250px;
}

.outset-description h1 {
    font-size: 50px;
    font-weight: 100;
}

.outset-description span {
    font-weight: 700;
}

.outset-description h2 {
    font-size: 30px;
}

/* KONTAKT */
.content-kontakt {
    width: 100%;
    height: auto;
    background-image: url('/img/laptop-1920-shadow.jpg');
    background-size: cover; /* Obrázek pokryje celé pozadí */
    background-position: center; /* Zarovná obrázek na střed */
    background-repeat: no-repeat; /* Zabrání opakování obrázku */
    background-attachment: fixed; /* Fixuje pozadí při scrollování */
    color: black;
    font-weight: 100;
}

.kontakt {
    width: 70%;
    height: 100%;
    display: block;
    margin: 0 auto;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.90); /* Bílé pozadí s průhledností */
}
.kontakt h1 {
    font-size: 60px;
    margin-top: 0;
    padding-top: 30px;
    padding-left: 30px;
}
.kontaktni-osoba {
    padding-left: 30px;
    padding-right: 30px;
   
}
.kontaktni-osoba span {
    font-weight: 300;
}
.kontaktni-osoba a {
    text-decoration: none;
    font-weight: 400;
    color: var(--secondary-color);
}
.kontaktni-osoba a:hover {
    color: var(--pink);
}

/* PROJEKTY */
.content-projekty {
    width: 100%;
    height: auto;
    background-image: url('/img/laptop-1920-shadow.jpg');
    background-size: cover; /* Obrázek pokryje celé pozadí */
    background-position: center; /* Zarovná obrázek na střed */
    background-repeat: no-repeat; /* Zabrání opakování obrázku */
    background-attachment: fixed; /* Fixuje pozadí při scrollování */
    color: black;
    font-weight: 100;
}
.projekty {
    width: 70%;
    height: 100%;
    display: block;
    margin: 0 auto;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.90); /* Bílé pozadí s průhledností */
}
.projekty h1 {
    font-size: 60px;
    margin-top: 0;
    padding-top: 30px;
    padding-left: 30px;
}
.projekty-cont {
    padding-left: 30px;
    padding-right: 30px; 
}

/* O STRÁNCE */
.about-page {
    width: 100%;
    margin: 0 auto;
}
.about-page h2 {
    padding-left: 30px;
    padding-right: 30px;
}
.about-page p {
    padding-left: 30px;
    padding-right: 30px;
}

/* FAQ */
.content-faq {
    width: 100%;
    height: auto;
    background-image: url('/img/laptop-1920-shadow.jpg');
    background-size: cover; /* Obrázek pokryje celé pozadí */
    background-position: center; /* Zarovná obrázek na střed */
    background-repeat: no-repeat; /* Zabrání opakování obrázku */
    background-attachment: fixed; /* Fixuje pozadí při scrollování */
    color: black;
    font-weight: 100;
}
.faq-intro {
    width: 70%;
    height: 100%;
    display: block;
    margin: 0 auto;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.90); /* Bílé pozadí s průhledností */
}
.faq-intro h1 {
    font-size: 60px;
    margin-top: 0;
    padding-top: 30px;
    padding-left: 30px;
}
.faq {
    width: 70%;
    height: 100%;
    display: block;
    margin: 0 auto;
    align-items: center;
}

.faq h1 {
    font-size: 2em;
    margin-bottom: 10px;
    padding-left: 0;
}

.faq p {
    font-size: 1.1em;
    color: #555;
}

.faq-category {
    margin-top: 20px;
}

.faq-category h2 {
    font-size: 1.5em;
    color: #333;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

.faq-item {
    margin-top: 15px;
}

.faq-question {
    width: 100%;
    padding: 10px;
    background: #f1f1f1;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.1em;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9e9e9;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 10px;
    background: #fafafa;
    border-left: 3px solid var(--primary-color);
}

.faq-answer p {
    margin: 10px 0;
    font-size: 1em;
    color: #333;
}

/* Patička */
footer {
    background-color: var(--shadowbg);
    width: 100%;
    color: var(--text-color);
    text-align: center;
    height: auto;
    display: block;
}

footer p {
    font-size: 16px;
    font-weight: 100;
}

footer h3 {
    text-align: left;
    left: 0;
}

footer main {
    display: none;
    width: 100%;
    height: 300px;
    background-color: var(--pink);
}

footer div {
    width: 20%;
    height: 100%;
    background-color: black;
}

.footer-a {
    width: 100%;
    color: white;
    text-decoration: none;
    font-size: 20px;
    font-weight: 100;
    text-align: left;
}

.footer-a a:hover {
    color: silver;
}

.social-icon {
    display: none;
    font-size: 50px;
}
.social-icon a {
    color: var(--text-color);
}
.social-icon a:hover {
    color: silver;
}

/* CENÍK */
.content-cenik {
    width: 100%;
    height: auto;
    background-image: url('/img/laptop-1920-shadow.jpg');
    background-size: cover; /* Obrázek pokryje celé pozadí */
    background-position: center; /* Zarovná obrázek na střed */
    background-repeat: no-repeat; /* Zabrání opakování obrázku */
    background-attachment: fixed; /* Fixuje pozadí při scrollování */
    color: black;
    font-weight: 100;
}

/* SEARCH */
.search {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.90);
    padding-left: 30px;
}
.search h2 {
    font-size: 40px;
    margin-top: 0;
    padding-top: 30px;
}

.search-wrapper {
    position: relative;
    display: inline-block;
    width: 50%;
  }
.search-field {
    width: 100%;
    height: 60px;
    padding-right: 30px; /* prostor pro ✖ */
    padding-left: 30px;
    box-sizing: border-box;
    font-size: 20px;
    border: 1px solid silver;
    border-radius: 5px;
  }
  
  .clear-btn {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    display: none;
    color: #999;
  }
  
  .clear-btn:hover {
    color: #EB3678;
  }

  .button-search {
    width: 15%;
    height: 60px;
    border: 1px solid var(--pink);
    border-radius: 5px;
    background-color: var(--pink);
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
  }

  .button-search:hover {
    background-color: var(--primary-color);
    border-color: var(--pink);
    color: silver;
  }

  .search-icon {
    position: absolute;
    left: 10px;
    color: #aaa;
    font-size: 16px;
    pointer-events: none;
    bottom: 22px;
  }

.updates {
    color: var(--pink);
}

/* SEARCH - NAŠEPTÁVAČ*/
.suggestions {
    list-style: none;
    padding: 0;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    position: absolute;
    width: 300px;
    z-index: 10;
  }
  
  .suggestions li {
    padding: 8px;
    cursor: pointer;
  }
  
  .suggestions li:hover {
    background-color: #f0f0f0;
  }

  /* COCKIES BAR*/
  .cookie-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #222;
    color: #fff;
    padding: 15px 20px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
}

.cookie-bar p {
    margin: 0;
    max-width: 80%;
}

.cookie-bar button {
    background-color: #EB3678;
    border: none;
    color: white;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
}

.cookie-bar button:hover {
    background-color: #c92b64;
}

/* SEARCH - BUTTON PŘIDAT DO NABÍDKY */
.add-to-offer {
    background-color: #180161; /* tmavě fialová */
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background-color 0.3s ease;
  }
  
  .add-to-offer:hover {
    background-color: #3102C7; /* světlejší fialová */
  }
  
  .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #EB3678; /* růžová */
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 18px;
    font-weight: bold;
  }
  

  /* TOOLTIP BUBLINA K VERZÍM */
  .tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
  }
  
  .tooltiptext {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 8px 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    font-size: 12px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;

  /* přidáno: šířka a zalamování textu */
    width: max-content;
    max-width: 300px; /* nebo libovolná šířka */
    white-space: normal;
  }
  
  .tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }

  .version {
    color: var(--pink);
  }
  