*{padding: 0;margin: 0;border: 0;}
*,*:before,*:after{-moz-box-sizing: border-box;-webkit-box-sizing: border-box;box-sizing: border-box;}
:focus,:active{outline: none;}
a:focus,a:active{outline: none;}
nav,footer,header,aside{display: block;}
html,body{height:100%;width:100%;font-size:100%;line-height:1;font-size:14px;-ms-text-size-adjust:100%;-moz-text-size-adjust:100%;-webkit-text-size-adjust:100%;}
input,button,textarea{font-family:inherit;}
input::-ms-clear{display: none;}
button{cursor: pointer;}
button::-moz-focus-inner{padding:0;border:0;}
a,a:visited{text-decoration: none;}
a:hover{text-decoration: none;}
ul li{list-style: none;}
img{vertical-align: top;}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight: inherit;}
/*--------------------*/
body{
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 28.44px;

    width: 100%;
    
   
}

.preloader {
    position: fixed;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    background-color: #fff;
}

.header {
    background: url(../images/header/bg.png);
    background-position: 0 0;
    background-repeat: no-repeat;
    background-size: cover;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 32px;
}

.menu__logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.menu__link {
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    margin-right: 32px;
    color: #FFFFFF;
}

.menu__link:hover {
    font-weight: 500;
    border-bottom: 3px solid #FF7757;

}


.menu__btn {
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    padding: 20px 32px;
    background-color: transparent;
    color: #FFFFFF;
}

.menu__btn:hover {
    background: #FF7757;
    border-radius: 12px;
}

.hero {
    padding-bottom: 270px;
}

.hero__title {
    padding: 142px 0 170px 32px;
}

.hero__h1 {
    font-family: 'Playfair Display', serif;
    font-style: normal;
    font-weight: 400;
    font-size: 84px;
    line-height: 112px;
    margin-bottom: 16px;
    text-align: left;
    width: 75%;
    color: #FFFFFF;
}

.hero__text {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    line-height: 28px;
    color: #FFFFFF;
}

.hero__book {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 1205px;
    background: #FFFFFF;
    border-radius: 0px 20px 20px 0px;
    padding: 0px 0px 0 32px;
}

.hero__reserve {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 72px 100px 72px 32px;
    background: #FFFFFF;
    gap: 40px;
}

.reserve__title {
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    padding-bottom: 12px;
    text-transform: uppercase;
    color: #767E86;
}

.reserve__input {
    font-size: 18px;
    line-height: 24px;
    color: #172432;
    padding: 0px 0px 10px;
    width: 195.75px;
    height: 34px;
    border-bottom: 1px solid #000000;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0; 
}

input[type=date]:required:invalid::-webkit-datetime-edit {
    color: transparent;
}
input[type=date]:focus::-webkit-datetime-edit {
    color: black !important;
}

.hero__booknow {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 60px 20px;
    gap: 12px;  
    background: #FF7757;
    border-radius: 0px 20px 20px 0px;
    cursor: pointer;
}

.book__text {
    font-size: 36px;
    line-height: 48px;
    color: #FFFFFF;
}


.section {
    display: flex;
    justify-content: space-between;    
    align-items: flex-end;
    padding: 0px;
    gap: 32px;
    padding: 140px 90px 40px;
}


.fa-angle-left {
    color: #fff;
}


.fa-angle-right {
    color: #fff;
}

.section__h3 {
    font-size: 64px;
    line-height: 85px;
    padding-bottom: 20px;

    color: #172432;
}

.bordder {
     border-bottom: 3px solid #ff7757;
}

.section__rating {
    position: relative;
    z-index:1;
    background: #ff7757;
    font-size: 65%;
    width: 186px;
    height: 61px;
    border-radius: 25px;
    padding-top: 15px;
    padding-left: 30px;
    color: #fff;
    margin-left: 25%;
}

.bloc__l {
    position: absolute;
    z-index:0;
    right:-20px;
    top: -20px;
    width: 43px;
    height: 43px;
    background: #808080;
}


.bloc__r {
    position: absolute;
    z-index:0;
     left:-20px;
    bottom: -20px;
    width: 43px;
    height: 43px;
    background: #000000;
}

.section__to {
    background-color: #ff7757;
}

.section__text {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    line-height: 28px;
    color: #767E86;
    padding-bottom: 30px;
}

.section__btn {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
}

.section__shev {
    padding: 20px 28px;
    background: #172432;
    border-radius: 12px;
    cursor: pointer;
}

.section__shev:hover {
    background: #FF7757;
}


.destinations__content {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 0 32px 140px 0;
    margin-left: 32px;
    gap: 35px;
}

.destinations__items {
    position: relative;
}

.destinations__textblock {
    position: absolute;
    bottom: 40px;
    left: 24px;
    z-index: 1;
}

.destinations__city {
    font-weight: 500;
    font-size: 28px;
    line-height: 37px;
    padding-bottom: 17px;
    color: #FFFFFF;
}

.destinations__location { 
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
    padding-left: 17px;
    color: #FFFFFF;
}
/* Action */

.section__offer {
    display: flex;
    justify-content: start;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}


.offer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0 32px 140px;
    gap: 32px;
}

.offer__blog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    width: 437.33px;
    height: 629px;
}

.fa-star {
margin-right: -5px;
color: #ffc107;
transform: scale(0.8)
}

.offer__textblog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 24px;
    width: 437.33px;
    height: 343px;
    background: #FFF8F1;
    border-radius: 0px 0px 26px 26px;
}

.offer__city {
    font-family: 'Mulish', sans-serif;
    font-size: 28px;
    line-height: 35px;
    padding-bottom: 8px;
    color: #767E86;
}

.offer__text {
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #172432;
}

.offer__details {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;
    gap: 8px;
    width: 389.33px;
    height: 64px;
}

.offer__pr {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 8px;
}

.offer__from {
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #767E86;
}

.offer__price {
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 47px;
    color: #FF7757;
}

.offer__btn {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    line-height: 24px;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 20px 40px;
    background: #172432;
    border-radius: 12px;
    cursor: pointer;
}

.offer__btn:hover {
    background-color: #FF7757;
}

.travel {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 32px 140px;
    gap: 32px;
    flex-direction: row;
    justify-content: space-between;
}

.main-container {
    display: flex;
    flex-direction: row;
     padding-top: 150px;
}

.travel__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 24px;
}

.travel__title {
    width: 50%;
    font-size: 54px;
    line-height: 72px;
    color: #172432;
}

.travel__text {
    font-family: 'Rubik', sans-serif;
    font-size: 24px;
    line-height: 52px;
    color: #172432;
}

.travel__btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    gap: 20px;
    font-family: 'Rubik', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 52px;
    cursor: pointer;
}

.travel__read-more{
    color: #FF7757;
}

.section__tit{
    width: 394px;
}

.planners {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 32px 140px;        
    flex: 2;
}

.planners__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    cursor: pointer;
    margin-left: -6px;
}

.planners__img-container {
    position: relative;
    width: 300px;
    height: 200px;
    overflow: hidden;
}

.gallery__img {
    height: auto;
    display: block;
    transition: transform 0.3s ease-in-out;
}


.planners__content { 
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    opacity: 0; 
    transition: opacity 0.3s ease-in-out, bottom 0.3s ease-in-out; 
    margin-top: -150px;
}

.planners__price, .planners__city, .planners__rating, .planners__date {
    margin: 5px 0;
}

.planners__item:hover .gallery__img {
    transform: translateY(-50%); 
}


.planners__item:hover .planners__content {
    opacity: 1;  
    bottom: 0;
}

.planners__price {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    width: 300px;
    height: 21px;
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    line-height: 21px;
    color: #172432;
}

.planners__city{
    font-weight: 600;
    font-size: 28px;
    line-height: 37px;
    color: #172432;
}

.planners__rating{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0px;
    width: 300px;
    height: 24px;
}

.planners__date{
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    line-height: 21px;
    color: #172432;
}

/* Gallery */

.gallery__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    scroll-behavior: smooth;
    padding: 37px 0 140px;
    margin: 0 32px;
    gap: 35px;
}

.gallery__img {
    transition: transform .1s linear;
}

.gallery__img:hover {
    transform: translate3d(0, -37px, 0);
}


/* Experiences */
.experiences {
    position: relative;
}

.client {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 60px 32px 300px;
    gap: 32px;
}

.client__items {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 60px 40px 40px;
    gap: 20px;
    isolation: isolate;
    position: relative;
    width: 562px;
    height: 355px;
    background: #F5F6F7;
    border-radius: 12px;
}

.client__ava {
    position: absolute;
    left: 40px;
    top: -65px;
    z-index: 1;
}

.client__text {   
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    line-height: 23px;
    color: #767E86;
}

.client__name {
    font-size: 24px;
    line-height: 32px;
    padding-bottom: 4px;
    color: #767E86;
}

.client__prof {
    font-size: 18px;
    line-height: 21px;
    color: #767E86;
}


.newsletter {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    padding: 60px 80px;
    margin: 0 89px;
    gap: 100px;
    position: absolute;
    left: 0px;
    bottom: -10%;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
    border-radius: 26px;
}

.newsletter__title {
    font-size: 64px;
    line-height: 85px;
    color: #767E86;
}

.newsletter__frame {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: end;
    padding: 0px;
    gap: 32px;
}

.newsletter__icons {
    position: absolute;
    right: 225px;
    top: 26%;
    display: flex;
    justify-content: space-around;
    align-items: center;

    height: 30px;
    width: 30px;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    line-height: 25px;
    color: #e74c3c;
    border-color: #e74c3c;
    display: none;
}

.newsletter__email {
    padding: 16px 40px;
    border: 2px solid #FFE8D4;
    background: #FFE8D4;
    border-radius: 12px;
    outline: none;
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    line-height: 24px;
    color: #FF7757;
}

.newsletter__email::placeholder {
    color: #e79482;
}

.newsletter__btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 40px;
    background: #172432;
    color: #FFFFFF;
    border-radius: 12px;
    cursor: pointer;
}

.newsletter__btn:hover {
    background-color: #FF7757;
}


/* Footer */

.footer {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    background: #172432;
    padding: 240px 32px 140px;
}

.footer__logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
}

.footer__logo-text {
    font-family: 'Rubik',sans-serif;
    font-size: 14px;
    line-height: 17px;
    color: #FFFFFF;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 16px;
}

.footer__text {
    font-family: 'Rubik',sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
    color: #FFFFFF;
}

.footer__blog {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 12px;
    font-family: 'Rubik', sans-serif;
    font-size: 18px;
    line-height: 21px;
    color: #FFFFFF;
}

.footer__blog a {
    color: #FFFFFF;
}


.footer__social {
    display: flex;
    flex-direction: row;
    align-items: center;
    font-size: 18px;
    gap: 24px;
}

.footer__social a {
    color: #FFFFFF;
}

.go-top {
    position: fixed;
    left: 1325px;
    top: 75%;
    transform: translateY(-50%);
    font-size: 20px;
    cursor: pointer;
    padding: 30px 30px;
    border-radius: 25%;
    color: rgba(23, 36, 50, 0.5);
    border: 1px solid rgba(255, 119, 87, 0.5);;
    background-color: rgba(255, 119, 87, 0.1);;
    display: none;
}

.go-top--show {
    display: block;
}


.go-top:hover {
    color: rgba(0, 51, 153, 0.8);
    border: 1px solid rgba(0, 51, 153, 0.8);;
    background-color: rgba(0, 51, 153, 0.2);;
}




/* =====================================================
   ANIMATIONS — додано поверх оригінального коду
   ===================================================== */

/* Sticky navbar */
.menu {
    transition: background 0.4s ease, padding 0.35s ease, box-shadow 0.4s ease;
}
.menu.sticky {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 999;
    background: rgba(23, 36, 50, 0.96) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    padding: 14px 32px !important;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* Destination hover */
.destinations__items {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    border-radius: 16px;
    overflow: hidden;
}
.destinations__items:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.25);
}
.destinations__img {
    transition: transform 0.55s ease;
}
.destinations__items:hover .destinations__img {
    transform: scale(1.06);
}

/* Offer hover */
.offer__blog {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.offer__blog:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}

/* Offer btn */
.offer__btn {
    transition: background 0.25s ease, transform 0.2s ease;
}
.offer__btn:hover {
    transform: translateY(-2px);
}

/* Client hover */
.client__items {
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.3s ease;
    border: 2px solid transparent;
}
.client__items:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
    border-color: #FF7757;
}

/* go-top position fix (оригінал мав left:1325px — виходило за екран) */
.go-top {
    left: auto !important;
    right: 40px !important;
    bottom: 48px !important;
    top: auto !important;
    transform: none !important;
    transition: background 0.25s, color 0.25s, transform 0.25s;
}
.go-top:hover {
    transform: translateY(-3px) !important;
}
