/* Stile per un design più elegante (ispirato al tema "Gioielli Italiani") */

/* VARIABILI CSS per gestione colori facilitata */
:root {
    --color-primary: #8b7d5f; /* Oro/Ottone, per accenti e bottoni */
    --color-secondary: #333333; /* Grigio scuro/Nero per testo principale */
    --color-background: #e7e6e2; /* Colore UNICO per lo sfondo della pagina */
    --color-light-bg: #ffffff; /* Bianco puro per le schede */
    --font-heading: 'Playfair Display', serif; /* Font elegante per titoli */
    --font-body: 'Roboto', sans-serif; /* Font pulito per il corpo */
}

/* Base e Sticky Footer Setup */
body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--color-secondary);
    line-height: 1.7;
    background: var(--color-background); /* Sfondo Unico */
    
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

/* --- LOGO (Centrato e Senza Container) --- */
.logo {
    max-width: 300px; 
    height: auto;
    display: block; /* Essenziale per centrare */
    margin: 30px auto 10px; /* Margine sopra per separarlo dall'inizio pagina */
    /* Nessun box-shadow o padding specifico dell'header */
}

/* Contenitore e Logica Sticky Footer */
.content-container {
    text-align: center;
    max-width: 800px; 
    margin: 40px auto; 
    padding: 0 20px;
    flex-grow: 1; 
}

/* --- SEZIONI CONTENUTO (Schede) --- */
.info-card {
    background-color: var(--color-light-bg); /* Manteniamo le schede su sfondo bianco */
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease; 
}

.info-card:hover {
    transform: translateY(-3px); 
}

h1 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 2em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-primary); 
}

h2 {
    font-family: var(--font-heading);
    color: var(--color-secondary);
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-primary);
}

.company-info p, .contacts p {
    font-size: 1.1em;
    margin: 8px 0;
}

/* Stile per i link email */
.email-list a {
    color: var(--color-primary); 
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.email-list a:hover {
    color: var(--color-secondary); 
    text-decoration: underline;
}

.contacts .label {
    font-weight: 500;
    color: #555;
    display: inline-block;
    min-width: 180px; 
}

/* --- Bottone di Download --- */
.download-section {
    margin-top: 30px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background-color: var(--color-primary); 
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
}

.download-button::before {
    content: '↓'; 
    font-size: 1.2em;
}

.download-button:hover {
    background-color: #6d614b; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 15px;
    background-color: var(--color-secondary);
    color: var(--color-background);
    font-size: 0.9em;
    margin-top: auto; 
}

/* --- Media Query per la Responsività --- */
@media (max-width: 600px) {
    .content-container {
        margin: 20px auto;
        padding: 0 10px;
    }
    
    body {
        font-size: 15px; 
    }

    h1 {
        font-size: 1.6em;
    }

    h2 {
        font-size: 1.2em;
    }
    
    .logo {
        max-width: 250px;
        margin: 20px auto 10px;
    }

    .contacts .label {
        display: block; 
        min-width: auto;
    }
}