:root {
    --primary-color: #E76F51;
    --secondery-color: #F8E1DB;
    --white: #fff;
    --gray: #d2d2d2;
    --dark: #343434;
    --app-bg: #FAF4F2;

    --primary-font: "Roboto", "sans-serif", "Arial";
    --primary-font-md: "Roboto Medium", "sans-serif", "Arial";
    --secondery-font: "Archivo Black", "sans-serif", "Arial";
}

html {
    box-sizing: border-box;
    font-size: 62.5%; /* => 62.5% = 10px */
    scroll-behavior: smooth;

}

*, *:after, *:before {
    box-sizing: inherit;
}

body {
    font-family: var(--primary-font);
    background-color: var(--app-bg);
    line-height: 1.6;
    font-size: 1.6rem;
    overflow-x: hidden;
}

/*
=========================================================================================================*/

/*
======================
__  Reset Style  __
======================
 */

a {
    text-decoration: none;
}

/*
======================
__  Helper Class  __
======================
 */


/*
======================
__  Component  __
======================
 */

.btn {
    font-family: var(--primary-font-md);
    background-color: var(--dark);
    color: var(--white);
    border-radius: 10rem;
    align-items: center;
    width: 18rem;
    height: 5rem;

    display: flex;
    justify-content: center;
    margin: 0 auto;

    /* __ from up 1 - 4  OR from down 1 - 4 __ */
    /*display: block;*/
    /*padding: 0.5rem 4rem;*/
    /*line-height: 5rem;*/


}

/*
======================
__  App Style __
======================
*/


/*                                                 START CSS HEADER
**********************************************************************************************************/
.header {
    background: linear-gradient(rgba(59, 55, 53, 0.5), rgba(59, 55, 53, 0.5)), url("../images/header-bg.jpg") center;
    background-size: cover;
    border-radius: 0 0 10rem 10rem;
    min-height: 70rem;
}

/* Nav */
/*================================================================================*/

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 0;
}

.nav__wrapper {
    display: flex;
    align-items: center;
}

/* App logo */
/*================================================================================*/

.app-logo {
    display: block;
    width: 5.5rem;
    height: 5.5rem;
    margin-right: 4rem;
}

.app-logo__img {
    width: 100%;
    height: 100%;
}

/* Main Menu (desktop) */
/*================================================================================*/

.menu {
    display: none;
}

.menu__item {
    margin-right: 1rem;

}

.menu__link {
    color: var(--gray);
    transition: color 100ms ease-in;


}

.menu__link:hover {
    color: var(--white);
}

.menu__link--active {
    color: var(--white);
    position: relative;
    z-index: 1;

}

.menu__link--active::before {
    content: "";
    width: 3rem;
    height: 0.3rem;
    background-color: var(--primary-color);
    border-radius: 2rem;
    transform: rotate(45deg);
    position: absolute;
    top: 7px;
    right: 0;
    left: 0;
    margin: 0 auto;
    z-index: -1;

}

/* Nav Menu */
/*================================================================================*/

.nav-menu {
    /*display: none;*/
    position: fixed;
    background-color: var(--dark);
    transition: all 250ms ease-in-out;
    top: 0;
    left: -25rem;
    bottom: 0;
    width: 25rem;
    padding: 2.5rem;
    z-index: 100;
}

.nav-menu--open {
    /*display: block;*/
    left: 0;
}


/* Mobile Menu */
/*================================================================================*/

.mobile-menu {
    margin-bottom: 3rem;
}

.mobile-menu__item {
    margin-bottom: 1rem;
}

.mobile-menu__link {
    color: var(--white);
    position: relative;
    transition: all 250ms ease-in-out;
}

.mobile-menu__link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0;
    height: 0.3rem;
    border-radius: 10rem;
    background-color: var(--primary-color);
    transition: all 250ms ease-in-out;
}

.mobile-menu__link:hover {
    padding-left: 2.2rem;
}

.mobile-menu__link:hover::before {
    width: 1.6rem;

}


/* Nav Menu links */
/*================================================================================*/

.nav-menu__links {
    display: flex;
}

.nav-menu__link {
    height: 5.5rem;
    color: var(--white);
    border: 1px solid var(--white);
    display: block;
    padding: 1rem;
    flex-basis: 50%;
    text-align: center;
    transition: all 250ms ease-in-out;
}

.nav-menu__link:hover {
    background-color: var(--white);
    color: var(--dark);
}

.nav-menu__title {
    color: var(--white);
    font-size: 2rem;
    font-family: var(--secondery-font);
    border-bottom: 1px solid var(--white);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Nav links */
/*================================================================================*/

.nav__links {
    display: none;

}

.nav__link {
    color: var(--white);
    font-family: var(--primary-font-md);
    margin-left: 1.5rem;
}

.nav__link--border {
    border: 1px solid var(--white);
    border-radius: 10rem;
    padding: 1rem 2.5rem;
    transition: all 150ms ease-in;
}

.nav__link--border:hover {
    background-color: var(--white);
    color: var(--dark);
}

/* Nav Btn */
/*================================================================================*/


.nav__btn {
    background-color: var(--white);
    height: 5.5rem;
    width: 5.5rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav__btn-line {
    display: block;
    width: 2.5rem;
    border-radius: 1rem;
    height: 0.2rem;
    background-color: var(--primary-color);
    position: relative;
    transition: all 150ms ease-in-out;
}

.nav__btn-line::after, .nav__btn-line::before {
    content: "";
    position: absolute;
    width: 2.5rem;
    border-radius: 2rem;
    height: 0.2rem;
    background-color: var(--primary-color);
}

.nav__btn-line::after {
    top: -0.8rem;
    transition: all 200ms ease-in-out;

}

.nav__btn-line::before {
    top: 0.8rem;
    transition: all 200ms ease-in-out;

}

.nav__btn--open .nav__btn-line {
    background-color: transparent;

}

.nav__btn--open .nav__btn-line::before {
    transform: translateY(-8px) rotate(45deg);

}

.nav__btn--open .nav__btn-line::after {
    transform: translateY(8px) rotate(-45deg);

}


/* Header Content */
/*================================================================================*/

.header-content {
    color: var(--white);
    text-align: center;
    margin-top: 6rem;
}

.header-content__title {
    font-family: var(--secondery-font);
    font-size: 5rem;
    line-height: 1.4;
    max-width: 35rem;
    margin: 0 auto 3rem auto;
}

.header-content__caption {
    font-size: 1.8rem;
    max-width: 34rem;
    margin: 0 auto 2rem auto;
}

.header-content__link {
    background-color: var(--primary-color);

}

/* Services Section */
/*================================================================================*/


.main {
    padding: 4rem 0;
}

/*
======================
__  Main styles  __
======================
 */


.services {
    display: flex;
    flex-wrap: wrap;
    /*gap: 1rem;*/
    color: var(--dark);
    margin-top: -20rem;
    margin-left: -1rem;
    margin-right: -1rem;
}

.service {
    background-color: var(--white);
    border-radius: 2rem;
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 2rem;
    min-height: 26rem;
    width: 30rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    margin-left: 1rem;
    margin-right: 1rem;
}

.service__img {
    display: block;
}

.service__title {
    font-family: var(--secondery-font);
    font-size: 1.8rem;
    margin: 1.5rem 0 0.6rem 0;

}


/* Destinations Section */
/*================================================================================*/

.destinations {
    text-align: center;
    padding: 6rem 0;
    color: var(--dark);
    position: relative;
}

.destinations::before, .destinations::after {
    content: "";
    position: absolute;
    width: 50rem;
    height: 50rem;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

.destinations::before {
    background: url("images/svgs/shape1.svg") no-repeat;
    left: -45rem;
    /*top: -10rem;*/
    bottom: 40rem;

}

.destinations::after {
    background-image: url("images/svgs/shape2.svg");
    top: -10rem;
    right: -45rem;
}

.destinations__logo {
    width: 8rem;
    height: 8rem;
}

.destinations__title {
    font-family: var(--secondery-font);
    font-size: 3rem;
    max-width: 36rem;
    margin: 3rem auto;
}

.destinations__places {
    display: flex;
    flex-wrap: wrap;
    /*gap: 1rem;   OR 1-2 from down*/
    margin-right: -1rem;
    margin-left: -1rem;
}

.places {
    background-color: var(--white);
    border-radius: 2rem;
    padding: 2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    flex-grow: 1;
    width: 30rem;
    margin-right: 1rem;
    margin-left: 1rem;
    overflow: hidden;
}

.place__banner {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    height: 18rem;
    transition: all 250ms ease-in-out;
}

.place__banner:hover {
    transform: scale(1.1);
}

.place__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.place__like {
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 1.5rem;
    cursor: pointer;
}

.place__price {
    background-color: var(--white);
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    right: 0;
    width: 12rem;
    margin: 0 auto;
    padding: 0.8rem 2rem;
    border-radius: 1rem;
}

.place__price-text {
    font-family: var(--primary-font-md);
    color: var(--primary-color);
    text-align: center;
}

.place__title {
    font-family: var(--secondery-font);
    margin-top: 3rem;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.place__caption {
    margin-bottom: 3rem;
}

.place__link {
    color: #8d8d8d;
    background-color: rgba(141, 141, 141, 0.1);
}

.destinations__links {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    background-color: transparent;
    transition: all 200ms ease-in;
    margin-top: 3rem;
}

.destinations__links:hover {
    color: var(--app-bg);
    background-color: var(--primary-color);
}


/* Newsletter  Section */
/*================================================================================*/

.newsletter {
    background-color: var(--secondery-color);
    color: var(--dark);
    border-radius: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column-reverse;
    padding: 3rem 2rem;
    margin: 6rem 0;
    position: relative;
}

.newsletter::before {
    content: "";
    position: absolute;
    top: 15rem;
    bottom: 0;
    right: 0;
    left: -15rem;
    background-image: url("images/svgs/shape3.svg");
    background-repeat: no-repeat;
    background-size: contain;
    width: 50rem;
    height: 50rem;

}

.newsletter__content {
}

.newsletter__title {
    font-family: var(--secondery-font);
    font-size: 3rem;
    margin: 1.5rem auto;
}

.newsletter__caption {
    font-family: var(--primary-font-md);
}

.newsletter__email-box {
    position: relative;
    background-color: var(--white);
    height: 8rem;
    padding: 0 1.5rem;
    border-radius: 2rem;
    margin-top: 2rem;

}

.newsletter__email-icon {
    flex-shrink: 0;
}

.newsletter__form {
    height: 100%;
    display: flex;
    align-items: center;
}

.newsletter__form label {
    width: 100%;

}

.newsletter__input {
    border: 0;
    outline: 0;
    background-color: var(--white);
    color: #8d8d8d;
    padding: 0 1rem;
    width: 100%;
    height: 100%;
    font-size: 1.4rem;
}

.newsletter__submit {
    background-color: var(--primary-color);
    border: none;
    outline: none;
    width: 5rem;
    height: 5rem;
    border-radius: 2rem;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(231, 111, 81, 0.75);

}

.newsletter__send-icon {
    flex-shrink: 0;

}

.newsletter__banner {

}

.newsletter__banner-img {
    width: 100%;
}


/* FOOTER STYLES */
/*================================================================================*/

.footer {
    background-color: var(--secondery-color);
    border-radius: 10rem 10rem 0 0;
    color: var(--dark);
    padding-bottom: 4rem;
    text-align: center;

}

.footer__title {
    font-family: var(--secondery-font);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.footer > .container {
    position: relative;
    padding-top: 10rem;
}

.footer__scroll {
    width: 5rem;
    height: 5rem;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2rem;
    position: absolute;
    top: -2.5rem;
    right: 0;
    left: 0;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(59, 55, 53, 0.4);

}

.footer__wrapper {
    /*display: flex;*/
    /*justify-content: space-between;*/
}


/*
======================
__  FOOTER LEFT  __
======================
 */


.footer__left {
    max-width: 60rem;

}

.footer-content {
    margin-bottom: 2rem;

}


.footer-content__description {
}

.footer-app {
    display: none;
    margin-bottom: 3rem;
}

.footer-app__link {

}

.footer-app__img {
    margin-bottom: 1rem;
}


/*
======================
__  FOOTER RIGHT  __
======================
 */

.footer__right {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-list {
    max-width: 16rem;
    margin-left: 1rem;
    margin-bottom: 1rem;
}

.footer-pages {
    color: var(--dark);

}

.footer-pages__item {

}

.footer-pages__link {
    color: var(--dark);

}

.footer-pages__link:hover {
    text-decoration: underline;
}

.footer-app__mobile {
    display: block;
}


.footer__copy-right {
    text-align: center;
    font-size: 1.4rem;
    margin-top: 2rem;
}


/* END CSS */
/*================================================================================*/

