/* * style.css 
 * Foglio di stile personalizzato - Dott.ssa Giorgia Sacco 
 * Configurato per caricamento font 100% locale (GDPR compliant)
 */

/* =========================================
   1. IMPORTAZIONE FONT LOCALI
   ========================================= */

/* Inter - Regular (400) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Inter Regular'), local('Inter-Regular'),
         url('fonts/inter-v20-latin-regular.woff2') format('woff2'); 
}

/* Inter - Bold (700) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Inter Bold'), local('Inter-Bold'),
         url('fonts/inter-v20-latin-700.woff2') format('woff2'); 
}

/* Playfair Display - Regular (400) */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Playfair Display Regular'), local('PlayfairDisplay-Regular'),
         url('fonts/playfair-display-v40-latin-regular.woff2') format('woff2'); 
}

/* Playfair Display - Bold (700) */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Playfair Display Bold'), local('PlayfairDisplay-Bold'),
         url('fonts/playfair-display-v40-latin-700.woff2') format('woff2'); 
}

/* =========================================
   2. STILI GLOBALI (Tipografia)
   ========================================= */

body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    /* Evita sfarfallii durante il caricamento dei font */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .nav-brand {
    font-family: 'Playfair Display', serif;
}

/* =========================================
   3. NAVIGAZIONE E COMPONENTI UI
   ========================================= */

.nav-link.active {
    color: #0d9488; /* Tailwind teal-600 */
    border-bottom: 2px solid #0d9488;
}

.img-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; 
}

.img-service {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .img-service {
    transform: scale(1.05);
}

.img-container {
    background-color: #f3f4f6; /* Tailwind slate-100 */
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   4. COMPONENTI CURRICULUM (bio.html)
   ========================================= */

.cv-item {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid #0d9488; /* Tailwind teal-600 */
    margin-bottom: 2rem;
}

.cv-dot {
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0d9488; /* Tailwind teal-600 */
}