@import url('./font-face.css');

html {
    scroll-behavior: smooth;
    scroll-padding-top: 180px;
}

h1,
h2,
h3,
h4,
h5,
h6,
a.nav-link {
    font-family: 'Salted';
}

h1 span,
h2 span,
h3 span,
h4 span,
h5 span,
h6 span {
    color: #F2B15E;
    font-family: 'Salted';
}

a.nav-link {
    font-size: 24px;
}

.custom-container {
    max-width: 1600px;
    margin: 0 auto;
}

#mainHeader.scrolled {
    padding-block: 0.75rem !important;
    background-color: rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

#mainHeader.scrolled .hidden.lg\:flex {
    height: 4rem;
}

#mainHeader.scrolled img {
    height: 4rem;
    width: auto;
}

.custom-bg {
    position: relative;
    background-color: #f6f6f6;
    overflow: hidden;
}

.custom-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;

    background-image: url("/assets/img/fundo_historias_reais.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.2;
}

.custom-bg-2 {
    position: relative;
    background-color: #2b2b2b;
    overflow: hidden;
}

.custom-bg-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;

    background-image: url("/assets/img/fundo_2.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.2;
}


.custom-bg>* {
    position: relative;
    z-index: 2;
}

.bottom-section {
    margin-top: -4.5rem;
    padding-top: 7.5rem;
    position: relative;
}

.card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 20px;
}

.details-card {
    background: #346173;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 0 30px;
    transition: color 0.5s ease, padding 0.3s ease;
}

.details-card.active::after {
    opacity: 1;
}

.details-card.active::before {
    opacity: 0.25;
}

.details-card>* {
    position: relative;
    z-index: 2;
}

.wysiwyg-content ul {
    list-style: none;
    padding-left: 0;
}

.wysiwyg-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.25rem;
}

.wysiwyg-content ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.25rem;
    color: #F3B15E;
}


.itnerary-card {
    background: #fff;
    color: #2b2b2b;
    position: relative;
    overflow: hidden;
    padding: 0 50px;
    transition: color 0.5s ease, padding 0.3s ease;
}

.itnerary-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/img/fundo_3.webp') center/cover no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    z-index: 2;
}

.itnerary-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 61, 77, 1) 0%, rgba(81, 119, 135, 1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    z-index: 1;
}

.itnerary-card.active::after {
    opacity: 1;
}

.itnerary-card.active::before {
    opacity: 0.25;
}

.itnerary-card>* {
    position: relative;
    z-index: 2;
}


.itnerary-card.active {
    color: #fff;
    padding: 15px 20px;
}

.itnerary-card .divider {
    background-color: #2b2b2b;
    transition: background-color 0.5s ease;
}

.itnerary-card.active .divider {
    background-color: transparent;
}

.itnerary-card.active .itinerary-day-bg {
    opacity: 1;
}

footer ul li a {
    font-family: 'Salted';
    font-weight: 400;
    font-size: 1.6rem;
}

@media (max-width: 628px) {
    .itnerary-card {
        padding: 0 10px;
    }

    .itnerary-card.active {
        padding: 15px;
    }
    
}

@media (max-width: 575px) {
    #mainHeader img {
        height: 4em;
        width: auto;
    }

    #mainHeader.scrolled img {
        height: 4em;
        width: auto;
    }
}

@media (max-width: 380px) {
    .itinenary-index {
        display: none !important;
    }
}