/* google fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

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

html,
body {
 scroll-behavior: smooth;
 scrollbar-width: none;
 line-height: 1.5;
 background-color: var(--c-background-even);
}

/* all updates */

/* if active - no scroll if inactive - yes scroll */
.no-scroll {
    overflow: hidden;
}

/* back to top */
.top-cta {
    position: fixed;
    z-index: 1;
    bottom: 40px;
    right: 40px;
    outline: none;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--c-button);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: .5s ease;
    visibility: hidden;
    opacity: 0;
}

.top-cta:hover {
    transform: translateY(-8px);
}

.top-cta.show {
    visibility: visible;
    opacity: 1;
}

/* variables */
:root {
 /* colors */
 --c-background-even: hsl(60, 100%, 100%);
 --c-background-odd: hsl(0, 0%, 95%);
 --c-headline: hsl(205, 84%, 22%);
 --c-button: hsl(206, 97%, 61%);
 --c-button-text: hsl(60, 100%, 100%);
 --c-navbar: rgba(0, 0, 0, .9);
 /* fonts */
 --ff-headline: "Montserrat", sans-serif;
 --ff-paragraph: "Poppins", sans-serif;
 /* sizing */
 --sz-headline-l: 3rem;
 --sz-headline-m: 2rem;
 --sz-headline-s: 1.5rem;
 --sz-paragraph-n: 1rem;
 --sz-paragraph-s: 0.875rem;
 --sz-headings: 1.3rem;
}

/* navigation */
.navbar {
    position: fixed;
    z-index: 99;
    top: 0;
    left: 0;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 1rem auto;
    padding: 0 24px;
}

.n-grp {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--c-navbar);
    border-radius: 32px;
    width: 90%;
    padding: 16px 24px;
    backdrop-filter: blur(16px);
}

.n-logo {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
}

.n-logo span {
    color: var(--c-button);
}

.n-link ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.n-link li {
    list-style-type: none;
}

.n-link a {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    text-decoration: none;
    color: hsl(0, 0%, 96%);
    position: relative;
}

.n-link a::after {
    content: "";
    width: 0;
    height: 3px;
    background-color: var(--c-button);
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    transition: all .5s ease;
}

.n-link a:hover::after {
    width: 50%;
}

.n-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#menu {
    display: none;
}

.n-cta {
    width: 130px;
    height: 40px;
    outline: none;
    border: none;
    border-radius: 8px;
    background-color: var(--c-button);
    color: var(--c-button-text);
    cursor: pointer;
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 500;
}

.n-cta i {
    transition: .5s ease;
}

.n-cta:hover i {
    transform: translateX(4px);
}

/* main — sections */
section {
    padding: 100px 0;
}

/* hero */
.main-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: absolute;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.h-label {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 500;
    text-transform: uppercase;
    color: var(--c-button);
    border: 1px solid var(--c-button);
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

.h-headline {
    margin-top: 16px;
    font-family: var(--ff-headline);
    font-size: var(--sz-headline-l);
    font-weight: bolder;
    color: #fff;
}

.h-subheadline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: hsl(0, 0%, 96%);
}

.h-actions {
    margin-top: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    width: 100%;
}

.h-cta {
    width: 200px;
    height: 40px;
    outline: none;
    border: none;
    border-radius: 4px;
    background-color: var(--c-button);
    color: var(--c-button-text);
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 500;
    cursor: pointer;
}

.h-cta i {
    transition: .5s ease;
}

.h-cta:hover i {
    transform: translateX(4px);
}

/* about */
.about-title {
    text-align: center;
    font-family: var(--ff-headline);
    font-size: var(--sz-headings);
    font-weight: bold;
}

.about-grp {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.a-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.a-box {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.a-title {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: bolder;
}

.a-text {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 400;
}

.a-grp {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 600px;
}

.a-headline {
    font-family: var(--ff-headline);
    font-size: var(--sz-headline-m);
    font-weight: bolder;
    color: #000;
}

.a-subheadline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

/* destinations */
.main-destinations {
    background-color: var(--c-background-odd);
}

.destinations-header {
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.d-title {
    font-family: var(--ff-headline);
    font-size: var(--sz-headings);
    font-weight: bold;
}

.d-headline {
    font-family: var(--ff-headline);
    font-size: var(--sz-headline-m);
    font-weight: bolder;
    color: #000;
}

.d-subheadline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

.d-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.card {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.c-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.c-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .5s ease;
}

.card:hover .c-image img {
    transform: scale(1.05);
}

.c-grp {
    padding: 16px 16px;
}

.c-title {
    font-family: var(--ff-headline);
    font-size: var(--sz-paragraph-n);
    font-weight: bold;
    color: #000;
}

.c-text {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

.c-price {
    margin-top: 8px;
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: var(--c-button);
    border: 1px solid var(--c-button);
    display: inline-block;
    border-radius: 4px;
    padding: 4px 8px;
}

/* packages */
.p-header {
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.p-label {
    font-family: var(--ff-headline);
    font-size: var(--sz-headings);
    font-weight: bold;
}

.p-headline {
    font-family: var(--ff-headline);
    font-size: var(--sz-headline-m);
    font-weight: bolder;
    color: #000;
}

.p-subheadline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

.p-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.p-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
    height: auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px 16px;
    transition: all .5s ease;
}

.p-card:hover {
    transform: translateY(-8px);
}

.p-card img {
    width: 40px;
    height: 40px;
}

.p-grp {
    margin-top: 16px;
    text-align: center;
}

.p-label {
    font-family: var(--ff-headline);
    font-size: var(--sz-headings);
    font-weight: bold;
    color: #000;
}

.p-title {
    margin-top: 8px;
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 400;
    color: #222;
}

.p-text {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 400;
    color: #222;
}

.p-price {
    margin-top: 16px;
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 400;
    color: var(--c-button);
    border: 1px solid var(--c-button);
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

/* why choose us */
.main-choose {
    background-color: var(--c-background-odd);
}

.c-header {
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.c-label {
    font-family: var(--ff-headline);
    font-size: var(--sz-headings);
    font-weight: bold;
    color: #000;
}

.c-headline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-headline-m);
    font-weight: bold;
}

.c-cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.c-card {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 16px;
    text-align: center;
    transition: all .5s ease;
}

.c-card:hover {
    transform: translateY(-8px);
}

.c-card i {
    font-size: var(--sz-paragraph-s);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: green;
    border-radius: 50%;
}

.c-content {
    padding: 24px 0 0 0;
}

.c-title {
    font-family: var(--ff-headline);
    font-size: var(--sz-paragraph-n);
    font-weight: bolder;
    color: #000;
}

.c-text {
    margin-top: 8px;
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-s);
    font-weight: 400;
    color: #222;
}

/* gallery */
.g-header {
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.g-label {
    font-family: var(--ff-headline);
    font-size: var(--sz-headings);
    font-weight: bold;
    color: #000;
}

.g-headline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-headline-m);
    font-weight: bold;
    color: #000;
}

.g-subheadline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

.g-gallery {
    display: grid;
    grid-template-areas: 
    "one one two three"
    "one one four five";
    gap: 1rem;
}

.g-gallery img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.g-gallery img:nth-child(1) {
    grid-area: one;
    height: 100%;
}

.g-gallery img:nth-child(2) {
    grid-area: two;
    height: 200px;
}

.g-gallery img:nth-child(3) {
    grid-area: three;
    height: 200px;
}

.g-gallery img:nth-child(4) {
    grid-area: four;
    height: 200px;
}

.g-gallery img:nth-child(5) {
    grid-area: five;
    height: 200px;
}

/* testimonials */
.main-testimonials {
    background-color: var(--c-background-odd);
}

.t-header {
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.t-label {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-headings);
    font-weight: bold;
    color: #000;
}

.t-headline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-headline-m);
    font-weight: bold;
    color: #000;
}

.t-subheadline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

.t-reviews {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.t-card {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 24px 8px 8px 8px;
    transition: all .5s ease;
}

.t-card:hover {
    transform: translateY(-8px);
}

.t-stars {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.t-message {
    margin-top: 16px;
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

.t-message::before {
    content: "' ";
}

.t-message::after {
    content: " '";
}

.t-author {
    margin-top: 8px;
    font-family: var(--ff-headline);
    font-size: var(--sz-paragraph-n);
    font-weight: 500;
    color: #000;
}

.t-author::before {
    content: "— ";
}

/* contact */
.cn-header {
    text-align: center;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cn-label {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-headings);
    font-weight: bold;
    color: #000;
}

.cn-headline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-headline-m);
    font-weight: bold;
    color: #000;
}

.cn-subheadline {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

.cn-details {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cn-card {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 8px 8px 8px;
    text-align: center;
    transition: all .5s ease;
}

.cn-card:hover {
    transform: translateY(-8px);
}

.cn-card i {
    font-size: var(--sz-headings);
}

.cn-text {
    margin-top: 16px;
}

.title {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 400;
    color: #222;
}

/* footer */
.main-footer {
    background-color: var(--c-background-odd);
}

.f-copyright {
    text-align: center;
    margin-bottom: 0;
}

.f-last {
    font-family: var(--ff-paragraph);
    font-size: var(--sz-paragraph-n);
    font-weight: 500;
    color: #000;
    padding: 24px 0;
}

/* functionality for navbar */
@media (max-width: 1024px) {
    /* navigation */
    .n-grp {
        position: relative;
    }

    .n-link ul {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem 0;
    }

    #menu {
        display: block;
        color: #fff;
        cursor: pointer;
    }

    .n-grp #nav {
        position: absolute;
        z-index: 99;
        top: calc(100% + 16px);
        left: 0;
        width: 100%;
        background-color: var(--c-navbar);
        border-radius: 32px;
        visibility: hidden;
        opacity: 0;
        transition: .5s ease-in-out;
    }

    .n-grp #nav.active {
        visibility: visible;
        opacity: 1;
    }
}

/* tablet */
@media (max-width: 1024px) {
    /* hero */
    .h-label {
        font-size: var(--sz-paragraph-s);
    }

    .h-headline {
        font-size: var(--sz-headline-m);
    }

    .h-subheadline {
        font-size: var(--sz-paragraph-s);
    }

    .h-actions {
        margin-top: 32px;
    }

    /* about */
    .about-grp {
        flex-direction: column;
    }

    .a-grp {
        text-align: center;
        gap: 1rem;
    }

    .a-headline {
        font-size: var(--sz-headline-m);
    }

    .a-subheadline {
        font-size: var(--sz-paragraph-s);
    }

    /* destinations */
    .d-headline {
        font-size: var(--sz-headline-m);
    }

    .d-subheadline {
        font-size: var(--sz-paragraph-s);
    }

    .d-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* packages */
    .p-headline {
        font-size: var(--sz-headline-m);
    }

    .p-subheadline {
        font-size: var(--sz-paragraph-s);
    }

    .p-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* why choose us */
    .c-headline {
        font-size: var(--sz-headline-m);
    }

    .c-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    /* gallery */
    .g-headline {
        font-size: var(--sz-headline-m);
    }

    .g-subheadline {
        font-size: var(--sz-paragraph-s);
    }

    .g-gallery {
        grid-template-areas: 
        "one one"
        "one one"
        "two three"
        "four five";
    }

    /* testimonials */
    .t-headline {
        font-size: var(--sz-headline-m);
    }

    .t-subheadline {
        font-size: var(--sz-paragraph-s);
    }

    .t-reviews {
        grid-template-columns: repeat(2, 1fr);
    }

    /* contact */
    .cn-headline {
        font-size: var(--sz-headline-m);
    }

    .cn-subheadline {
        font-size: var(--sz-paragraph-s);
    }

    .cn-details {
        grid-template-columns: repeat(2, 1fr);
    }

    /* footer */
}

/* mobile */
@media (max-width: 420px) {
    /* hero */
    .hero-content {
        width: 100%;
    }

    .h-headline {
        font-size: var(--sz-headline-s);
    }

    .h-actions {
        flex-direction: column;
    }

    .h-cta {
        width: 100%;
    }

    /* about */
    .a-stats {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .a-headline {
        font-size: var(--sz-headline-s);
    }

    /* destinations */
    .d-headline {
        font-size: var(--sz-headline-s);
    }

    .d-cards {
        grid-template-columns: 1fr;
    }

    /* packages */
    .p-headline {
        font-size: var(--sz-headline-s);
    }

    .p-cards {
        grid-template-columns: 1fr;
    }

    /* why choose us */
    .c-headline {
        font-size: var(--sz-headline-s);
    }

    .c-cards {
        grid-template-columns: 1fr;
    }

    /* gallery */
    .g-headline {
        font-size: var(--sz-headline-s);
    }

    .g-gallery {
        grid-template-areas: 
        "one"
        "two"
        "three"
        "four"
        "five";
    }

    /* testimonials */
    .t-headline {
        font-size: var(--sz-headline-s);
    }

    .t-reviews {
        grid-template-columns: 1fr;
    }

    /* contact */
    .cn-headline {
        font-size: var(--sz-headline-s);
    }

    .cn-details {
        grid-template-columns: 1fr;
    }
}
