@font-face {
    font-family: 'Distancia';
    src: url('Distancia.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset e stili base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Distancia', Arial, sans-serif;
    color: #1e1e1e;
    background-color: #f7f7f2;
}

/* Hero Banner a tutto schermo */
.hero-banner {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    background-color: #000000;
}

.hero-banner_content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 40px;
}

.hero-banner_content img {
    width: 70%;
    max-width: 1200px;
    height: auto;
    display: block;
}

.hero-banner_title {
    color: #f5d000;
    font-family: 'Distancia', Arial, sans-serif;
    font-weight: normal;
    font-size: clamp(24px, 4vw, 48px);
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-align: center;
    margin-top: 100px;
}

.about {
    padding: 80px 72px;
    background-color: #f7f7f2;
    --about-gap: 56px;
}

.about__content {
    height: auto;
    margin-top: calc(var(--about-gap) / 2);
    display: grid;
    grid-template-columns: 1fr;
    gap: 52px;
    align-items: start;
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.about__text {
    font-family: Arial, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #2f2f2f;
    text-align: center;
    text-align-last: center;
    position: relative;
    z-index: 1;
    max-width: 980px;
    margin: 0 auto;
}

.about__text p {
    margin-left: auto;
    margin-right: auto;
}

.about__text p+p {
    margin-top: 20px;
}

.about__text strong {
    font-weight: 900;
}


.carousel {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    max-width: 900px;
    max-height: 500px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    background-color: #efefe8;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
    will-change: transform;
}

.carousel-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.carousel-image {
    min-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.carousel.is-dragging {
    cursor: grabbing;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #f7f7f2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}

.carousel-btn-prev {
    left: 12px;
}

.carousel-btn-next {
    right: 12px;
}

.carousel-btn span {
    font-size: 26px;
    line-height: 1;
}

@media (max-width: 900px) {
    .about__content {
        grid-template-columns: 1fr;
    }

    .logo-section-container {
        justify-content: center;
    }

    .carousel-btn {
        width: 38px;
        height: 38px;
    }

    .carousel-btn span {
        font-size: 22px;
    }
}

@media (max-width: 600px) {
    .hero-banner_content {
        padding: 20px;
    }

    .hero-banner_content img {
        width: 92%;
        max-width: none;
        margin: 0 auto;
    }

    .carousel {
        max-width: 120%;
        width: 120%;
        margin-left: -10%;
        margin-right: -10%;
        max-height: none;
    }

    .carousel-image {
        height: 85vh;
        object-fit: cover;
    }
}

.site-footer {
    background-color: #000000;
    color: #f2f2ea;
    padding: 28px 72px;
}

.site-footer__logo {
    text-align: center;
    margin-bottom: 18px;
}

.site-footer__logo img {
    width: 260px;
    max-width: 70vw;
    height: auto;
    display: block;
    margin: 0 auto;
}



.site-footer__info {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 32px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.site-footer__col p+p {
    margin-top: 6px;
}

.site-footer__center {
    text-align: center;
}

.site-footer__right {
    text-align: right;
}

.site-footer__social {
    display: inline-flex;
    gap: 10px;
    margin-top: 8px;
}

.site-footer__icon-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f2f2ea;
    text-decoration: none;
}

.site-footer__icon-link .bi {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 900px) {
    .site-footer__info {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .site-footer__center,
    .site-footer__right {
        text-align: left;
    }
}



.logo-section-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin: 30px 0;
}


.section-logo img {
    width: 300px;
    height: auto;
    display: inline-block;
}

.section-logo2 img {
    width: 600px;
    height: auto;
    display: inline-block;
    margin-bottom: 20px;
}

.about__inostriAllestimenti {
    margin-top: 50px;
}

.section-title {
    font-family: 'Distancia', Arial, sans-serif;
    font-weight: bolder;
    font-size: clamp(42px, 5vw, 56px);
    letter-spacing: 0.06em;
    line-height: 1.1;
    text-align: center;
    color: #1e1e1e;
}