/* =========================
   JAK A PROČ TŘÍDIT
========================= */

.trideni-details-layout-wrap {
  display: flex;
  justify-content: center;
}

.trideni-details-content {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
}

/* Obrázek */
.thumb-wrap-trideni img {
  width: 100%;
  border-radius: 14px;
  display: block;
}

/* Nadpis */
.trideni-details-title h2 {
  text-align: center;
  color: var(--theme-green-gr-2);
  text-shadow: var(--text-shadow);
}

/* Text */
.trideni-detail-text {
  text-align: left;
  max-width: 850px;
  margin: 0 auto;
}

/* =========================
   PROČ TŘÍDIT – ICON BLOCK
========================= */


.trideni-detail-text p span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.3;
  color: var(--theme-green-gr-2);
  margin-bottom: 15px;
  text-shadow: var(--text-shadow);
}

.trideni-detail-text p span::before {
  content: "\f4d8";
  font-family: "Font Awesome 6 Pro";

  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: rgba(117, 225, 55, 0.12);

  color: var(--theme-color-3);
  font-size: 18px;

  flex-shrink: 0;
}

/* H5 info box */
.trideni-details-content h5 {
  max-width: 900px;
  margin: 50px auto 0;
  padding: 25px 25px 25px 25px;
  margin-bottom: 30px;
  line-height: 1.9;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  background: #f8f7f0;
  border-radius: 12px;
  color: var(--heading-color);
}

/* Zvýraznění */
.trideni-details-content h5 strong {
  color: var(--theme-color);
}

/* UL */
/* =========================
   ZELENÉ TEČKY V UL
========================= */

.trideni-detail-text ul {
  padding-left: 28px;
  margin-top: 22px;
}

.trideni-detail-text ul li {
  margin-bottom: 14px;
  line-height: 1.0;
  color: var(--heading-color);
}

.trideni-detail-text ul li::marker {
  color: var(--theme-color);
  font-size: 18px;
}

/* Trideni Content Css */
.trideni-details-section {
  position: relative;
  z-index: 1;
  margin-bottom: 69px;
}

@media (min-width: 1200px) and (max-width: 1399px) {
  .trideni-details-title h2 {
    font-size: 40px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .trideni-details-title h2 {
    font-size: 32px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .trideni-details-title h2 {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .trideni-details-title h2 {
    font-size: 24px;
  }
}

/* =========================
   WARNING BOX – NETŘÍDIT
========================= */

.trideni-warning-box {
  margin-top: 35px;
  padding: 25px 25px 25px 25px;
  background: #f8f7f0;
  border-left: 5px solid var(--theme-color);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  margin-bottom: 30px;
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;

}

/* Nadpis boxu */

.trideni-warning-box .warning-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 24px;
  font-weight: 700;
  color: var(--theme-green-gr-2);
    text-shadow: var(--text-shadow);

}

.trideni-warning-box .warning-title i {
  color: #d62828;
  font-size: 24px;
}

/* List */

.trideni-warning-box ul {
  margin: 0;
  padding-left: 24px;
}

.trideni-warning-box ul li {
  margin-bottom: 12px;

  line-height: 1.7;

  color: var(--heading-color);
}

.trideni-warning-box ul li::marker {
  color: #d62828;
  font-size: 18px;
}


/* =========================
   TIP BOX – TŘÍDĚNÍ
========================= */

.trideni-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  margin: 25px 0 35px;
  padding: 22px 26px;

  background: rgba(117, 225, 55, 0.08);

  border-left: 5px solid var(--theme-color);

  border-radius: 14px;
}

.trideni-tip-box i {
  font-size: 26px;
  color: var(--theme-color);

  margin-top: 2px;

  flex-shrink: 0;
}

.trideni-tip-box span {
  line-height: 1.8;
  font-size: 17px;
  color: var(--heading-color);
}

.trideni-tip-box strong {
  color: var(--theme-green-gr-2);
  font-weight: 700;
}

/* =========================
   ODDĚLOVAČ SEKCE TŘÍDĚNÍ
========================= */

.trideni-divider {
  position: relative;
  margin: 60px auto 50px;
  text-align: center;
}

.trideni-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(0, 102, 68, 0.18),
    transparent
  );
}

.trideni-divider span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  background: #f4fbf7;
  border: 1px solid rgba(0, 102, 68, 0.12);
  border-radius: 50%;
  color: var(--theme-green-gr-2);
  font-size: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
  animation: trideniFloat 4s ease-in-out infinite;

}

@keyframes trideniFloat {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }

  100% {
    transform: translateY(0);
  }
}

/* =========================
   ANCHOR OFFSET
========================= */

.trideni-section {
  scroll-margin-top: 200px;
}

/* mobil */
@media (max-width: 767px) {

  .trideni-section {
    scroll-margin-top: 90px;
  }
}

/* PAPÍR */
.trideni-section.paper {
  --accent-color: #2f80ed;
  --accent-bg: rgba(47, 128, 237, 0.08);
}

/* PLAST */
.trideni-section.plastic {
  --accent-color: #f2c94c;
  --accent-bg: rgba(242, 201, 76, 0.12);
}

/* SKLO */
.trideni-section.glass {
  --accent-color: #27ae60;
  --accent-bg: rgba(39, 174, 96, 0.10);
}

/* BIO */
.trideni-section.bio {
  --accent-color: #8d6e63;
  --accent-bg: rgba(141, 110, 99, 0.10);
}

/* KOVY */
.trideni-section.metal {
  --accent-color: #8b949e;
  --accent-bg: rgba(139, 148, 158, 0.10);
}

/* NÁPOJOVÉ KARTONY */
.trideni-section.carton {
  --accent-color: #f2994a;
  --accent-bg: rgba(242, 153, 74, 0.12);
}

.trideni-section .trideni-details-title h2 {
  color: var(--accent-color);
}

/* BATERIE */
.trideni-section.battery {
  --accent-color: #7c3aed;
  --accent-bg: rgba(124, 58, 237, 0.10);
}

/* LÉKY */
.trideni-section.medicines {
  --accent-color: #e53935;
  --accent-bg: rgba(229, 57, 53, 0.10);
}

/* NEBEZPEČNÝ ODPAD */
.trideni-section.hazardous {
  --accent-color: #f59e0b;
  --accent-bg: rgba(245, 158, 11, 0.12);
}

/* OLEJE */
.trideni-section.oil {
  --accent-color: #795548;
  --accent-bg: rgba(121, 85, 72, 0.10);
}

.trideni-section .warning-title i,
.trideni-section .trideni-tip-box i,
.trideni-section .trideni-divider span {
  color: var(--accent-color);
}

.trideni-section .trideni-tip-box,
.trideni-section .trideni-warning-box {
  background: var(--accent-bg);
}

.trideni-section ul li::marker {
  color: var(--accent-color);
}

.trideni-section .trideni-warning-box {
  border-left: 4px solid var(--accent-color);
}

.trideni-section .trideni-divider span {
  border-color: var(--accent-color);
}

/* INFO / TIP BOX */

.trideni-section .trideni-tip-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;

  padding: 22px 24px;
  margin: 30px 0;

  background: var(--accent-bg);
  border-left: 4px solid var(--accent-color);
  border-radius: 14px;

  position: relative;
  overflow: hidden;
}

.trideni-section .trideni-tip-box i {
  color: var(--accent-color);
  font-size: 26px;
  margin-top: 2px;
  flex-shrink: 0;
}

.trideni-section .trideni-tip-box span {
  color: var(--heading-color);
  line-height: 1.8;
  font-size: 17px;
}

.trideni-section .trideni-tip-box strong {
  color: var(--accent-color);
  font-weight: 700;
}

.trideni-section .trideni-tip-box::before {
  content: "";
  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.18),
    transparent
  );

  pointer-events: none;
}

/* =========================
   STICKY NAV – TŘÍDĚNÍ
========================= */

.trideni-sticky-nav {
  position: sticky;
  top: 90px;
  z-index: 999;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 auto 35px;
  padding: 12px 14px 8px;
  width: 100%;
  max-width: 920px;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(0,0,0,0.05);
  backdrop-filter: blur(14px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.08);
}

.trideni-sticky-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--heading-color);
  white-space: nowrap;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;}

.trideni-sticky-nav a:hover {
  background: var(--theme-color);
  color: #fff;
  transform: translateY(-2px);
}

.trideni-sticky-nav a.active {
  background: var(--theme-color);
  color: #fff;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.14);
}

.trideni-warning-box:hover {
  transform: translateY(-4px);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.08);

  border-left-color: var(--accent-color);
}

.trideni-section-image {
  margin: 0 auto 35px;
  max-width: 650px;
}

.trideni-section-image img {
  width: 100%;
  border-radius: 22px;
  box-shadow:
    0 18px 45px rgba(0,0,0,0.08);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.trideni-section-image img:hover {
  transform: translateY(-4px);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.12);
}

/* PAPÍR */
.paper .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(47,128,237,0.18);
}

/* PLAST */
.plastic .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(242,201,76,0.22);
}

/* SKLO */
.glass .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(39,174,96,0.20);
}

/* KOVY */
.metal .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(139,148,158,0.22);
}

/* BIOODPAD */
.bio .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(141,110,99,0.22);
}

/* NÁPOJOVÉ KARTONY */
.carton .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(242,153,74,0.22);
}

/* BATERIE */
.battery .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(124, 58, 237, 0.22);
}

/* LÉKY */
.medicines .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(229, 57, 53, 0.20);
}

/* NEBEZPEČNÝ ODPAD */
.hazardous .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(245, 158, 11, 0.22);
}

/* OLEJE */
.oil .trideni-section-image img {
  box-shadow:
    0 20px 50px rgba(121, 85, 72, 0.22);
}


/* MOBILE – vypnout sticky nav */

@media (max-width: 991px) {
  .trideni-sticky-nav {
    display: none;
  }
}


/* =========================================
   DARK MODE – JAK A PROČ TŘÍDIT
========================================= */

.theme-dark .trideni-details-section {
    background: transparent !important;
}

.theme-dark .trideni-details-content {
    color: #d8efe6;
}

.theme-dark .trideni-details-content h5 {
    background: linear-gradient(145deg, #1c2a25, #16211d);
    border: 1px solid #2a3d36;

    color: #cfe5dc;

    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.theme-dark .trideni-details-content h5 strong {
    color: #6ef0c0;
}

.theme-dark .trideni-detail-text ul li,
.theme-dark .trideni-detail-text p,
.theme-dark .trideni-tip-box span,
.theme-dark .trideni-warning-box ul li {
    color: #b8d3c8;
}

/* =========================
   WARNING BOX
========================= */

.theme-dark .trideni-warning-box {
    background: linear-gradient(145deg, #1c2a25, #16211d);
    border: 1px solid #2a3d36;
    border-left: 5px solid var(--accent-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.theme-dark .trideni-warning-box .warning-title {
    color: #ffffff;
}

.theme-dark .trideni-warning-box .warning-title i {
    color: #ff6b6b;
}

/* =========================
   TIP BOX
========================= */

.theme-dark .trideni-section .trideni-tip-box {
    background:
      linear-gradient(
        145deg,
        rgba(28,42,37,0.95),
        rgba(22,33,29,0.95)
      );
    border-left: 5px solid var(--accent-color);
    box-shadow:
      0 10px 30px rgba(0,0,0,0.35),
      inset 0 1px 0 rgba(255,255,255,0.03);
    backdrop-filter: blur(6px);
}

.theme-dark .trideni-section .trideni-tip-box::before {
    background: linear-gradient(
      135deg,
      rgba(255,255,255,0.03),
      transparent
    );
}

.theme-dark .trideni-section .trideni-tip-box span {
    color: #cfe5dc;
}

.theme-dark .trideni-section .trideni-tip-box strong {
    color: var(--accent-color);
}

/* =========================
   DIVIDER
========================= */

.theme-dark .trideni-divider::before {
    background: linear-gradient(
      to right,
      transparent,
      rgba(255,255,255,0.08),
      transparent
    );
}

.theme-dark .trideni-divider span {
    background: #16211d;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
      0 10px 25px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.04);
}

/* =========================
   NADPISY SEKCÍ
========================= */

.theme-dark .trideni-section .trideni-details-title h2 {
    color: var(--accent-color);
    text-shadow:
      0 0 12px rgba(255,255,255,0.03);
}

.theme-dark .trideni-detail-text p span {
    color: #ffffff;
}

.theme-dark .trideni-detail-text p span::before {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.04);
    color: var(--accent-color);
}

.theme-dark .trideni-section ul li::marker {
    color: var(--accent-color);
}

.theme-dark .thumb-wrap-trideni img,
.theme-dark .trideni-section-image img {
    filter:
      brightness(0.78)
      contrast(1.05)
      saturate(0.92);
    box-shadow: 0 20px 40px rgba(0,0,0,0.45);
}

/* =========================
   DARK – STICKY NAV
========================= */

.theme-dark .trideni-sticky-nav {
  background: rgba(9, 20, 17, 0.82);
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow:
    0 15px 40px rgba(0,0,0,0.45);
}

.theme-dark .trideni-sticky-nav a {
  color: #d7efe4;
}

.theme-dark .trideni-sticky-nav a:hover,
.theme-dark .trideni-sticky-nav a.active {
  background: var(--theme-color);
  color: #fff;
}

.theme-dark .trideni-warning-box:hover {
  box-shadow:
    0 20px 45px rgba(0,0,0,0.45),
    0 0 20px rgba(255,255,255,0.03);
  transform: translateY(-4px);
}
