@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-style: normal;
}

:root {
    --cor_1: rgb(255, 248, 230);
}

/* Mobile FIRST */

body {
    width: 100%;
    height: 100vh;
    background-color: var(--cor_1);
}

h1, h2, p, span {
    color: white;
}

.top-btn {
    display: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 900;
    width: 100%;
    background-color: var(--cor_1);
    box-shadow: 0 3px 3px rgb(0, 0, 0, 0.3);
}

.header-content {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;

    padding: 20px;
    max-width: 1200px;
}

.logo-box {
    order: -1;
    padding: 10px;  
}

.logo  {
    color: black;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.header-box-icons {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.search-icon {
    display: block;
    width: 28px;
    height: 28px;
    fill: rgb(0, 0, 0);
    cursor: pointer;
    padding: 5px;
}

.menu-burger {
    position: relative;

    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 5px;

    height: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 8px; 
    
}

.menu-burger span {
    width: 27px;
    height: 2.5px;
    background-color: rgb(0, 0, 0);
}

.menu-burger.active span:nth-child(1) {
    position: absolute;
    transform: rotate(45deg);  
    transition: .3s;
}
.menu-burger.active span:nth-child(2) {
    opacity: 0;
}

.menu-burger.active span:nth-child(3) {
    position: absolute;
    transform: rotate(135deg);
    transition: .3s;
}

.navbar { 
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;

    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 30px;

    padding: 30px 20px;
    background-color: var(--cor_1);
    opacity:0;
    pointer-events: none;
    transition: .3s;
    overflow-y: auto;
}

.navbar.active {
    top: 100px;
    pointer-events: all;
    opacity: 1;
    right: 0;    
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-items li {
    width: 100%;
}

.menu-items a {
    display: inline-block;
    padding: 10px; 
    color: black;
    font-size: 1rem;
    width: 100%;

    border-bottom: 1px solid rgba(0, 0, 0, .1);  
}


/* HERO */



.hero-section {  
    height: 95vh;
    background-color: rgb(64, 134, 105);
    background-image: url(../images/background-hero-big.jpg);
    background-position:bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 
    inset 5px 0px 50px rgb(0, 0, 0),
    inset -5px 0px 50px rgb(0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0px 5px 35px black;
}

.hero-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgb(0, 0, 0, 0.7), transparent, transparent 90%, rgb(0, 0, 0));
    z-index: 2;
    
    box-shadow: inset 0px -2px 5px rgb(214, 197, 151);
    pointer-events: none;    
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 20px;
    z-index: 3;

    max-width: 1200px;
    width: 100%;
    padding: 30px 16px;

}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    text-align: center;
    font-size: clamp(1.5rem, 10vw, 3.5rem);
    color: var(--cor_1); 
    text-shadow: -5px 15px 5px rgba(0, 0, 0, 0.3);
}

.hero-title span {
    display: block;
    font-size: clamp(2rem, 20vw, 10rem);
    margin-top: -10px;
}

.hero-paragraph {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 90%;
    line-height: 1.3rem;
    text-align: center;
}

.hero-btn {
    border: 1px solid var(--cor_1);
    backdrop-filter: blur(2px);
    padding: 10px; 

    max-width: 300px;
    height: 60px;
    width: 80%;

    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: -5px 10px 5px rgba(0, 28, 29, 0.3);
    cursor: pointer;

    background: linear-gradient(to right, var(--cor_1) 50%, transparent 50%);
    background-position: right;
    background-size: 200%;
    transition: background-position 0.4s ease-out, color 0.4s;
    
}

.hero-btn:hover {
    background-position: left bottom;
}


/* MAIN AND SECTIONS */

.main {
    width: 100%;
    min-height: 100vh;
    background-image: url("../images/sand.jpg");
    /* background-position: center; */
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.section {
    z-index: 1;
}

.section-title {
    color: black;
    font-size: 2rem;
}

/* ========= TOUR ========= */

.tour-section {
    width: 100%;
    position: relative;
    z-index: 0;
    padding: 30px 0px;
    box-shadow:inset 0px -10px 15px rgba(0, 0, 0, 0.5);
}

.container-tour{
    margin: 0 auto;
    max-width: 1300px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.tour-title {

    z-index: 5; 
    border-radius: 1rem;
    background-color: var(--cor_1);
    padding: 15px 70px;
    border: 2px solid var(--cor_1);
    box-shadow: 
    -20px 20px 10px rgba(0, 0, 0, 0.2),
    inset 0 0 7px rgba(0, 0, 0, 0.5);
}

.line-tour {
    position: absolute;
    top: 0;
    height: 100%;
    width: 25px;

    background-color: var(--cor_1);
    box-shadow: inset 0px 0px 3px rgba(0, 0, 0, 0.5); 
}

.tour-card-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;

    width: 100%;
    padding: 10px;
   
    z-index: 50;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    gap: 5px;
    
    width: clamp(200px, 70%, 500px);
    height: 300px;
    padding: 20px;

    box-shadow:
    -30px 30px 10px rgba(0, 0, 0, 0.2),
    inset 0px -20px 40px rgb(0, 17, 17);

    border: 3px solid var(--cor_1);

    transition: .3s;
    cursor: pointer;

    border-radius: 1rem;
}

.card span {
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif, Geneva, Tahoma, sans-serif;
    font-size: 1rem;
}

.card-title, 
.card span {
    text-shadow: 1px 2px 3px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(1px);
   
}

.card-1 {
    background-image: url(../images/cards/card-1.jpg);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;  
}
.card-2 {
    background-image: url(../images/cards/card-2.jpg);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;   
}
.card-3 {
    background-image: url(../images/cards/card-3.jpg);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;   
}
.card-4 {
    background-image: url(../images/cards/card-4.jpg);
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;  
}

/* =========== ABOUT ============ */

.about-section {
    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;

    padding: 25px 0px;
    background-color: var(--cor_1);
}

.about-title {

    color: black;
}


/* ============== GALLERY ================ */

.gallery-section {
    width: 100%;
    padding: 20px;
    height: 100vh;
    box-shadow: inset 0px -10px 20px rgba(0, 0, 0, 0.6);
}

.gallery-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* FOOTER */

.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 16px;
    background-color: var(--cor_1);
    border-top: 5px solid var(--cor_ciano);
}

.social-medias {
    display: flex;
    gap: 30px;
}

.social-medias img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: .3s;
}

/* OVERLAY */

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);

    z-index: 800;
    opacity: 0;
    pointer-events: none;
    transition: .5s;
}

body:has(.menu-burger.active) .overlay {
    opacity: 1;
    pointer-events: all;   
}

body:has(.menu-burger.active){
    overflow-y: hidden;
}



/* Pequenos Ajustes Mobile */
@media screen and (min-width: 320px) {

    .menu-items li{
        width: auto;
    }

    .menu-items.active {
        top: 120px;
    }

}


/* TABLETS */

@media screen and (min-width: 860px) {

    .line-tour {
        display: none;
    }

    .search-icon:hover {
        fill: var(--cor_ciano);
        transition: .3s;
        transform: scale(1.1);
    }

    .menu-burger {
        display: none;
    }
    
    .navbar {
        position: static;
        width: auto;
        height: auto;
        
        flex-direction: row;
        background-color: transparent;
        padding: 0;
        opacity: 1;
        pointer-events: all;
    }

    .menu-items {
        flex-direction: row;
    }

    .menu-items a {
        border-bottom: none;
    }

    .about-content-container {
        flex-direction: row;
    }

    .overlay {
        display: none;
    }

}

/* DESKTOPS */

@media screen and (min-width: 1024px) {

    .top-btn {
        display: block;
        position: fixed;
        right: 20px;
        bottom: 20px;
        z-index: 5;
        background-color: rgba(0, 0, 0, 0.2);
        color: var(--cor_ciano);
        border-radius: 50%;
        padding: 5px;

    }

    .menu-items{
        gap: 40px;
    }

    .menu-items a:hover {
        opacity: 0.6;
        transition: .2s ease-in-out;
    }


    .card:hover {
        background-position: center;
        box-shadow: inset 0px 0px 10px black;  
        transition: all 3s ease;
    }

    .card:hover .card-title {
        opacity: 0.5;
    }

    .section:has(.card-1:hover) .card-1 span, 
    .section:has(.card-2:hover) .card-2 span, 
    .section:has(.card-3:hover) .card-3 span,
    .section:has(.card-4:hover) .card-4 span {
        font-size: 0px;
        transition: .2s;
    } 

    .social-medias img:hover {
        box-shadow: 0px 0px 5px var(--cor_ciano);
        border-radius: 5px;
        padding: 5px; 
    }

    
}
