.footer {
  position: relative;
  overflow: hidden;
  background-color: var(--theme-color-5);
  z-index: 0;
  padding-top: 60px;
}

.bg-img {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: absolute;
  inset: 0;
  z-index: -4;
}
.footer-logo {
  max-width: 180px;
  width: 100%;
}

.footer__content {
  padding: 50px 0;
  font-size: 19px;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
}

.footer__item {
  height: 100%;
  padding: 28px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(6px);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--ekor-box-shadow);
}

.footer__content ul li a i,
.footer__content .footer__hours-title i {
  transition: all 0.5s ease;
  position: relative;
  color: var(--theme-orange-hover);
}

/* hover na celý link */
.footer__content ul li a:hover i,
.footer__content .footer__hours-title:hover i {
  transform: translateX(5px) scale(1.15);
  color: var(--theme-orange-hover) !important;
}

.footer__content ul li a,
.footer__content ul li i,
.footer__content ul li span,
.footer__content .footer__hours-title {
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.footer__content ul li a:hover,
.footer__content ul li span:hover,
.footer__content .footer__hours-title i:hover,
.footer__content .footer__hours-title:hover {
  transform: translateX(2px);
  color: var(--theme-orange-hover);
}

.footer__item-title {
  margin-bottom: 22px;
}

.footer__item-title h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: var(--white-color);
}
.footer__item-title-line {
  width: 42px;
  height: 2px;
  background-color: var(--theme-orange-hover);
  margin-right: 5px;
  display: inline-block;
  color: var(--theme-orange-hover);
}
.footer__item-title-line2 {
  width: 70px;
  height: 2px;
  background-color: var(--theme-orange-hover);
  transition: var(--transition);
  display: inline-block;
  color: var(--theme-orange-hover);
  opacity: 0.25;
}

.footer__content p {
  color: var(--text-color-3);
  margin-top: 25px;
  margin-bottom: 20px;
  line-height: 1.8;
}
.footer__content ul {
  margin: 0;
  padding: 0;
}

.footer-bocni-cara::before {
  content: "";
  width: 1px;
  height: 100%;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.1);
  bottom: 0;
  top: 0;
  margin-left: -40px;
}

.footer__content ul li {
  margin-bottom: 10px;
}

.footer__content ul li:last-child {
  margin-bottom: 0;
}

.footer__item-map-popup {
  margin-top: 30px;
  font-weight: 500;
  font-size: 14px;
  color: var(--theme-color-2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.0588235294);
  border: 2px solid rgba(255, 255, 255, 0.1019607843);
}
.footer__item-map-popup:hover {
  color: var(--theme-orange-hover);
}

.footer__content .footer__hours-title {
  display: flex;
  align-items: center;
  color: var(--theme-green-gr-2);
  margin-bottom: 18px;
}
.footer__hours-item {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  line-height: 1.6;
  height: 100%;
  padding: 8px;
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.0588235294);
  border: 2px solid rgba(255, 255, 255, 0.1019607843);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.footer__hours-item strong {
  min-width: 85px;
  color: var(--theme-green-gr-2);
}

.footer__content ul li a.active {
  color: var(--theme-orange-hover);
  font-weight: 600;
}

.footer__content ul li a.active i {
  color: var(--theme-orange-hover);
  transform: translateX(4px);
}

/********************************************
 ** - 31 - All Page Copyright Section CSS
 ********************************************/
.copyright__area {
  margin-top: 25px;
  margin-bottom: 25px;
  padding: 22px;
  background: var(--theme-green-gr-5);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  /*backdrop-filter: blur(10px);*/
  /*border-radius: 22px;*/
}

.copyright__area a {
  transition:
    color 0.25s ease,
    transform 0.25s ease;
  color: #ffffff;
}
@media (max-width: 991px) {
  .footer__item {
    padding: 22px;
    margin-bottom: 18px;
  }
}
.copyright__area a:hover {
  color: var(--theme-orange-hover);
  transform: translateY(-1px);
}

.copyright__area p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.copyright__area ul {
  padding-left: 0;
  margin-bottom: 0;
  list-style-type: none;
  text-align: right;
}

.copyright__area ul li {
  position: relative;
  display: inline-block;
  color: #ececec;
  font-size: 15px;
  margin-left: 10px;
  margin-right: 10px;
}

.copyright__area ul li a {
  color: #fdfcf9;
  display: inline-block;
}

.copyright__area ul li a:hover {
  color: var(--theme-orange-hover);
}

.copyright__area ul li::before {
  content: "";
  position: absolute;
  top: 5px;
  right: -13px;
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.25);
}

.copyright__area ul li:last-child {
  margin-right: 0;
}

.copyright__area ul li:last-child::before {
  display: none;
}

.copyright__area ul li:first-child {
  margin-left: 0;
}

/* ==============================================
   DARK MODE – FOOTER FIX COMPLETE 
================================================= */

.theme-dark .footer__content ul li a:hover,
.theme-dark .footer__content ul li a.active {
  color: var(--theme-orange-hover);
}

.theme-dark .footer {
  background: #0f1a17 !important;
  background-image: none !important;
}

.theme-dark .footer__content p,
.theme-dark .footer__content ul li a,
.theme-dark .footer__copyright,
.theme-dark .footer__content .footer__hours-title span,
.theme-dark .footer__content .footer__hours-item span {
  color: var(--theme-dark-color);
}

.theme-dark .footer__content .footer__hours-title:hover span,
.theme-dark .footer__content .footer__hours-item:hover span {
  color: var(--theme-orange-hover);
}

.theme-dark .copyright__area {
  background: #001f1d;
}

.theme-dark .copyright__area {
  background: rgba(140, 130, 120, 0.1);
}
.theme-dark .copyright__area p,
.theme-dark .copyright__area ul li a {
  color: var(--theme-dark-color);
}
.theme-dark .copyright__area ul li:hover a {
  color: var(--theme-orange-hover);
}

.theme-dark .footer__item-map-popup {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(0, 0, 0, 0.06);
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  color: var(--theme-dark-color);
}

.theme-dark .footer__item-map-popup:hover {
  color: var(--theme-orange-hover);
}
