body {
    background-color: #0a0a0a;
    color: white;
    margin: 0;
}

/* HEADER CON NAVBAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    border-bottom: 1px solid #1c1c1c;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.nomepg {
    margin: 0;
    font-size: 52px;
    letter-spacing: 4px;
    font-family: 'Cinzel', serif;
}

.navbar {
    display: flex;
    gap: 30px;
    font-family: 'Montserrat', sans-serif;
}

.navbar a {
    color: #888;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    position: relative;
}

.navbar a:hover, .navbar a.active {
    color: white;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 1px;
    background: white;
    transition: width 0.3s ease;
}

.navbar a:hover::after, .navbar a.active::after {
    width: 100%;
}

/* STRUTTURA EDITORIALE ASIMMETRICA */
.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 40px;
    gap: 80px;
    box-sizing: border-box;
}

.testo-introduzione {
    flex: 1.2;
    color: #bbb;
    line-height: 2;
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
}

.testo-introduzione p {
    margin-bottom: 25px;
}

.payoff {
    font-family: 'Cinzel', serif;
    color: white;
    font-size: 24px;
    letter-spacing: 1px;
    margin-top: 45px;
}

.foto-vetrina {
    flex: 0.8;
    max-width: 420px;
    border: 1px solid #161616;
    overflow: hidden;
}

.foto-vetrina img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(85%) contrast(102%);
    transition: transform 0.6s ease, filter 0.6s ease;
}

.foto-vetrina img:hover {
    transform: scale(1.02);
    filter: brightness(95%) contrast(102%);
}

/* FOOTER */
.footer {
    background: #0a0a0a;
    color: #aaa;
    text-align: center;
    padding: 45px 20px;
    margin-top: 120px;
    font-family: 'Montserrat', sans-serif;
    border-top: 1px solid #161616;
}

.footer-content p {
    margin: 5px 0;
    font-size: 13px;
    letter-spacing: 1px;
}

.footer-logo img {
    width: 80px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-logo img:hover {
    opacity: 1;
    transform: scale(1.03);
}

.footer-links {
    margin-top: 20px;
}

.footer-links a {
    color: #666;
    text-decoration: none;
    margin: 0 12px;
    font-size: 12px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* DISPOSITIVI MOBILI */
@media (max-width: 768px) {
    .topbar {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .nomepg {
        font-size: 36px;
    }

    .navbar {
        gap: 15px;
    }

    .navbar a {
        font-size: 12px;
    }

    .main-container {
        flex-direction: column;
        gap: 50px;
        margin: 40px auto;
        padding: 0 24px;
        text-align: center;
    }

    .testo-introduzione {
        font-size: 18px;
    }

    .payoff {
        font-size: 20px;
        margin-top: 30px;
    }

    .foto-vetrina {
        max-width: 100%;
        order: -1;
    }
}