
/* =================================
   NOVENT — DESIGN SYSTEM
================================= */

:root {
    --background: #080808;
    --surface: #111111;

    --text: #FFFFFF;
    --secondary: #C0C0C0;
    --border: #333333;

    --font-main: "DM Sans", sans-serif;
    --font-display: "Space Grotesk", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

/* =================================
   HEADER
================================= */

.header {
    height: 85px;
    padding: 0 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(9, 9, 9, 0.9);
    backdrop-filter: blur(15px);
}

.logo {
    font-family: var(--font-display);
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -2px;
}

.logo span {
    color: #777777;
}

.navigation {
    display: flex;
    gap: 35px;
}

.navigation a {
    font-size: 12px;
    color: var(--secondary);
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: white;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

#language-select {
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 12px;
    outline: none;
}

#language-select option {
    background: #111;
}

.header-button {
    border: 1px solid #444;
    padding: 12px 17px;
    font-size: 12px;
    transition: all 0.3s ease;
}

.header-button:hover {
    background: white;
    color: black;
    border-color: white;
}

/* =================================
   HERO
================================= */

.hero {
    max-width: 1250px;
    min-height: 680px;
    margin: auto;
    padding: 120px 35px 45px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 10px;
    letter-spacing: 2px;
    color: var(--secondary);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #eeeeee;
    box-shadow: 0 0 12px #ffffff66;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(65px, 10vw, 135px);
    line-height: 0.95;
    letter-spacing: -9px;
    font-weight: 500;

    margin-top: 65px;
    margin-bottom: 60px;

    animation: hero-enter 1s ease both;
}

.hero h1 span,
.section h2 {
    color: #666666;
}

.hero-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 30px;
}

.hero-bottom p {
    max-width: 340px;
    color: #aaaaaa;
    font-size: 14px;
    line-height: 1.9;
}

.hero-arrow {
    width: 55px;
    height: 55px;

    border: 1px solid #444;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    transition: all 0.3s ease;
}

.hero-arrow:hover {
    background: white;
    color: black;
    transform: translateY(5px);
}

.hero-note {
    justify-self: end;

    display: flex;
    flex-direction: column;
    gap: 9px;

    font-size: 9px;
    letter-spacing: 1.5px;
    color: #777;
    text-align: right;
}

/* =================================
   GENERAL SECTIONS
================================= */

.section {
    max-width: 1250px;
    margin: auto;
    padding: 145px 35px;

    border-top: 1px solid var(--border);
}

.section-label {
    display: flex;
    gap: 25px;

    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--secondary);
}

.section-label span:first-child {
    color: white;
}

.section h2 {
    max-width: 800px;
    margin-top: 65px;
    margin-bottom: 40px;

    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 85px);
    line-height: 1;
    letter-spacing: -5px;
    font-weight: 500;
}

/* =================================
   ABOUT
================================= */

#about p {
    max-width: 430px;
    color: #999;
    font-size: 14px;
    line-height: 2;
}

/* =================================
   SERVICES
================================= */

.services-list {
    margin-top: 75px;
    border-top: 1px solid var(--border);
}

.service {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    align-items: center;
    gap: 25px;

    padding: 30px 0;
    border-bottom: 1px solid var(--border);

    transition: padding 0.3s ease;
}

.service:hover {
    padding-left: 12px;
    padding-right: 12px;
}

.service > span {
    color: #666;
    font-size: 11px;
}

.service h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 9px;
}

.service p {
    color: #777;
    font-size: 12px;
    line-height: 1.7;
}

.service strong {
    font-size: 14px;
    font-weight: 500;
}

/* =================================
   CONTACT
================================= */

.contact {
    max-width: none;
    background: var(--surface);
    padding-left: max(calc((100% - 1180px) / 2), 35px);
    padding-right: max(calc((100% - 1180px) / 2), 35px);
}

.contact p {
    max-width: 400px;
    color: #999;
    font-size: 14px;
    line-height: 1.9;
}

.contact-button {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 70px;

    margin-top: 35px;
    padding: 18px 0;

    border-bottom: 1px solid #777;

    font-family: var(--font-display);
    font-size: 16px;

    transition: gap 0.3s ease;
}

.contact-button:hover {
    gap: 90px;
}

/* =================================
   FOOTER
================================= */

.footer {
    min-height: 110px;
    padding: 25px 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #777;
    font-size: 10px;
    letter-spacing: 1px;
}

.footer .logo {
    color: white;
    font-size: 22px;
}

/* =================================
   ANIMATIONS
================================= */

@keyframes hero-enter {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================
   RESPONSIVE — MOBILE
================================= */

@media (max-width: 760px) {

    .header {
        height: 72px;
        padding: 0 22px;
    }

    .navigation {
        display: none;
    }

    .header-actions {
        gap: 15px;
    }

    .header-button {
        display: none;
    }

    .hero {
        min-height: 650px;
        padding: 100px 25px 40px;
    }

    .hero h1 {
        font-size: clamp(58px, 13vw, 90px);
        letter-spacing: -5px;
    }

    .hero-bottom {
        grid-template-columns: 1fr auto;
    }

    .hero-note {
        grid-column: 1 / -1;
        justify-self: start;
        text-align: left;
    }

    .section {
        padding: 100px 25px;
    }

    .section h2 {
        font-size: clamp(45px, 11vw, 70px);
        letter-spacing: -3px;
    }

    .service {
        grid-template-columns: 25px 1fr auto;
        gap: 12px;
    }

    .service h3 {
        font-size: 18px;
    }

    .service p {
        max-width: 270px;
    }

    .service strong {
        font-size: 12px;
    }

    .contact {
        padding-left: 25px;
        padding-right: 25px;
    }

    .footer {
        padding: 25px;
        gap: 15px;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* =================================
   NOVENT — READABILITY UPDATE
================================= */

/* Navigazione */
.navigation a {
    color: #C5C5C5;
}

/* Etichette */
.hero-label,
.section-label {
    color: #BBBBBB;
}

/* Titoli principali */
.hero h1 {
    color: #FFFFFF;
}

.hero h1 span,
.section h2 {
    color: #BDBDBD;
}

/* Testi descrittivi */
.hero-bottom p,
#about p,
.service p,
.contact p {
    color: #CCCCCC;
}

/* Numeri e prezzi */
.service > span {
    color: #AAAAAA;
}

.service strong {
    color: #FFFFFF;
}

/* Footer */
.footer {
    color: #AAAAAA;
}

/* Nota nella Hero */
.hero-note {
    color: #AAAAAA;
}

/* =================================
   NOVENT — CONTACT FORM
================================= */

.contact-form {
    max-width: 650px;
    margin-top: 55px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-bottom: 30px;
}

.form-group label {
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 17px 0;

    background: transparent;
    border: none;
    border-bottom: 1px solid #444444;

    color: #FFFFFF;
    font-family: var(--font-main);
    font-size: 14px;

    outline: none;
    resize: vertical;

    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #FFFFFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888888;
}

.contact-form .contact-button {
    width: 100%;
    background: transparent;
    color: #FFFFFF;
    border: none;
    border-bottom: 1px solid #777777;
    cursor: pointer;
    text-align: left;
}

.contact-form .contact-button:hover {
    color: #CCCCCC;
}
