/* --- RESET & VARIABILI --- */
:root {
    --primary-color: #e63946;
    /* Rosso acceso - cambialo in base al tuo logo */
    --secondary-color: #000;
    /* Blu scuro */
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-light: #f8f9fa;
    --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* --- HEADER & NAV --- */
.header {
    background-color: var(--bg-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 120px;
    width: 60px;
    background-color: #000;
    border-radius: 4px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav a {
    text-decoration: none;
    color: var(--text-color);
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.btn-primary:hover {
    background-color: #c92a37;
}

/* --- SEZIONI --- */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- HERO --- */
.hero {
    background-color: var(--secondary-color);
    color: white;
    padding: 100px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- CHI SIAMO --- */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content h2 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.highlight-quote {
    background-color: white;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-top: 30px;
    font-size: 1.1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

.service-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.footer h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer a {
    color: white;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .nav a {
        margin-left: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }
}