/* --- IMPORTAZIONE FONT GOOGLE --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ---- Stili Base ---- */
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
}
html, body {
    height: 100%;
    font-family: 'Lato', sans-serif;
    color: #333;
} 

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

#MDB-logo {
    margin-left: 35px;
}

/* ---- Stili per Top-Bar e Navbar ---- */
#top-bar {
    background-color: #343a40; 
    height: 30px;              
    display: flex;
    align-items: center;       
    z-index: 1031; 
}
#top-bar a {
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.5px;
}
#top-bar a:hover {
    text-decoration: underline;
    color: #cecba4;
}
.main-navbar {
    top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* --- SFONDO DEL SITO (COLORE PIENO) --- */
body {
    padding-top: 130px; 
    scroll-behavior: smooth;

    /* Sfondo colorato senza immagine */
    background-color: #cecba496; 
}

/* Stile per il link attivo */
.navbar-light .navbar-nav .nav-link {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
}
.navbar-light .navbar-nav .nav-link.active {
    color: #a09d7a; /* Colore accento */
    font-weight: bold;
}

/* --- STILE BOX CONTENUTO --- */
.content-box {
    background-color: #ffffff; /* Box bianco per contrasto */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border-top: 4px solid #a09d7a; /* Colore accento in cima */
}

/* Stili per la lista contatti */
.content-box h3 {
    color: #333;
    margin-top: 1.5rem;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.content-box ul {
    list-style: none; 
    padding-left: 0;
}
.content-box ul li {
    margin-bottom: 1rem; 
    font-size: 1.05rem;
}

/* Stile Campi Form */
.form-control {
    border-radius: 8px;
    padding: 10px 15px;
    border: 1px solid #ced4da;
    font-family: 'Lato', sans-serif;
}
.form-control:focus {
    border-color: #a09d7a;
    box-shadow: 0 0 0 0.25rem rgba(160, 157, 122, 0.25);
}

/* Stile Checkbox Privacy */
.form-check-input:checked {
    background-color: #a09d7a;
    border-color: #a09d7a;
}

/* Stile Bottone Invio */
.btn-primary {
    background-color: #a09d7a;
    border-color: #a09d7a;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #8f8c6d;
    border-color: #8f8c6d;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(160, 157, 122, 0.4);
}

/* Footer */
.site-footer {
    background-color: #343a40; 
    color: rgba(255, 255, 255, 0.8); 
    padding-top: 40px;
    padding-bottom: 40px;
    margin-top: 60px; 
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
}

.site-footer p {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #cecba4; 
    text-decoration: none;
}