/* --- 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, h5, h6, .navbar-brand {
    font-family: 'Playfair Display', serif;
}

#MDB-logo {
    margin-left: 35px;
}

/* ---- Stili per Top Bar ---- */
#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; 
}

/* ---- Gestione Navbar ---- */
.main-navbar {
    top: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    font-size: 1.05rem;
    color: #444;
}

.navbar-light .navbar-nav .nav-link.active {
    color: #a09d7a; 
    font-weight: bold;
}

/* ---- SFONDO DEL SITO ---- */
body {
    padding-top: 130px;
    scroll-behavior: smooth; 
    
    background-color: #cecba496; 
}

/* ---- Stili per le Sezioni ---- */
.sezione-contenuto {
    padding: 50px 30px; 
    margin-top: 30px;
    margin-bottom: 30px; 
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Sezione Chi Sono */
#chi-sono {
    background-color: #ffffff; 
    border-left: 5px solid #a09d7a; 
}

/* Sezione Formazione */
#formazione {
    background-color: #ffffff;
    border-left: 5px solid #a09d7a;
}

/* NUOVO: Sezione Aree di Intervento */
#aree-intervento {
    background-color: #ffffff;
    border-left: 5px solid #a09d7a; /* Colore Ciano per distinguere */
}

/* ---- Stili Personalizzati ---- */
.custom-underline {
    border-bottom: 3px solid #a09d7a; 
    display: inline-block;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

p.lead {
    font-weight: 400;
    line-height: 1.8;
    color: #444;
}

p {
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* ---- Stili Bottoni Personalizzati ---- */
.btn-custom {
    background-color: #a09d7a; 
    color: white;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 25px;
    border: none;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #8f8c6d; 
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(160, 157, 122, 0.4);
}

/* ---- Stili Icone Lista ---- */
.list-icon-style {
    color: #a09d7a; 
    font-size: 1.4rem;   
    min-width: 30px; 
}

.list-item-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
}

/* ---- Effetto Hover Foto ---- */
.profile-pic-hover {
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease; 
    border: 4px solid white;
}
.profile-pic-hover:hover {
    transform: scale(1.03); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

/* ---- 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;
}