/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'IBM Plex Sans', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

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


table {
    border-collapse: collapse;
    border-spacing: 0;
}

:root {
    --main-bg-color: #192d53;
    --secondary-bg-color: #00a966;
    --mdb-font-roboto: 'Roboto', sans-serif;
}

body {
    background-color: var(--main-bg-color);
    overflow-x: hidden;
}

.ligther {
    font-weight: lighter !important;
}

.map-container,
.main-container {
    width: 100%;
    min-height: 100vh;
    margin: 0 auto;
    background-color: var(--main-bg-color);
    background-image: url(https://resources.entrepyr.eu/img/bg.jpg);
    background-position: center;
    background-size: cover;
    display: grid;
    grid-template-rows: 75px minmax(480px, 1fr) 100px;
    grid-template-columns: 1fr 1fr;
}

.map-container main {
    margin-top: 0;
}


.section-mountainhuts {
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.section-landing {
    background: #eee;
    width: 100%;
    display: flex;
    margin: 0;
    padding: 0;
    color: #333 !important;

    .landing-left {
        padding: 2%;
    }

    .hut-header {
        background: #eee;
        padding: 2%;
        border-radius: 5px;

        h1 {
            font-size: 2rem;
        }

        button {
            background-color: var(--main-bg-color);
            color: white;
            border: none;
            font-size: small;
            font-weight: 500;
            padding: 1rem;
            width: 50%;
            margin: 1%;
            border-radius: 1rem;
            align-items: right;
            transition: 0.4s ease;

            &:hover {
                cursor: pointer;
                background-color: var(--secondary-bg-color);
                transition: 0.4s ease;
            }
        }
    }

    .hut-subheader {
        color: var(--secondary-bg-color);
        font-weight: 700;
        font-size: 1.2rem;
        margin: 0;;
    }

    .card__img2 {
        width: 100%;
        height: 400px;
        border-radius: 5px 5px 0 0;
        border-bottom: 5px solid var(--secondary-bg-color);
    }

    .box-image {
        padding: 3%;
    }

    p {
        text-align: justify;
        line-height: 1.3;
        flex-grow: 1;
    }
}

.section-technical {
    padding-left: 2%;
    padding-right: 2%;
    background: #ddd;

    .hero__content {
        padding: 1%;
    }

    h1 {
        font-weight: 400;
        padding: 2%;
    }

    button {
        width: 100%;
        background-color: var(--main-bg-color);
        border: 1px solid var(--main-bg-color);
        border-radius: 25px;
        color: white;
        font-weight: 500;
        padding: 3%;
        margin: 1%;
        transition: 0.4s ease;

        &:hover {
            cursor: pointer;
            background-color: var(--secondary-bg-color);
            transition: 0.4s ease;
            border: 1px solid var(--secondary-bg-color);
        }
    }
}

.section-view3d {
    padding: 3%;
    background-color: #fff;
}

.section-services {
    padding: 4%;
    background: var(--main-bg-color);
    color: white;
}

.section-prices {
    padding: 3%;
    background: #eee;
}

.section-buttons {
    background: #ddd;
    padding: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;

    button {
        background-color: var(--main-bg-color);
        border: 1px solid var(--main-bg-color);
        border-radius: 25px;
        color: white;
        padding: 6%;
        border-radius: 1rem;
        width: 100%;
        margin: 1%;
        transition: 0.4s ease;

        &:hover {
            cursor: pointer;
            background-color: var(--secondary-bg-color);
            transition: 0.4s ease;
            border: 1px solid var(--secondary-bg-color);
        }
    }
}

.section-mountainhuts360 {
    background: #ddd;
    min-height: 75vh;

    iframe {
        width: 100%;
        min-height: 75vh;
        border-radius: 5px;
        border: 1px solid var(--main-bg-color);
    }
}

.section-booking {
    background: #eee;

    .breadcrumbs {
        background: darkred;
        color: white;
        padding: 0.5%;
        text-align: center;
    }

    #booking {
        padding: 3%;
    }
}

.section-circuit-landing {
    background: #fff;
    padding: 1%;


    h1 {
        margin-top: 3%;
    }

    img {
        width: 100%;
        height: 100%;
        max-height: 450px;
        border-radius: 5px 5px 0 0;
        border-bottom: 5px solid var(--secondary-bg-color);
        aspect-ratio: 4 / 3;
        object-fit: cover;
    }
}

.section-circuit-description {
    background: #eee;
    padding: 2%;

    p {
        text-align: justify;
        line-height: 1.5;
        font-size: 1.3em;
    }
}

.section-circuit-booking {
    padding: 3%;
    color: #fff;

    .cuaderno-container {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;


        .form-group {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;

            label {
                font-size: large;
                font-weight: lighter;
                margin-bottom: 0.5rem;
                color: white;
            }

            input {
                height: 2rem;
                border-radius: 15px;
                padding: 2%;
                font-size: large;
                font-weight: 500;
                border-radius: 25px;
                border: none;
            }

            &.date,
            &.persons {
                width: 100%;
            }
        }

        button {
            background-color: var(--secondary-bg-color);
            color: white;
            font-size: large;
            font-weight: 500;
            padding: 1rem;
            width: fit-content;
            border-radius: 1rem;
            align-self: center;
            transition: 0.4s ease;
            margin: 6%;
            border: none;

            &:hover {
                cursor: pointer;
                transition: 0.4s ease;
            }
        }
    }
}

.section-circuit-buttons {
    background: #ddd;
    padding: 2%;
    gap: 1rem;

    button {
        background-color: var(--main-bg-color);
        border: 1px solid var(--main-bg-color);
        border-radius: 25px;
        color: white;
        padding: 3%;
        border-radius: 1rem;
        width: 100%;
        transition: 0.4s ease;
        margin: 1%;

        &:hover {
            cursor: pointer;
            background-color: var(--secondary-bg-color);
            transition: 0.4s ease;
            border: 1px solid var(--secondary-bg-color);
        }
    }
}

#mountainhutsSearcher {
    input[type="text"] {
        width: 100%;
        height: 3rem;
        border-radius: 15px;
        padding: 0 1rem;
        font-size: large;
        font-weight: 500;
        background-color: rgba(255, 255, 255, 1);
        border: 1px solid #fff;
    }
}


.presentacion {
    grid-column: 1 / 3;
    grid-row: 1 / 5;
    background-color: var(--main-bg-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100dvh;
    opacity: 1;
    z-index: 11;
    position: absolute;

    &.hidden {
        opacity: 0;
        z-index: -1;
        transition: opacity 1s ease-in-out, z-index 1s ease-in-out;
    }


}

.navbar {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    max-height: 75px;
    padding: 0 1rem;
    z-index: 1200;

    .logo img {
        width: 100%;
        flex-grow: 1;
    }

    .menunav {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 16px;

        .language {
            width: 32px;
        }
    }
}

main {
    grid-row: 2 / 4;
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    height: fit-content;
    margin-bottom: 0;

    .hero {
        color: white;
    }

    .header-home {
        font-size: 2.4em;
        font-weight: lighter;
        font-family: "IBM Plex Sans", sans-serif;
        text-transform: lowercase;
    }

    .buscador {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 1rem;
        width: 100%;
        margin-top: 1rem;


        .input-text {
            width: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;

            label {
                font-size: large;
                margin-bottom: 0.5rem;
                color: white;
            }

            label {
                font-weight: 200;
            }

            input {
                height: 2rem;
                border-radius: 15px;
                padding: 0 1rem;
                font-weight: 500;
                border: none;
            }

            &.date,
            &.persons {
                width: 100%;
            }
        }

        button {
            background-color: var(--secondary-bg-color);
            color: white;
            font-weight: 500;
            padding: 1rem;
            width: fit-content;
            border-radius: 1rem;
            border: none;

            &:hover {
                cursor: pointer;
            }
        }
    }

    .sugerencias {
        flex-grow: 1;
        grid-column: 1 / 2;
        margin-top: 1rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-items: center;
        align-items: flex-start;
        max-height: 480px;

        .sugerencias__title {
            color: white;
            font-size: large;
            padding: 1rem 0;
        }

        .slider-container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            overflow: hidden;
            position: relative;
        }


        .slider-wrapper {
            display: flex;
            transition: transform 0.3s ease-in-out;
        }


        .slide {
            min-width: 100%;
            padding: 0 10px;
        }

        .card {
            background-color: rgba(255, 255, 255, .8);
            padding-bottom: 1rem;
        }

        .card__img {
            width: 100%;
            height: 300px;
            max-height: 125px;
            border-radius: 5px 5px 0 0;
            border-bottom: 5px solid var(--secondary-bg-color);
        }

        .card__img2 {
            width: 100%;
            height: 300px;
            max-height: 175px;
            border-radius: 5px 5px 0 0;
            border-bottom: 3px solid var(--secondary-bg-color);
        }

        .card__button {
            border: none;
            background: #1b4c6b;
            color: #fff;
            border-radius: 25px;
            padding: 3%;
            width: 100%;
            cursor: pointer;
            transition: 0.4s;;
            margin-bottom: 3%;
            text-align: center;
        }

        .card__button:hover {
            background: var(--secondary-bg-color);
            transition: 0.4s;
        }

        .card__content {
            margin-top: 0.5rem;
            display: flex;
            flex-direction: column;
            padding: 0 0.5rem;
            justify-content: center;

        }

        .card__data {
            font-size: 0.95em;
        }

        .card__title {
            margin-bottom: 2%;
            font-size: 1.05rem;
            color: var(--main-bg-color);
            position: relative;

            span {
                margin-left: 0.5rem;
                position: absolute;
                top: 0;
                right: 0;
            }
        }


        .card__content span {
            font-size: 0.9rem;
            color: #252424;
        }

        .prev-btn,
        .next-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: var(--secondary-bg-color);
            color: #fff;
            border: none;
            font-size: 1.5rem;
            padding: 10px;
            cursor: pointer;
            opacity: 0.7;
            z-index: 10;
        }

        .prev-btn {
            left: 5px;
        }

        .next-btn {
            right: 5px;
        }

        .prev-btn:hover,
        .next-btn:hover {
            opacity: 1;
        }
    }
}

.section-mountainhuts-list {
    width: 100%;

    .grid-row {
        display: grid;
        gap: 1rem;
        grid-auto-rows: 22rem;
        grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    }

    .slide {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        position: relative;
    }

    .card {
        background-color: transparent;
        color: #fff;
        padding-bottom: 1rem;
        border-bottom: 1px solid #ffF;
        transform: 0;
        transition: 0.2s;
    }

    .card:hover {
        transform: scale(1.05);
        transition: 0.2s;
    }

    .card__img {
        width: 100%;
        height: 300px;
        max-height: 125px;
        border-radius: 5px 5px 0 0;
        border-bottom: 5px solid var(--secondary-bg-color);
    }

    .card__img2 {
        width: 100%;
        height: 300px;
        max-height: 175px;
        border-radius: 5px 5px 0 0;
        border-bottom: 6px solid var(--secondary-bg-color);
    }

    .card__button {
        border: 1px solid #333;
        background: #1b4c6b;
        color: #ffF;
        border: none;
        border-radius: 25px;
        padding: 3%;
        width: 100%;
        cursor: pointer;
        transition: 0.4s;;
        margin: 1%;
    }

    .card__button:hover {
        background: var(--secondary-bg-color);
        transition: 0.4s;
    }

    .card__content {
        margin-top: 0.5rem;
        display: flex;
        flex-direction: column;
        padding: 0 0.5rem;
    }

    .card__content span {
        font-size: 0.75rem;
    }

    .prev-btn,
    .next-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--secondary-bg-color);
        color: #fff;
        border: none;
        font-size: 1.5rem;
        padding: 10px;
        cursor: pointer;
        opacity: 0.7;
        z-index: 10;
    }

    .prev-btn {
        left: 5px;
    }

    .next-btn {
        right: 5px;
    }

    .prev-btn:hover,
    .next-btn:hover {
        opacity: 1;
    }
}


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

.dropbtn {
    background-color: var(--main-bg-color);
    color: white;
    padding: 8px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}


footer {
    grid-column: 1 / -1;
    grid-row: 4 / 5;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #eee;
    color: white;
    padding: 1rem;
    font-size: 0.8rem;
    z-index: 15;

    .img_footer {
        width: 100%;
    }

    .btn_footer {
        width: 100%;
        background-color: transparent;
        color: #000;
        border: none;
        padding: 3%;
        font-weight: 700;
        height: 50px;
    }

    .btn_active {
        background: #fff;
    }

    ul {
        display: inline-block;
        margin: 0;
        margin-top: 1.75rem;
    }

    li {
        display: inline-block;
        margin: 0 15px;
    }

    a {
        color: #333;
        text-decoration: none;
        font-size: 0.8rem;

        &:hover {
            text-decoration: underline;
        }
    }

}


.notebook {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.notebook-print {
    background-color: transparent;
    border: none;
    position: absolute;
    top: 0;
    right: -64px;
    cursor: pointer;
}

.notebook-card {
    background-color: #fff;
    width: 100%;
    display: grid;
    grid-template-columns: 300px 1fr;
    grid-template-rows: 1fr 1fr 75px;
    border-radius: 16px 16px 16px 16px;
    height: 300px;
    box-shadow: 2px 7px 13px 0px rgba(0, 0, 0, 0.2);
    overflow: hidden;

    border-color: #000000;
}

.notebook-card-image {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    aspect-ratio: 16/9;
    max-height: 168px;
}

.notebook-card-body {
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    background-color: #fffcfc;
    flex-grow: 1;
    padding: 24px;
}

.notebook-card-title {
    color: #000000;
    font-weight: bold;
    font-size: 18px;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
    padding: 0px;

}

.notebook-card-text {
    line-height: 1.4;
    margin: 10px 0px 0px 0px;
    font-size: 17px;
    color: #000000;
}

.notebook-route-mide {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin: 0.7rem 0;
}

.notebook-card-actions {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.notebook-card-button {
    height: 2.5rem;
    text-align: center;
    width: 100%;
    display: flex;
    padding: 0.5rem 1rem;
    flex-direction: column;
    justify-items: center;
    align-items: center;
    border: 1px solid var(--secondary-bg-color);
}

.notebook-card-button:hover {
    border: 1px solid var(--main-bg-color);
    color: #fff;
    background-color: var(--secondary-bg-color);
}

.entrepyr-circuits,
.other-circuits {
    color: white;
    margin-bottom: 2rem;
}

.circuits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.circuit-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    grid-template-rows: 220px 1fr 50px;
    background-color: white;
}

.circuit-card-img {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    background-color: #fff;
    overflow: hidden;
    border-bottom: 5px solid var(--secondary-bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circuit-image img {
    width: 100%;
    object-fit: contain;
    min-height: 300px;
}

.circuit-card .card__content {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    padding: 0 1rem;
}

.circuit-card-actions {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.circuit__button {
    width: 85%;
    text-align: center;
    background-color: var(--main-bg-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 15px;
}

.circuit__button:hover {
    background: var(--secondary-bg-color);
}

.desktop-nav {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    color: white;
    flex-grow: 1;
}

.desktop-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    justify-content: center;
}

.desktop-nav .nav-item:hover {
    border-bottom: solid 2px var(--secondary-bg-color);
}

#btnNav {
    display: none;
}

@media print {
    .buscador, .navbar, footer, .notebook-print {
        display: none;
    }

    .main-container {
        background-color: white;
    }

    .notebook-card {
        box-shadow: none;
        border: none;
    }
}

@media (width > 1024px) {
    main {
        margin-top: 0.5rem;

        .buscador {
            margin-bottom: 0rem;
            flex-direction: row;

            .input-text {
                &.date,
                &.persons {
                    max-width: 216px;
                }
            }

            button {
                min-width: 216px;
                height: 2rem;
                padding: 0 0.6rem;
                align-self: self-end;
                margin: 0 auto;
            }
        }
    }

    .sugerencias .slider-container .slide {
        min-width: 25%;
    }

    .row {
        width: 100%;
        display: flex;
        flex-direction: row;
    }

    .col-4 {
        width: 25%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-6 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding-left: 15px;
        padding-right: 15px;
    }

    .col-8 {
        width: 75%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 15px;
        padding-right: 15px;
    }


    .hut-header {
    }
}

@media ( width < 1023px ) {
    .hero {
        width: 100%;
    }

    main {
        .buscador {
            button {
                align-self: center;
            }
        }
    }

    .buttonBooking {
        position: absolute;
        top: 80px;
        left: 80px;
    }

    #btnNav {
        display: inline;
    }

    .desktop-nav {
        display: none;
    }
}

.col-md-4 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 15px;
    padding-right: 15px;
}

.col-md-6 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.col-md-8 {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


/* Container */
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Responsive */
/* Only for large devices */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* Only for medium devices */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }

}

/* Only for extra large devices */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }

}

/* Only for extra large devices */
@media (min-width: 1920px) {
    .container {
        width: 1370px;
    }
}

/* Navigation */
#navigation {
    position: absolute;
    right: 0;
    top: 60px;
    width: 250px;
    background: var(--main-bg-color);
    color: #fff;
    transform: translateX(200%);
    transition: .4s ease;
    z-index: 90;
    box-shadow: 0 0 10px rgba(0, 0, 0, .5);

    li {
        list-style: none;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, .5);
        transition: .4 ease;

        &:hover {
            background: var(--secondary-bg-color);
            color: #fff;
            transition: .4s ease;
        }
    }

    a {
        color: #fff;
        display: block;
        line-height: 3.5;
        padding: 0 10px;
        text-decoration: none;
        transition: .4 ease;

        &:hover {
            transform: translateX(10%);
            transition: .4s ease;
        }
    }

}

#btn-nav {
    display: none;
}

#btn-nav:checked ~ #navigation {
    transform: translateX(0);
}

.navbar {
    background: var(--main-bg-color);
}