* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background-color: #fff;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

.orange-role {
    color: #e65c00 !important;
}

/* MENU OVERLAY A TENDINA (BLU) */
.fullscreen-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d3b66;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 8%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.fullscreen-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-menu-btn {
    position: absolute;
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-menu-btn:hover {
    color: #e65c00;
}

.menu-overlay-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1100px;
    gap: 50px;
}

.menu-overlay-content {
    flex: 1;
}

.menu-logo-signature {
    font-family: 'Caveat', cursive;
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.menu-logo-role {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 35px;
    display: block;
}

.overlay-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overlay-nav-list li {
    margin-bottom: 15px;
}

.overlay-nav-list a {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.overlay-nav-list a:hover {
    color: #e65c00 !important;
}

.menu-overlay-contact-box {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    border-left: 6px solid #e65c00;
}

.overlay-contact-title {
    color: #e65c00 !important;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.overlay-contact-p {
    font-size: 0.95rem;
    color: #495057;
    line-height: 1.6;
    margin-bottom: 12px;
}

.overlay-contact-links {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.overlay-contact-links p {
    font-size: 1rem;
    color: #0d3b66;
    margin-bottom: 8px;
}

.overlay-contact-links a {
    color: #e65c00;
    text-decoration: underline;
    font-weight: 700;
}

/* HEADER CON ICONA MENU E SOCIAL A DESTRA */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-signature {
    font-family: 'Caveat', cursive;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0d3b66;
    line-height: 1;
    margin-bottom: 2px;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-menu-btn {
    width: 38px;
    height: 38px;
    font-size: 1rem;
}

.menu-toggle-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #e65c00 !important;
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 3px 10px rgba(230, 92, 0, 0.35);
    transition: background-color 0.3s, transform 0.2s;
}

.menu-toggle-circle:hover {
    background-color: #cc5200;
    transform: scale(1.08);
}

.social-header-inline {
    display: flex;
    gap: 8px;
}

.social-circle-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #0d3b66;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.social-circle-sm:hover {
    background-color: #e65c00;
    color: #ffffff;
}

/* HERO SECTION RESPONSIVE */
.hero-section {
    padding: 50px 0 70px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1.1;
}

.voice-box {
    position: relative;
    display: inline-block;
    padding: 18px 26px;
    margin-top: -30px;
    margin-bottom: 40px;
    text-align: center;
}

.voice-box h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #e65c00; 
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.box-url {
    font-size: 0.95rem;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 10px;
    letter-spacing: 0.8px;
    text-transform: lowercase;
}

.b-corner {
    position: absolute;
    background-color: #e65c00;
}

.top-l { top: 0; left: 0; width: 20px; height: 60px; clip-path: polygon(0 0, 100% 0, 100% 10px, 10px 10px, 10px 100%, 0 100%); }
.top-r { top: 0; right: 0; width: 20px; height: 60px; clip-path: polygon(0 0, 100% 0, 100% 100%, 10px 100%, 10px 10px, 0 10px); }
.bot-l { bottom: 0; left: 0; width: 20px; height: 25px; clip-path: polygon(0 0, 10px 0, 10px 10px, 100% 10px, 100% 100%, 0 100%); }
.bot-r { bottom: 0; right: 0; width: 20px; height: 25px; clip-path: polygon(10px 0, 20px 0, 20px 100%, 0 100%, 0 10px, 10px 10px); }

.titoloheader {
    font-size: 2.8rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.typewrite {
    color: #495057;
    font-weight: 600;
}

.typewriter-orange {
    display: inline-block;
    color: #e65c00 !important;
    font-weight: 800;
    border: none !important;
}

.hero-desc {
    font-size: 1.02rem;
    color: #495057;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-bio-orange {
    background: #e65c00;
    color: #fff;
    padding: 14px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(230, 92, 0, 0.3);
    transition: background 0.3s, transform 0.2s;
}

.btn-bio-orange:hover {
    background: #cc5200;
    transform: translateY(-2px);
}

.hero-image-wrapper {
    flex: 1.3;
}

.hover-wrap-inner {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.img-with-animation {
    width: 100%;
    height: auto;
    display: block;
}

/* SLIDESHOW */
.slideshow-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.slideshow-container {
    max-width: 900px;
    position: relative;
    margin: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    background: #000;
}

.mySlides { display: none; }
.mySlides img { width: 100%; height: 500px; object-fit: cover; display: block; }

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    background-color: rgba(0,0,0,0.4);
    transition: 0.3s;
}
.next { right: 0; }
.prev:hover, .next:hover { background-color: rgba(230, 92, 0, 0.8); }

.dot-container { text-align: center; padding-top: 20px; }
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
}
.active-dot, .dot:hover { background-color: #e65c00; }
.fade { animation-name: fade; animation-duration: 1.2s; }

@keyframes fade {
    from { opacity: .4; }
    to { opacity: 1; }
}

/* IL MIO LIBRO */
.book-section {
    padding: 90px 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.book-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.book-image { flex: 1; text-align: center; }
.book-cover { width: 100%; max-width: 320px; border-radius: 12px; box-shadow: 0 15px 35px rgba(0,0,0,0.2); }
.book-info { flex: 1.3; }
.badge-book { background: #e65c00; color: #fff; font-size: 0.75rem; font-weight: 700; padding: 4px 10px; border-radius: 3px; text-transform: uppercase; display: inline-block; margin-bottom: 12px; }
.book-info h2 { font-size: 1.1rem; color: #6c757d; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.book-title { font-size: 2.4rem; color: #0d3b66; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.book-description { font-size: 1.05rem; color: #495057; margin-bottom: 30px; line-height: 1.7; }

.btn-buy {
    background: #e65c00;
    color: #fff;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.05rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(230, 92, 0, 0.3);
}

/* RASSEGNA STAMPA PRINCIPALE */
.press-section { padding: 90px 0; background: #f8f9fa; }
.section-title-center { text-align: center; font-size: 2.2rem; color: #e65c00 !important; margin-bottom: 40px; font-weight: 800; }

.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.press-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.press-source { font-size: 0.85rem; font-weight: 800; color: #e65c00; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.press-title { font-size: 1.15rem; color: #0d3b66; font-weight: 700; line-height: 1.4; margin-bottom: 20px; }
.press-link-text { font-size: 0.9rem; font-weight: 700; color: #2c3e50; display: inline-flex; align-items: center; gap: 8px; }

.press-more-wrapper { text-align: center; margin-top: 45px; }
.press-more-link { font-size: 1.15rem; font-weight: 700; color: #e65c00; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

/* FOOTER RESPONSIVE CON SOCIAL CENTRALI */
.site-footer {
    background: #0d3b66;
    color: #fff;
    padding-top: 50px;
}

.center-footer-content {
    text-align: center;
    padding-bottom: 40px;
}

.footer-social-title-orange {
    color: #e65c00 !important;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 20px;
}

.footer-social-icons-centered {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.footer-social-icons-centered a {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2s;
}

.footer-social-icons-centered a:hover {
    background: #e65c00;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #092543;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: #adb5bd;
}

/* MEDIA QUERIES PER RESPONSIVENESS TOTALE */
@media (max-width: 992px) {
    .hero-container, .book-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-buttons, .book-actions {
        justify-content: center;
    }
    .voice-box {
        margin: 0 auto 30px auto;
    }
    .menu-overlay-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        overflow-y: auto;
        max-height: 90vh;
    }
    .menu-overlay-contact-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .titoloheader {
        font-size: 2.1rem;
    }
    .book-title {
        font-size: 1.8rem;
    }
    .mySlides img {
        height: 300px;
    }
}