
:root {
  --theme: #3F8151;
  --theme-3: #3F8151;
  --arancione: #E9A33C;
  --arancione-alpha60: rgba(233, 164, 60, 0.6);
  --verdesecondario: #2B5B3A;
  --neroscuro: #1E1D1F;
  --grigioardesia: #6C7280;

  --font_testi: 'Roboto', sans-serif;
  --font_titoli: 'Poppins', sans-serif;
}


/* Breadcrumbs */
.breadcrumb-wrapper .page-heading .breadcrumb-list li {
    color: var(--white);
}
.breadcrumb-list li > a {
    color: inherit;
}

ul.breadcrumb-list > li:not(:last-child):after {
    content: '//';
}

.breadcrumb-wrapper::before {
    background: linear-gradient(66deg, rgba(0, 0, 0, 0.53) 31.61%, rgba(0, 0, 0, 0) 68.15%);
}


.header-2:not(.sticky) {
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}
.header-2 .header-right-icon {
    display: flex;
    align-items: center;
    gap: 12px;
}
header-1 .header-right-icon .search-toggler,
header-2 .header-right-icon .search-toggler {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--white);
}

.header-1 .header-right-icon .search-toggler,
.header-2 .header-right-icon .search-toggler {
    font-size: 20px;
    border-radius: 7px;
    background: var(--verdesecondario);
    color: var(--white);
    width: 54px;
    height: 54px;
    line-height: 54px;
    text-align: center;
    display: inline-block;
}

.header-1 .header-right .sidebar__toggle .header-bar,
.header-2 .header-right .sidebar__toggle .header-bar {
    position: relative;
    width: 31px;
    height: 18px;
}
.header-1 .sidebar__toggle .header-bar span:first-child,
.header-2 .sidebar__toggle .header-bar span:first-child {
    background: var(--white);
}
.header-1:not(.sticky) .sidebar__toggle .header-bar span:first-child {
    background: var(--verdesecondario);
}
.header-1 .header-right .sidebar__toggle .header-bar span,
.header-2 .header-right .sidebar__toggle .header-bar span {
    position: absolute;
    width: 100%;
    height: 2px;
    display: inline-block;
    transition: all 0.3s;
    left: 0;
    background: var(--white);
    overflow: hidden;
}
.header-1:not(.sticky) .header-right .sidebar__toggle .header-bar span {
    background: var(--verdesecondario);
}
.header-1 .header-right .sidebar__toggle .header-bar span:first-child,
.header-2 .header-right .sidebar__toggle .header-bar span:first-child {
    top: 0;
    background: var(--white);
    left: 16px;
    width: 15px;
}
.header-1:not(.sticky) .header-right .sidebar__toggle .header-bar span:first-child {
    background: var(--verdesecondario);
}
.header-1 .header-right .sidebar__toggle .header-bar span:nth-child(2),
.header-2 .header-right .sidebar__toggle .header-bar span:nth-child(2) {
    top: 44%;
    background: var(--white);
    width: 30px;
}
.header-1:not(.sticky) .header-right .sidebar__toggle .header-bar span:nth-child(2) {
    background: var(--verdesecondario);
}
.header-1 .header-right .sidebar__toggle .header-bar span:last-child,
.header-2 .header-right .sidebar__toggle .header-bar span:last-child {
    bottom: 0;
    background: var(--white);
    width: 15px;
}
.header-1:not(.sticky) .header-right .sidebar__toggle .header-bar span:last-child {
    background: var(--verdesecondario);
}

.sticky.header-1 {
  background: #092210;
  margin: 0;
  border-radius: 0;
  width: 100%;
}
.header-1 .header-main {
    padding: 10px 0;
}
.header-1.sticky .header-main .main-menu ul li a
{
    color: var(--white) !important;
}
.header-1.sticky .header-main .main-menu ul li a:hover {
    color: var(--theme-3) !important;
}

.header-top-section-2 {
    padding: 10px 0px;
}
.header-top-section-2 .header-top-wrapper-2 .contact-list li .icon {
    color: var(--theme-3);
}

.offcanvas__wrapper .offcanvas__content .offcanvas__contact .contact-list .content {
    max-width: 270px;
}
.offcanvas__wrapper .offcanvas__content .offcanvas__contact .contact-list li .icon {
    min-width: 48px;
}

/* Hero Section */
/* backdrop con gradient per vedere meglio il testo */
.hero-section .hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(11deg, rgb(0 0 0 / 20%) 25.61%, rgba(0, 0, 0, 0) 70%) !important;
    backdrop-filter: blur(0.3px);
    z-index: 1;
}

.hero-section .hero-content3 {
    position: relative;
    z-index: 2;
}

.hero-3 {
    padding-top: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}
.hero-3 .hero-content3 h1 {
    font-size: 65px;
}
.hero-3 .hero-content3 p {
    margin-bottom: 0px;
}
.hero-3 .hero-content3 {
    max-width: 760px;
}

.hero-section,
.hero-section .hero-swiper,
.hero-section .swiper-wrapper,
.hero-section .swiper-slide,
.hero-section .hero-slide {
    min-height: 970px;          /* scegli tu: 600/700 ecc. */
}


/* se vuoi adattare per mobile */
@media (max-width: 767.98px) {
    .hero-section,
    .hero-section .hero-swiper,
    .hero-section .swiper-wrapper,
    .hero-section .swiper-slide,
    .hero-section .hero-slide {
        min-height: 680px;
    }
}
@media (max-width: 1199px) {
    .hero-3 .hero-content3 h1 {
        line-height: 70px;
        font-size: 60px;
    }
}
@media (max-width: 576px) {
    .hero-3 .hero-content3 h1 {
        line-height: 50px;
        font-size: 40px;
    }
}


/* pulsanti swiper slider */
.array-next,
.array-prev {
    width: 100px;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(2px);
    box-shadow: 0px 0px 16px 0px rgba(0, 0, 0, 0.4) !important;
    margin-top: -15px;
    transition: all 0.3s ease;
    color: var(--arancione-alpha60);
}
    .array-next {
        right: -60px;
    }
    .array-prev {
        left: -60px;
    }
    .array-next:hover,
    .array-prev:hover {
        color: var(--arancione);
        background: rgba(0, 0, 0, 0.5);
    }
    .array-next:hover {
        right: -50px;
    }
    .array-prev:hover {
        left: -50px;
    }

.array-next::after,
.array-prev::after {
    margin-top: 4px;
    font-size: 32px;
}
    .array-next::after {
        margin-right: 36px;
    }
    .array-prev::after {
        margin-left: 36px;
    }


.counter-items-style-1 h2 {
    color: var(--theme);
}
.counter-items-style-1 h5 {
    color: inherit;
}
.counter-items-style-1 p {
    color: inherit;
}

/* Shop sidebar collapse icon */
.shop-main-sidebar .single-sidebar-widget .wid-title[data-bs-toggle="collapse"] {
    cursor: pointer;
}
.shop-main-sidebar .single-sidebar-widget .wid-title[data-bs-toggle="collapse"]::before {
    background-color: inherit;
    top: 20%;
    font-family: "Font Awesome 6 Pro";
    font-size: 18px;
    font-weight: bold;
    color: var(--theme);
}
.shop-main-sidebar .single-sidebar-widget .wid-title[data-bs-toggle="collapse"]::after {
    content: none;
}
.shop-main-sidebar .single-sidebar-widget .wid-title[data-bs-toggle="collapse"][aria-expanded="false"]::before {
    content: '\+';
}
.shop-main-sidebar .single-sidebar-widget .wid-title[data-bs-toggle="collapse"][aria-expanded="true"]::before {
    content: '\f068';
}

/* Clear filters button */
.btn-clear {
    background-color: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background-color: #e9ecef;
    color: #495057;
}

.shop-details-wrapper .shop-details-image .nav {
    justify-content: start;
}

@media screen and (max-width: 991px) {
    .shop-details-wrapper .shop-details-image .nav {
        gap: 30px;
    }
}
@media screen and (max-width: 767px) {
    .shop-details-wrapper .shop-details-image .nav {
        gap: 18px;
    }
}
@media screen and (max-width: 575px) {
    .shop-details-wrapper .shop-details-image .nav {
        gap: 22px;
    }
}

.widget_categories {
    padding-left: 22px;
}

.widget_categories .form-check .form-check-input {
    position: relative;
    top: 2px;
}

.widget_categories .form-check .form-check-input:checked {
    background-color: var(--theme) !important;  /* verde quando checked */
    border-color: var(--theme) !important;
}


/* Eventi Card Style */
.card-evento-reverse {
    background: #f8f9fa;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.card-evento-reverse:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.card-content-reverse {
    padding: 2.5rem;
}
.evento-badge-reverse {
    background: var(--theme);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
    display: inline-block;
}
.evento-title-reverse {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 12px 0;
}
.evento-meta-reverse i {
    color: var(--theme);
    width: 16px;
    margin-right: 8px;
}
.evento-desc-reverse {
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 0;
}
.img-reverse {
    height: 100%;
    object-fit: cover;
    width: 100%;
}
.container-events-reverse {
    padding: 4rem 0;
}



.card-evento {
    background: #f8f9fa;
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
}
.card-evento:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}
.evento-img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.evento-badge {
    background: var(--theme);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.85em;
    font-weight: 600;
}
.evento-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 12px 0 10px 0;
}
.evento-meta {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}
.evento-meta i {
    color: var(--theme);
    width: 16px;
    margin-right: 6px;
}
.evento-desc {
    color: #6c757d;
    font-size: 0.95em;
    line-height: 1.6;
}
.container-events {
    padding: 4rem 0;
}

.testo-chisiamo {
    font-size: 17px;
    line-height: 35px;
}
.testo-ilnostroimpegno {
    font-size: 18px;
    line-height: 40px;
}

.team-card-item-style-2 .team-image .social-profile .plus-btn {
    background: var(--theme);
}
.team-card-item-style-2 .team-image .social-profile .plus-btn img {
    border-radius: 0px;
}
.team-card-item-style-2 .team-image .social-profile .plus-btn:hover {
  background-color: var(--arancione);
  border-top-left-radius: 18px;
}


.theme-bg3 {
    background-color: var(--arancione);
}

.quickactions-buttons {
    background-color: var(--grigioardesia);
    padding: 80px 0px;
}
.quickaction-btn {
    background-color: var(--verdesecondario);
    text-align: center;
}


.project-card-item-style-1:hover .project-image img,
.project-card-item-style-1:hover .project-image::before {
    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
}

.working-hours {
    float: left;
    width: 100%;
    margin: 0px;
    padding: 0px;
}

.working-hours ul li {
    clear: both;
    display: block;
    float: left;
    margin: 0;
    position: relative;
    width: 100%;
}

.working-hours ul > li::after {
    border-top: 1px dashed rgba(0, 0, 0, 0.5);
    content: "";
    height: 0;
    margin: auto;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    z-index: 0;
}

.working-hours ul li span {
    background-color: #fff;
    display: inline-block;
    padding: 0 5px;
    position: relative;
    z-index: 1;
}

.working-hours ul li span:last-child {
    color: rgba(0, 0, 0, 0.5);
    float: right;
}

.virtual-tour-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--verdesecondario);
    font-weight: 700;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(43,91,58,0.4), 0 0 0 12px rgba(43,91,58,0.2);
}



/* Applico il font scelto da noi su tutti gli elementi che lo hanno specificato nel file main.css */
.theme-btn,
body,
h1,
h2,
h3,
h4,
h5,
h6,
.about-content-style-1 .about-button .content h4,
.about-content-style-1 .circle-progress-bar-wrapper .single-circle-bar .content h6,
.about-left-item-style-2 .about-main-box .about-box .link-btn,
.about-right-content-style-4 .middle-box .counter-items h2,
.about-section-style-3 .ab-content .ab-storke,
.contact-content-style-5 ul li .content h4,
.contact-wrapper-6 .contact-left-content .contact-item .icon-item .content h6,
.shop-card-items-5 .content p,
.shop-main-sidebar .single-sidebar-widget .widget_categories ul li a,
.common-table .cart-item-thumb .head,
.accordion-item .accordion-header .accordion-button,
.accordion-item .accordion-body,
.accordion-item .accordion-body p,
.accordion-item4 .accordion-header .accordion-button,
.scrolling-wrap .comm .cmn-textslide,
.counter-items-style-1 h5,
.best-feature-image-style-1 .feature-image .feature-box .left-cont h6,
.feature-plant-item-style-1 .top-items .content h3,
.feature-skill-left-item-style-2 .progress-wrap .pro-items .pro-head .point,
.footer-widget-wrapper-2 .single-sideber-widget .footer-icon-item h6,
.header-main .main-menu ul li a,
.header-main .main-menu ul li .submenu li a,
.header-top-section .header-top-wrapper .contact-list li .content h4,
.offcanvas__wrapper .offcanvas__content .offcanvas__contact .contact-list li .content h4,
.breadcrumb-wrapper .page-heading .breadcrumb-list li,
.body-font,
.heading-font2,
.heading-font3,
.more-btn,
.scrolling-wrap-2 .comm .cmn-textslide,
.mean-container .mean-nav ul li a,
.preloader .animation-preloader .txt-loading,
.preloader .animation-preloader .txt-loading .letters-loading::before,
.section-title .sub-title,
.section-title h2,
.service-wrapper .service-card-items .content h5,
.team-details-wrapper .team-details-left .progress-wrap .pro-items .pro-head .point,
.project-wrapper-items-5 .project-box-items-5 .project-number-items .number,
.studies-card-item .studies-content h3, .studies-card-item .studies-content a,
.testimonial-right-item-style-1 .testimonial-card-item-style-1 .content-item .left-content h6,
.testimonial-image-style-5 .testimonial-box-5 p {
    font-family: var(--font_testi);
}


.hero-3 .hero-content3 h1,
.section-title h2,
.section-title-3 h5,
.service-card-item-2-style-2 .top-item .content h3,
.heading-font3,
.contact-top h2,
.contact-middle-items .contact-form-box h3,
.breadcrumb-wrapper .page-heading .breadcrumb-title,
.footer-widget-wrapper .single-footer-widget .widget-title,
.footer-widget-wrapper .single-footer-widget .widget-title h3 {
    font-family: var(--font_titoli) !important;
}



/* footer con bordo stile erba */
.footer-section-3 {
    position: relative;
    overflow: visible;
}

/* ERBA SOPRA il footer */
.footer-section-3::before {
    content: "";
    position: absolute;
    top: -45px;
    left: 0;
    right: 0;
    height: 80px;                  /* altezza totale immagine erba */
    background-image: url('/assets/theme/img/border_grass.png');
    background-repeat: repeat-x;
    background-size: auto 80px;    /* scala verticale */
    z-index: 1;
    pointer-events: none;
}

/* sfondo footer dietro l'erba */
.footer-section-3 > .container {
    position: relative;
    z-index: 2;
}