:root {
    --primary: #00542a;
    --verde-chiaro: #7ab54a;
    --verde-chiaro-trasparente: #00542a;
    --oliva: #cdde97;
    --secondary: #0000;
    --black: #000000;
    --white: white;
}

body {
    font-family: "League Spartan", serif;
}

.sticky-top {
    top: -1px;
}

.img-slider-gallery {

    border-radius: 10px;
}

.dropdown-menu {
    width: 100%;
    background-color: var(--oliva);
    font-size: 1.4rem;
    color: var(--black);
    padding-top: 0;
    padding-bottom: 0;
}

.dropdown-menu li a {

    border-radius: 5px;
    color: var(--black);
}

.dropdown-menu li a:hover {
    background-color: var(--primary);
    border-radius: 5px;
    color: var(--white);
}

.title-page {
    font-family: "Domine", serif;
    background-color: var(--white);
    width: 60%;
    border-top: 8px solid var(--oliva);
    border-radius: 180px;
    border-bottom: 8px solid var(--verde-chiaro);
    font-size: 6rem;
    color: var(--primary);
    top: 45%;
    margin: auto;
    left: 0;
    right: 0;
    text-align: center;
    position: absolute;
}

.back-biglietto {
    background-image: url(../img/back-sez.svg);
    background-size: cover;
    position: relative;
    background-position: 90%;
}

.title {
    font-size: 3rem;
    color: var(--primary);
    font-weight: 500;
    font-family: "Domine", serif;
}

.img-header {
    object-fit: cover;
    width: 100%;
    height: 70vh;
}

.bordered-section {
    padding-top: 3em;
    border-top: 22px solid #068038;
    background-color: #abc43caa;
    border-bottom: 22px solid #068038;
    padding-bottom: 12em;
}

footer {
    background-color: var(--primary);
    color: white;
}

.box-form {

    background-color: #068038;
    padding: 2em;
}

.h-form {
    margin-top: 1rem;
}

.h-form input,
.txt-area {
    padding: 1em;
    border: 3px solid var(--oliva)
}

.h-form input::placeholder,
.txt-area::placeholder {
    color: var(--primary);
    font-size: 1.3rem;
}

.box-footer {
    padding-top: 3vh;
    padding-left: 22vh;
    padding-right: 22vh;
    padding-bottom: 3vh;
}

.relative {
    position: relative;
}

.link-box {
    cursor: pointer;
    color: black;
}

.navbar {
    box-shadow: rgba(0, 0, 0, 0.24) 2.95px 2.95px 2.6px;
}

.carousel {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 2.95px 2.95px 2.6px;
}

.icon-servizi {
    padding-bottom: 2vh;
}

.img-rounded {
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 2.95px 2.95px 2.6px;
}

.payof {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
}

.list {
    list-style: none;
    padding-left: 0;
    font-size: 1.4rem;
}

.list-button {
    padding-top: 2em;
    gap: 2rem;
    list-style: none;
    padding-left: 0;
    display: inline-flex;
    flex-direction: row;
}

.nav-button {
    padding-left: 0em;

    list-style: none;
}

.hoverlay {
    height: 100%;
    border-radius: 10px;

    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: 1s ease;
}

.box-prodotti:hover .hoverlay {
    background-color: transparent;

}

.img-box {
    position: relative;
    z-index: -1;
    border-radius: 10px;
}

.link-privacy {
    text-decoration: none;
    color: var(--white);

}

.link-privacy:hover {
    color: var(--oliva);

}

.form-check-label {
    color: var(--white);
    font-size: 1.4rem;
}

.button,
#sendBtn {
    border-radius: 10px;
    background-color: var(--verde-chiaro);
    padding: 0.75em;
    text-decoration: none;
    font-size: 1.5rem;
    border: 3px solid var(--oliva);
    color: var(--primary);
    transition: 0.5s;
    white-space: nowrap;
    cursor: pointer;
}

.button:hover,
#sendBtn:hover {

    background-color: transparent;
    border: 3px solid var(--primary);
    color: var(--primary);
}

.subtitle-form {
    color: var(--primary);
    font-size: 3rem;
    font-weight: 600;
}

.form-check-input {
    border: 1px solid transparent;
}

.form-check-input:checked[type=checkbox] {
    background-color: var(--verde-chiaro-trasparente);
    border: 1px solid var(--white);
}

#sendBtn {
    padding: 0.2em;
}

.title-box {
    font-size: 3rem;
    font-weight: 500;
    color: var(--primary);

}

.button:hover {
    color: var(--black);
}



.box-prodotti img {
    border-radius: 10px;
}

.verde-chiaro {
    color: var(--verde-chiaro);
}

.oliva {
    color: var(--oliva);
}




.title-footer {
    font-size: 2.7rem;
}

.list-footer {
    list-style: none;
    padding-left: 0;
}

.link-footer {
    text-decoration: none;
    color: var(--white);
    font-size: 1.4rem;
}

.link-footer:hover {
    color: var(--oliva);
}

.link-footer:hover {
    text-decoration: none;
}

.text-box {

    bottom: 2rem;
    left: 2rem;
    opacity: 1;
    transition: 1s ease;
    position: absolute;
}

.text-box h2 {
    color: #068038;
    font-size: 2.5rem;
}

.scopri {
    font-size: 1.3rem;
}

.text-box p {

    max-width: 80%;
    font-size: 1.3rem;
}

.white {
    color: var(--white);
}

.black {
    color: var(--black);
}

.navbar-nav {
    gap: 2rem;
}

.bg-box-1 {
    background-color: var(--white);
}

.bg-box-2 {
    background-color: #cddf98;
}

.bg-box-3 {
    background-color: #adc83d;
}

.bg-box-4 {
    background-color: #068038;
}

.bg-box-5 {
    background-color: var(--primary);
}

.box-prodotti:hover .hoverlay {
    background-color: rgb(205, 223, 152, 0.0);
}

.box-prodotti:hover .text-box {
    opacity: 0;
}

.logo-nav {
    min-width: 280px;
    max-width: 280px;
}

.nav-link {
    border-bottom: 2px solid transparent;
    font-size: 1.5rem;
    color: white
}

.nav-link:hover {

    color: var(--oliva);
    border-bottom: 2px solid var(--oliva);
}

.txt {
    font-size: 1.4rem;
    text-align: justify;
}

.link-contatti-nav {
    flex-direction: row;
    display: inline-flex;
    gap: 2rem;
    list-style: none;
    margin-bottom: 0;
}

.link-contatti-nav li a {
    font-weight: 500;
    font-size: 1.5rem;
    color: var(--oliva);
}

.spacing-right {
    padding-right: 5em;
}

#map {
    height: 45vh;
    filter: grayscale();
}

.box {
    padding-left: 22vh;
    padding-right: 22vh;
    padding-top: 12vh;
    padding-bottom: 5vh;

}

.carousel-item img {
    border-radius: 10px;
}

.video-head {
    width: 100%;
    object-fit: cover;
    height: 90vh;
    display: block;
}

.logo-video {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    top: 35%;
    z-index: 9;
    width: 22%;
}

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


.scroll-container {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: auto;
}

.scroll-container.dragging {
    cursor: grabbing;
    user-select: none;
}

.scroll-card {
    flex: 0 0 calc(33.333% - 1rem);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.scroll-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.scroll-card-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.scroll-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.scroll-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.scroll-desc {
    flex: 1;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 0.5rem;
}

/* Responsive: 1 per volta su mobile, 2 su tablet */
@media (max-width: 767px) {
    .scroll-card {
        flex: 0 0 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .scroll-card {
        flex: 0 0 50%;
    }
}

.review-card {
    flex: 0 0 calc(33.333% - 1rem);
    scroll-snap-align: start;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.review-author {
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.review-date {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.review-stars {
    color: #f5c518;
    margin-bottom: 0.5rem;
}

.review-text {
    font-size: 0.95rem;
    flex-grow: 1;
}

@media (max-width: 767px) {
    .review-card {
        flex: 0 0 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .review-card {
        flex: 0 0 50%;
    }
}

.container-wha {
    filter: drop-shadow(0px 0px 10px rgba(0, 0, 0, 0.09));
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
}

.wha-icon {
    width: 6rem;
    height: 6rem;

}



/* Responsive: 1 per volta su mobile, 2 su tablet */
@media (max-width: 767px) {
    .scroll-card {
        flex: 0 0 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .scroll-card {
        flex: 0 0 50%;
    }
}

@media only screen and (max-width:1800px) {
    .nav-link {
        font-size: 1.2rem;
    }

    .box {

        padding-left: 2vh;
        padding-right: 2vh;

    }

    .txt {}

    .text-box p {
        font-size: 1.1rem;
    }

    .scopri {
        font-size: 1rem;
    }

    .text-box h2 {
        font-size: 1.5rem;
    }

    .link-contatti-nav li a {
        font-size: 1.2rem;
    }
}

@media only screen and (max-width:1024px) {
    .title-prodotti {
        padding-top: 3em;
    }

    .video-head {
        aspect-ratio: 16/9;
        height: auto;
    }

    .box {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .box-footer {
        padding-left: 2vh;
        padding-right: 2vh;
    }



}

@media only screen and (max-width:800px) {
    .title-prodotti {
        padding-top: 6em;
    }

    .img-box {
        object-fit: cover;
        width: 100%;
        aspect-ratio: 16/9;
    }

    .bordered-section {
        padding-bottom: 4vh;
    }


}

@media only screen and (max-width:650px) {
    .box-prodotti {
        margin-top: 1.5rem !important;
    }

    .txt {
        font-size: 1.1rem;
    }

    .list-button {
        flex-direction: column;
        padding-bottom: 1em
    }

    .spacing-right {
        padding-right: 2vh;
    }

    .img-box {
        object-fit: cover;
        width: 100%;
        aspect-ratio: 1/1;
    }

    .text-box p {
        font-size: 0.9rem;
    }

    .title,
    .subtitle-form,
    .title-footer {
        font-size: 2rem;
    }

    .title-prodotti {
        padding-top: 8em;
    }

    .logo-nav {
        max-width: 180px;
        min-width: 180px;
    }

    .button,
    #sendBtn {
        font-size: 1.3rem;
    }

    .navbar-nav {
        gap: 0.5rem;
    }

    .link-contatti-nav {

        gap: 0.5rem;
        flex-direction: column;
        padding-left: 0;
    }

    .link-contatti-nav li a {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        font-size: 1.2rem
    }

    .list {
        font-size: 1.1rem;
    }

    .logo-video {
        width: 22vh;
    }

    .link-footer {
        font-size: 1.2rem;
        ;
    }
}