/* RESET */
body,
h1,
h2,
p,
figure {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

/* GERAL */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    padding-top: 68px;

}

body.menu-open {
    overflow: hidden;
}


section {
    scroll-margin-top: 90px;
}


/*HEADER*/
.top-site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background-color: #fff;
    box-shadow: 0 2px 20px 0px rgba(0, 0, 0, 0.082);
}


.mobile {
    display: none;
}

.mobile i {
    transition: 0.3s;
}

.btns {
    display: flex;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background-color: #181818;
}

.title {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: .5rem;
    padding-bottom: .5rem;
    font-size: calc(1rem + 3vw);
    text-align: center;
}

.main-content {
    display: grid;
    gap: 1rem;
    max-width: 1700px;
    margin-right: auto;
    margin-left: auto;
    padding: 1rem;
}

.main-nav {
    background-color: #fff;
}

.menu {
    display: flex;
    align-items: center;
}

.menu__item {
    margin: 0 .75rem;
    padding: .25rem .5rem;
}

.menu__link img {
    height: 60px;
    width: auto;
    display: block;
}

.menu__link {
    text-decoration: none;
    color: #1d3756;
    font-size: 17px;
    transition: 0.3s;
}

.menu__link:hover {
    color: #fb9248;
}


.to-left {
    margin-right: auto;
}

.to-right {
    margin-left: auto;
}

.centered {
    margin-right: auto;
    margin-left: auto;
}

/* HERO */
.hero1 {
    background-image: url("../images/bg4_2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 550px;
    position: relative;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}


/* HERO-TOUR1 */
.hero1-tour1 {
    background-image: url("../images/card1copia.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 250px;
    position: relative;
    margin-bottom: 40px;
}

.hero-content-tour1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}


/* HERO-TOUR2 */
.hero1-tour2 {
    background-image: url("../images/card4copia.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 250px;
    position: relative;
}

.hero-content-tour2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}


/* HERO-TOUR3 */
.hero1-tour3 {
    background-image: url("../images/bg3copia.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 250px;
    position: relative;
}

.hero-content-tour3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
}



.hero1 h1 {
    font-size: 68px;
    margin: 0;
}

.hero1 p {
    font-size: 24px;
    margin: 0;
    padding-top: 2%;
    font-family: 'Montserrat', sans-serif;
}


/*ARROW DOWN*/
.contentDiv {
    position: absolute;
    margin-top: 20%;
    font-size: 25px;
    left: 50%;
}

@keyframes bouncing {
    0% {
        bottom: 0;
    }

    50% {
        bottom: 10px;
    }

    100% {
        bottom: 0;
    }
}

.contentDiv i {
    animation: bouncing 1s infinite ease-in-out;
    bottom: 0;
    display: block;
    height: 50px;
    left: 50%;
    margin-left: -25px;
    position: absolute;
    width: 50px;
}


/*HERO 2*/
.hero2 {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
    min-height: 260px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    border-bottom: 1.2px solid #181818;
}

.hero-content2 {
    text-align: center;
    padding: 10px 20px;
    max-width: 900px;
}

.hero2 h4 {
    font-size: clamp(28px, 4vw, 35px);
    margin: 0;
    color: #487ffb;
    font-weight: 900;
}

.hero2 p {
    font-size: clamp(14px, 2vw, 16px);
    margin-top: 15px;
    color: #212e3e;
    line-height: 1.5;
}

/*TITLE - TOURS*/
.title-tours {
    text-align: center;
    color: rgba(13, 36, 63, 1);
}

.title-tours h3 {
    cursor: default;
    margin: 3% 0 0.5% 0;
    font-weight: bold;
    color: #fb9248;
    font-size: 26px;
}

.title-tours p {
    font-size: 16px;
    margin-bottom: 3%;
}


/*DESCRIPTION-TOURS*/
.tours-description {
    text-align: start;
    color: rgba(13, 36, 63, 1);
    margin: 40px 70px 50px 70px;
}

.tours-description h3 {
    cursor: default;
    margin: 3% 0 0.5% 0;
    font-weight: bold;
    color: #fb9248;
    font-size: 20px;
    text-transform: uppercase;
}

.tours-description p {
    font-size: 16px;
    margin: 1.5% 0;
    line-height: 1.5;
    color: #2b2b2b;
}




.tours-description1 {
    color: rgba(13, 36, 63, 1);
    margin: 40px 70px 50px 70px;
}

.tours-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.tours-text h3 {
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #fb9248;
    font-size: 20px;
    text-transform: uppercase;
}

.tours-text p {
    font-size: 16px;
    margin: 16px 0;
    line-height: 1.5;
    color: #2b2b2b;
}

.tours-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    object-fit: cover;
}




.col {
    margin-right: 30%;
}

.btn-more-tours {
    background-color: #487ffb;
    color: white;
    padding: 15px 20px;
    border-radius: 4px;
    font-size: 13px;
    transition: 0.3s ease-in-out;
}

.btn-more-tours:hover {
    background-color: #487efbca;
}




/* CARTÕES – RESPONSIVE */
.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0 20px 70px 20px;

}

.card {
    width: 300px;
    max-width: 90vw;
    height: 360px;
    background: #fff;
    display: flex;
    align-items: flex-end;
    padding: 2rem 1rem;
    position: relative;
    transition: 0.5s all ease-in-out;
    border-radius: 12px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 36, 63, 0.3), rgba(13, 36, 63, 1));
    z-index: 2;
    opacity: 0;
    transition: 0.5s all;
}

.card:hover::before {
    opacity: 1;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.card .info {
    position: relative;
    color: #fff;
    z-index: 3;
    opacity: 0;
    transform: translateY(30px);
    transition: 0.5s all;
}

.card:hover .info {
    opacity: 1;
    transform: translateY(0);
}

.card .info h1 {
    line-height: 40px;
    margin-bottom: 10px;
}

.card .info p {
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.card .info .btn {
    background: #fff;
    padding: 0.5rem 1rem;
    color: #000;
    font-size: 12px;
    cursor: pointer;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: .2s ease-in-out;
}

.card .info .btn:hover {
    background: #fb9248;
    color: #fff;
    box-shadow: 0 7px 10px rgba(0, 0, 0, 0.5);
}


/*HERO 3*/
.hero3 {
    background-image: url("../images/bg8.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 550px;
    position: relative;
}

.hero-content3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 60%;
    color: #fff;
    background-color: #f5fdf825;
    backdrop-filter: blur(8px);
    border: 1.4px solid rgba(255, 255, 255, 0.242);
    box-shadow: 0 1px 20px 5px rgba(0, 0, 0, 0.071);
    padding: 50px 50px;
    border-radius: 20px;
}

.hero3 h1 {
    font-size: 40px;
    margin: 0;
}

.hero3 p {
    font-size: 16px;
    margin: 0;
    padding-top: 2%;
    font-family: 'Montserrat', sans-serif;
}

/*GUIDE*/
.guide {
    background-color: #fff;
    padding: 70px 0;
}

.guide h3 {
    font-size: 30px;
    margin: 0 auto 5px auto;
    width: fit-content;
    color: rgba(13, 36, 63, 1);
}

.guide h5 {
    font-size: 20px;
    margin: 0 auto 30px auto;
    width: fit-content;
    color: rgba(13, 36, 63, 1);
}

.grid-guide {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 1200px;
    padding: 0 120px;
    margin: 0 auto;
}

.grid-item-guide {
    text-align: justify;
    font-size: 15px;
    line-height: 1.3;
}

/*FORMS*/
.booking-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 50px;
    font-family: 'Montserrat', sans-serif;
}


.booking-section h2 {
    text-align: center;
    margin-bottom: 20px;
}


form label {
    display: block;
    margin-top: 10px;
}


form input {
    width: 100%;
    padding: 8px;
    margin: 6px 0 12px;
    box-sizing: border-box;
    border: 1px solid black;
    border-radius: 30px;
}


button {
    width: 60%;
    padding: 12px;
    background: #fb9248;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: transform .2s ease-in-out;
    position: relative;
    left: 20%;
}

button:hover {
    background: #ea863f;
    transform: scale(1.05);
}


/*FOOTER*/
footer {
    background-color: rgba(13, 36, 63, 1);
    padding: 15px;
    color: #fff;
}

.grid-container3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
    align-items: center;
}

.grid-item3 {
    padding: 4px 10px;
    font-size: 14px;
    margin: 20px 0 30px 0;
}

.grid-item3 h3 {
    color: #487ffb;
}

.icons:hover {
    transform: scale(110%);
}

.grid-item3 img {
    width: 40%;
}

.grid-item3 p {
    margin-top: 1.5%;
}

.direitos {
    justify-items: center;
    font-size: 13px;
}

.footer-contct {
    display: flex;
    justify-content: center;
    gap: 6px;
    align-items: center;
    margin-top: 10px;
}

.footer-contct i {
    font-size: 20px;
    margin-top: 1.5%;

}

.quick-links p {
    margin-top: 1.5%;
}

.quick-links a {
    transition: 0.3s ease-in-out;
}

.quick-links a:hover {
    color: #fb9248;
}


/*MEDIA QUERIES*/
/*MEDIA QUERIES - TABLET*/

@media all and (max-width: 1024px) {

    .menu__link {
        display: flex;
    }

    .mobile {
        display: none;
    }

    .wrapper {
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 0 0 35px 0;
    }

    .card {
        width: 250px;
        height: 300px;
    }

    .card::before {
        opacity: 1 !important;
    }

    .card:hover {
        transform: none;
    }

    .card .info {
        opacity: 1 !important;
        transform: translateY(0) !important;
        width: 90%;
    }

    .card .info h1 {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .card .info p {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 15px;
    }

    .card .info .btn {
        font-size: 11px;
        padding: 0.4rem 0.8rem;
        background-color: #fb9248;
        color: white;
    }
}

/*MEDIA QUERIES - MOBILE*/
@media all and (max-width: 480px) {
    .btns {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        z-index: 9999;

        flex-direction: column;
        align-items: center;
        gap: 20px;

        display: none;
        padding: 20px 0;
    }

    .btns.active {
        display: flex;
    }


    .mobile {
        display: block;
        color: #212e3e;
        margin-right: 55px;
    }

    .top-site {
        padding: 15px 20px;
    }

    .top-site img {
        margin-left: 10px;
    }

    .hero1 {
        background-image: url("../images/bg4_2.jpg");
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: fixed;
        height: 620px;
        position: relative;
    }

    .contentDiv {
        display: none;
    }

    .hero1 h1 {
        font-size: 34px;
    }

    .hero1 h3 {
        font-size: 18px;
        padding-left: 0;
    }

    .hero1 p {
        font-size: 14px;
        margin-bottom: 40px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .counting {
        margin-left: 15px;
    }

    .grid-container2 {
        grid-template-columns: 1fr;
    }

    .grid-container3 {
        grid-template-columns: 1fr;
        margin-bottom: 10%;

    }

    .hero-content h1 {
        margin: 30px 0 10px 0;
    }

    .hero-content h3 {
        margin: 0 0 12px 0;
    }

    .hero-content p {
        font-size: 15px;
        font-weight: bold;
    }

    .hero-content .btn-simular {
        font-size: 16px;
        padding: 12px 20px;
    }


    .hero3 {
        grid-template-columns: 1fr;
        padding: 30px 20px;
    }


    .hero3 h3 {
        font-size: 24px;
    }

    .hero3 p {
        margin: 30px 10px;
    }

    .hero5 img {
        max-width: 90%;
        padding: 0px;
        margin: 0;
    }

    .hero5 {
        display: block;
        padding-bottom: 15%;
    }

    .hero5 p {
        margin: 0px 15px 30px;
    }


    .btn-simular2,
    .btn-simular3 {
        font-size: 14px;
        padding: 12px 20px;
    }

    footer {
        text-align: center;
    }

    .grid-item3 img {
        width: 60%;
    }

    .grid-item3 {
        margin: 10px;
    }

    .btn-extra {
        display: none;
    }

    .hero-content3 {
        padding: 10px 60px;
    }

    .hero-content3 p {
        margin: 0;
    }

    .title-tours {
        padding: 30px 0;
        margin: 0 50px;
    }

    .title-tours p {
        margin-top: 5%;
    }

    .tours-description {
        margin: 40px 20px 50px 20px;
        text-align: start;
    }

    .tours-description h3 {
        cursor: default;
        font-weight: bold;
        color: #fb9248;
        font-size: 20px;
        text-transform: uppercase;
    }

    .tours-description p {
        font-size: 16px;
        margin: 5% 0 12% 0;
        line-height: 1.5;
        color: #2b2b2b;
    }


    /* teste */
    /* .teste {
    grid-template-columns: repeat(2, 1fr);
    display: grid;
    margin: 0px 25px;
    width: calc(100% - 50px);
    height: 330px;
    padding: 60px 0;
    border-radius: 40px;
    align-items: center;
}

.teste h3 {
    color: #fb9248;
    font-size: 35px;
    margin: 0 40px;
    align-items: start;
}

.teste img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.teste p {
    font-size: 16px;
    color: #000000;
    margin: 30px 40px;
}
 */


    .profile img {
        width: 100%;
        max-width: 500px;
        object-fit: cover;
        vertical-align: middle;
        border-radius: 12px;
        box-shadow: 1px 10px 30px 2px rgba(0, 0, 0, 0.16);
    }

    .rapper {
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: space-around;
        gap: 5rem;
        padding: 20px 50px;
        margin-top: 30px;
    }

    .intro {
        flex: 1;
    }

    .col {
        margin-right: 0%;
    }



    .gallery {
        padding: 0;
    }

    /* viewport corta tudo fora do ecrã */
    .gallery-viewport {
        overflow: hidden;
        width: 100%;
    }

    .gallery-track {
        display: flex;
        gap: 0;
        transition: transform 0.4s ease;
    }

    .gallery-item {
        min-width: 100%;
        height: 320px;
        border-radius: 0;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* dots */
    .gallery-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 12px 0;
    }

    .dot {
        width: 10px;
        height: 10px;
        background: #ccc;
        border-radius: 50%;
        transition: background 0.3s;
    }

    .dot.active {
        background: #000;
    }


    .carousel-track img {
        width: 70vw;
    }


    .tours-description1 {
        margin: 30px 20px;
    }

    .tours-content {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .tours-image img {
        margin-top: 20px;
    }


}


/*TESTE*/

/* ===== DESKTOP GRID ===== */
.gallery {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-track {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .2s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* primeira imagem maior */
.gallery-item:first-child {
    grid-row: span 2;
}

/* dots escondidos no desktop */
.gallery-dots {
    display: none;
}

/*TESTE 2*/

.carousel {
    width: 100%;
    overflow: hidden;
    background: #000;
}

.carousel-track {
    display: flex;
    width: fit-content;
    animation: scroll 25s linear infinite;
}

.carousel-track img {
    width: 25vw;
    min-width: 250px;
    height: auto;
    object-fit: cover;
}

.carousel:hover .carousel-track {
    animation-play-state: paused;
}


@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}