
/* REGOLE GENERALI */

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

body {
    font-family: Arial, sans-serif;
    color: #292929;
    background-color: #f7f5f0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* HEADER */

.header {
    background-color: #202b30;
    padding: 22px 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #ffffff;
    text-decoration: none;
    font-size: 25px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: #c5a36a;
}

.menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.menu a:hover,
.menu a.active {
    color: #c5a36a;
}

/* HERO */

.hero {
    min-height: 530px;
    background:
        linear-gradient(90deg, rgba(20,30,34,0.95), rgba(20,30,34,0.35)),
        linear-gradient(135deg, #52636a, #18252a);
    display: flex;
    align-items: center;
    padding: 60px 8%;
    color: white;
}

.hero-content {
    max-width: 650px;
}

.subtitle,
.section-label {
    color: #c5a36a;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
    margin: 20px 0;
}

.hero-content > p:not(.subtitle) {
    font-size: 18px;
    color: #e0e0e0;
    margin-bottom: 30px;
}

/* PULSANTI */

.btn {
    display: inline-block;
    background-color: #c5a36a;
    color: #202b30;
    padding: 13px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #dfc18d;
}

/* PRESENTAZIONE */

.intro {
    text-align: center;
    padding-top: 75px;
    padding-bottom: 45px;
    max-width: 850px;
}

.intro h2 {
    font-size: 36px;
    margin: 15px 0;
    color: #202b30;
}

.intro > p:last-child {
    color: #666666;
    font-size: 17px;
}

/* CARDS */

.sections {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding-top: 25px;
    padding-bottom: 80px;
}

.section-card {
    background-color: white;
    padding: 30px;
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 35px;
    margin-bottom: 15px;
}

.section-card h3 {
    color: #202b30;
    font-size: 23px;
    margin-bottom: 12px;
}

.section-card p {
    color: #666666;
    margin-bottom: 20px;
}

.section-card a {
    color: #a17b3e;
    text-decoration: none;
    font-weight: bold;
}

/* FOOTER */

.footer {
    background-color: #202b30;
    color: #cccccc;
    text-align: center;
    padding: 25px;
    font-size: 14px;
}

/* RESPONSIVE: TABLET E SMARTPHONE */

@media (max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 20px;
    }

    .menu {
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        min-height: 450px;
        padding: 50px 7%;
    }

    .sections {
        grid-template-columns: 1fr;
    }

    .intro h2 {
        font-size: 28px;
    }
}
