body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    background: transparent;
    color: #fff;
}


.section {
    padding: 120px 0;
}

.section-light {
    background: #f8f9fa;
}

.section-dark {
    background: #111;
    color: #fff;
}

.navbar-glass {
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.75);
}



.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.box-hero{
    background: forestgreen;
    padding: 2em;
    border-radius: 2em;
}
.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
}


.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.service-box {
    padding: 30px;
    border-bottom: 1px solid #ddd;
}

.parallax {
    background: url('/assets/img/parallax2.png') center / cover fixed;
    background-size: 30% ;
    color: #fff;
    animation: bkg_move 120s infinite;
}
@keyframes bkg_move {
    0%{background-position: 0% 0%}
    100%{background-position: 100% 100%}
}
.store{
    background:
            linear-gradient(
                    rgba(255, 255, 255, 0),
                    rgba(255, 255, 255, 1)
            ),
            url("/assets/img/store.jpg") center / cover no-repeat;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.map-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 450px;
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


#global-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
            radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.45), transparent 40%),
            radial-gradient(circle at 80% 20%, rgba(255, 0, 255, 0.45), transparent 40%),
            radial-gradient(circle at 30% 80%, rgba(255, 255, 0, 0.45), transparent 40%),
            radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.35), transparent 45%);
    background-size: 120% 120%;
    animation: cmykFlow 22s ease-in-out infinite alternate;
    pointer-events: none;
}

.cmyk-animated-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(30px) saturate(140%);
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}


@keyframes cmykFlow {
    0% {
        background-position:
                20% 30%,
                80% 20%,
                30% 80%,
                70% 70%;
        background-size: 120% 120%;
    }

    33% {
        background-position:
                40% 20%,
                60% 40%,
                20% 60%,
                80% 50%;
        background-size: 140% 140%;
    }

    66% {
        background-position:
                10% 50%,
                90% 10%,
                50% 90%,
                60% 40%;
        background-size: 130% 130%;
    }

    100% {
        background-position:
                30% 40%,
                70% 30%,
                40% 70%,
                50% 60%;
        background-size: 150% 150%;
    }
}

.grey{
    filter: brightness(1000) grayscale(1);
}



.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.two-cols.reverse {
    direction: rtl;
}

.image-placeholder,
.avatar {
    background: #e0e0e0;
    width: 100%;
    height: 280px;
}

.review p {
    font-style: italic;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    display: grid;
    gap: 15px;
}

.footer {
    background: #000;
    color: #aaa;
    padding: 80px 0 40px;
    font-size: 0.95rem;
}

.footer-brand {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-title {
    color: #fff;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.footer-text {
    line-height: 1.6;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-separator {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 20px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
}
/* Performance & Rendering */
img { max-width: 100%; height: auto; }
.section { content-visibility: auto; contain-intrinsic-size: 1px 800px; }

/* Preferenze utente: riduci motion */
@media (prefers-reduced-motion: reduce) {
    * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .parallax { background-attachment: scroll; }
}

/* Migliora leggibilità */
:root { color-scheme: light; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Parallax controllato (evita jank su mobile) */
.parallax { background-attachment: fixed; }
@media (max-width: 992px) {
    .parallax { background-attachment: scroll; }
}


