/* ================  BREADCRUMBS  ============ */
/* == НАЧАЛНА страница -->> остава лого и знаме */
.bread--lang__crumbs--item:nth-child(2) {
  display: none;
}

/* ========================  HERO  ====================== */
.hero {
  position: relative;
  z-index: 1;
}

.hero--background {
  background: linear-gradient(180deg, rgba(5, 47, 95, 0.3), rgba(0, 0, 0, 0.05)), url(../images/nessebar/step-taxi--old-nessebar-01-hero__560.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: 60%;
  height: calc(100vh - 10rem);
  clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 95%, 0 100%);
}

.hero--text {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 0.5rem;
  display: grid;
  gap: 1rem;
  grid-template-rows: 1.3fr -webkit-min-content 1fr 1fr;
  grid-template-rows: 1.3fr min-content 1fr 1fr;
}

.hero--title {
  font-family: var(--font-title);
  line-height: 1.5;
  color: var(--color-primary-dark-prime);
  font-size: 2.5rem;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  /* да скрие силуета отзад при движение, анимация */
  text-shadow: 1px 2px 2px #ddd, 1px -2px 2px #bbb, 2px 0px 2px #ddd, -2px 0px 2px #bbb;
}

.hero--title__left {
  display: inline-block;
  -webkit-animation: moveTextLeft 1.5s ease-out 0.6s;
  animation: moveTextLeft 1.5s ease-out 0.6s;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}

.hero--title__right {
  display: inline-block;
  -webkit-animation: moveTextRight 1.5s ease-out 1.1s;
  animation: moveTextRight 1.5s ease-out 1.1s;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}

/* Animations ->>> layout.css ->>> */
.hero--cart {
  width: 14rem;
  height: 3rem;
  justify-self: center;
  perspective: 40rem;
  -moz-perspective: 40rem;
}

.hero--card__animation {
  -webkit-animation: cardUp 1s ease-out 1.8s;
  animation: cardUp 1s ease-out 1.8s;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
  /* Анимацията изчаква daley на 0%, текста не е видим преди това */
}

@-webkit-keyframes cardUp {
  0% {
    opacity: 0;
    transform: translateY(4rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cardUp {
  0% {
    opacity: 0;
    transform: translateY(4rem);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@-webkit-keyframes cardFrontTurn {

  0% {
    transform: rotateY(0);
  }

  80% {
    transform: rotateY(210deg);
  }

  100% {
    transform: rotateY(180deg);
  }
}

@keyframes cardFrontTurn {

  0% {
    transform: rotateY(0);
  }

  80% {
    transform: rotateY(210deg);
  }

  100% {
    transform: rotateY(180deg);
  }
}

@-webkit-keyframes cardBackTurn {

  0% {
    transform: rotateY(-180deg);
  }

  80% {
    transform: rotateY(30deg);
  }

  100% {
    transform: rotateY(0);
  }
}

@keyframes cardBackTurn {

  0% {
    transform: rotateY(-180deg);
  }

  80% {
    transform: rotateY(30deg);
  }

  100% {
    transform: rotateY(0);
  }
}

.hero--cart__side {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.hero--cart__front {
  font-size: 2.3rem;
  font-family: var(--font-title);
  background: inherit;
  color: #eee;
  text-shadow: 1px 2px 2px #333, 1px -2px 2px #888, 2px 0px 2px #333, -2px 0px 2px #888;
  font-weight: 600;
  line-height: 1;
  -webkit-animation: cardFrontTurn 1s ease-out 3.1s;
  animation: cardFrontTurn 1s ease-out 3.1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.hero--cart__front>p {
  padding-bottom: 0.6rem;
}

.hero--cart__back {
  font-size: 1.8rem;
  font-weight: 800;
  transform: rotateY(-180deg);
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0 1rem 2rem rgba(69, 85, 97, 0.9);
  -webkit-animation: cardBackTurn 1s ease-out 3.1s;
  animation: cardBackTurn 1s ease-out 3.1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.hero--cart__back>p {
  display: flex;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}

.hero--cart__back--step {
  flex: 1;
  font-weight: 700;
  background-color: #fff;
  color: var(--color-yellow-prime);
}

.hero--cart__back--taxi {
  flex: 1;
  background-color: var(--color-yellow-prime);
}

/* ----   slogan   ---- */
.hero--slogan__main {
  margin-top: 3rem;
  padding: 0 0.5rem;
}

.hero--slogan__main>p {
  padding: 0.5rem 1rem;
  line-height: 1;
}

.hero--slogan__main>p:first-child {
  -webkit-animation: moveTextLeft 1.5s ease-in-out 3s;
  animation: moveTextLeft 1.5s ease-in-out 3s;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}

.hero--slogan__main>p:last-child {
  align-self: flex-end;
  -webkit-animation: moveTextRight 1.5s ease-in-out 3s;
  animation: moveTextRight 1.5s ease-in-out 3s;
  -webkit-animation-fill-mode: backwards;
  animation-fill-mode: backwards;
}

/* ---------   CTA   -------- */
.hero--cta {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.hero--cta__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.5rem;
  border-bottom: none;
  padding-inline: 0;
  overflow: hidden;
  outline-offset: 3px;
  transition: all 0.2s ease-in;
  width: calc(50vw - 1.4rem);
}

.hero--cta__link--taxi>h1 {
  background: rgba(248, 166, 25, 0.7);
}

.hero--cta__link--transfer>h1 {
  background: rgba(5, 47, 95, 0.7);
}

.hero--cta__link__h1,
.hero--cta__link__text {
  text-align: center;
  transition: all 0.2s ease-in;
  width: 100%;
}

.hero--cta__link__h1 {
  text-transform: uppercase;
  font-family: var(--font-text);
  font-size: 0.85rem;
  letter-spacing: 1px;
  line-height: 1.5;
  font-weight: 600;
  color: #fff;
  padding-block: 0.8rem;
}

.hero--cta__link__text {
  background-color: #eee;
  font-size: 0.9rem;
  padding-block: 0.3rem;
}

.hero--cta__link:hover,
.hero--cta__link:active {
  background-size: 0;
  font-weight: 600;
  outline: 3px solid var(--color-yellow-prime);
}

.hero--cta__link--taxi>.hero--cta__link__h1:hover,
.hero--cta__link--taxi>.hero--cta__link__h1:active {
  color: var(--color-yellow-prime);
  background-color: #eee;
}

.hero--cta__link--taxi>.hero--cta__link__text:hover,
.hero--cta__link--taxi>.hero--cta__link__text:active {
  color: #fff;
  background: #C08928;
}

.hero--cta__link--transfer>.hero--cta__link__h1:hover,
.hero--cta__link--transfer>.hero--cta__link__h1:active {
  color: #052f5f;
  background-color: #eee;
}

.hero--cta__link--transfer>.hero--cta__link__text:hover,
.hero--cta__link--transfer>.hero--cta__link__text:active {
  color: #fff;
  background-color: rgba(5, 47, 95, 0.7);
}

/* =================   ARROW - DOWN  ============== */
.arrow--down__main {
  position: relative;
  margin-top: -3.5rem;
}

/* =====================   ABOUT  ==== */
.about__main {
  margin-top: 10rem;
}

/* ==================   COUNTER   ===== */
.counter__main {
  padding: 5rem 0;
  margin-bottom: 8rem;
  background-color: var(--color-teal-green-light-1);
  color: var(--color-primary-dark-prime);
  clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
  -webkit-clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
}

.counter--box--main {
  padding-block: 2rem;
  gap: 1rem;
}

.counter--main--award__box {
  border: 1px solid var(--color-teal-green-prime);
  outline-offset: 3px;
  outline: 2px solid var(--color-teal-green-dark);
}

.counter--main--award__box {
  width: 90%;
  margin: 0 auto;
  padding-block: 2rem;
}

.counter--main--award__link {
  margin-top: 1.5rem;
  border-color: var(--color-teal-green-dark);
  color: var(--color-teal-green-dark);
  outline-offset: 3px;
  transition: all 0.2s ease-in;
}

.counter--main--award__link:hover,
.counter--main--award__link:active {
  background-size: 0;
  color: var(--color-yellow-prime);
  outline: 3px solid var(--color-yellow-prime);
  border-color: #fff;
}

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

/* ==============================   TAXI  ==== */
.taxi {
  position: relative;
  background-size: cover;
  background-position: 35% 50%;
  background-attachment: fixed;
  clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
  -webkit-clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
}

.taxi:before,
.destinations__spa-ski:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(10, 61, 90, 0.6), rgba(0, 0, 0, 0.6));
  z-index: -1;

}

.taxi,
.transfer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 5rem;
}

.taxi--h2,
.reserving--title__main-taxi {
  color: #eee;
}

.about--h2__main,
.testimonial--h2__main,
.taxi--h2,
.transfer--h2 {
  margin-bottom: 2rem;
}

.destinations__main-taxi--h4,
.destinations__spa-ski--h4,
.about--h2__main,
.testimonial--h2__main,
.taxi--h2,
.reserving--title__main-taxi,
.transfer--h2,
.destinations__airport--text>.destinations__airport--h4,
.destinations__others--h4 {
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: 2px;
}

.destinations__main-taxi--h4,
.destinations__airport--text>.destinations__airport--h4,
.reserving--title__airport,
.destinations__spa-ski--h4,
.destinations__others--h4 {
  font-family: var(--font-nav);
}

.about--h2__main,
.testimonial--h2__main,
.transfer--h2,
.destinations__airport--text>.destinations__airport--h4,
.destinations__others--h4 {
  font-weight: 600;
}

.taxi--text,
.transfer--text {
  padding: 1.5rem 1rem;
  border-radius: 0.5rem;
  width: 90%;
  text-align: justify;
  background-color: rgba(255, 255, 255, 0.8);
}

.destinations__main-taxi--text,
.destinations__airport--text,
.destinations__spa--text,
.destinations__others--text,
.destinations__spa-ski--text,
.destinations__others--text {
  border-top: 0px transparent;
}

.destinations__airport--text>.destinations__airport--h4,
.destinations__spa-ski--h4,
.destinations__others--h4 {
  width: calc(100% - 2rem);
  align-self: flex-start;
  padding-bottom: 0.5rem;
  text-align: left;
  margin-left: 1rem;
  border-bottom: 3px solid var(--color-red-light);
}

.destinations__airport--text>.destinations__airport--h4,
.destinations__others--h4,
.destinations__main-taxi--h4,
.destinations__spa-ski--h4 {
  margin-block: 3rem 1rem;
}

.destinations__spa-ski--h4 {
  text-align: center;
}

.destinations__main-taxi--text>p,
.reserving--list__main-taxi,
.reserving--list__main-taxi a,
.destinations__spa-ski--text>p {
  color: #fff;
}

.reserving--list__main-taxi a:hover,
.reserving--list__main-taxi a:active {
  color: var(--color-primary-dark-prime);
}

.destinations__main-taxi--h4,
.destinations__spa-ski--h4 {
  color: #eee;
  margin-block: 3rem 1rem;
}

.destinations__main-taxi {
  margin-block: 3rem;
}

.reserving--container__main-taxi {
  gap: 1rem;
}

/* ==========================  TRANSFER  ===== */
.transfer--text {
  box-shadow: var(--box-shadow-nav);
}

.reserving--title__airport {
  text-shadow: -0.3rem 0 3rem var(--color-yellow-prime), 0.3rem 0 3rem var(--color-yellow-prime), 0 0.3rem 5rem var(--color-yellow-prime), 0 -0.3rem 5rem var(--color-yellow-prime);
}

.transfer--text__attention--block {
  width: 90%;
}

.transfer--text__attention>span {
  color: var(--color-red-light);
}

.destinations__airport {
  margin-bottom: 3rem;
}

/* ===========  Destination SPA - SKI  === */
.destinations__spa-ski {
  padding-block: 3rem 7rem;
  margin-inline: 0;
  padding-inline: 5%;
  /* background-image: linear-gradient(rgba(10, 61, 90, 0.6), rgba(0, 0, 0, 0.6)); */
  background-size: cover;
  background-position: 50%;
  background-attachment: fixed;
  clip-path: polygon(0 1%, 100% 0, 100% 99%, 0 100%);
  -webkit-clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}


/* ===========  Destination - Others  === */
.destinations__others {
  margin-top: 2rem;
}

/* ===========   end   === */
.main--end {
  margin: 3rem 5% 5rem 5%;
}

.main--end__text>p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.main--end__text {
  margin-top: 3rem;
  display: grid;
  gap: 0.5rem;
  padding: 2.5rem 1.5rem;
  border: 1px solid var(--color-yellow-light);
  background-color: rgba(255, 255, 255, 0.5);
}

.main--end__text>p:nth-child(3) {
  text-align: center;
  font-weight: 500;
  margin-top: 1rem;
  font-family: var(--font-title);
  font-size: 1.1rem;
}

.main--end__text>p:last-child {
  margin-top: 2rem;
  justify-self: end;
}

/* ---- All Destinations - IMAGES  ---- */
.btn--link__hover {
  border-radius: 3px;
}

.destination--item__image-main-sunny-beach,
.destination--item__image-main-st-vlas,
.destination--item__image-main-ravda,
.destination--item__image-main-drink,
.destination--item__image-main-air-burgas,
.destination--item__image-main-air-varna,
.destination--item__image-main-air-sofia,
.destination--item__image-main-ski,
.destination--item__image-main-hotels,
.destination--item__image-main-resto,
.destination--item__image-main-fun,
.destination--item__image-main-archaeos {
  background-position: center;
}

.destination--item__image-main-nessebar {
  background-position: 45% 65%;
}

.destination--item__image-main-spa {
  background-position: center 30%;
}

/* ---------   @media  queries  --------- */
/*   ---   25 rem   */
@media(min-width: 25rem) {
  .hero--cta__link {
    width: calc(40vw);
    max-width: 14rem;
  }

  .hero--slogan__main>p:first-child {
    transform: translateX(-20%);
    -webkit-animation: moveTextLeft2 1.5s ease-in-out 4.7s;
    animation: moveTextLeft2 1.5s ease-in-out 4.7s;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
  }

  .hero--slogan__main>p:last-child {
    align-self: center;
    transform: translateX(45%);
    -webkit-animation: moveTextRight2 1.5s ease-in-out 4.7s;
    animation: moveTextRight2 1.5s ease-in-out 4.7s;
    -webkit-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
  }
}

/*   ---   35 rem   */
@media(min-width: 35rem) {
  .hero--background {
    background: linear-gradient(180deg, rgba(5, 47, 95, 0.3), rgba(0, 0, 0, 0.05)), url(../images/nessebar/step-taxi--old-nessebar-01-hero__800.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 60%;
  }

  .taxi {
    background-attachment: fixed;
  }

  .destinations__spa-ski {
    background-position: 50%;
    background-attachment: fixed;
  }

  .destinations__spa-ski--h4 {
    text-align: left;
  }

  /* ---- All Destinations - IMAGES  ---- */
  .destination--item__image-main-sunny-beach {
    background-position: 50% 70%;
  }

  .destination--item__image-main-nessebar {
    background-position: 45% 75%;
  }

  .destination--item__image-main-st-vlas {
    background-position: 50% 70%;
  }

  .destination--item__image-main-ravda {
    background-position: 70% 75%;
  }

  .destination--item__image-main-drink,
  .destination--item__image-main-air-burgas,
  .destination--item__image-main-air-varna,
  .destination--item__image-main-air-sofia,
  .destination--item__image-main-resto,
  .destination--item__image-main-fun,
  .destination--item__image-main-archaeos {
    background-position: center;
  }

  .destination--item__image-main-spa {
    background-position: center 30%;
  }

  .destination--item__image-main-ski {
    background-position: center 70%;
  }

  .destination--item__image-main-hotels {
    background-position: center 20%;
  }
}

/*   ---   48 rem   */
@media(min-width: 48rem) {
  .hero--background {
    background: linear-gradient(180deg, rgba(5, 47, 95, 0.3), rgba(0, 0, 0, 0.05)), url(../images/nessebar/step-taxi--old-nessebar-01-hero__1280.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: 60%;
  }

  .hero--cta__link__h1 {
    font-size: 1rem;
  }

  .taxi {
    background-attachment: fixed;
  }

  .taxi--text,
  .transfer--text {
    display: flex;
    gap: 2rem;
    padding: 2.5rem 2rem;
  }

  .taxi--text__block {
    flex: 1;
  }

  .destinations__main-taxi--text,
  .destinations__airport--text,
  .destinations__spa-ski--text,
  .destinations__others--text {
    gap: 0.5rem;
  }

  .destinations__spa-ski {
    background-position: 50%;
    background-attachment: fixed;
  }

  .transfer--text__attention--block {
    width: 85%;
  }

  .transfer--text__attention {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .main--end__text>p:nth-child(3) {
    font-size: 1.3rem;
  }

  .main--end__text>p {
    font-size: initial;
    line-height: 1.5;
  }
}

/*    ---   66 rem   */
@media(min-width: 66rem) {
  .hero {
    margin-top: -3rem;
  }

  .bread--lang {
    width: 4rem;
    margin-left: calc(100% - 4rem);
  }

  /* BREADCRUMBS == НАЧАЛНА  _Display_ -->> оставям само знамето */
  .bread--lang__logo,
  .bread--lang__crumbs {
    display: none;
  }

  .bread--lang__lang {
    margin-left: .75rem;
  }

  .hero--background {
    background: linear-gradient(180deg, rgba(5, 47, 95, 0.3), rgba(0, 0, 0, 0.05)), url(../images/nessebar/Step-Taxi--Old-Nessebar-01_1200-large.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    height: calc(100vh - 12rem);
  }

  .hero--title,
  .hero--cart__front {
    font-size: 2.8rem;
  }

  .hero--cart__back {
    font-size: 2rem;
  }

  .hero--slogan>p {
    font-size: 1.5rem;
  }

  .hero--cta__link__h1 {
    font-size: 1rem;
  }
}