/* ==========================================
   SITE HEADER
========================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;

  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(16, 60, 92, 0.08);
  box-shadow: 0 4px 24px rgba(20, 35, 50, 0.06);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header__inner {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 88px;
  gap: 24px;
}

/* ==========================================
   LOGO
========================================== */

.site-header__logo {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;

  color: #103c5c;
  line-height: 1;
  text-decoration: none;
}

.site-header__logo-main {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.site-header__logo-sub {
  margin-top: 6px;

  color: #b28a45;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ==========================================
   DESKTOP NAVIGATION
========================================== */

.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.site-header__menu,
.site-header__submenu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.site-header__menu-item {
  position: relative;
}

.site-header__menu-item > a,
.site-header__dropdown-heading {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 88px;

  color: #243746;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.site-header__menu-item > a {
  text-decoration: none;
}

.site-header__menu-item > a::after,
.site-header__dropdown-heading::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: 21px;
  left: 0;

  width: 0;
  height: 2px;
  margin: auto;

  background: #b28a45;

  transition: width 0.25s ease;
}

.site-header__menu-item > a:hover,
.site-header__menu-item > a:focus-visible,
.site-header__dropdown-link:hover,
.site-header__dropdown-link:focus-visible {
  color: #103c5c;
}

.site-header__menu-item > a:hover::after,
.site-header__menu-item > a:focus-visible::after,
.site-header__menu-item--dropdown:hover .site-header__dropdown-heading::after,
.site-header__menu-item--dropdown:focus-within .site-header__dropdown-heading::after {
  width: 100%;
}

/* Hotel dropdown heading */

.site-header__dropdown-heading {
  gap: 4px;
}

.site-header__dropdown-link {
  color: inherit;
  text-decoration: none;
}

.site-header__dropdown-button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 20px;
  height: 28px;

  color: #b28a45;
  cursor: pointer;
}

.site-header__dropdown-button span {
  position: relative;
  top: -2px;

  font-size: 16px;
  line-height: 1;

  transition: transform 0.25s ease;
}

.site-header__submenu-toggle {
  position: absolute;

  width: 1px;
  height: 1px;

  opacity: 0;
  pointer-events: none;
}

/* ==========================================
   FIRST DROPDOWN
========================================== */

.site-header__submenu {
  position: absolute;
  top: calc(100% - 6px);
  left: -24px;
  z-index: 1100;

  min-width: 250px;
  padding: 10px;

  visibility: hidden;
  opacity: 0;

  background: #fff;
  border: 1px solid rgba(16, 60, 92, 0.08);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(20, 35, 50, 0.16);

  transform: translateY(10px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.site-header__menu-item--dropdown:hover > .site-header__submenu,
.site-header__menu-item--dropdown:focus-within > .site-header__submenu {
  visibility: visible;
  opacity: 1;

  transform: translateY(0);
}

.site-header__submenu-item {
  position: relative;
}

.site-header__submenu-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  padding: 12px 14px;

  border-radius: 8px;

  color: #243746;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.site-header__submenu-item > a:hover,
.site-header__submenu-item > a:focus-visible {

    background: rgba(178,138,69,.08);

    color:#103c5c;

    transform: translateX(4px);

    transition:
        background .2s,
        color .2s,
        transform .2s;
}

.site-header__submenu-icon {
  flex-shrink: 0;

  color: #b28a45;
  font-size: 19px;
}

/* ==========================================
   NESTED DROPDOWN
========================================== */

.site-header__submenu--nested {
  top: -10px;
  left: calc(100% + 10px);

  min-width: 235px;

  transform: translateX(10px);
}

.site-header__submenu-item--nested:hover > .site-header__submenu--nested,
.site-header__submenu-item--nested:focus-within > .site-header__submenu--nested {
  visibility: visible;
  opacity: 1;

  transform: translateX(0);
}

.site-header__submenu-item--nested::after {
  content: "";

  position: absolute;
  top: 0;
  left: -12px;

  width: 12px;
  height: 100%;
}

/* ==========================================
   BOOKING BUTTON
========================================== */

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  min-width: 145px;
  padding: 14px 26px;

  border: 1px solid #b28a45;
  border-radius: 999px;

  background: #b28a45;
  color: #fff;

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 10px 25px rgba(178, 138, 69, 0.25);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header__cta:hover,
.site-header__cta:focus-visible {
  background: #9f783d;
  color: #fff;

  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(178, 138, 69, 0.32);
}

.site-header__toggle,
.site-header__hamburger,
.site-header__menu-item--mobile-cta,
.mobile-booking-bar {
  display: none;
}

/* ==========================================
   MOBILE HEADER
========================================== */

@media (max-width: 960px) {
  body {
    padding-bottom: 82px;
  }

  .site-header__inner {
    min-height: 72px;
    gap: 16px;
  }

  .site-header__logo {
    max-width: calc(100% - 60px);
  }

  .site-header__logo-main {
    font-size: 17px;
  }

  .site-header__logo-sub {
    margin-top: 4px;

    font-size: 9px;
    letter-spacing: 0.13em;
  }

  .site-header__cta {
    display: none;
  }

  /* Main mobile toggle */

  .site-header__toggle {
    position: absolute;

    display: block;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
  }

  .site-header__hamburger {
    position: relative;
    z-index: 20;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;

    width: 44px;
    height: 44px;
    margin-left: auto;

    cursor: pointer;
  }

  .site-header__hamburger span {
    display: block;

    width: 26px;
    height: 2px;

    border-radius: 999px;
    background: #103c5c;

    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  /* Navigation panel */

  .site-header__nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    z-index: 10;

    display: block;

    max-height: 0;
    padding: 0 20px;

    overflow-x: hidden;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;

    background: #fff;
    border-top: 1px solid rgba(16, 60, 92, 0.08);
    box-shadow: 0 20px 35px rgba(20, 35, 50, 0.15);

    transition:
      max-height 0.4s ease,
      padding 0.35s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  .site-header__menu {
    display: block;
  }

  .site-header__menu-item {
    display: block;
    width: 100%;
  }

  .site-header__menu-item > a,
  .site-header__dropdown-heading {
    width: 100%;
    min-height: 0;
    padding: 16px 2px;

    border-bottom: 1px solid rgba(16, 60, 92, 0.1);

    color: #173e59;
    font-size: 16px;
    font-weight: 700;
  }

  .site-header__menu-item > a::after,
  .site-header__dropdown-heading::after {
    display: none;
  }

  .site-header__dropdown-heading {
    justify-content: space-between;
  }

  .site-header__dropdown-link {
    flex: 1;
  }

  .site-header__dropdown-button {
    width: 42px;
    height: 32px;

    cursor: pointer;
  }

  /* Hide Hotel submenu by default */

  .site-header__menu-item--dropdown > .site-header__submenu {
    position: static;

    max-height: 0;
    min-width: 0;
    padding: 0 0 0 20px;

    overflow: hidden;
    visibility: hidden;
    opacity: 0;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    transform: none;

    transition:
      max-height 0.35s ease,
      padding 0.35s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  /* Open Hotel submenu */



  .site-header__submenu-toggle:checked
    ~ .site-header__submenu {
    max-height: 620px;
    padding-top: 7px;
    padding-bottom: 12px;

    visibility: visible;
    opacity: 1;
  }

  /* Prevent desktop hover opening on mobile */

  .site-header__menu-item--dropdown:hover > .site-header__submenu {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;

    visibility: hidden;
    opacity: 0;
  }

  .site-header__menu-item--dropdown:hover
    > .site-header__submenu-toggle:checked
    ~ .site-header__submenu {
    max-height: 620px;
    padding-top: 7px;
    padding-bottom: 12px;

    visibility: visible;
    opacity: 1;
  }

  /* Nested restaurant links are visible inside Hotel */

  .site-header__submenu--nested {
    position: static;

    min-width: 0;
    padding: 2px 0 8px 14px;

    visibility: visible;
    opacity: 1;

    border: 0;
    border-radius: 0;
    box-shadow: none;

    transform: none;
  }

  .site-header__submenu-item > a {
    padding: 11px 10px;

    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header__submenu-item--nested > a {
    color: #103c5c;
    font-weight: 700;
  }

  .site-header__submenu--nested .site-header__submenu-item > a {
    position: relative;

    padding: 8px 10px 8px 22px;

    color: #5b6d7c;
    font-size: 13px;
  }

  .site-header__submenu--nested .site-header__submenu-item > a::before {
    content: "–";

    position: absolute;
    left: 7px;

    color: #b28a45;
  }

  .site-header__submenu-icon {
    display: none;
  }

  /* Open full mobile menu */

  .site-header__toggle:checked ~ .site-header__nav {
    max-height: calc(100vh - 92px);
    padding-top: 8px;
    padding-bottom: 22px;

    visibility: visible;
    opacity: 1;
  }

  .site-header__toggle:checked + .site-header__hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header__toggle:checked + .site-header__hamburger span:nth-child(2) {
    opacity: 0;
  }

  .site-header__toggle:checked + .site-header__hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Mobile booking button */

  .site-header__menu-item--mobile-cta {
    display: block;
  }

  .site-header__menu-item--mobile-cta > a.site-header__mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;

    width: auto;
    margin: 18px 0 2px;
    padding: 15px 22px;

    border: 0;
    border-radius: 999px;

    background: #b28a45;
    color: #fff;

    font-size: 16px;
    font-weight: 800;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 420px) {
  .site-header__inner {
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header__logo-main {
    font-size: 16px;
  }

  .site-header__logo-sub {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .site-header__nav {
    padding-right: 16px;
    padding-left: 16px;
  }


}
/* ==========================================
   FINAL HOTEL MENU FIX
========================================== */

/* Текстът никога да не се върти */
.site-header__dropdown-button-text {
  position: static !important;
  top: auto !important;
  transform: none !important;

  font-size: inherit !important;
  line-height: inherit !important;
}

/* Стрелка */
.site-header__dropdown-arrow {
  display: block;
  flex-shrink: 0;

  width: 9px;
  height: 9px;

  border-right: 1.5px solid #b28a45;
  border-bottom: 1.5px solid #b28a45;

  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}

/* ==========================================
   DESKTOP
========================================== */

@media (min-width: 961px) {
  /* На desktop се вижда линкът Хотелът,
     а мобилният label е скрит */
  .site-header__dropdown-button {
    display: none;
  }

  .site-header__dropdown-link {
    display: inline-flex;
  }

  /* Първо dropdown меню */
  .site-header__menu-item--dropdown > .site-header__submenu {
    top: calc(100% - 6px);
    left: -24px;

    min-width: 250px;
    width: auto;
    margin: 0;
    padding: 10px;

    transform: translateY(10px);
  }

  .site-header__menu-item--dropdown:hover > .site-header__submenu,
  .site-header__menu-item--dropdown:focus-within > .site-header__submenu {
    transform: translateY(0);
  }

  /* Второто меню да стои вдясно, без да застъпва текста */
  .site-header__submenu-item--nested
    > .site-header__submenu--nested {
    top: 0;
    right: auto;
    left: calc(100% + 8px);

    min-width: 235px;
    margin: 0;
    padding: 10px;

    transform: translateX(8px);
  }

  .site-header__submenu-item--nested:hover
    > .site-header__submenu--nested,
  .site-header__submenu-item--nested:focus-within
    > .site-header__submenu--nested {
    transform: translateX(0);
  }

  /* Невидим мост между двете менюта */
  .site-header__submenu-item--nested::after {
    right: -10px;
    left: auto;

    width: 10px;
  }

  /* Премахва линията през „Ресторанти и барове“ */
  .site-header__submenu-item--nested > a {
    text-decoration: none !important;
    background-image: none !important;
    box-shadow: none !important;
  }

  .site-header__submenu-item--nested > a::before,
  .site-header__submenu-item--nested > a::after {
    content: none !important;
    display: none !important;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 960px) {
  /* На mobile линкът се скрива и целият ред става бутон */
  .site-header__dropdown-link {
    display: none;
  }

  .site-header__dropdown-heading {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;

    border-bottom: 0;
  }

  .site-header__dropdown-button {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 52px;
    height: auto;
    padding: 15px 2px;

    border-bottom: 1px solid rgba(16, 60, 92, 0.1);

    color: #173e59;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;

    cursor: pointer;
  }

  /* Старото правило да не обръща всички span-ове */
  .site-header__submenu-toggle:checked
    ~ .site-header__dropdown-heading
    .site-header__dropdown-button span {
    transform: none;
  }

  /* Върти се само стрелката */
  .site-header__submenu-toggle:checked
    ~ .site-header__dropdown-heading
    .site-header__dropdown-arrow {
    transform: translateY(2px) rotate(225deg);
  }

  /* Хотелското меню е затворено по подразбиране */
  .site-header__menu-item--dropdown > .site-header__submenu {
    position: static;

    width: 100%;
    max-height: 0;
    margin: 0;
    padding: 0 0 0 20px;

    overflow: hidden;
    visibility: hidden;
    opacity: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    transform: none;
  }

  /* Отваря се само от checkbox-а */
  .site-header__submenu-toggle:checked
    ~ .site-header__submenu {
    max-height: 650px;
    padding-top: 7px;
    padding-bottom: 12px;

    visibility: visible;
    opacity: 1;
  }

  /* Hover от desktop да не влияе */
  .site-header__menu-item--dropdown:hover
    > .site-header__submenu {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;

    visibility: hidden;
    opacity: 0;
  }

  .site-header__menu-item--dropdown:hover
    > .site-header__submenu-toggle:checked
    ~ .site-header__submenu {
    max-height: 650px;
    padding-top: 7px;
    padding-bottom: 12px;

    visibility: visible;
    opacity: 1;
  }

  /* Второто ниво е част от мобилния accordion */
  .site-header__submenu--nested {
    position: static;

    display: block;

    min-width: 0;
    margin: 0;
    padding: 2px 0 7px 18px;

    visibility: visible;
    opacity: 1;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    transform: none;
  }

  .site-header__submenu-item--nested > a {
    background: transparent !important;
    text-decoration: none !important;
    transform: none !important;
  }

  .site-header__submenu-item--nested > a::before,
  .site-header__submenu-item--nested > a::after {
    content: none !important;
    display: none !important;
  }

  .site-header__submenu--nested
    .site-header__submenu-item > a {
    position: relative;

    padding: 9px 8px 9px 22px;

    border-bottom: 0;

    color: #5b6d7c;
    font-size: 13px;
    font-weight: 600;
  }

  .site-header__submenu--nested
    .site-header__submenu-item > a::before {
    content: "–" !important;

    position: absolute;
    top: auto;
    left: 7px;

    display: block !important;

    width: auto;
    height: auto;

    background: transparent;
    color: #b28a45;
  }
}
.header-phone {
  display: flex;
  align-items: center;
  margin-left: 18px;
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #173e59;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.header-phone a:hover {
  color: #c09543;
}

@media (max-width: 991px) {
  .header-phone {
    display: none;
  }
}

/* Mobile action bar - NEVER show on desktop */
.mobile-booking {
  display: none !important;
}

@media (max-width: 991px) {
  .mobile-booking {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 9999;

    display: grid !important;
    grid-template-columns: 1fr 1fr;

    height: 52px;
    overflow: hidden;

    background: #fff;
    border: 1px solid rgba(17, 62, 89, 0.12);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  }

  .mobile-booking a {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 52px;

    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
  }

  .mobile-booking__call {
    background: #173e59;
    color: #fff;
  }

  .mobile-booking__booking {
    background: #c09543;
    color: #fff;
  }

  .mobile-booking a:hover,
  .mobile-booking a:focus {
    color: #fff;
    text-decoration: none;
  }

  body {
    padding-bottom: 76px;
  }
}
.site-header__language {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 38px;
  height: 38px;
  margin-left: 18px;

  border: 1px solid rgba(16, 60, 92, 0.2);
  border-radius: 50%;

  color: #173e59;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;

  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.site-header__language:hover {
  background: #173e59;
  border-color: #173e59;
  color: #fff;
}
/* =========================================================
   LANGUAGE SWITCHER FIX
========================================================= */

/* Desktop */
.site-header__menu-item--language {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.site-header__menu-item--language > .site-header__language {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  width: 40px !important;
  min-width: 40px !important;
  height: 40px !important;
  min-height: 40px !important;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(16, 60, 92, 0.20) !important;
  border-radius: 50% !important;

  color: #173e59;
  background: #fff;

  font-size: 13px !important;
  font-weight: 700;
  line-height: 1 !important;
  text-decoration: none;
}

.site-header__menu-item--language > .site-header__language:hover {
  color: #fff;
  background: #173e59;
  border-color: #173e59 !important;
}
.site-header__phone,
.site-header__phone:visited {
  color: #111111;
  text-decoration: none;
}

.site-header__phone:hover,
.site-header__phone:focus {
  color: #111111;
  text-decoration: none;
}

.site-header__phone:focus-visible {
  outline: 2px solid #b48a45;
  outline-offset: 4px;
  border-radius: 3px;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 960px) {

  /* Телефонът да не стои в горната лента на mobile */
  .site-header__phone {
    display: none !important;
  }

  /* Language да изглежда като нормален menu item */
  .site-header__menu-item--language {
    display: block;
    width: 100%;
  }

  .site-header__menu-item--language > .site-header__language {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 52px !important;

    margin: 0 !important;
    padding: 15px 2px !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(16, 60, 92, 0.08) !important;
    border-radius: 0 !important;

    background: transparent !important;
    color: #173e59 !important;

    font-size: 16px !important;
    font-weight: 700;
    line-height: 1.35 !important;
  }

  /* Вместо самотно EN/BG показваме какво ще отвори */
  .site-header__menu-item--language > .site-header__language::after {
    margin-left: 7px;

    color: #7b8b97;
    font-size: 13px;
    font-weight: 500;
  }

  .site-header__menu-item--language > .site-header__language[href^="/en"]::after {
    content: "English";
  }

  .site-header__menu-item--language > .site-header__language:not([href^="/en"])::after {
    content: "Български";
  }
}
/* Mobile language shortcut next to hamburger. */
.site-header__language--mobile {
  display: none;
}

@media (max-width: 960px) {
  .site-header__language--mobile {
    display: inline-flex !important;
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    padding: 0;
    color: #17324d;
    background: #fff;
    border: 1px solid rgba(23, 50, 77, 0.25);
    border-radius: 50%;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
  }

  .site-header__language--mobile:hover,
  .site-header__language--mobile:focus,
  .site-header__language--mobile:visited {
    color: #17324d;
    text-decoration: none;
  }

  .site-header__language--mobile:hover,
  .site-header__language--mobile:focus {
    color: #fff;
    background: #173e59;
    border-color: #173e59;
  }

  .site-header__hamburger {
    margin-left: 12px !important;
  }

  .site-header__menu-item--language {
    display: none !important;
  }
}
