body {
    margin: 0;
    font-family: "Termina", sans-serif;
}

/* ------------------------------------------------------------------- */

/* FONTS */

@font-face {
    font-family: "Termina";
    src: url("../fonts/Termina-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Termina";
    src: url("../fonts/Termina-Demi.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("../fonts/Proxima\ Nova\ Alt\ Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Proxima Nova";
    src: url("../fonts/Proxima\ Nova\ Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}


/* ------------------------------------------------------------------- */

/* Top Navigation */
.top-nav {
    background-color: rgba(15, 24, 24, 0.06);
}

    .top-nav .nav-link {
        color: white;
        padding: 0.5rem 1rem;
        position: relative;
    }

        .top-nav .nav-link:not(:last-child)::after {
            content: "";
            position: absolute;
            right: -5%;
            top: 25%;
            height: 50%;
            border-right: 1px solid white;
        }

header.header-light .top-nav .nav-link:not(:last-child)::after {
    border-right: 1px solid #505050;
}

/* ------------------------------------------------------------------- */

.search-input {
    background: transparent;
    border: none;
    color: #efefea;
}

    .search-input:focus {
        outline: none;
        box-shadow: none;
        opacity: 10%;
    }

.form-search-xs {
    display: none !important;
}

.nav-item {
    padding: 0 0.5rem;
}

.navbar-toggler {
    border: none;
}

.navbar .dropdown-toggle::after {
    display: none !important;
}

.nav-link:focus-visible {
    outline: 0;
    box-shadow: none;
}

.dropdown-menu {
    background-color: #efefea55;
    border: none;
    --bs-dropdown-font-size: 0.8rem;
    font-weight: 500;
    border-radius: 0;
    color: #efefea;
    --bs-dropdown-color: #efefea;
    --bs-dropdown-border-radius: 0;
    margin-top: 4rem;
    background-color: #EFEFEA !important;
    padding: 10px 20px 15px !important;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: 100%; /* width of parent */
    left: 0;
    right: auto;
    border-top: 6px solid #BD9148;
}

    .dropdown-menu[data-bs-popper] {
        margin-top: 0.6rem;
    }


        .dropdown-menu .dropdown-item:hover {
            background-color: transparent;
            text-decoration: underline;
        }

/* Menu Button Color Change */

.icon-menu {
    color: #EFEFEA;
}

.menu-light .icon-menu {
    color: #0F1818;
}

/* ------------------------------------------------------------------- */

/* Header */
header {
    position: fixed;
    justify-content: center;
    width: 100%;
    z-index: 3;
    padding: 0;
    padding-bottom: 1rem;
    background-color: transparent;
}

    /* Header turning dark when scrolling over light sections */

    header.header-light {
        background-color: #EFEFEA !important;
    }

        header.header-light .nav-logo {
            filter: brightness(0) saturate(100%) invert(9%) sepia(11%) saturate(1340%) hue-rotate(134deg) brightness(98%) contrast(100%);
        }

        header.header-light .nav-link,
        header.header-light .nav-li-1,
        header.header-light .nav-li-2,
        header.header-light .search-input,
        header.header-light .fa-chevron-down {
            color: #0F1818 !important;
        }

        header.header-light .search-icon {
            filter: brightness(0) saturate(100%) invert(9%) sepia(11%) saturate(1340%) hue-rotate(134deg) brightness(98%) contrast(100%);
        }
/* ------------------------------------------------------------------- */

/* Hero Banner */
.hero-banner {
    background: url("/media/hero-image.webp") center center / cover no-repeat;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

/* ------------------------------------------------------------------- */

/* DISPLAY */

.visually-hidden {
    position: sticky !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.laptop-hidden {
    display: none !important;
}

/* ------------------------------------------------------------------- */

/* Background Color*/

.bg-light {
    background-color: #efefea;
}

.bg-white {
    background-color: #f7f6f2;
}

/* ------------------------------------------------------------------- */

/* Text Styles */

.nav-li-1 {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3rem;
    letter-spacing: 0.1rem;
}

.nav-li-1-dark {
    color: #505050;
}

.nav-li-dropdown {
    font-size: 0.7rem;
    font-weight: 500;
    line-height: 1rem;
    letter-spacing: 0.1rem;
    border-bottom: 2px solid #EFEFEA;
    margin-top: 0.5rem;
}

    .nav-li-dropdown:hover {
        border-bottom: 2px solid #BD9148;
        width: fit-content;
        text-decoration: none !important;
    }

.subheadline-3 {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3rem;
    letter-spacing: 0.1rem;
}

.nav-li-2 {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3rem;
    letter-spacing: 0.1rem;
}

.headline-2 {
    font-size: 4.063rem;
    font-weight: 600;
    line-height: 4.375rem;
    letter-spacing: -0.1rem;
    color: #0f1818;
}

.subheadline-1 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25rem;
    letter-spacing: -0.05rem;
    color: #646246;
}

.subheadline-2 {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    letter-spacing: 0.01rem;
}

.headline-5 {
    font-size: 1.813rem;
    font-weight: 500;
    line-height: 2.125rem;
    letter-spacing: -0.1rem;
    color: #0f1818;
}

.paragraph {
    font-family: "Proxima Nova";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625rem;
}

.paragraph-small {
    font-family: "Proxima Nova";
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
}

.text-white {
    color: #efefea;
}

.text-black {
    color: #0f1818;
}

.font-demi {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

/* ------------------------------------------------------------------- */

/* Buttons */

/* ----------- Button Book Now*/

.btn-book {
    border: 1.5px solid #bd9148;
    color: #bd9148;
    font-size: 0.625rem;
    border-radius: 0;
}

    .btn-book:hover {
        border: 1.5px solid #efefea;
        color: #efefea;
        font-size: 0.625rem;
        border-radius: 0;
    }

/* ----------- Button Learn More with arrow*/

.btn-learn-more {
    color: #efefea;
}

    .btn-learn-more:hover {
        color: #bd9148;
    }

.btn-learn-more {
    --bs-btn-focus-box-shadow: none !important;
}

    .btn-learn-more:focus,
    .btn-learn-more:focus-visible,
    .btn-learn-more:active {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
    }

.btn-learn-more-dark {
    color: #0f1818;
}

    .btn-learn-more-dark:hover {
        color: #bd9148;
    }


/* ----------- Button Filled*/

/* Base button */
.btn-filled {
    color: #efefea;
    background-color: #646246;
    border-radius: 0;
    padding: 10px 20px;
    font-size: 0.625rem;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease, color 0.2s ease;
}

    /* Hide text */
    .btn-filled.text-hidden {
        color: transparent;
        background-color: #646246;
        transition: color 0.2s ease;
    }

    /* Horizontal line */
    .btn-filled::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 20%;
        height: 2px;
        width: 0;
        background-color: #efefea;
        transform: translateY(-50%);
        transition: width 0.4s ease;
        z-index: 1;
    }

    .btn-filled.hovering::before {
        left: 1.5em;
        width: calc(100% - 3em);
    }

    .btn-filled.no-line::before {
        transition: none;
        width: 0 !important;
    }

    /* Arrow head */
    .btn-filled::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 20%;
        width: 8px;
        height: 8px;
        border-right: 2px solid #efefea;
        border-top: 2px solid #efefea;
        transform: translateY(-50%) rotate(45deg);
        opacity: 0;
        transition: left 0.4s ease, opacity 0.1s ease;
        z-index: 2;
    }

    .btn-filled.hovering::after {
        /*left: calc(20% + 72px);*/
        left: calc(100% - 1.5em - 8px);
        opacity: 1;
    }



/* ----------- Button Text + Arrow */

.btn-text-icn {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1rem;
    color: #0f1818;
}

.button--fenrir {
    background: none;
    padding: 0;
    -webkit-clip-path: circle(50% at 50% 50%);
    clip-path: circle(50% at 50% 50%);
    width: 60px;
    height: 60px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    border: none;
    position: relative;
}

.progress {
    position: absolute;
    width: 50px;
    height: 50px;
    top: calc(50% - 25px);
    left: calc(50% - 25px);
    transition: transform 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    background-color: transparent;
}

.button--fenrir:hover .progress {
    transform: scale3d(1.2, 1.2, 1);
    stroke: #bd9148;
}

.progress__circle,
.progress__path {
    fill: none;
    stroke: #bd9148;
    stroke-width: 1px;
}

.progress__path {
    stroke: #bd9148;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    stroke: #0f1818 !important;
}

.button--fenrir:hover .progress__path {
    stroke-dashoffset: 0;
}

/* ------------------------------------------------------------------- */

/* SECTIONS */



/* Carousel Controls */
.carousel-control-prev-tour,
.carousel-control-next-tour {
    z-index: 1;
    background: transparent;
    border: none;
    box-shadow: none;
}

.divider-line {
    border-bottom: 1.5px solid #D6DAD9;
    margin-bottom: 5rem;
    height: 0.9rem;
    margin-right: 0 !important;
}

.divider-label {
    width: fit-content;
    position: absolute;
    left: 12rem;
    padding-bottom: 15rem;
}

/* ----------- Calendar Section */



/* Carousel Controls */
.carousel-control-prev-calendar,
.carousel-control-next-calendar {
    z-index: 1;
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Card Base */
.card-calendar {
    width: 430px;
    height: 250px;
    background-color: #f4f4f4;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .card-calendar.with-bg {
        background-image: url("/media/carrousel-adventure-img-1.webp");
        background-size: cover;
        background-position: center;
    }

/* Overlay */
.card-calendar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: all 0.3s ease;
}

.card-calendar:hover .card-calendar-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.2));
}

/* Fixed Rectangle */
.card-info-rect {
    background-color: #916f33;
    width: 80px;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
}

/* Hover Text Block */
.card-hover-text {
    margin-left: 90px;
    margin-right: 10px;
    margin: 0 10px 10px 90px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    flex-grow: 1;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.card-hover-content {
    opacity: 0;
    max-height: 0;
    transition: all 0.3s ease;
    margin-top: 0;
}

.card-calendar:hover .card-hover-content {
    opacity: 1;
    max-height: 200px;
    margin-top: 0.5rem;
}

.card-row-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

/* ----------- Adventures Section */

/* CAROUSEL ADVENTURES*/
/* Laptop Bootstrap Carousel */

.carousel-section {
    overflow: hidden;
}

.carousel-card {
    height: 600px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: all 0.5s ease-in-out;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* esto es clave */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    color: #fff;
    transition: all 0.3s ease;
}

.carousel-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.card-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.card-hover-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.8s ease;
}

.carousel-card:hover .card-hover-content {
    opacity: 1;
    max-height: 200px;
    margin-top: 10px;
}

.carousel-section .carousel {
    position: relative;
}

.carousel-control-prev-adventures,
.carousel-control-next-adventures {
    top: 50px;
    width: 10%;
    height: 10%;
    z-index: 1;
    background-color: transparent;
    border: none;
}

/* Mobile scroll carousel */

.carousel-touch {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

    /* Hides scroll in Webkit (Safari, Chrome) */
    .carousel-touch::-webkit-scrollbar {
        display: none;
    }

/* Hides scroll in Firefox */
.carousel-touch {
    scrollbar-width: none; /* Firefox */
}

.carousel-touch-track {
    display: flex;
    padding: 0;
    min-width: max-content;
}

.carousel-card-touch {
    flex: 0 0 80%;
    scroll-snap-align: center;
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

/* ----------- FOOTER */

footer {
    background-color: #0f1818;
    color: #efefea;
    position: relative;
}

.footer-floating-logo {
    position: absolute;
    top: -130px; /* ajustá según el tamaño del logo */
    left: 0;
    height: 151.6px;
    z-index: 2;
}

.footer-logo-wrapper {
    position: relative;
    height: 0;
}

.footer-details {
    border-right: 1px solid #707070;
}

.footer-input .form-control {
    background-color: transparent;
    border: 1px solid #707070;
    border-radius: 0;
}

.form-control:focus {
    box-shadow: none !important;
    border-color: #BD9148 !important;
}

/* RESPONSIVE */

@media (max-width: 767.98px) {
    .main-navbar .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .nav-logo {
        height: 30px;
    }

    .form-search-xs {
        width: 40%;
    }

    .main-navbar {
        border-bottom: none;
    }

    .hero-banner {
        background-image: url("/media/hero-image-mobile.webp");
    }

    .headline-2 {
        font-size: 2.375rem;
        font-weight: 600;
        line-height: 2.625rem;
        letter-spacing: -0.1rem;
    }

    .pt-mobile {
        padding-top: 5rem !important;
    }

    .card-calendar {
        width: 300px;
        height: 170px;
    }

    .card-title {
        font-size: 1.125rem;
    }

    .card-title-adventures {
        font-size: 1.813rem;
        line-height: 2.125rem;
    }

    .px-mobile {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .pt-mobile {
        padding-top: 4rem !important;
    }

    .pb-mobile {
        padding-bottom: 2rem !important;
    }

    .mb-mobile {
        margin-bottom: 2rem !important;
    }

    .btn-filled {
        padding: 20px 40px;
        font-size: 1rem;
        position: relative;
        overflow: hidden;
        transition: background-color 0.3s ease, color 0.2s ease;
    }

    .carousel-control-prev-calendar,
    .carousel-control-next-calendar {
        display: none !important;
    }

    .carousel-control-prev-adventures,
    .carousel-control-next-adventures {
        display: none !important;
    }

    .carousel-control-prev-tours,
    .carousel-control-next-tours {
        display: none !important;
    }

    .mobile-hidden {
        display: none !important;
    }

    .laptop-hidden {
        display: flex !important; /* o block, según lo que necesites */
    }

    .footer-floating-logo {
        height: 117px;
        top: -100px;
        left: 0;
        height: 117;
        z-index: 2;
    }

    .footer-details {
        border: none;
    }

    .footer-container {
        flex-direction: column-reverse;
    }

    .nav-li-2 {
        font-size: 1.2rem;
        line-height: 1.6rem;
        padding-top: 2rem;
    }

    .paragraph {
        font-size: 1.2rem;
        line-height: 2rem;
    }
}
