@import url('https://fonts.cdnfonts.com/css/celia');
@import url('https://fonts.cdnfonts.com/css/guaruja-grotesk');

/*
ESTILOS GERAIS (Root)
*/

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 200vh;
    font-family: Helvetica, Verdana, sans-serif;
}

.container {
    max-width: 1200px; /* Define o limite de largura do container */
    margin: 0 auto; /* Centraliza o container na página */
    position: relative;
    width: 100%;
    padding-bottom: 0;
    overflow: hidden;
}

/*==== VARIABLES =====================*/
:root {
    --header-height: 4.5rem;

    /* colors */
    --base-color: #4B8067;
    --base-color-second: #E8E1FD;
    --base-color-alt: #FFF6ED;
    --base-color-earth: #194027;
    --base-color-fire: #EFF483;
    --base-color-air: #FFF6ED;
    --base-color-water: #E8E1FD;
    --title-color: #194027;
    --title-color-alt: #E8E1FD;
    --text-color: #194027;
    --text-color-light: #E8E1FD;
    --body-color: #FFF6ED;

    /* fonts */
    --title-font-size: 2rem;
    --subtitle-font-size: 1.5rem;

    /* fonts movel dispositives*/
    --mv-title-font-size: 1.5rem;
    --mv-subtitle-font-size: 1rem;

    --title-font: 'Guaruja Grotesk', sans-serif;
    --body-font: 'Celias', sans-serif;
}

/* DIVIDER */

.container svg {
    display: block;
    position: absolute;
    left: 0;
    z-index: -1;
    transform: scaleY(-1);
}


/*
ESTILOS DO HEADER/NAV

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px 20px 30px 20px;
    display: flex;
    align-items: center;
    transition: 0.3s ease-out;
    backdrop-filter: blur(5px) brightness(1.2);
    -webkit-backdrop-filter: blur(3px) brightness(1.2);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 16px;

    z-index: 100;
}

nav.mask {
    mask-image: linear-gradient(black 70%, transparent);
    -webkit-mask-image: linear-gradient(black 70%, transparent);
}

nav.mask-pattern {
    top: 300px;
    mask-image: url("data:image/svg+xml, %3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12.21 10.57%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6.1 0h6.11L9.16 5.29 6.1 10.57 3.05 5.29 0 0h6.1z%27/%3E%3C/svg%3E"), linear-gradient(black calc(100% - 30px), transparent calc(100% - 30px));
    mask-size: auto 30px, 100% 100%;
    mask-repeat: repeat-x, no-repeat;
    mask-position: left bottom, top left;

    -webkit-mask-image: url("data:image/svg+xml, %3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 12.21 10.57%27%3E%3Cpath fill=%27%23ffffff%27 d=%27M6.1 0h6.11L9.16 5.29 6.1 10.57 3.05 5.29 0 0h6.1z%27/%3E%3C/svg%3E"), linear-gradient(black calc(100% - 30px), transparent calc(100% - 30px));
    -webkit-mask-size: auto 30px, 100% 100%;
    -webkit-mask-repeat: repeat-x, no-repeat;
    -webkit-mask-position: left bottom, top left;
}

@media (min-width: 640px) {
    nav {
        padding: 16px 50px 30px 50px;
    }
}

nav.is-hidden {
    transform: translateY(-100%);
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.list {
    list-style-type: none;
    margin-left: auto;
    display: none;
}

@media (min-width: 640px) {
    .list {
        display: flex;
    }
}

.list li {
    margin-left: 20px;
}

.search {
    display: inline-block;
    padding: 0;
    font-size: 0;
    background: none;
    border: none;
    margin-left: auto;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, .5));
}

@media (min-width: 640px) {
    .search {
        margin-left: 20px;
    }
}

.search::before {
    content: '';
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: center/1.3rem 1.3rem no-repeat url("data:image/svg+xml, %3Csvg%20xmlns=%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox=%270%200%2015.17%2014.81%27%20width=%2715.17%27%20height=%2714.81%27%3E%3Cpath%20d=%27M6,.67A5.34,5.34,0,1,1,.67,6,5.33,5.33,0,0,1,6,.67ZM9.86,9.58l4.85,4.75Z%27%20fill=%27none%27%20stroke=%27%23fff%27%20stroke-width=%271.33%27%2F%3E%3C%2Fsvg%3E");
}

.menu {
    display: inline-block;
    padding: 0;
    font-size: 0;
    background: none;
    border: none;
    margin-left: 20px;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, .5));
}

@media (min-width: 640px) {
    .menu {
        display: none;
    }
}

/*Fim do HEADER/NAV*/

nav {
    height: 10vh;
    width: 100%;
    background-color: #4B8067;
    position: fixed;
    z-index: 100;
    color: var(--text-color-light);
    box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.38);
    -webkit-box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.38);
    -moz-box-shadow: 0px 1px 5px 1px rgba(0,0,0,0.38);
}

nav img{
    margin-top: 10px;
    max-width: 70px;
    margin-left: 5rem;
}

nav > .nav-header {
    display: inline;
}

nav > .nav-header > .nav-title {
    display: inline-block;
    font-size: 22px;
    color: #fff;
    padding: 10px 10px 10px 10px;
}

nav > .nav-btn {
    display: none;
}

nav > .nav-links {
    float: right;
    font-size: 18px;
    margin-top: 1.5rem;
    margin-right: 6rem;
}

nav > .nav-links > a {
    display: inline-block;
    padding: 13px 10px 13px 10px;
    text-decoration: none;
    color: #efefef;
}

nav > .nav-links > a:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

nav > #nav-check {
    display: none;
}

@media (max-width:600px) {
    nav > .nav-btn {
        display: inline-block;
        position: absolute;
        right: 0px;
        top: 0px;
    }
    nav > .nav-btn > label {
        display: inline-block;
        /* width: 30%; */
        /* height: 50px; */
        padding: 13px;
        margin-top: 0.75rem;
        margin-right: 1rem;
    }
    nav > .nav-btn > label:hover,.nav  #nav-check:checked ~ .nav-btn > label {
        background-color: rgba(0, 0, 0, 0.3);
    }
    nav > .nav-btn > label > span {
        display: block;
        width: 25px;
        height: 10px;
        border-top: 2px solid #eee;
    }
    nav > .nav-links {
        position: absolute;
        display: block;
        width: 100%;
        background-color: #333;
        height: 0px;
        transition: all 0.3s ease-in;
        overflow-y: hidden;
        top: 50px;
        left: 0px;
    }
    nav > .nav-links > a {
        display: block;
        width: 100%;
    }
    nav > #nav-check:not(:checked) ~ .nav-links {
        height: 0px;
    }
    nav > #nav-check:checked ~ .nav-links {
        height: calc(100vh - 50px);
        overflow-y: auto;
    }
}

/* Banner */
.banner {
    max-width: 100%;
    overflow: hidden;
}

.banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Apartamento terra */
.earth {
    background-color: var(--base-color);
    color: var(--base-color-second);
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

/* Apartamento fogo */
.fire {
    background-color: var(--base-color-fire);
    color: var(--base-color);
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

/* Apartamento Ar */
.air {
    background-color: var(--base-color-air);
    color: var(--base-color);
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

/* Apartamento água */
.water {
    background-color: var(--base-color-water);
    color: var(--base-color);
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
}

.apartment-info {
    max-width: 100%;
    justify-content: space-between;
}

.section-title {
    text-align: center;
}

.title img {
    width: 30px;
    margin-right: 10px;
}

.description {
    margin-bottom: 1rem;
}

.features {
    margin-bottom: 1rem;
}

.btn-agende {
    background-color: var(--base-color-second);
    color: #194027;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-agende:hover {
    background-color: var(--base-color-second);
}

@media (max-width: 768px) {
    .apartment-section {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        height: auto;
        min-height: 50vh;
    }

    .apartment-info {
        max-width: 100%;
        margin-bottom: 2rem;
    }
}

.wave-container-fire {
    height: 20vh;
    background-color: #eff483;
    position: relative;
}

.wave-container-fire::before {
    content: "";
    width: 100%;
    height: 129px;
    position: absolute;
    bottom: -0.3%;
    left: 0;
    background-size: auto;
    background-repeat: repeat no-repeat;
    background-position: 38vw bottom;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200 80' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 1C19.5523 2 32.2291 3 51.5 5C104.5 11 200 25 300 39C400 53 500 66 600 61C700 55 800 31 900 18C987.526 3 1085.36 -1 1150 0C1169.54 -1 1180.49 0 1200 1V80H1150C1100 80 1000 80 900 80C800 80 700 80 600 80C500 80 400 80 300 80C200 80 100 80 50 80H0V1.98128Z' fill='%23fff6ed'/></svg>");
}

@media (max-width: 850px) {
    .wave-container-fire::before {
        height: 64.5px
    }
}


.wave-container-earth {
    height: 20vh;
    background-color: #4b8067;
    position: relative;
}

.wave-container-earth::before {
    content: "";
    width: 100%;
    height: 129px;
    position: absolute;
    bottom: -0.3%;
    left: 0;
    background-size: auto;
    background-repeat: repeat no-repeat;
    background-position: 38vw bottom;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200 80' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 1C19.5523 2 32.2291 3 51.5 5C104.5 11 200 25 300 39C400 53 500 66 600 61C700 55 800 31 900 18C987.526 3 1085.36 -1 1150 0C1169.54 -1 1180.49 0 1200 1V80H1150C1100 80 1000 80 900 80C800 80 700 80 600 80C500 80 400 80 300 80C200 80 100 80 50 80H0V1.98128Z' fill='%23eff483'/></svg>");
}

@media (max-width: 850px) {
    .wave-container-earth::before {
        height: 64.5px
    }
}

.wave-container-air {
    height: 20vh;
    background-color: #fff6ed;
    position: relative;
}

.wave-container-air::before {
    content: "";
    width: 100%;
    height: 129px;
    position: absolute;
    bottom: -0.3%;
    left: 0;
    background-size: auto;
    background-repeat: repeat no-repeat;
    background-position: 38vw bottom;
    background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 1200 80' fill='none' xmlns='http://www.w3.org/2000/svg'><path d='M0 1C19.5523 2 32.2291 3 51.5 5C104.5 11 200 25 300 39C400 53 500 66 600 61C700 55 800 31 900 18C987.526 3 1085.36 -1 1150 0C1169.54 -1 1180.49 0 1200 1V80H1150C1100 80 1000 80 900 80C800 80 700 80 600 80C500 80 400 80 300 80C200 80 100 80 50 80H0V1.98128Z' fill='%23e8e1fd'/></svg>");
}

@media (max-width: 850px) {

    .wave-container-air::before {
        height: 64.5px
    }
}

/* Create two equal columns that floats next to each other */
.column-r {
    float: left;
    width: 25%;
    padding: 10px;
    text-align: left;
}

/* Create two equal columns that floats next to each other */
.column-l {
    float: left;
    width: 50%;
    padding: 10px;
    text-align: left;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

/* Estilo para a seção do apartamento */
.apartment-section {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Estilo para o título da seção */
.section-title {
    font: 700 var(--title-font-size) var(--title-font);
    text-align: center;
}

.apartament {
    font-size: var(--title-font-size);
}

.apartment-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    align-items: center;
}

.column {
    align-content: center;
    padding: 2em 2em;
}

.apartment-description {
    font-size: var(--subtitle-font-size);
}

/* Estilo para o botão de reserva */
.reserve-button {
    float: inline-end;
    font-weight: bold;
    font-size: 15px;
    margin-top: 20px;
    padding: 10px 20px;
    min-height: 5rem;
    width: 100%;
    background-color: var(--base-color-earth);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.photo-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.photo-container-earth {
    background-color: var(--base-color);
}

.photo-container-fire {
    background-color: var(--base-color-fire);
}

.photo-container-air {
    background-color: var(--base-color-air);
}

.photo-container-water {
    background-color: var(--base-color-water);
}

.photo {
    margin-top: 20px; /* Espaçamento entre as fotos */
}

.full-width {
    width: 100%;
}

.half-width {
    width: calc(40% - 80px); /* 50% do tamanho da largura do contêiner menos o espaçamento entre as fotos */
    margin-right: 20px; /* Espaçamento entre as fotos */
}

.photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer .links {
    font-size: var(--subtitle-font-size);
    margin-bottom: 20px; /* Adicionando um espaçamento entre os links e o próximo elemento */
    margin-right: 120px;

}

footer .logo img {
    max-width: 100px;
    margin-top: 10px;
    margin-left: 80px;
}

footer .links a {
    margin: 0 10px; /* Adicionando um espaçamento horizontal entre os links */
    color: var(--text-color-light) !important;
    text-decoration: none;
}

footer .links a:hover {
    text-decoration: underline;
}

footer .copyright img {
    width: 30px; /* Alterando para um valor positivo para corrigir o alinhamento */
}

footer .copyright {
    font-size: 13px;
    margin-right: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: 1.75rem;
}

/* Estilos para o footer */
footer {
    display: flex;
    flex-direction: column;
    background-color: var(--base-color);
    color: var(--text-color-light);
    padding: 20px 0; /* Adicionando um pouco de espaçamento no topo e na base */
    text-align: center; /* Centralizando todo o conteúdo */
}

.links {
    font-size: var(--subtitle-font-size);
    margin-bottom: 20px; /* Adicionando um espaçamento entre os links e o próximo elemento */
}

.links a {
    margin: 0 10px; /* Adicionando um espaçamento horizontal entre os links */
}

.copyright img {
    width: 30px; /* Alterando para um valor positivo para corrigir o alinhamento */
}

@media only screen and (min-width: 768px) {
    /* Estilos para telas maiores que 768px (tablets, desktops, etc.) */
    footer {
        flex-direction: row; /* Alterando a direção do flexbox para linha */
        justify-content: space-between; /* Distribuindo os elementos igualmente ao longo do eixo principal */
        align-items: center; /* Centralizando verticalmente os elementos */
    }

    .links {
        margin-bottom: 0; /* Removendo o espaçamento entre os links e o próximo elemento */
    }
}

/*@Media*/

@media (min-width: 360px) and (max-width: 550px) {

    nav img{
        width: 50px;
        max-width: 100px;
        margin-left: 1rem
    }

    section.earth {
        height: 90vh;
    }

    section.air {
        height: 80vh;
    }

    section.water {
        height: 80vh;
    }

    section.fire {
        height: 80vh;
    }

    .column-l {
        width: 100%;
    }

    .column-r {
        width: 100%;
    }

    .apartament {
        font-size: var(--mv-title-font-size);
    }

    .apartment-description {
        font-size: var(--mv-subtitle-font-size);
    }

    .apartment-section {
        margin: 0;
    }

    .half-width {
        width: 100%;
        padding: 1.5rem;
        margin-right: 0;
    }

    footer .logo img {
        margin-left: 0;
        margin-bottom: 20px;
    }

    footer .links {
        font-size: var(--mv-subtitle-font-size);
        margin: 0;
    }
    footer .copyright {
        width: 100%;
        justify-content: center;
        margin-top: 1.75rem;
    }
}


.fancybox__backdrop::after {
    content: '';
    position: absolute;
    width: 10%;
    height: 10%;
    filter: blur(2px);
    left: 50%;
    top: 50%;
    transform: scale(11);
    opacity: 0.3;
    background-image: var(--bg-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.fancybox__toolbar {
    padding: 16px;
}

.fancybox__toolbar,
.fancybox__nav {
    --f-button-border-radius: 50%;
    --f-button-bg: rgb(91 78 76 / 64%);
    --f-button-hover-bg: rgb(91 78 76 / 74%);
    --f-button-active-bg: rgb(91 78 76 / 84%);
}

.fancybox__nav {
    --f-button-svg-width: 22px;
    --f-button-svg-height: 22px;
}

.fancybox__thumbs.is-classic {
    --f-thumb-width: 48px;
    --f-thumb-height: 48px;
    --f-thumb-gap: 16px;

    --f-thumb-border-radius: 6px;
    --f-thumb-outline: 0;
}



/* Apartame */

nav > .nav-links > a {
    display: inline-block;
    padding: 13px 10px;
    text-decoration: none;
    color: #efefef;
}

.menu {
    align-items: center;
    justify-content: space-between;
}

.nav-header {
    flex: 1;
}

.nav-btn {
    display: none;
}

.navbar-brand {
    flex: 1;
}

.nav-links {
    display: flex;
    flex: 4;
    justify-content: space-around;
}

.menu-item {
    position: relative;
}

.menu-item > a {
    display: inline-block;
    padding: 13px 10px;
    text-decoration: none;
    color: #efefef;
}

.menu-item > a::before {
    font-family: "Font Awesome 5 Free";
    font-size: 1.2rem;
    display: block;
    margin-bottom: 1rem;
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    color: #16a085;
}

.menu-item .sub-menu {
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    width: 200px;
    background-color: var(--base-color);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    z-index: 1;
    transform-origin: top;
    transform: rotateX(-90deg);
    transition: transform 0.3s linear;
}

.menu-item:hover .sub-menu {
    display: block;
    transform: rotateX(0deg);
}

.sub-menu .menu-item {
    border: none;
    text-align: left;
}

.sub-menu .menu-item a {
    padding: 10px;
    color: var(--text-color-light);
    text-decoration: none;
    display: block;
}

.sub-menu .menu-item a:hover {
    background-color: #ddd;
    color: var(--text-color);
}

.menu-item:hover > a::before {
    color: var(--text-color-light);
}

.sub-menu-list {
    list-style: none;
    padding: 0;
}

.custom-list {
    list-style: none; /* Remove os marcadores padrão */
    padding: 0;
}

.custom-list li {
    position: relative; /* Necessário para posicionar o pseudo-elemento */
    padding-left: 40px; /* Espaço para o marcador personalizado */
}

.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 30px;
    height: 30px;
    background-size: contain; /* Ajusta a imagem ao tamanho do elemento */
    background-repeat: no-repeat; /* Evita repetição da imagem */
}

/* Especifica uma imagem diferente para cada item */
.custom-list .item-1::before {
    margin: 5px;
    background-image: url('./uploads/imgs/terra.png');
}

.custom-list .item-2::before {
    margin: 5px;
    background-image: url('./uploads/imgs/fogo.png');
}

.custom-list .item-3::before {
    margin: 5px;
    background-image: url('./uploads/imgs/ar.png');
}

.custom-list .item-4::before {
    margin: 5px;
    background-image: url('./uploads/imgs/agua.png');
}

