@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Roboto+Condensed:wght@300;400;500;600;700&display=swap');

/* ========   GENERAL = COLORS - FONTS = VARIABLES 
Yellow: #f5cc58;               Teal: #247b7b;
Primary-Dark: #172a3a;     Cerulean: #1282a2;
Primary-Light: #e0fbfc;   Skobeloff: #0b7a75;

font-family: 'EB Garamond', serif;
font-family: 'Open Sans', sans-serif;
font-family: 'Roboto Condensed', sans-serif;
*/
:root {
  --font-text: 'Open Sans', sans-serif;
  --font-title: 'EB Garamond', sans-serif;
  --font-nav: 'Roboto Condensed', sans-serif;

  --color-primary-dark-prime: #172a3a;
  --color-primary-dark-1: #2e3f4e;
  --color-primary-dark-2: #455561;

  --color-teal-green-prime: #247b7b;
  --color-teal-green-dark: #195656;
  --color-teal-green-light-1: #7cb0b0;
  --color-teal-green-light-2: #d3e5e5;
  --color-teal-green-lighter: #e9f2f2;

  --color-yellow-prime: #f5cc58;
  --color-yellow-light: #f7d679;
  --color-yellow-lighter: #fdf5de;
  --color-yellow-dark: #c4a346;

  --color-red-prime: #db5461;
  --color-red-light: #e998a0;
  --color-red-lighter: #f8dddf;
  --color-red-dark: #83323a;

  --box-shadow-nav: -1px 0px 5px rgba(0, 0, 0, 0.3);
  --box-shadow-prime: 0 1px 3px 0 rgba(0, 0, 0, 0.2), 0 1px 1px 0 rgba(0, 0, 0, 0.14), 0 2px 1px -1px rgba(0, 0, 0, 0.12);
  --box-shadow-hover: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

li {
  list-style: none;
  display: inline-block;
}

body {
  font-family: var(--font-text);
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  background-color: #eee;
}

a {
  text-decoration: none;
  background-color: transparent;
  display: inline-block;
  color: var(--color-primary-dark-1);
  padding: 0 0.5rem;
  outline: 0;
  background: linear-gradient(120deg, var(--color-yellow-prime), var(--color-yellow-prime));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 0;
  border-bottom: 2px solid var(--color-yellow-prime);
  transition: background-size 0.15s ease-in;
  font-weight: 500;
}

a:hover,
a:active {
  background-size: 100% 100%;
  border-color: var(--color-yellow-prime);
  color: var(--color-primary-dark-prime);
}


/* ===========================   MAIN   ===================== */
main {
  min-height: 100%;

  display: grid;
  grid-template-rows: 3rem auto;
  grid-template-columns: [full-start] minmax(4rem, 1fr) [center-start] repeat(8, [col-start] minmax(min-content, 9rem) [col-end]) [center-end] minmax(4rem, 1fr) [full-end];
  position: relative;
}



/* =========================================  MAIN - NAVIGATION  === */
.main--nav {
  position: fixed;
  right: 0;
  bottom: 6.5rem;
  width: 90vw;
  height: calc(100vh - 11rem);
  background: var(--color-teal-green-lighter);
  z-index: 20;
  font-family: var(--font-nav);
  border-left: 3px solid var(--color-teal-green-dark);
  box-shadow: var(--box-shadow-nav);
  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;
}

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

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

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

.main--nav--items a,
.main--nav__item__header>p {
  border-color: transparent;
  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: 3.5rem;
  font-size: 1.5rem;
  font-weight: 500;
}

.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;
  height: 4rem;
  gap: 1rem;
}

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

.main--nav__item__header>p {
  padding: 0 0.5rem;
  outline: 0;
  background: linear-gradient(120deg, var(--color-yellow-prime), var(--color-yellow-prime));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 0;
  border-bottom: 2px solid transparent;
  transition: background-size 0.15s ease-in;
}

.main--nav__item__header>p:hover {
  background-size: 100% 100%;
  border-color: var(--color-yellow-prime);
  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;
  /* opacity: 0; */
}

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

.open__sub--menu {
  left: 0.5rem;
  visibility: visible;
  pointer-events: auto;
}

.sub--menu__taxi {
  top: -0.5rem;
}

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

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

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

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

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

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

.sub--menu__header>h4 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--color-teal-green-lighter);
}

.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: 3.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  /* font-size: 1.4rem; */
}

.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.3s ease-in-out;
  /* z-index: 1; */
}

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

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

.sub--menu--dropdown__item>a {
  padding-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 3.5rem;
  width: 100%;
}

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


/* ======================  Back To Top Button / btt--btn  ======== */
.btt--btn {
  position: fixed;
  right: 4.5rem;
  bottom: 10rem;
  background: transparent;
  outline: none;
  border: none;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s, visibility 0.5s;
}

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

.btt--btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 3rem;
  height: 3rem;
  background-color: var(--color-teal-green-prime);
  border-radius: 25px;
  cursor: pointer;
  opacity: 0.7;
  box-shadow: var(--box-shadow-prime);
  transition: all 0.2s ease-in-out;
}

.btt--btn::after {
  content: "";
  position: absolute;
  top: 1.1rem;
  left: 0.9rem;
  display: block;
  width: 1rem;
  height: 1rem;
  border: solid var(--color-teal-green-lighter);
  border-width: 0.2rem 0.2rem 0 0;
  transform: rotate(-45deg);
  cursor: pointer;
  opacity: 0.8;
}

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

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

/* ============================  BREADCRUMBS - LANGUAGES  ===== */
.bread--lang {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 3rem;
  background: linear-gradient(to bottom, var(--color-teal-green-dark), var(--color-teal-green-lighter));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.bread--lang__home {
  display: none;
}

.bread--lang__logo {
  width: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.bread--lang__logo>a {
  border-color: transparent;
  padding: 0;
}

.bread--lang__logo--img {
  display: block;
  margin: 0 auto;
  width: 80%;
}

.bread--lang__crumbs {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-right: 0.9rem;
  margin-top: 1.3rem;
}

.bread--lang__crumbs--item:first-child {
  width: 0.4rem;
}

.bread--lang__crumbs--item>a,
.bread--lang__crumbs--item>span {
  font-size: 0.8rem;
  font-family: var(--font-nav);
}

.bread--lang__crumbs--item:nth-child(2)::after {
  content: "\276D";
  display: inline-block;
  color: var(--color-teal-green-dark);
  font-size: 1.2rem;
  margin-right: 0.3rem;
}

.icofont-curved-right {
  font-size: 1.6rem;
  margin-left: -0.8rem;
  color: var(--color-teal-green-dark);
}

.bread--lang__crumbs--item>a {
  border-color: transparent;
  padding: 0;
}

/* --------------------------  FLAG  --------- */
.bread--lang__lang {
  position: relative;
  width: 4rem;
}

.bread--lang__lang--flag {
  background: transparent;
  border: none;
  padding: 0.5rem;
  box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.2);
}

.lang--flag__box {
  width: 2rem;
  height: 1.5rem;
  background: inherit;
  display: none;
}

.lang--flag__img {
  display: inline-block;
  width: 100%;
  border: 1px solid #ccc;
}

.active__flag {
  display: block;
}

/* -----------------------  LANGUAGES  --------- */
.bread--lang__lang--items {
  position: absolute;
  top: 3rem;
  left: 4.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  width: 9.2rem;
  height: 9rem;
  display: flex;
  flex-direction: column;
  border: none;
  outline: none;
  border-radius: 3px;
  background: var(--color-teal-green-light-2);
  box-shadow: var(--box-shadow-hover);
  cursor: pointer;
  transition: all 0.3s ease-out;
}

.open__lang--items {
  left: -5.9rem;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bread--lang__lang__item {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid var(--color-teal-green-lighter);
  border-radius: 3px;
}

.bread--lang__lang__item a {
  border-color: transparent;
  font-weight: 800;
  text-transform: uppercase;
  width: 100%;
  padding: 0.3rem 0 0.3rem 1rem;
}

.active__lang--item {
  background: var(--color-yellow-lighter);
  border-color: var(--color-yellow-prime);
}



/* ============================== MOBILE == NAVIGATION == BOTTOM === */
.mobile--nav {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 5.5rem;
  z-index: 10;
  padding: 0 0 0.5rem 0.5rem;
  background-color: transparent;
}

.mobile--nav--items {
  display: flex;
  height: 100%;
}

.mobile--nav__item--telegram {
  display: none;
}

.mobile--nav__item {
  list-style: none;
  display: block;
  width: calc(100vw / 5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}

.mobile--nav__item__link {
  border-color: transparent;
  padding: 0;
}

.mobile--nav__item__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  position: relative;
}

.mobile--nav__item__box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7%;
  transform: translateX(-50%);
  z-index: -1;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 12px;
  box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.idem__box--phone::before {
  border: 1px solid #bbb;
  background: #fff;
}

.icofont-duotone,
.icofont-phone {
  font-size: 3rem;
  color: #03d650;
}

.item__box--viber::before {
  background: #59267c;
  border: 1px solid #bbb;
}

.icofont-telegram,
.icofont-brand-viber,
.icofont-whatsapp,
.icofont-facebook-messenger {
  font-size: 3rem;
  color: #fff;
}

.item__box--whatsapp::before {
  border: 1px solid #bbb;
  background: #25d366;
}

.item__box--messenger::before {
  border: 1px solid #bbb;
  background: #0084ff;
}

.icofont--text {
  display: block;
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--color-teal-green-lighter);
  /* visibility: hidden;
  pointer-events: none; */
}

/* ----------  button  toggle  ----------- */
.button--toggle--box {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.3rem;
}

.button--toggle {
  position: relative;
  width: 2.5rem;
  height: 1.5rem;
  border: none;
  cursor: pointer;
  transform: rotate(0deg);
  background-color: transparent;
}

.button--toggle__bar {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.2rem;
  background-color: var(--color-primary-dark-1);
  border-radius: 2px;
  opacity: 1;
  transition: all 0.3s ease-in-out;
}

.button--toggle__bar:nth-child(1) {
  top: 0;
  transform-origin: top left;
}

.button--toggle__bar:nth-child(2) {
  top: 0.75rem;
}

.button--toggle__bar:nth-child(3) {
  top: 1.5rem;
  transform-origin: bottom left;

}

/* ----------   .open--toggle   ------ */
.button--toggle__bar.open--toggle:nth-child(1) {
  left: 0.5rem;
  transform: rotate(44deg);
  width: 90%;
}

.button--toggle__bar.open--toggle:nth-child(2) {
  width: 0;
}

.button--toggle__bar.open--toggle:nth-child(3) {
  left: 0.5rem;
  transform: rotate(-44deg);
  width: 90%;
}

.button--toggle__text {
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 1px;
  color: var(--color-teal-green-lighter);
}

.mobile--nav--bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90%;
  background: linear-gradient(to top, var(--color-teal-green-dark), var(--color-teal-green-lighter));
  z-index: -2;
}



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


.footer--logo {
  width: 6rem;
}

.footer--logo__img {
  width: 100%;
}

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

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

.footer--contact__item>i {
  font-size: 1.2rem;
}

.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 1rem;
}