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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #ffffff;
}

/* SFONDO CON IMMAGINE */
.page {
    min-height: 100vh;
    background-image: url("../img/bg.jpg"); /* placeholder immagine */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* OVERLAY PER LEGGIBILITÀ */
.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.65) 40%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* CONTENUTO */
.content {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    z-index: 1;
}

/* LOGO */
.logo {
    margin-bottom: 30px;
    text-align: center;
}

.logo img {
    width: 100%;
    max-width: 260px;
    height: auto;
}

/* TESTI */
p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: #f0f0f0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.intro {
    font-size: 1.1rem;
}

.closing {
    margin-top: 40px;
    font-weight: 500;
}

h2 {
    font-size: 2rem;
    margin: 40px 0 15px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}

/* SERVIZI */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
}

/* BOTTONI */
.btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 18px;
    background: #ff3d3d;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #ff5c5c;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .content {
        padding: 40px 15px;
    }

    .logo img {
        max-width: 200px;
    }

    h2 {
        font-size: 1.6rem;
    }
}
