@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

html {
  scroll-behavior: smooth;
}

html, body {
  font-family: 'Inter', sans-serif;
  background: #000;
  color: #111;
  line-height: 1.6;
  height: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
}

.hero {
  background: linear-gradient(to bottom right, #000, #0c1c48, #e92e44);
  padding: 100px 60px 60px;
}

section h2 {
  font-size: 2.6rem;
  color: #e60042;
  text-align: center;
  margin-bottom: 2.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: black;
  z-index: 999;
  padding: 12px 24px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  height: 70px;
}

.logo img {
  height: 48px;
  width: auto;
}

.menu-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}

.menu {
  display: flex;
  gap: 24px;
  align-items: center;
  background: transparent;
  position: static;
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.menu a, .dropdown-toggle {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  padding: 0.6rem 0;
  transition: color 0.3s;
}

.menu a:hover, .dropdown-toggle:hover {
  color: #0c1c48;
}

.menu.show {
  pointer-events: auto;
  z-index: 1000;
  transform: translateY(0);
  opacity: 1;
}

.menu,
.menu-wrapper {
  max-width: 100vw;
  box-sizing: border-box;
}

.centered {
  text-align: center;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222;
  border-radius: 10px;
  flex-direction: column;
  padding: 0.8rem 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 1000;
  white-space: normal;
  overflow-x: hidden;
  min-width: 180px;
  max-width: 100vw;
  box-sizing: border-box;
}

.dropdown-content a {
  padding: 0.6rem 1rem;
  color: white;
  display: block;
  text-decoration: none;
}

.dropdown-content a:hover {
  background: #e60042;
}

.dropdown:hover .dropdown-content {
  display: flex;
 
}
.dropdown.open .dropdown-content a {
  display: flex;
  flex-direction: column;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

.hamburger {
  display: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  margin-left: auto;
}


.hero-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 100px;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 50px;
  color: white;
  margin-bottom: 30px;
}
.hero-text h2 {
  font-size: 30px;
  color: #ed0033;
  margin-bottom: 30px;
  border-bottom: 4px solid #ed0033;
  display: inline-block;
  padding-bottom: 5px;
  white-space: normal;
  word-break: break-word;
}

.hero-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

ul {
  list-style: none;
  padding-left: 0;
}

/* Hlavní obsah (main) */
main {
   margin-top: 20px; /* Posun kvůli fixnímu menu */
    padding: 0px;
    text-align: center;
}

/* Sekce O nás */
.o-nas {
  background-color: #ffffff; /* bílé pozadí */
  color: #0c1c48; /* tmavý text */
  padding: 80px 60px;
}

.o-nas-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
}

.o-nas-text {
  flex: 1 1 50%;
}

.o-nas-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #e92e44; /* červený akcent */
}

.o-nas-text p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.o-nas-text ul {
  list-style: none;
  padding: 0;
  font-size: 16px;
  color: #333;
}

.o-nas-text ul li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.5;
}

.o-nas-text ul li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 2px;
  color: #e92e44;
  font-size: 1rem;
}

.o-nas-image {
  flex: 1 1 40%;
}

.o-nas-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

/* Sekce služby */
.section-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.text-column, .image-left, .image-right {
  flex: 1 1 50%;
  max-width: 50%;
}

.text-column {
  width: 100%;
  max-width: 700px;
}
.text-column h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  color: #fff;
}

.text-column p {
  margin: 0.5rem 0;
  color: inherit;
}

.btn {
  margin-top: 2rem;
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background-color: #ed0033;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
  color: #fff;
  transition: background-color 0.3s;
}

.btn:hover {
  background: #ffcccc;
  color: #ed0033;
}

.image-right, 
.image-left {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}
.section-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

/* Tmavé a světlé pozadí jednotlivých sekcí */
.section-dark {
  background-color: black;
  color: white;
  text-align: center;
}
.section-light {
  background-color: #ffffff;
  color: black;
}

/* Výjimka – světlá sekce, ale bílý text */
.section-light .text-column p {
  color: white;
}

/*Sekce Doporučení – karty (kdo nás doporučuje apod.) */
.cards-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.testimonial-card {
  background: #2a2a2a; /* světlejší než #1d1d1d */
  border-left: 5px solid #e60042;
  padding: 2rem;
  border-radius: 20px 0 0 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  margin: 2rem auto;
  max-width: 700px;
  text-align: left;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 1rem;
}

.testimonial-author {
  text-align: right;
  font-weight: 700;
  font-size: 1.05rem;
  color: #e60042;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem;
}


/* Barvy karet podle sekce */
.section-dark .card {
  background: white;
  color: #0c1c48;
}
.section-light .card {
  background: black;
  color: white;
}
.section-light .card:hover {
  background: #0c1c48;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}
.card {
  border-radius: 12px;
  padding: 1.2rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  box-sizing: border-box;
}
.card:hover {
  transform: translateY(-6px);
}
.card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.section-dark .card h4 {
  color: #ed0033;
}
.section-light .card h4 {
  color: #ed0033;
}
.card p {
  margin: 0;
  font-size: 0.95rem;
  color: inherit;
}
.text-column > p {
  color: black;
}
.section-dark .text-column > p {
  color: white;
}
.section-light .text-column > p:first-of-type {
  color: black;
}


/* Proč právě my */
.benefits {
  padding: 4rem 2rem;
}

.benefits h2 {
  color: #e60042;
  font-size: 2.6rem;
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 3rem;
}

.benefit-card {
  background: #f8f8f8;
  border: 2px solid #e60042;
  border-radius: 12px;
  padding: 1.2rem 1rem;
  text-align: center;
  font-size: 1.1rem;
  color: #0c1c48;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Ukázky naší práce */
.portfolio {
  background: #071020;
  padding: 4rem 2rem;
  font-family: 'Poppins', sans-serif;
  text-align: center;
  color: #fff;
}
.portfolio h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #e60042;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.card {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}
.card img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 1.2rem;
  height: 180px;
}


.card h3 {
  font-size: 1.2rem;
  margin: 0.5rem 0;
  color: #e60042;
}
.card p {
  font-size: 0.95rem;
  color: #333;
  flex-grow: 1;
}

.card .btn {
  margin-top: 1.2rem;
  align-self: center;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  border-radius: 6px;
}

/* Responzivita */
@media (max-width: 600px) {
  .portfolio {
    padding: 2rem 1rem;
  }
  .portfolio h2 {
    font-size: 2rem;
  }
}

/* Kontakt */
.kontaktni-sekce {
  box-sizing: border-box;
  padding: 4rem 2rem;
  background-color: #f6f6f6;
  text-align: center;
}

.sluzba-callcentrum {
  box-sizing: border-box;
  text-align: center;
}

.kontaktni-obsah {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 3rem;
  align-items: flex-start;
}

.kontaktni-info {
  flex: 1;
  min-width: 280px;
}

.kontaktni-info h2 {
  color: #f20c4d;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.kontaktni-info p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  color: #0c1c48;
}

.kontaktni-formular-box {
  flex: 1.2;
  min-width: 0px;
  background-color: #f9f9f9;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  width: 100%;
  max-width: 600px;
}

.kontaktni-formular-box .form-group {
  margin-bottom: 0.5rem;
}

.kontaktni-formular-box label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #0c1c48;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.kontaktni-formular-box input,
.kontaktni-formular-box textarea,
.kontaktni-formular-box select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  transition: 0.3s ease all;
  font-family: 'Inter', sans-serif;
}

.kontaktni-formular-box input:focus,
.kontaktni-formular-box textarea:focus,
.kontaktni-formular-box select:focus {
  border-color: #ed0033;
  box-shadow: 0 0 0 3px rgba(237, 0, 51, 0.15);
  outline: none;
}

.kontaktni-formular-box textarea {
  resize: vertical;
  min-height: 100px;
  height: 120px;
  overflow-y: hidden;
}

.kontaktni-formular-box .form_button {
  background-color: #ed0033;
  color: white;
  padding: 0.9rem 2rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  transition: background 0.3s;
  cursor: pointer;
}

.kontaktni-formular-box .form_button:hover {
  background-color: #0c1c48;
}

.icon {
  width: 18px;
  height: 18px;
  fill: #0c1c48;
}


/* ===== Patička ===== */
.footer {
  background-color: black !important;
  color: white !important;
  padding: 3rem 2rem;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-column h4 {
  color: #f20c4d;
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-column a {
  color: white;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.social-icons a {
  font-size: 1.5rem;
  margin-right: 0.5rem;
  display: inline-block;
  transition: transform 0.2s;
}

.social-icons a:hover {
  transform: scale(1.2);
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid #444;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #e0e0e0;
}


.faq-question {
  background: none;
  border: none;
  color: #f20c4d;
  font-weight: bold;
  text-align: left;
  padding: 0.5rem 0;
  width: 100%;
  cursor: pointer;
}

.faq-answer {
  display: none;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #e0e0e0;
}

.faq-item.active .faq-answer {
  display: block;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid #444;
  margin-top: 2rem;
  padding-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #e0e0e0;
}

.label-colored {
  color: #f20c4d;
  font-weight: bold;
}


/* Scrolovací šip */

#scrollToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  background-color: #ed0033;
  color: white;
  border: none;
  padding: 14px 18px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.3s ease, visibility 0.4s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

#scrollToTopBtn:hover {
  background-color: #0c1c48;
  transform: scale(1.1);
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}



/* ===== Podstránky služeb===== */

.subpage-weby .o-nas { padding: 60px 30px; }
.subpage-weby .o-nas-container { flex-wrap: nowrap; }

.hero-weby {
  background: url("img/weby_eshopy.png") center/cover no-repeat;
}

.gallery {
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 0; 
}

.gallery h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #e60042;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.gallery-item p {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: #333;
}

.centered {
  text-align: center;
  padding: 1rem 1rem 3rem; /* snížený horní i dolní padding */
  margin-top: 0;
}


/* === Lazy loading obrázků === */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}

/* Odsazení horní části sekcí kvůli vizuálnímu prostoru */
.o-nas,
#sluzby,
#procmy,
#prace,
#kontakt,
.portfolio,
.kontaktni-sekce,
.section-dark,
.section-light {
  padding-top: 20px;
}

/* Scroll anchor offset - pro klikání na odkazy v menu */
[id] {
  scroll-margin-top: 120px;
}


@media (max-width: 768px) {
  /* Hamburger menu */
  .hamburger {
    display: block;
    z-index: 1001;
    font-size: 28px;
    cursor: pointer;
  }

  .menu {
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    padding: 4rem 2rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s, visibility 0.3s;
    pointer-events: none;
  }

  .menu.show {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a,
  .dropdown-toggle {
    font-size: 1.2rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
    text-align: left;
    width: 100%;
  }

  .dropdown:hover .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    flex-direction: column;
    position: static;
    background: transparent;
    padding: 0;
    gap: 0.5rem;
    box-shadow: none;
  }

  .dropdown-content a {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    color: white;
  }

  .dropdown-toggle {
    cursor: pointer;
  }

  /* Hero sekce */
  .hero {
    padding: 80px 20px 40px;
  }

  .hero-main {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .hero-text h2 {
    font-size: 24px;
  }

  .hero-image img {
    max-width: 90vw;
    height: auto;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-shape {
    width: 180px;
  }

  /* Navigace */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 4rem;
    background: #111;
    padding: 1rem 2rem;
    border-radius: 8px;
  }

  .nav-links.active {
    display: flex;
  }

  /* Sekce O nás */
  .o-nas-container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .o-nas-text, .o-nas-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .o-nas-image img {
    margin-top: 30px;
  }

  /* Sekce obecně */
  .section-flex {
    flex-direction: column;
    text-align: center;
  }

  .text-column, .image-left, .image-right {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 0 !important;
  }

  /* Kontakt */
  .kontaktni-obsah {
    flex-direction: column;
  }

  .kontaktni-info,
  .kontaktni-formular-box {
    width: 100%;
  }
}


@media (max-width: 480px) {
  /* Zabránění horizontálnímu scrollu */
  /*
  html, body {
    overflow-x: hidden;
    width: 100%;
  }
 */
  /* Nadpisy */
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  h3, h4 {
    font-size: 1.1rem;
  }

  /* Tlačítka */
  .btn, .btn-kontakt {
    white-space: normal;
    text-align: center;
    padding: 15px 25px;
    font-size: 1rem;
    width: auto;
    max-width: 90%;
    margin: 0 auto;
    display: block;
  }

  .btn:hover, .btn-kontakt:hover {
    background-color: #490909;
    color: white;
  }

   /* Formulář */
   .kontaktni-formular-box {
    min-width: 0;
    width: 100%;
    padding: 0.5rem;
  }

  .kontaktni-sekce {
    padding: 2rem 1rem
  }

  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 1rem;
  }

  /* Dropdown menu */
  .dropdown-content {
    max-width: 100vw;
    overflow-x: auto;
  }

  /* Footer */
  .footer-columns {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-column {
    width: 100%;
    text-align: center;
  }

  /* Grid */
  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card {
    width: 100%;
  }

  .card img {
    max-height: 160px;
    object-fit: cover;
  }

  /* Sekce O nás */
  .o-nas-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .o-nas-text,
  .o-nas-image {
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* Hero */
  .hero {
    padding: 60px 20px 40px;
  }

  .hero-main {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .hero-image img {
    max-width: 90vw;
    margin: 0 auto;
  }

  /* Oddělení sekcí jemně */
  section {
    border-bottom: 1px solid #eee;
    padding-top: 2rem;
    padding-bottom: 2rem;
    width: 100vw;
  }
}

/* media query pro tablety (1024px)*/
@media (max-width: 1024px) {
  /* Hero sekce */
  .hero {
    padding: 80px 30px 50px;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text h2 {
    font-size: 1.6rem;
  }

  .hero-main {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .hero-image img {
    max-width: 90%;
    height: auto;
  }

  /* O nás sekce */
  .o-nas-container {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .o-nas-text, .o-nas-image {
    max-width: 100%;
    flex: 1 1 100%;
  }

  /* Footer */
  .footer-columns {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-column {
    width: 100%;
    min-width: auto;
  }

  /* Karty ve službách a referencích */
  .grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .card {
    width: 100%;
    padding: 1rem;
  }

  /* Textové bloky */
  .text-column {
    max-width: 100%;
    text-align: center;
  }

  .image-right,
  .image-left {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (min-width: 769px) {
  .menu-wrapper {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    overflow: visible;
    cursor: pointer;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */    
  }

  .dropdown {
    position: relative;
  }

  .dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    white-space: normal;
    overflow-x: visible;
    max-width: 100vw;
    min-width: 180px;
    z-index: 1001;
  }

  .dropdown:hover .dropdown-content {
    display: flex;
    flex-direction: column;
  }

  .dropdown-content a {
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}


/* Cookies banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #000;
  padding: 1rem;
  border-top: 2px solid #e60042;
  display: none;
  z-index: 1000;
  text-align: center;
  font-size: 0.95rem;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
}

.cookie-banner p {
  margin: 0.5rem 0;
}

.cookie-buttons {
  margin-top: 0.5rem;
}

.cookie-buttons button {
  margin: 0 0.25rem;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#acceptAll {
  background-color: #e60042;
  color: #fff;
}

#rejectOptional {
  background-color: #ccc;
  color: #000;
}

#customize {
  background-color: #f2f2f2;
}

/* Cookies sekce */
.cookies-content {
  max-width: 960px;
  margin: 40px auto;
  padding: 0 20px;
  text-align: left;
}

.cookies-content h2 {
  font-size: 1.6rem;
  color: #e60042;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookies-content h3 {
  margin-top: 30px;
  font-size: 1.2rem;
  color: #e60042;
}

.cookies-content p,
.cookies-content ul {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

.cookies-content a {
  color: #e60042;
  text-decoration: underline;
}

.cookies-content ul {
  padding-left: 20px;
}

.cookie-table-wrapper {
  overflow-x: auto;
  margin-top: 20px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cookie-table thead {
  background-color: #f5f5f5;
  font-weight: bold;
}

.cookie-table th,
.cookie-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
}

.cookie-table td:nth-child(3) {
  font-weight: 600;
  color: #e60042;
}

.btn-home {
  background: white;
  color: #e60042;
  padding: 14px 30px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  margin-top: 20px;
  font-size: 16px;
  white-space: normal;
  transition: background 0.3s ease
}

.btn-home:hover {
  background: #eee;
}

@media screen and (max-width: 600px) {
  .cookies-content h2 {
    font-size: 1.2rem;
  }

  .cookie-table th,
  .cookie-table td {
    padding: 8px;
    font-size: 0.9rem;
  }
}
