/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(
        to right,
        #000000 0%,
        #000000 55%,
        #7a7a7a 70%,
        #d9d9d9 85%,
        #ffffff 100%
    );
    color: #222;
    line-height: 1.6;
}

/* ========================= */
/* NAVBAR */
/* ========================= */

nav {
    width: 100%;
    background: #000;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

nav img {
    height: 150px;
    width: auto;
    display: block;
}

/* LINK NAVBAR */
.menu-links {
    display: flex;
    align-items: center;
}

/* MENU ORO */
.menu-links a {
    background: #f7e27c;        /* oro chiaro */
    color: #000 !important;     /* testo nero */
    padding: 8px 14px;
    border-radius: 6px;
    margin-left: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
}

.menu-links a:hover,
.menu-links a.active {
    background: #ffd15c;        /* oro più intenso */
    color: #000 !important;
}


.menu-links a:visited {
    color: #000 !important;
    background: #f7e27c !important;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0;
    margin-top: 40px;
    color: #fff;
}

.hero h1 {
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.3rem;
    margin-top: 10px;
    color: #ffffff;
    text-shadow: 0 0 12px rgba(0,0,0,0.8);
}

/* ========================= */
/* TITOLI */
/* ========================= */

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #0b3c5d;
}

.gold-title {
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #b87333, #cd7f32, #b87333);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gold-subtitle {
    display: block;
    margin-top: 10px;
    font-size: 1.25rem;
    font-weight: 500;
    background: linear-gradient(90deg, #d4af37, #f7e27c, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.group-title {
    font-size: 2rem;
    text-align: center;
    font-weight: 800;
    margin: 20px 0 25px;
    letter-spacing: 1px;
    position: relative;
    background: linear-gradient(90deg, #d4af37, #f7e27c, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.group-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #d4af37, #f7e27c, #d4af37);
    border-radius: 3px;
}

/* ========================= */
/* GRIGLIA SERVIZI */
/* ========================= */

.services-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #000;
    border: 2px solid #eee;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.service-card span {
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: center;
}

.service-card:hover {
    border-color: #ffd15c;
    background: #fff7e0;
    transform: translateY(-4px);
}

/* CARD ORO */
.service-card.card-oro {
    background: #f7e27c;
    border: 2px solid #d4af37;
}

.service-card.card-oro:hover {
    background: #ffeaa7;
    border-color: #f7e27c;
}

/* ========================= */
/* CONTENUTO */
/* ========================= */

.service-content {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.08);
}

.service-content p {
    margin-bottom: 20px;
    font-size: 1.15rem;
}

/* ========================= */
/* FOOTER */
/* ========================= */

footer {
    background: #111;
    color: #ccc;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.95rem;
}

/* ========================= */
/* RESPONSIVE */
/* ========================= */

@media (max-width: 900px) {
    nav img {
        height: 130px;
    }
}

@media (max-width: 700px) {
    nav {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .menu-links {
        margin-top: 15px;
    }

    .menu-links a {
        margin: 10px;
        font-size: 1rem;
    }

    .hero {
        height: 300px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* ========================= */
/* LOGO GRANDE SOLO IN INDEX */
/* ========================= */

.logo-big {
    height: 200px !important;
}
