@charset "UTF-8";
/* Sticky header */
.site-header {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.8823529412);
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

/* WordPress Custom Main Menu */
.custom-main-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 0;
}

/* Zamezení scrollování při otevřeném menu */
body.menu-open {
  overflow: hidden;
}

.custom-main-menu .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 40px;
  align-items: center;
}

.custom-main-menu .menu-item {
  position: relative;
  list-style: none;
}

.custom-main-menu .menu-item > a {
  color: #222;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.custom-main-menu .menu-item > a:hover {
  color: #193560;
  text-decoration: none;
}

/* Šipka pro rozbalovací menu */
.custom-main-menu .menu-item-has-children > a::after {
  content: "▼";
  font-size: 0.7rem;
  margin-left: 5px;
  transition: transform 0.3s ease;
  display: inline-block;
}

.custom-main-menu .menu-item-has-children:hover > a::after {
  transform: rotate(180deg);
}

/* Rozbalovací submenu (WordPress automaticky vytváří .sub-menu třídu) */
.custom-main-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #5FA8E5;
  min-width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  list-style: none;
  margin: 0;
  padding: 15px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.custom-main-menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-main-menu .sub-menu .menu-item {
  list-style: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.custom-main-menu .sub-menu .menu-item:last-child {
  border-bottom: none;
}

.custom-main-menu .sub-menu .menu-item > a {
  display: block;
  padding: 14px 25px;
  color: #fff;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.custom-main-menu .sub-menu .menu-item > a:hover {
  background-color: rgba(25, 53, 96, 0.2);
  color: #fff;
  padding-left: 30px;
  text-decoration: none;
}

/* Ikona pro položky s podpoložkami */
.custom-main-menu .sub-menu .menu-item-has-children > a::after {
  content: "▶";
  font-size: 0.6rem;
  margin-left: auto;
  position: absolute;
  right: 15px;
  transition: transform 0.3s ease;
}

.custom-main-menu .sub-menu .menu-item-has-children:hover > a::after {
  transform: rotate(90deg);
}

/* Vnořené submenu (třetí úroveň) */
.custom-main-menu .sub-menu .sub-menu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 5px;
  margin-top: -15px;
  min-width: 220px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  background-color: #5FA8E5;
}

.custom-main-menu .sub-menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.custom-main-menu .sub-menu .sub-menu .menu-item > a {
  padding: 12px 20px;
  font-size: 0.9rem;
  font-weight: 400;
  padding-left: 45px;
  position: relative;
}

/* Ikony pro 3. úroveň menu - SVG */
.custom-main-menu .sub-menu .sub-menu .menu-item > a::before {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* Domy - doplňte URL vaší SVG ikony */
.custom-main-menu .sub-menu .sub-menu .menu-item:nth-child(1) > a::before {
  content: "";
  background-image: url("YOUR_SVG_URL_DOMY");
}

/* Byty - doplňte URL vaší SVG ikony */
.custom-main-menu .sub-menu .sub-menu .menu-item:nth-child(2) > a::before {
  content: "";
  background-image: url("YOUR_SVG_URL_BYTY");
}

/* Pozemky - doplňte URL vaší SVG ikony */
.custom-main-menu .sub-menu .sub-menu .menu-item:nth-child(3) > a::before {
  content: "";
  background-image: url("YOUR_SVG_URL_POZEMKY");
}

/* Chaty a rekreační objekty - doplňte URL vaší SVG ikony */
.custom-main-menu .sub-menu .sub-menu .menu-item:nth-child(4) > a::before {
  content: "";
  background-image: url("YOUR_SVG_URL_CHATY");
}

/* Komerční nemovitosti - doplňte URL vaší SVG ikony */
.custom-main-menu .sub-menu .sub-menu .menu-item:nth-child(5) > a::before {
  content: "";
  background-image: url("YOUR_SVG_URL_KOMERCNI");
}

.custom-main-menu .sub-menu .sub-menu .menu-item > a:hover::before {
  left: 12px;
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
}

.custom-main-menu .sub-menu .sub-menu .menu-item > a:hover {
  padding-left: 50px;
}

/* Aktuální stránka */
.custom-main-menu .current-menu-item > a,
.custom-main-menu .current-menu-ancestor > a {
  color: #193560;
}

/* Tlačítko "Chci koupit" - poslední položka menu */
.custom-main-menu .menu-list > .menu-item:last-child > a {
  background: linear-gradient(135deg, #193560 0%, rgb(14.4628099174, 30.6611570248, 55.5371900826) 100%);
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(25, 53, 96, 0.3);
  transition: all 0.3s ease;
}

.custom-main-menu .menu-list > .menu-item:last-child > a:hover {
  background: linear-gradient(135deg, rgb(14.4628099174, 30.6611570248, 55.5371900826) 0%, #193560 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 53, 96, 0.4);
  color: #fff !important;
}

.custom-main-menu .menu-list > .menu-item:last-child > a:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(25, 53, 96, 0.3);
}

/* Hamburger menu ikona */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  transition: all 0.3s ease;
  margin-left: auto;
  outline: none;
}

.mobile-menu-toggle:focus,
.mobile-menu-toggle:active {
  outline: none;
  border: none;
  box-shadow: none;
}

.mobile-menu-toggle:focus-visible {
  outline: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 32px;
  height: 3px;
  background-color: #193560;
  border-radius: 3px;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-toggle span:not(:last-child) {
  margin-bottom: 5px;
}

/* Animace hamburgeru při otevření */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive menu */
@media (max-width: 1200px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .custom-main-menu {
    position: relative;
  }
  .custom-main-menu .menu-list {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background-color: #fff;
    flex-direction: column;
    gap: 0;
    text-align: left;
    padding: 80px 0 30px;
    overflow-y: auto;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.4s ease;
    z-index: 1000;
    align-items: stretch;
  }
  .custom-main-menu .menu-list.active {
    left: 0;
  }
  .custom-main-menu .menu-item {
    border-bottom: 1px solid #f0f0f0;
  }
  .custom-main-menu .menu-item > a {
    padding: 15px 25px;
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    color: #222;
  }
  /* Šipka pro rozbalovací menu na mobilu */
  .custom-main-menu .menu-item-has-children > a::after {
    position: static;
    margin-left: auto;
  }
  /* Submenu na mobilu */
  .custom-main-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    border-radius: 0;
    border-top: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1;
  }
  .custom-main-menu .sub-menu.active {
    max-height: 1000px;
    z-index: 2;
  }
  .custom-main-menu .sub-menu .menu-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .custom-main-menu .sub-menu .menu-item > a {
    padding: 12px 25px 12px 40px;
    color: #193560;
    font-size: 0.95rem;
    background-color: transparent;
  }
  .custom-main-menu .sub-menu .menu-item > a:hover {
    background-color: rgba(95, 168, 229, 0.1);
    padding-left: 45px;
  }
  /* Vnořené submenu na mobilu */
  .custom-main-menu .sub-menu .sub-menu {
    background-color: #e9ecef;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    display: block;
  }
  .custom-main-menu .sub-menu .sub-menu.active {
    max-height: 1000px;
  }
  .custom-main-menu .sub-menu .menu-item-has-children > a::after {
    content: "▶";
    margin-left: auto;
  }
  .custom-main-menu .sub-menu .sub-menu .menu-item > a {
    padding: 12px 25px 12px 55px;
    font-size: 0.9rem;
    color: #222;
    display: block;
  }
  .custom-main-menu .sub-menu .sub-menu .menu-item > a:hover {
    background-color: rgba(95, 168, 229, 0.1);
    padding-left: 60px;
  }
  /* Tlačítko na mobilech */
  .custom-main-menu .menu-list > .menu-item:last-child {
    border-bottom: none;
    margin-top: 15px;
    padding: 0 25px;
  }
  .custom-main-menu .menu-list > .menu-item:last-child > a {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 15px 30px;
  }
  /* Overlay pozadí */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    pointer-events: none;
  }
  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}
@media (max-width: 767px) {
  .custom-main-menu .menu-list {
    width: 280px;
  }
  .custom-main-menu .menu-item > a {
    font-size: 0.95rem;
    padding: 14px 20px;
  }
  .custom-main-menu .sub-menu .menu-item > a {
    font-size: 0.9rem;
    padding: 10px 20px 10px 35px;
  }
  .custom-main-menu .sub-menu .sub-menu .menu-item > a {
    padding-left: 50px;
    font-size: 0.85rem;
  }
}
/* ===================================
   FOOTER MENU STYLES
   =================================== */
/* Footer Lists */
.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 12px;
}

/* Footer Menu - WordPress wp_nav_menu */
.footer-list .menu-item {
  list-style: none;
  margin-bottom: 12px;
}

.footer-list .menu-item a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-list .menu-item a:hover {
  text-decoration: underline;
}

.footer-list .current-menu-item a {
  color: #cbd5e1;
  font-weight: 600;
}/*# sourceMappingURL=menu.css.map */