/* style.css */
:root {
    --primary-color: #003366; /* Blu scuro istituzionale */
    --accent-color: #d11919;  /* Rosso emergenza */
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.navbar-brand {
    font-weight: bold;
    color: var(--primary-color) !important;
    text-transform: uppercase;
}
.nav-link {
    font-weight: 500;
    color: #444;
}
.nav-link.active {
    color: var(--accent-color) !important;
    font-weight: bold;
}
.btn-soccorso {
    background-color: var(--accent-color);
    color: white;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-soccorso:hover {
    background-color: #a80f0f;
    color: white;
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    /* Punta alla tua immagine rinominata hero-bg.jpg */
    background: linear-gradient(rgba(0,51,102,0.8), rgba(0,51,102,0.6)), url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

/* Titoli */
.section-title {
    color: var(--primary-color);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 10px;
}

/* Cards Servizi */
.service-card {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.icon-box {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding: 50px 0 20px 0;
}
footer h5 {
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 1.1rem;
}
footer a {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}
footer a:hover {
    color: white;
    text-decoration: underline;
}

/* Gallery */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: opacity 0.3s;
}
.gallery-img:hover {
    opacity: 0.8;
}