/* ================================================================
   THEME: COPISTERIA BELLE ARTI - DARK EXECUTIVE EDITION
   ================================================================ */

/* 1. RESET E BASI */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #f2eee9 !important; font-family: 'Segoe UI', sans-serif; }

/* 2. HEADER NERO ASSOLUTO */
.top-header {
    background: #000000 !important;
    border-bottom: 2px solid #d4af37 !important;
    height: 75px;
    position: sticky;
    top: 0;
    z-index: 99999;
}

.nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.main-menu ul li a {
    color: #ffffff !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none;
}

/* 3. MEGA MENU - SFONDO NERO (Soluzione per link bianchi) */
.mega-menu {
    background-color: #0a0b0d !important; /* Sfondo Nero Scuro */
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 550px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    border: 1px solid #333; /* Bordino sottile per staccare dal fondo */
    border-top: 3px solid #d4af37; /* Linea oro superiore */
    z-index: 999999;
}

.has-mega:hover .mega-menu { 
    display: grid !important; 
    grid-template-columns: 1fr 1fr; 
    gap: 25px; 
}

/* TITOLI CATEGORIE (es. SERVIZIO TESI) */
.mega-col h4 {
    color: #d4af37 !important; /* Titoli in ORO per contrasto */
    font-size: 12px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #333 !important;
    padding-bottom: 8px !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
}

/* LINK SERVIZI (Ora saranno bianchi su nero, finalmente visibili) */
.mega-menu a, 
.mega-col ul li a, 
.mega-menu ul li a {
    color: #ffffff !important; /* Testo Bianco */
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 0 !important;
    display: block !important;
    text-decoration: none !important;
    transition: 0.3s all;
}

/* EFFETTO HOVER: IL LINK DIVENTA ORO AL PASSAGGIO DEL MOUSE */
.mega-menu a:hover, 
.mega-col ul li a:hover {
    color: #d4af37 !important; /* ORO */
    padding-left: 8px !important;
    background-color: #1a1c22 !important; /* Leggero stacco di grigio scuro */
}

/* 4. RIMOZIONE TITOLI E CATEGORIE PAGINA */
.post-title, .entry-title, h1.post-title, 
.post-category, .entry-meta, .cat-links, .tags-links {
    display: none !important;
}

/* 5. FOOTER E BOTTONI */
.site-footer-slim { 
    background: #000000 !important; 
    border-top: 2px solid #d4af37; 
    padding: 60px 0 30px; 
}

.sticky-contact-side { 
    position: fixed; 
    bottom: 25px; 
    right: 20px; 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    z-index: 999999; 
}

.s-btn { 
    width: 55px; 
    height: 55px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.4); 
}
.s-wa { background: #25D366; }
.s-mail { background: #d4af37; }