:root {

    --color-primary: hsl(40, 100%, 50%);
    --color-secondary: hsl(119, 19%, 42%);
    --color-secondary-dark: hsl(119, 19%, 32%);
    --color-accent: hsl(349, 53%, 50%);
    --color-accent-dark: hsl(349, 53%, 40%);
    --color-background: hsl(0, 8%, 97%);
    --color-text: hsl(0, 1%, 24%);

    --navbar-bg: var(--color-background);
    --nav-link-hover: var(--color-primary);
    /* --nav-link-hover: hsl(25, 100%, 40%); */

    --home-container-bg: hsla(0, 0%, 0%, 0.50);

    --color-white: hsl(0, 0%, 100%);
    --color-black: hsl(0, 0%, 7%);

    --sec-heading-font-size: 2.5rem;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semi-bold: 600;
    --fw-bold: 700;
    --fw-extra-bold: 800;
    --fs-paragraph: 1.125rem;
    --border-radius: 10px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
}

html, body {
    height: 100vh;
    scroll-behavior: smooth;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    color: var(--color-text);
    background: var(--color-background);
}

main {
    scroll-snap-type: y mandatory;
}

footer {
    flex-shrink: 0;
    color: var(--color-white);
    background-color: var(--color-black);
}

footer p {
    font-size: .875rem;
}

section {
    scroll-margin-block-start: 50px;
}

img, picture, video, canvas, svg {
    display: block;
    /* max-width: 100%; */
}

input, button, textarea, select {
    font: inherit;
    resize: none;
    box-shadow: none !important;
}

input:is(:hover, :focus-visible),
textarea:is(:hover, :focus-visible),
select:is(:hover, :focus-visible) {
    font: inherit;
    resize: none;
    box-shadow: none !important;
    border-color: var(--color-primary) !important;
}


p, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

p {
    font-size: var(--fs-paragraph);
}

.loading-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    height: 100vh;
    color: var(--color-secondary-dark);
    background-color: var(--color-background);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif !important;
    font-weight: var(--fw-semi-bold);
    z-index: 9999;
}


.loading-container svg {
    --width-height: 50px;
    width: var(--width-height);
    height: var(--width-height);
    fill: var(--color-primary);
    -webkit-animation: spin 1.4s linear infinite;
            animation: spin 1.4s linear infinite;
}

@keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

.text-justify {
    text-align: justify !important;
}

.btn-main {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    font-size: 2rem;
    color: var(--color-white) !important;
    background-color: var(--color-accent);
    -webkit-transition: background-color .3s;
    transition: background-color .3s;
}

.btn-main svg {
    width: 2rem;
    height: 2rem;
    fill: var(--color-white);
}

.btn-main:is(:hover, :focus-visible) {
    background-color: var(--color-accent-dark) !important;
}


.btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    font-size: 1.5rem;
    color: var(--color-white) !important;
    background-color: var(--color-secondary);
    -webkit-transition: background-color .3s;
    transition: background-color .3s;
}

.btn-secondary svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: var(--color-white);
}

.btn-secondary:is(:hover, :focus-visible) {
    background-color: var(--color-secondary-dark) !important;
}

#root, #__next {
    isolation: isolate;
}

header {
    position: fixed;
    width: 100vw;
    height: auto;
}

.navbar {
    background-color: var(--navbar-bg);
    box-shadow: 0 2px 8px hsla(0, 0%, 0%, 0.171);
}


.navbar .nav-link {
    color: var(--color-text);
    font-weight: var(--fw-semi-bold);
    -webkit-transition: color .3s;
    transition: color .3s;
}

.nav-active,
.navbar .nav-link:is(:hover, :focus-visible) {
    color: var(--nav-link-hover) !important;
}

.img-logo {
    width: auto;
    height: 70px;
    -webkit-transition: height .3s;
    transition: height .3s;
}

.img-logo-shrink {
    width: auto;
    height: 50px;
    -webkit-transition: height .4s;
    transition: height .4s;
}

.section-home {
    width: 100%;
    height: 100vh;
    background: url('../images/backgrounds/home.jpg') var(--color-black);
    background-size: cover;
    /* background-attachment: fixed; */
    background-position: center;
    background-repeat: no-repeat;
}

.home-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background-color: var(--home-container-bg);
    color: var(--color-white);
}

.home-title {
    font-size: 5rem;
    text-align: center;
    letter-spacing: 8px;
}

.home-info {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: var(--fw-regular);
    text-align: center;
}

.about-us-1 {
    display: flex;
    justify-content: center;
}

.about-us-1 h2,
.about-us-2 h2 {
    font-size: var(--sec-heading-font-size);
    color: var(--color-secondary);
}

.img-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.img-container .img-about,
.img-container .img-destination {
    width: 99%;
    height: auto;
    border-radius: 5px;
}

.services-1 {
    color: var(--color-white);
    background-color: var(--color-secondary);
}

.services-1 .row>div:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

.section-title {
    color: var(--color-secondary);
    text-align: center;
    font-size: var(--sec-heading-font-size);
}

.services-2 .container>div:first-child>p {
    text-align: center;
}

.service-card {
    text-align: center;
}

.service-card .img-service-container {
    display: flex;
    justify-content: center;
}

.service-card .img-service-container img {
    width: 150px;
    height: auto;
    padding: 1rem;
}

.service-card .service-heading {
    font-size: 2rem;
}

.card-package {
    padding: .5rem;
}

.card-package-title {
    padding-bottom: 8px;
    font-size: 1.5rem;
    font-weight: var(--fw-bold);
    text-align: center;
}

.card-package-img-container img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 2px 2px 8px hsla(0, 0%, 50%, 0.534);
}

.card-package p {
    font-size: 0.938rem;
}

.card-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #cccbcb;
    border-radius: 3px;
    padding: 1rem;
    background-color: #f3f3f3;
}

.card-gallery img {
    width: auto;
    height: 200px;
}

.info-container {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.info-container svg {
    display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    fill: var(--color-secondary);
    -webkit-transition: fill .4s;
    transition: fill .4s;
}

.info-container a {
    font-size: 1.5rem;
    color: var(--color-secondary);
    text-decoration: none;
    -webkit-transition: color .4s;
    transition: color .4s;
}

.info-address {
    display: grid;
    grid-template-columns: auto 1fr;
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.info-address svg {
    display: block;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: 0.5rem;
    margin-right: 0.5rem;
    fill: var(--color-secondary);
    -webkit-transition: fill .4s;
    transition: fill .4s;
}

.info-container a:is(:hover, :focus-visible) {
    color: var(--color-primary);
}

.info-container a:is(:hover, :focus-visible) svg {
    fill: var(--color-primary);
}

.social-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.social-container a {
    color: transparent !important;
}

.social-container a svg {
    display: inline-block;
    width: 1.7rem;
    height: 1.7rem;
    fill: var(--color-white);
    -webkit-transition: fill .4s;
    transition: fill .4s;
}

.info-container a:is(:hover, :focus-visible) svg,
.social-container a:is(:hover, :focus-visible) svg {
    fill: var(--color-primary);
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@media only screen and (max-width: 991px) {
    .img-container .img-about {
        width: 100%;
        height: auto;
    }
}


@media only screen and (max-width: 677px) {

    * {
        --sec-heading-font-size: 1.8rem;
    }

    .btn-main {
        font-size: 1.5rem;
    }

    .img-logo {
        width: auto;
        height: 60px;
    }

    .home-title {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }

    .services-2 .container>div:first-child>p {
        text-align: justify;
    }

    .info-address,
    .info-container a {
        font-size: 1.2rem !important;
    }
}