/* =========================
   RESET & BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0b0b0b;
    color: #f5f5f5;
    line-height: 1.6;
    padding-top: 80px;
}

/* =========================
   CONTAINER
========================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* =========================
   HEADER
========================= */
.header {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid #1f1f1f;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* =========================
   BRAND
========================= */
.brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand img {
    height: 50px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    letter-spacing: 2px;
}

.brand-subtitle {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a44c;
}

/* =========================
   NAV
========================= */
.nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #f5f5f5;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav a:hover {
    color: #c9a44c;
}

/* TELEFONO HEADER */
.nav-phone a {
    color: #c9a44c;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-phone a:hover {
    color: #ffffff;
}

/* =========================
   INTRO IMAGES
========================= */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.intro-image img {
    width: 100%;
    height: 32vh;
    object-fit: cover;
    display: block;
}

/* =========================
   HERO
========================= */
.hero {
    background:
        linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
        url('../images/hero.jpg') center/cover no-repeat;
    text-align: center;
    padding: 80px 20px;
}

.hero-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    margin-bottom: 20px;
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 18px;
    max-width: 720px;
    margin: 0 auto 30px;
    color: #d0d0d0;
}

/* =========================
   BUTTON
========================= */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border: 1px solid #c9a44c;
    color: #c9a44c;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 14px;
}

.btn:hover {
    background: #c9a44c;
    color: #000;
}

/* =========================
   SECTIONS
========================= */
.section {
    padding: 90px 0;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

.section p {
    max-width: 800px;
    margin: 0 auto 20px;
    text-align: center;
    color: #cccccc;
}

.section.dark {
    background: #111;
}

/* =========================
   SERVIZI
========================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: #0e0e0e;
    border: 1px solid #1f1f1f;
    padding: 40px 25px;
    text-align: center;
}

.service-box:hover {
    border-color: #c9a44c;
}

/* =========================
   PERCHÉ NOI
========================= */
.why-list {
    list-style: none;
    max-width: 600px;
    margin: 40px auto 0;
}

.why-list li {
    padding: 12px 0;
    border-bottom: 1px solid #1f1f1f;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #000;
    padding: 30px;
    text-align: center;
    font-size: 14px;
    color: #777;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-image img {
        height: 28vh;
    }

    .hero {
        padding: 50px 20px;
    }

    .hero-content h2 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .brand img {
        height: 42px;
    }

    .brand-title {
        font-size: 20px;
    }

    .brand-subtitle {
        font-size: 11px;
    }

    /* Telefono più visibile su mobile */
    .nav-phone a {
        font-size: 15px;
    }
}
/* =========================
   MOBILE FIX HEADER
========================= */
@media (max-width: 768px) {

    /* Header layout */
    .header .container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    /* Brand centrato */
    .brand {
        justify-content: center;
        text-align: center;
    }

    .brand-text {
        align-items: center;
    }

    /* Telefono sotto al brand */
    .nav-phone {
        order: -1;
    }

    .nav-phone a {
        font-size: 16px;
        font-weight: 600;
    }

    /* Menu a capo e centrato */
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .nav a {
        font-size: 13px;
    }
}
