/* ======================= IMPOSTAZIONI GLOBALI ======================= */
:root {
    --pantone-blue: #0d6efd; /* Un blu vibrante e professionale */
    --dark-grey: #333;
    --medium-grey: #555;
    --light-grey: #f4f4f4;
    --white: #ffffff;
    --font-family: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 40px;
}

a {
    text-decoration: none;
    color: var(--pantone-blue);
}

section {
    padding: 60px 0;
}

/* ======================= UTILITIES & BOTTONI ======================= */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}

.btn-primary {
    background-color: var(--pantone-blue);
    color: var(--white);
    border: 2px solid var(--pantone-blue);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--pantone-blue);
}

.btn-secondary {
    background-color: var(--pantone-blue);
    color: var(--white);
    font-size: 1.1rem;
    padding: 15px 35px;
}

.btn-secondary:hover {
    background-color: #0b5ed7; /* Blu leggermente più scuro */
}

/* ======================= HEADER ======================= */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pantone-blue);
}

.main-nav ul {
    list-style: none;
    display: flex;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--dark-grey);
    font-weight: 600;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--pantone-blue);
}
#.header-image {
#    flex: 1;
#    text-align: center;
#}
#
#.header-image img {
#    max-width: 30%;
#    height: auto;
#    border-radius: 10px;
#}

/* ======================= HERO SECTION ======================= */
.hero {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--dark-grey);
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--medium-grey);
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* ======================= SEZIONE SERVIZI ======================= */
.services-section {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.service-card {
    background-color: var(--white);
    padding: 40px 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.service-card i {
    font-size: 3rem;
    color: var(--pantone-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* ======================= SEZIONE PERCHÉ SCEGLIERCI ======================= */
.why-us-section {
    background-color: var(--light-grey);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.why-us-text h2 {
    text-align: left;
    margin-bottom: 20px;
}

.why-us-text ul {
    list-style: none;
}

.why-us-text li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.why-us-text li i {
    color: var(--pantone-blue);
    font-size: 1.5rem;
    margin-right: 15px;
}

.why-us-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* ======================= SEZIONE TESTIMONIANZE ======================= */
.testimonials-section {
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--light-grey);
    padding: 30px;
    border-left: 5px solid var(--pantone-blue);
    border-radius: 5px;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.author-info strong {
    display: block;
}

/* ======================= FOOTER ======================= */
.footer {
    background-color: var(--dark-grey);
    color: var(--white);
    padding: 50px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 15px;
}

.footer-col p, .footer-col li {
    font-size: 0.9rem;
    color: #ccc;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #ccc;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    margin-right: 15px;
}


/* ======================= RESPONSIVE DESIGN ======================= */
@media(max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    .why-us-text h2 {
        text-align: center;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    .main-nav ul {
        margin: 15px 0;
    }
    h2 {
        font-size: 1.8rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons {
        margin-top: 10px;
    }
}