/* ============  MAIN - NAVIGATION  === */
.main--nav {
   position: fixed;
   right: 0.5rem;
   bottom: 6rem;
   width: 90vw;
   height: calc(100vh - 12rem);
   background: var(--color-teal-green-lighter);
   font-family: var(--font-nav);
   border-left: 3px solid var(--color-teal-green-dark);
   color: var(--color-primary-dark-1);
   transform-origin: bottom right;
   transform: rotate(90deg) scale(0.5);
   opacity: 0;
   pointer-events: none;
   visibility: hidden;
   transition: all 0.3s ease-in-out;
   z-index: 200;
}

.open__main--nav {
   transform: rotate(0deg) scale(1);
   opacity: 1;
   pointer-events: auto;
   visibility: visible;
}

.main--nav--logo {
   display: none;
}

.main--nav--items {
   height: 100%;
   margin-top: 1rem;
   z-index: 1;
   /*  не позволява падащото меню да се скрива зад скролбара */
   white-space: nowrap;
   overflow-y: scroll;
   overflow-x: hidden;
}

.main--nav--items a,
.main--nav__item__header>p {
   padding: 0;
   border-bottom: 0;
   height: 90%;
   display: flex;
   align-items: center;
   width: 100%;
}

.main--nav__item {
   position: relative;
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding: 0 1.5rem;
   height: 3rem;
   font-size: 1.4rem;
   font-weight: 500;
}

.main--nav__item--drink>a {
   color: var(--color-red-prime);
}

.main--nav__item:not(:last-child),
.sub--menu__item:not(:last-child),
.sub--menu--dropdown__item:not(:last-child) {
   border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ================  BUTTONs  Navigation  ============== */
.main--nav__item__header,
.sub--menu__header,
.sub--menu__item__header {
   width: 100%;
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.sub--menu__header {
   height: 3.5rem;
   margin-bottom: 0.5rem;
}

.sub--menu__item__header {
   height: 3rem;
}

.sub--menu__item__header>a,
.sub--menu__item>a {
   font-weight: 400;
   font-size: 1.3rem;
}

.main--nav__item__header>a[href$="sunny-beach-entertainment/"],
.main--nav__item__header>a[href$="hotels/"],
.main--nav__item__header>a[href$="restaurants/"],
.main--nav__item__header>a[href$="archaeological-site/"],
.main--nav__item>a[href$="about-us/"] {
   font-weight: 300;
}

.main--nav--logo__img,
.main--nav__taxi,
.main--nav__transfer {
   cursor: pointer;
}

.main--nav__item__header>p {
   outline: 0;
   background: linear-gradient(120deg, var(--color-yellow-light), var(--color-yellow-lighter));
   background-position: 0 100%;
   background-repeat: no-repeat;
   background-size: 100% 0;
   transition: background-size 0.15s ease-in;
}

.main--nav__item__header>p:hover {
   background-size: 100% 100%;
   color: var(--color-primary-dark-prime);
}

.main--nav__item__button,
.sub--menu__button,
.dropdown__button {
   height: 2.5rem;
   width: 2.5rem;
   border-radius: 2px;
   border: 1px solid var(--color-teal-green-dark);
   display: flex;
   align-items: center;
   justify-content: center;
   cursor: pointer;
   background: #fff;
   box-shadow: var(--box-shadow-prime);
}

.main--nav__arche--h4 {
   font-size: 1.3rem;
   margin-left: -1rem;
}

.icofont-dotted-right,
.icofont-close,
.icofont-rounded-down,
.icofont-rounded-up {
   font-size: 2.5rem;
   color: var(--color-teal-green-dark);
   opacity: 1;
}

.icofont-rounded-down,
.icofont-rounded-up {
   border: 1px solid var(--color-teal-green-dark);
   border-radius: 2px;
   box-shadow: var(--box-shadow-prime);
}

.dropdown__inactive {
   display: none;
}

/* --------------------------  SUB--Menu  ----------- */
.sub--menu {
   position: absolute;
   top: 0;
   left: 100%;
   visibility: hidden;
   pointer-events: none;
   display: none;
   width: calc(100% - 0.5rem);
   padding-top: 0.5rem;
   min-height: 65vh;
   background: #f7f7f7;
   border-left: 3px solid var(--color-teal-green-prime);
   z-index: 1;
   display: flex;
   flex-direction: column;
   align-items: flex-start;
   /* + white-space: nowrap; и overflow-y: scroll; в .main--nav--items 
   не позволява разгънатото меню да се скрива зад скролбара */
   overflow-x: hidden;
   transition-duration: .1s;
}

.open__sub--menu {
   left: 0.5rem;
   visibility: visible;
   pointer-events: auto;
   transition: all 0.2s ease-in-out;
}

.sub--menu__transfer {
   top: -3rem;
}

.sub--menu__fun {
   top: -9rem;
}

.sub--menu__hotel {
   top: -12rem;
}

.sub--menu__resto {
   top: -15rem;
}

.sub--menu__arche {
   top: -18rem;
}

.sub--menu__header {
   background: var(--color-teal-green-prime);
   padding: 0 1.5rem;
}

.sub--menu__header>h4 {
   padding: 0;
   font-weight: 800;
   text-transform: uppercase;
   letter-spacing: 3px;
   color: var(--color-primary-dark-lighter);
   font-size: 1.3rem;
}

.sub--menu__button {
   border: 2px solid var(--color-red-light);
}

.icofont-close {
   color: var(--color-red-light);
}

.sub--menu__item {
   width: calc(90% + 0.5rem);
   padding: 0 1.5rem;
   position: relative;
}

.sub--menu__item,
.sub--menu__item>a,
.sub--menu--dropdown__item {
   min-height: 3rem;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: flex-start;
   width: 100%;
}

.dropdown__button {
   border: 2px solid var(--color-teal-green-1);
}

/* -------------------------  DropDown  ----- */
.sub--menu--dropdown {
   background: var(--color-teal-green-lighter);
   display: flex;
   flex-direction: column;
   align-items: flex-end;
   justify-content: center;
   width: 100%;
   box-shadow: var(--box-shadow-nav);
   height: 0;
   visibility: hidden;
   opacity: 0;
   pointer-events: none;
   transition: all 0.2s ease-in-out;
}

.open__sub--menu--dropdown {
   visibility: visible;
   opacity: 1;
   pointer-events: auto;
   height: 100%;
   margin-block: 0.5rem;
}

.sub--menu--dropdown__item {
   width: 90%;
}

.sub--menu--dropdown__item>a {
   padding-right: 10%;
   display: flex;
   align-items: center;
   justify-content: space-between;
   width: 100%;
   font-weight: 400;
   font-size: 1.2rem;
}

.icofont-car-alt-2,
.icofont-ui-flight,
.icofont-van {
   font-size: 2.2rem;
   background: transparent;
   color: inherit;
}

/* =======  Back To Top Button / btt--btn  ======== */
.btt--btn {
   position: fixed;
   right: 1rem;
   bottom: 6rem;
   width: 3rem;
   height: 3rem;
   border-radius: 50%;
   border: 2px solid #fff;
   background: var(--color-teal-green-prime);
   box-shadow: var(--box-shadow-prime);
   z-index: 20;
   opacity: 0;
   visibility: hidden;
   pointer-events: none;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: all 0.2s;
}

.btt--btn:focus-visible {
   outline: none;
}

.btt--btn::after {
   content: "";
   border: solid #fff;
   border-width: 0.2rem 0.2rem 0 0;
   padding: 0.5rem;
   margin-top: 0.4rem;
   transform: rotate(-45deg);
}

.btt--btn:hover.btt__show,
.btt--btn:active.btt__show {
   opacity: 1;
   box-shadow: var(--box-shadow-hover);
}

.btt--btn.btt__show {
   opacity: 0.5;
   visibility: visible;
   pointer-events: auto;
}


/* --------------------  FOOTER  --- */
.footer {
   background: var(--color-teal-green-light);
   color: var(--color-teal-green-lighter);
   font-size: 0.9rem;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   padding: 2.5rem 1rem 6rem 1rem;
   gap: 1.5rem;
}

.footer--logo__image {
   width: 50%
}

.footer--contact__item--link,
.footer__item {
   border-color: transparent;
   color: inherit;
}

.footer--copyright__link {
   color: inherit;
   padding: 0;
   border-bottom-width: 1px;
}

.footer--contact {
   display: flex;
   flex-direction: column;
   gap: 0.5rem;
}

.footer--contact__item>i {
   font-size: 1.2rem;
   color: var(--color-teal-green-light-2);

}

.footer--list {
   border-top: 1px solid var(--color-yellow-prime);
   padding-top: 1rem;
   height: 100%;
}

.footer--items {
   display: flex;
   justify-content: center;
   flex-wrap: wrap;
   gap: 0.3rem 1.2rem;
}

.footer--copyright {
   margin-bottom: 1rem;
}

/* --------------  media queries  -------------- */
/*   ---   25 rem */
@media (min-width: 25rem) {
   .main--nav__arche--h4 {
      font-size: inherit;
      margin-left: 0;
   }
}

/*   ---  35 rem   */
@media(min-width: 35rem) {
   .footer--contact {
      flex-direction: row;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.3rem 1.5rem;
   }
}