/* ===========================================
   STYLE.CSS - Foglio di stile principale
   Contiene tutti gli stili del sito Poliambulatorio Luigi Einaudi
   Organizzato per pagina e componente
   =========================================== */

/* ===============================
   VARIABILI GLOBALI & RESET
   (applicate a tutte le pagine)
   =============================== */
   :root {
    --primary-color: #1a5c42; /* VERDE SCURO unico per tutto il sito (era il dark-color) */
    --secondary-color: #003366;
    --accent-color: #ebab63; /* Arancione originale pastello per tutto il sito */
    --fuchsia-color: #a8305f; /* FUCSIA SCURO, pieno e brillante (era #c65688 pastello) */
    --light-color: #f8f9fa;
    --dark-color: #1a5c42; /* Verde scuro - stesso del primary ora */
    --text-color: #1a5c42; /* Verde scuro - stesso del primary ora */
    
    /* COLORI SPECIALI SOLO PER BOTTONI NAVBAR */
    --navbar-btn-orange: #f18f3b; /* Arancione intenso per bottone navbar */
    --navbar-btn-fuchsia: #c9377c; /* Fucsia intenso per bottone navbar */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 110px;
    font-weight: 600; /* Semi-bold - più cicciotto per tutto il sito */
}

/* Testo più cicciotto per paragrafi e liste */
p, li, span, div {
    font-weight: 600; /* Semi-bold - ancora più cicciotto */
}

/* Mantieni i titoli con peso normale per non appesantire troppo */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

/* Grassetto in fucsia per tutte le pagine */
strong, b {
    color: var(--fuchsia-color);
    font-weight: 700; /* Esplicitamente bold per il fucsia */
}

/* ===============================
   COMPONENTI COMUNI A TUTTE LE PAGINE
   =============================== */

/* NAVBAR - componente comune */
.navbar {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.3s ease;
    height: 110px;
    min-height: 110px !important;
    z-index: 1000;
}

.navbar .container-fluid {
    padding: 0 0.8rem !important;
    margin: 0 !important;
    max-width: 100% !important;
    height: 100%;
}

.navbar > .container-fluid {
    height: 100% !important;
}

.navbar-collapse {
    height: 100%;
    padding: 0 !important;
    margin: 0 !important;
}

.navbar.shrink {
    height: 80px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0 20px !important;
    transition: all 0.3s ease;
}

.navbar.shrink .navbar-brand {
    transform: scale(0.9);
}

.logo {
    height: 110px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.shrink .logo {
    height: 80px;
}

.navbar-nav {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-item {
    margin: 0 !important;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Divisori sottili tra le voci */
.nav-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 1px;
    background-color: #e0e0e0;
}

/* Navbar Responsive */
.navbar .container-fluid {
    padding: 0 0.8rem !important;
    margin: 0 !important;
    max-width: 100% !important;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-collapse {
    flex-grow: 1;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    overflow: visible;
}

.nav-link {
    color: var(--primary-color);
    font-weight: 700;
    padding: 15px 0.9vw;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    border: none;
    background: none;
    border-radius: 0;
    margin: 0;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

/* Effetto shrink sui link quando navbar si rimpicciolisce */
.navbar.shrink .nav-link {
    font-size: 14px;
    padding: 15px 0.8vw;
    letter-spacing: 0.6px;
}

.nav-link:hover, .nav-link:focus {
    background-color: transparent;
    color: var(--accent-color);
    border-bottom: 3px solid var(--fuchsia-color);
}

/* Stili base per nav-link.active */
.nav-link.active {
    background-color: var(--fuchsia-color);
    color: white;
}

/* Modifiche specifiche per pagina DIAGNOSTICA */
.diagnostica-page .nav-link.active {
    background-color: var(--fuchsia-color);
    color: white !important;
    position: relative;
}

.diagnostica-page .nav-link.active::after {
    display: none;
}

/* Modifiche specifiche per pagina SERVIZI */
.servizi-page .nav-link.active {
    background-color: var(--fuchsia-color);
    color: white !important;
    position: relative;
}

.servizi-page .nav-link.active::after {
    display: none;
}

/* Modifiche specifiche per pagina STAFF */
.staff-page .nav-link.active {
    background-color: var(--fuchsia-color);
    color: white !important;
    position: relative;
}

.staff-page .nav-link.active::after {
    display: none;
}

/* Modifiche specifiche per pagina TERAPIE */
.terapie-page .nav-link.active {
    background-color: var(--fuchsia-color);
    color: white !important;
    position: relative;
}

.terapie-page .nav-link.active::after {
    display: none;
}

/* Dropdown migliorato */
.dropdown {
    position: relative;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 0 0 10px 10px;
    padding: 10px 0;
    margin: 0;
    border-top: 3px solid var(--primary-color);
    min-width: 280px;
    display: none; /* CAMBIATO: nascosto di default */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block; /* AGGIUNTO: mostra al hover su desktop */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 12px 25px;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
    font-size: 18px;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item::before {
    content: "›";
    color: var(--primary-color);
    margin-right: 12px;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s;
}

.dropdown-item:hover {
    background-color: rgba(26, 109, 56, 0.1);
    color: var(--primary-color);
    padding-left: 30px;
}

.dropdown-item:hover::before {
    transform: translateX(5px);
}

.button-container {
    display: flex;
    height: 100%;
    margin: 0 0 0 0.5vw !important;
    padding: 0 !important;
    gap: 0;
    flex-shrink: 0;
}

/* Bottoni comuni navbar - CON EFFETTO SHRINK */
.navbar .btn-call, 
.navbar a.btn-call {
    background-color: var(--navbar-btn-orange);
    color: white;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 0;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 0 !important;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

/* Effetto shrink sul bottone chiama */
.navbar.shrink .btn-call,
.navbar.shrink a.btn-call {
    font-size: 13px;
    padding: 0 16px;
    letter-spacing: 0.8px;
}

.navbar .btn-call:hover, 
.navbar a.btn-call:hover {
    background-color: #d87a2a;
    color: white;
}

.navbar .btn-call i, 
.navbar a.btn-call i {
    font-size: 1.1rem;
    margin-right: 8px;
    transition: all 0.3s;
}

/* Effetto shrink sull'icona */
.navbar.shrink .btn-call i,
.navbar.shrink a.btn-call i {
    font-size: 1rem;
    margin-right: 6px;
}

.navbar .btn-book, 
.navbar a.btn-book {
    background-color: var(--navbar-btn-fuchsia);
    color: white;
    border: none;
    padding: 0 20px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 0;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 15px;
    letter-spacing: 1px;
    margin: 0 !important;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

/* Effetto shrink sul bottone prenota */
.navbar.shrink .btn-book,
.navbar.shrink a.btn-book {
    font-size: 13px;
    padding: 0 16px;
    letter-spacing: 0.8px;
}

.navbar .btn-book:hover, 
.navbar a.btn-book:hover {
    background-color: #a82d66;
    color: white;
}

.navbar .btn-book i, 
.navbar a.btn-book i {
    font-size: 1.1rem;
    margin-right: 8px;
    transition: all 0.3s;
}

/* Effetto shrink sull'icona */
.navbar.shrink .btn-book i,
.navbar.shrink a.btn-book i {
    font-size: 1rem;
    margin-right: 6px;
}

/* Bottoni per il resto del sito - COLORI ORIGINALI PASTELLO */
.btn-call:not(.navbar .btn-call), 
a.btn-call:not(.navbar a.btn-call) {
    background-color: var(--accent-color); /* Arancione pastello originale */
    color: white;
    border: none;
    padding: 20px 40px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 1px;
    text-decoration: none;
}

.btn-call:not(.navbar .btn-call):hover, 
a.btn-call:not(.navbar a.btn-call):hover {
    background-color: #d89a4f;
    color: white;
}

.btn-book:not(.navbar .btn-book), 
a.btn-book:not(.navbar a.btn-book) {
    background-color: var(--fuchsia-color); /* Fucsia pastello originale */
    color: white;
    border: none;
    padding: 20px 40px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    letter-spacing: 1px;
    text-decoration: none;
}

.btn-book:not(.navbar .btn-book):hover, 
a.btn-book:not(.navbar a.btn-book):hover {
    background-color: #b04577;
    color: white;
}

/* Navbar toggler stili comuni */
.navbar-toggler {
    border: none;
    padding: 5px 10px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231a6d38' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* FOOTER - componente comune */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 25px;
}

.footer p, .footer a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
    line-height: 1.3;
}

.footer a:hover {
    color: white;
    text-decoration: none;
}

.footer-contact {
    margin-bottom: 15px;
}

.footer-hours {
    margin-bottom: 15px;
}

.footer-social {
    margin-bottom: 15px;
}

.social-icons-container {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: white;
}

.social-icon:nth-child(1):hover {
    background-color: #1877f2;
}

.social-icon:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
    margin-top: 20px;
    text-align: center;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    width: auto;
}

/* ===============================
   DESKTOP - FRECCE DROPDOWN MODERNIZZATE
   (solo desktop, nascoste su mobile)
   =============================== */

/* Freccia dropdown minimalista per desktop - MODIFICATA */
@media (min-width: 993px) {
    .dropdown > .nav-link::after {
        content: '';
        display: inline-block !important;
        width: 6px;
        height: 6px;
        margin-left: 8px;
        background: transparent;
        border-style: solid;
        border-color: var(--primary-color);
        border-width: 0 1px 1px 0;
        transform: rotate(45deg) translateY(-2px);
        transform-origin: center;
        transition: all 0.3s ease;
        opacity: 0.8;
    }
    
    /* Rotazione freccia al hover su desktop */
    .dropdown:hover > .nav-link::after {
        transform: rotate(225deg) translateY(0);
        opacity: 1;
    }
    
    /* Per gli elementi con dropdown-item-wrapper */
    .dropdown-item-wrapper > .nav-link::after {
        content: '';
        display: inline-block !important;
        width: 6px;
        height: 6px;
        margin-left: 8px;
        background: transparent;
        border-style: solid;
        border-color: var(--primary-color);
        border-width: 0 1px 1px 0;
        transform: rotate(45deg) translateY(-2px);
        transform-origin: center;
        transition: all 0.3s ease;
        opacity: 0.8;
    }
    
    .dropdown-item-wrapper:hover > .nav-link::after {
        transform: rotate(225deg) translateY(0);
        opacity: 1;
    }
}

/* ===============================
   HOME PAGE - index.html
   =============================== */

/* SLIDESHOW HERO */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: -110px;
    padding-top: 110px;
    z-index: 1;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 2s ease-in-out;
    z-index: 1;
}

.hero-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 0 20px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: left;
}

.hero-title .part-1 {
    color: var(--primary-color);
    display: block;
    font-weight: 900;
}

.hero-title .part-2 {
    color: #d4761a;
    display: block;
    font-weight: 900;
}

.hero-title .part-3 {
    color: var(--fuchsia-color);
    display: block;
    font-weight: 900;
}

.hero-description {
    font-size: 23px;
    color: var(--dark-color);
    max-width: 600px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 80px;
}

/* Bottoni Hero Slideshow - Versione Orizzontale Originale - COLORI INTENSI */
.hero-btn {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Bottone Chiama - Arancione INTENSO */
.hero-btn-call {
    background-color: var(--navbar-btn-orange);
    color: white !important;
}

.hero-btn-call:hover {
    background-color: #d87a2a;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(241, 143, 59, 0.4);
    color: white !important;
}

/* Bottone Prenota - Fucsia INTENSO */
.hero-btn-book {
    background-color: var(--navbar-btn-fuchsia);
    color: white !important;
}

.hero-btn-book:hover {
    background-color: #a82d66;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(201, 55, 124, 0.4);
    color: white !important;
}

/* Icone nei bottoni slideshow */
.hero-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(3px);
}

/* Info Box Slide 4 */
.info-slide-box {
    background: transparent;
    border-radius: 10px;
    padding: 50px;
    max-width: 700px;
    box-shadow: none;
}

.info-slide-box h2 {
    color: var(--primary-color);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 35px;
    text-align: center;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--fuchsia-color);
    font-size: 25px;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.info-item h3 i {
    margin-right: 12px;
}

.info-item p {
    color: var(--dark-color);
    font-size: 20px;
    line-height: 1.7;
    margin: 0;
    padding-left: 40px;
}

.info-hours {
    padding-left: 40px;
}

.info-hours p {
    padding-left: 0;
    margin-bottom: 5px;
}

/* Service List Slide 3 */
.service-list {
    max-width: 800px;
    margin-bottom: 30px;
}

.service-list h3 {
    color: var(--primary-color);
    font-size: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.service-list ul {
    list-style: none;
    padding-left: 0;
}

.service-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-color);
}

.service-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.special-message {
    font-style: italic;
    color: var(--fuchsia-color);
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(214, 51, 132, 0.3);
    font-size: 25px;
    line-height: 1.5;
}

/* Pulsanti navigazione slideshow */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 3px solid var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.slide-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(26, 109, 56, 0.5);
}

.slide-nav.prev {
    left: 40px;
}

.slide-nav.next {
    right: 40px;
}

/* Indicatori slideshow */
.slide-indicators {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
}

.slide-indicator {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.slide-indicator:hover {
    background: rgba(26, 109, 56, 0.6);
    transform: scale(1.3);
}

.slide-indicator.active {
    background: var(--primary-color);
    transform: scale(1.4);
    box-shadow: 0 4px 15px rgba(26, 109, 56, 0.6);
}

/* Pulsante scroll down */
.scroll-down {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.scroll-down:hover {
    background-color: #14582b;
    transform: translateX(-50%) scale(1.1);
}

.scroll-down i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* SEZIONE SERVIZI HOME */
.services-section {
    padding: 150px 0 100px;
    background-color: var(--accent-color);
    position: relative;
    z-index: 10;
}

.service-boxes {
    margin-top: 0;
}

.service-box {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.service-box.reveal {
    opacity: 1;
    transform: translateY(0);
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-image {
    width: 40%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    position: relative;
    overflow: hidden;
}

.service-box:hover .service-image {
    transform: scale(1.05);
}

.service-content {
    width: 60%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-icon {
    margin-bottom: 15px;
    display: inline-block;
    width: 60px;
    height: 60px;
    color: var(--accent-color);
}

.service-icon i {
    font-size: 2.5rem;
}

.service-title {
    color: var(--primary-color);
    margin-bottom: 18px;
    font-weight: 700;
    font-size: 30px;
}

.service-description {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 22px;
}

.service-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-link {
    color: var(--fuchsia-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 19px;
    margin-top: 15px;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* SEZIONE EVENTI HOME */
.events-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

/* Messaggio quando non ci sono eventi */
.no-events-message {
    text-align: center;
    padding: 80px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 700px;
    margin: 0 auto;
}

.no-events-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    background-color: var(--primary-color); /* Verde scuro PIENO, nessun gradiente */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(26, 92, 66, 0.4);
}

.no-events-icon i {
    font-size: 4rem;
    color: white;
}

.no-events-message h3 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 25px;
}

.no-events-message p {
    color: var(--text-color);
    font-size: 1.4rem;
    line-height: 1.9;
    margin-bottom: 20px;
    font-weight: 600;
}

.no-events-message .comeback-message {
    color: var(--fuchsia-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 30px;
}

.no-events-message .contact-suggestion {
    margin-top: 35px;
    padding-top: 30px;
    border-top: 3px solid var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.no-events-message .contact-suggestion a {
    color: var(--fuchsia-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--fuchsia-color);
    padding-bottom: 2px;
}

.no-events-message .contact-suggestion a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.section-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.section-title h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 50px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-color);
    font-size: 25px;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    height: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.event-card.reveal {
    opacity: 1;
    transform: translateY(0);
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-content {
    padding: 25px;
}

.event-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 18px;
}

.event-title {
    color: var(--fuchsia-color);
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.event-description {
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.event-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    margin-left: 10px;
    text-transform: uppercase;
}

.event-status.upcoming {
    background-color: var(--primary-color);
    color: white;
}

.event-status.today {
    background-color: var(--accent-color);
    color: white;
}

.event-status.past {
    background-color: #6c757d;
    color: white;
}

/* SEZIONE CONTATTI HOME */
.contacts-section {
    padding: 100px 0;
    background-color: white;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.contact-item.reveal {
    opacity: 1;
    transform: translateX(0);
}

.contact-icon {
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 20px;
}

.opening-hours {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 25px;
    margin: 0;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.opening-hours.reveal {
    opacity: 1;
    transform: translateX(0);
}

.opening-hours h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.hours-table tr:last-child {
    border-bottom: none;
}

.hours-table td {
    padding: 12px 15px;
      font-size: 20px;
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--primary-color);
}

.hours-table td:last-child {
    text-align: right;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.map-container.reveal {
    opacity: 1;
    transform: translateY(0);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ===============================
   PAGINA DIAGNOSTICA - diagnostica.html
   =============================== */

/* Header per Diagnostica */
.diagnostica-page .page-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.85)), url('images/diagnostica.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-top: -110px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.diagnostica-page .page-title {
    font-weight: 800;
    font-size: 3.5rem; /* Ingrandito da 3rem a 3.5rem */
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.diagnostica-page .page-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.diagnostica-page .page-subtitle {
    font-size: 2rem; /* Ingrandito da 1.8rem a 2rem */
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.diagnostica-page .page-subtitle.reveal {
    opacity: 1;
    transform: translateY(0);
}

.diagnostica-page .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    font-size: 1.4rem; /* Molto più grande - era 1.1rem */
    font-weight: 700; /* Più grassetto */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.diagnostica-page .breadcrumb.reveal {
    opacity: 1;
    transform: translateY(0);
}

.diagnostica-page .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.diagnostica-page .breadcrumb-item.active {
    color: var(--primary-color);
}

.diagnostica-page .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}

/* Barra di ricerca */
.diagnostica-page .search-container {
    max-width: 600px;
    margin: 30px auto 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.diagnostica-page .search-container.reveal {
    opacity: 1;
    transform: translateY(0);
}

.diagnostica-page .search-box {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.diagnostica-page .search-box:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 109, 56, 0.2);
}

.diagnostica-page .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Sezione Specialità */
.diagnostica-page .specialties-section {
    padding: 0 0 80px;
    background-color: white;
}

.diagnostica-page .specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.diagnostica-page .specialty-item {
    background-color: #f0f0f0;
    color: var(--dark-color); /* Verde petrolio scuro */
    padding: 20px 25px 20px 45px; /* Più padding a sinistra */
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Allinea a sinistra */
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    height: 80px;
    position: relative;
    overflow: visible; /* Permette alla lineetta di uscire */
    text-decoration: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.diagnostica-page .specialty-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.diagnostica-page .specialty-item::before {
    content: "";
    position: absolute;
    left: -10px; /* Esce di 10px dal box */
    top: 50%;
    transform: translateY(-50%);
    width: 40px; /* Larghezza della lineetta orizzontale */
    height: 4px; /* Spessore della lineetta */
    background-color: var(--accent-color); /* ARANCIONE */
    border-radius: 2px;
    transition: all 0.3s ease;
}

.diagnostica-page .specialty-item:hover {
    background-color: #e8e8e8;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    text-decoration: none;
}

.diagnostica-page .specialty-item:hover::before {
    width: 50px; /* Diventa leggermente più lunga al hover */
    background-color: var(--fuchsia-color); /* Diventa FUCSIA al hover */
}

.diagnostica-page .specialty-name {
    font-weight: 600;
    font-size: 1.3rem;
    margin: 0;
    flex-grow: 1;
    transition: color 0.3s ease;
    color: var(--dark-color); /* Verde petrolio scuro */
}

.diagnostica-page .specialty-item:hover .specialty-name {
    color: var(--fuchsia-color);
}

.diagnostica-page .specialty-arrow {
    display: none; /* Nascondiamo la freccetta */
}

/* ===============================
   PAGINA SERVIZI - servizi.html
   =============================== */

/* PAGE HEADER per Servizi */
.servizi-page .page-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.85)), url('images/servizihero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-top: -110px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.servizi-page .page-title {
    font-weight: 800;
    font-size: 3.5rem; /* Ingrandito da 3rem a 3.5rem */
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.servizi-page .page-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.servizi-page .page-subtitle {
    font-size: 2rem; /* Ingrandito da 1.8rem a 2rem */
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.servizi-page .page-subtitle.reveal {
    opacity: 1;
    transform: translateY(0);
}

.servizi-page .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 20px;
    padding: 0;
    font-size: 1.4rem; /* Molto più grande - era 1.1rem */
    font-weight: 700; /* Più grassetto */
}

.servizi-page .breadcrumb ol {
    margin: 0;
    padding: 0;
}

.servizi-page .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.servizi-page .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.servizi-page .breadcrumb-item.active {
    color: var(--primary-color);
    font-weight: 600;
}

.servizi-page .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
    content: "/";
    padding: 0 8px;
}

/* SERVICES SECTION per pagina Servizi */
.servizi-page .services-section {
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.servizi-page .section-title {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.servizi-page .section-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.servizi-page .section-title h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.servizi-page .section-title p {
    color: var(--text-color);
    font-size: 1.3rem;
}

.servizi-page .service-boxes {
    margin-top: 0;
}

.servizi-page .service-box {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.servizi-page .service-box.reveal {
    opacity: 1;
    transform: translateY(0);
}

.servizi-page .service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.servizi-page .service-image {
    width: 40%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    position: relative;
    overflow: hidden;
}

.servizi-page .service-box:hover .service-image {
    transform: scale(1.05);
}

.servizi-page .service-content {
    width: 60%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servizi-page .service-icon {
    margin-bottom: 20px;
    display: inline-block;
    width: 70px;
    height: 70px;
    color: var(--accent-color);
}

.servizi-page .service-icon i {
    font-size: 3rem;
}

.servizi-page .service-title {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
    font-size: 2rem;
}

.servizi-page .service-description {
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.3rem;
}

.servizi-page .service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.servizi-page .service-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
}

.servizi-page .service-list li::before {
    content: "•";
    color: var(--fuchsia-color);
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.servizi-page .service-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.servizi-page .service-link {
    color: var(--fuchsia-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.servizi-page .service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.servizi-page .service-link:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.servizi-page .service-link:hover i {
    transform: translateX(5px);
}

/* ===============================
   PAGINA STAFF - staff.html
   =============================== */

/* PAGE HEADER per Staff Medico */
.staff-page .page-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.85)), url('images/dottori.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-top: -110px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.staff-page .page-title {
    font-weight: 800;
    font-size: 3.5rem; /* Ingrandito da 3rem a 3.5rem */
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.staff-page .page-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.staff-page .page-subtitle {
    font-size: 2rem; /* Ingrandito da 1.8rem a 2rem */
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.staff-page .page-subtitle.reveal {
    opacity: 1;
    transform: translateY(0);
}

.staff-page .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    font-size: 1.4rem; /* Molto più grande - era 1.1rem */
    font-weight: 700; /* Più grassetto */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.staff-page .breadcrumb.reveal {
    opacity: 1;
    transform: translateY(0);
}

.staff-page .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.staff-page .breadcrumb-item.active {
    color: var(--primary-color);
}

.staff-page .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}

/* Barra di ricerca per nome */
.staff-page .search-container {
    max-width: 600px;
    margin: 30px auto 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.staff-page .search-container.reveal {
    opacity: 1;
    transform: translateY(0);
}

.staff-page .search-box {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.staff-page .search-box:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 109, 56, 0.2);
}

.staff-page .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Dropdown per specializzazioni */
.staff-page .specialty-dropdown-container {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.staff-page .specialty-dropdown-container.reveal {
    opacity: 1;
    transform: translateY(0);
}

.staff-page .specialty-dropdown {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-size: 1.1rem;
    background-color: white;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.3s ease;
}

.staff-page .specialty-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 109, 56, 0.2);
}

.staff-page .dropdown-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Sezione Staff Medico */
.staff-page .staff-section {
    padding: 0 0 80px;
    background-color: white;
}

.staff-page .specialty-group {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.staff-page .specialty-group.reveal {
    opacity: 1;
    transform: translateY(0);
}

.staff-page .specialty-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.6rem; /* Ripristinato originale */
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-page .doctors-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.staff-page .doctor-item {
    padding: 12px 15px;
    border-radius: 8px;
    background-color: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
    border-left: 4px solid transparent;
    text-decoration: none;
    display: block;
}

.staff-page .doctor-item:hover {
    background-color: rgba(26, 109, 56, 0.05);
    border-left-color: var(--fuchsia-color);
    transform: translateX(5px);
    text-decoration: none;
}

.staff-page .doctor-name {
    font-weight: 700; /* Grassetto */
    font-size: 1.8rem; /* MOLTO MOLTO PIÙ GRANDE - da 1.15rem a 1.8rem! */
    color: var(--dark-color);
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.staff-page .doctor-item:hover .doctor-name {
    color: var(--fuchsia-color);
}

.staff-page .doctor-name::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--fuchsia-color);
    transition: width 0.3s ease;
}

.staff-page .doctor-item:hover .doctor-name::after {
    width: 100%;
}

/* Layout a tre colonne */
.staff-page .staff-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ===============================
   PAGINA TERAPIE - terapie.html
   =============================== */

/* PAGE HEADER per Terapie */
.terapie-page .page-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.85)), url('https://images.unsplash.com/photo-1576091160550-2173dba999ef?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-top: -110px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.terapie-page .page-title {
    font-weight: 800;
    font-size: 3.5rem; /* Ingrandito da 3rem a 3.5rem */
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.terapie-page .page-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.terapie-page .page-subtitle {
    font-size: 2rem; /* Ingrandito da 1.8rem a 2rem */
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.terapie-page .page-subtitle.reveal {
    opacity: 1;
    transform: translateY(0);
}

.terapie-page .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    font-size: 1.4rem; /* Molto più grande - era 1.1rem */
    font-weight: 700; /* Più grassetto */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.terapie-page .breadcrumb.reveal {
    opacity: 1;
    transform: translateY(0);
}

.terapie-page .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.terapie-page .breadcrumb-item.active {
    color: var(--primary-color);
}

.terapie-page .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}

/* Sezione Terapie */
.terapie-page .terapie-section {
    padding: 80px 0;
    background-color: white;
}

.terapie-page .section-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.1rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.terapie-page .section-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Category Bar */
.terapie-page .category-bar {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0 auto 80px;
    max-width: 1200px;
    flex-wrap: wrap;
}

.terapie-page .category-btn {
    padding: 20px 40px;
    border: 3px solid var(--primary-color); /* Bordo verde */
    background: white; /* Sfondo bianco */
    color: #d4761a; /* Arancione SCURO, pieno, brillante (era #ebab63 pastello) */
    font-weight: 700;
    font-size: 1.35rem;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    min-width: 280px;
    opacity: 0;
    transform: translateY(30px);
}

.terapie-page .category-btn.reveal {
    opacity: 1;
    transform: translateY(0);
}

.terapie-page .category-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.terapie-page .category-btn:hover::before {
    left: 100%;
}

.terapie-page .category-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(34, 163, 82, 0.3); /* Ombra verde invece di fucsia */
    border-color: var(--primary-color);
    background: white;
}

.terapie-page .category-btn.active {
    background: linear-gradient(135deg, var(--fuchsia-color), #c2185b);
    color: white;
    border: 3px solid var(--fuchsia-color); /* Bordo fucsia per attivo */
    box-shadow: 0 10px 25px rgba(214, 51, 132, 0.4);
    transform: translateY(-3px);
}

.terapie-page .category-btn.active:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(214, 51, 132, 0.5);
}

.terapie-page .category-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.terapie-page .category-btn.active .category-icon {
    opacity: 1;
}

/* Therapy Content */
.terapie-page .therapy-content {
    display: none;
    max-width: 1400px;
    margin: 0 auto;
}

.terapie-page .therapy-content.active {
    display: block;
    animation: contentFadeIn 0.8s ease forwards;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.terapie-page .therapy-list {
    display: grid;
    gap: 40px;
}

.terapie-page .therapy-item {
    background: white;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(26, 109, 56, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.terapie-page .therapy-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.terapie-page .therapy-item:hover {
    transform: translateX(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.terapie-page .therapy-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.terapie-page .therapy-item:hover .therapy-image {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.terapie-page .therapy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.terapie-page .therapy-item:hover .therapy-image img {
    transform: scale(1.1);
}

.terapie-page .therapy-info {
    flex: 1;
}

.terapie-page .therapy-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--fuchsia-color);
}

.terapie-page .therapy-info p {
    font-size: 1.35rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ===============================
   PAGINA PRENOTA ONLINE - prenota-online.html
   (pronta per essere popolata)
   =============================== */

/* ===============================
   PAGINA SPECIALITÀ MEDICHE (agopuntura, cardiologia, ecc.)
   =============================== */

/* PAGE HEADER per Specialità Mediche */
.specialita-page .page-header {
    /* L'immagine di sfondo viene gestita inline nell'HTML di ogni pagina */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-top: -110px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Overlay bianco semitrasparente per rendere più leggibile il testo */
.specialita-page .page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.85));
    z-index: 1;
}

/* Container deve stare sopra l'overlay */
.specialita-page .page-header .container {
    position: relative;
    z-index: 2;
}

.specialita-page .page-title {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialita-page .page-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .page-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialita-page .page-subtitle.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialita-page .breadcrumb.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.specialita-page .breadcrumb-item.active {
    color: var(--primary-color);
}

.specialita-page .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}

/* Sezione Specialità */
.specialita-page .specialita-section {
    padding: 80px 0;
    background-color: white;
}

.specialita-page .specialita-content {
    margin-bottom: 50px;
}

.specialita-page .section-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.1rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialita-page .section-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .specialita-text {
    line-height: 1.8;
    font-size: 1.35rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialita-page .specialita-text.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .specialita-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.specialita-page .specialita-image.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .specialita-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.specialita-page .specialita-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.specialita-page .specialita-image:hover img {
    transform: scale(1.05);
}

.specialita-page .patologie-list {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialita-page .patologie-list.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .patologie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.specialita-page .patologia-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.specialita-page .patologia-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background-color: rgba(26, 109, 56, 0.05);
}

.specialita-page .patologia-arrow {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.specialita-page .patologia-item:hover .patologia-arrow {
    transform: translateX(5px);
}

.specialita-page .patologia-name {
    font-weight: 500;
    font-size: 1.15rem;
}

.specialita-page .contact-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialita-page .contact-box.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialita-page .contact-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: center;
}

.specialita-page .contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.specialita-page .btn-specialist {
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid;
    background-color: transparent;
}

.specialita-page .btn-specialist-call {
    color: var(--fuchsia-color);
    border-color: var(--fuchsia-color);
}

.specialita-page .btn-specialist-call:hover {
    background-color: var(--fuchsia-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 51, 132, 0.2);
}

.specialita-page .btn-specialist-book {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.specialita-page .btn-specialist-book:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
}

/* ===============================
   PAGINA DETTAGLIO SPECIALISTA (ajraldigiorgio.html, ecc.)
   =============================== */

/* PAGE HEADER per Dettaglio Specialista */
.specialista-page .page-header {
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.85)), url('images/dottori.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0 60px;
    margin-top: -110px;
    color: white;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.specialista-page .page-title {
    font-weight: 800;
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialista-page .page-title.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialista-page .page-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-color);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialista-page .page-subtitle.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialista-page .breadcrumb {
    background: transparent;
    justify-content: center;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialista-page .breadcrumb.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialista-page .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.specialista-page .breadcrumb-item.active {
    color: var(--primary-color);
}

.specialista-page .breadcrumb-item + .breadcrumb-item::before {
    color: var(--primary-color);
}

/* Sezione Dettaglio Specialista */
.specialista-page .specialist-section {
    padding: 80px 0;
    background-color: white;
}

.specialista-page .specialist-info {
    margin-bottom: 50px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialista-page .specialist-info.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialista-page .specialist-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.specialista-page .specialist-specialty {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 30px;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.specialista-page .specialist-specialty:hover {
    color: var(--fuchsia-color);
    border-bottom-color: var(--fuchsia-color);
    transform: translateY(-2px);
}

.specialista-page .specialist-info p {
    font-size: 1.35rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.specialista-page .curriculum-section {
    margin-top: 40px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialista-page .curriculum-section.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialista-page .section-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2.1rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.specialista-page .curriculum-content {
    line-height: 1.8;
}

.specialista-page .curriculum-content h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 25px 0 15px;
    font-size: 1.65rem;
}

.specialista-page .curriculum-content p {
    margin-bottom: 15px;
    font-size: 1.35rem;
    line-height: 1.8;
}

.specialista-page .curriculum-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.specialista-page .curriculum-content li {
    margin-bottom: 8px;
    font-size: 1.35rem;
    line-height: 1.8;
}

.specialista-page .contact-box {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.specialista-page .contact-box.reveal {
    opacity: 1;
    transform: translateY(0);
}

.specialista-page .contact-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 20px;
    text-align: center;
}

.specialista-page .contact-subtitle {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.6;
}

.specialista-page .contact-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.specialista-page .btn-specialist {
    padding: 12px 25px;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 2px solid;
    background-color: transparent;
}

.specialista-page .btn-specialist-call {
    color: var(--fuchsia-color);
    border-color: var(--fuchsia-color);
}

.specialista-page .btn-specialist-call:hover {
    background-color: var(--fuchsia-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 51, 132, 0.2);
}

.specialista-page .btn-specialist-book {
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.specialista-page .btn-specialist-book:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.2);
}

/* ===============================
   CLASSI DI UTILITY GLOBALI
   =============================== */

.reveal {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* ===============================
   MEDIA QUERIES GLOBALI - MOBILE NAVBAR FIX
   =============================== */

@media (max-width: 992px) {
    /* NAVBAR MOBILE FIX - COMPATTO */
    .navbar {
        height: auto;
        padding: 0 !important;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1030;
        background-color: white;
        min-height: 80px !important;
    }
    
    .navbar.shrink {
        height: auto;
    }
    
    /* Logo più piccolo in mobile */
    .logo {
        height: 70px !important;
        max-height: 70px !important;
    }
    
    .navbar.shrink .logo {
        height: 60px !important;
    }
    
    /* Toggler migliorato */
    .navbar-toggler {
        margin-right: 15px;
        border: 2px solid var(--primary-color);
        padding: 8px 12px;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 3px rgba(26, 109, 56, 0.2);
    }
    
    /* Navbar collapse - NON PIÙ FULLSCREEN */
    .navbar-collapse {
        display: none !important;
        background: white;
        padding: 0 !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto; /* MODIFICA: altezza automatica */
        z-index: 1000;
        overflow-y: auto;
        transition: all 0.3s ease;
        flex-direction: column;
        max-height: 80vh; /* MODIFICA: massimo 80% dello schermo */
    }
    
    /* Quando è mostrata */
    .navbar-collapse.show {
        display: flex !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Navbar nav in colonna - dimensioni compatte */
    .navbar-nav {
        flex-direction: column;
        align-items: center !important;
        width: 100%;
        margin: 0 !important;
        padding: 5px 0 !important; /* MODIFICA: ridotto drasticamente */
        flex: 0 1 auto; /* MODIFICA: non si espande */
        overflow-y: auto;
        max-height: none;
    }
    
    /* Nav items compatti */
    .nav-item {
        width: 100%;
        height: auto;
        margin: 0 !important;
        padding: 0 !important;
        display: flex;
        justify-content: center;
    }
    
    /* Rimosso i divisori */
    .nav-item::after {
        display: none;
    }
    
    /* Nav link compatti */
    .nav-link {
        width: 100%;
        padding: 10px 15px !important; /* MODIFICA: molto più compatto */
        text-align: center;
        font-size: 1.1rem !important; /* MODIFICA: leggermente più piccolo */
        font-weight: 600;
        letter-spacing: 0.5px;
        margin: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        color: var(--primary-color) !important;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        min-height: 45px; /* MODIFICA: ridotto */
    }
    
    /* Rimuovi il bordo sinistro hover su mobile */
    .nav-link:hover {
        border-left: none !important;
        background-color: rgba(26, 109, 56, 0.1) !important;
        color: var(--primary-color) !important;
    }
    
    /* Active state per mobile - background fucsia e testo bianco */
    .nav-link.active {
        background-color: var(--fuchsia-color) !important;
        color: white !important;
        border-left: none !important;
    }
    
    .nav-link.active::after {
        display: none;
    }
    
    /* Sovrascrivi le regole specifiche delle pagine per mobile */
    .diagnostica-page .nav-link.active,
    .servizi-page .nav-link.active,
    .staff-page .nav-link.active,
    .terapie-page .nav-link.active {
        background-color: var(--fuchsia-color) !important;
        color: white !important;
        border-left: none !important;
    }
    
    /* DROPDOWN MOBILE FIX - compatto */
    .dropdown {
        position: static !important;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 90% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        background-color: rgba(26, 109, 56, 0.05) !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        transition: none !important;
        max-height: 0;
        overflow: hidden;
        border-radius: 0 0 10px 10px;
        border-top: 2px solid var(--primary-color);
        margin-top: 0 !important;
        margin-bottom: 3px !important; /* MODIFICA: ridotto */
    }
    
    /* Mostra dropdown quando parent ha .show */
    .dropdown.show .dropdown-menu {
        display: block !important;
        max-height: 250px; /* MODIFICA: ridotto */
        transition: max-height 0.5s ease;
        animation: dropdownSlide 0.3s ease;
    }
    
    @keyframes dropdownSlide {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 250px;
        }
    }
    
    .dropdown-item {
        padding: 8px 15px !important; /* MODIFICA: molto compatto */
        text-align: center;
        font-size: 1rem !important; /* MODIFICA: più piccolo */
        color: var(--primary-color) !important;
        border-bottom: 1px solid rgba(26, 109, 56, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 35px; /* MODIFICA: ridotto */
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item::before {
        content: "›";
        color: var(--primary-color);
        margin-right: 10px;
        font-weight: bold;
        font-size: 1.1rem; /* MODIFICA: ridotto */
    }
    
    .dropdown-item:hover {
        background-color: rgba(26, 109, 56, 0.1) !important;
        color: var(--primary-color) !important;
        padding-left: 20px !important; /* MODIFICA: ridotto */
    }
    
    /* NASCONDI COMPLETAMENTE LE FRECCE DEI DROPDOWN SU MOBILE */
    .dropdown > .nav-link::after,
    .dropdown-item-wrapper > .nav-link::after {
        display: none !important;
    }
    
    /* Bottoni compatti e vicini al menu */
    .button-container {
        margin: 0 !important;
        height: auto;
        flex-direction: column;
        width: 100%;
        padding: 10px 15px !important; /* MODIFICA: molto compatto */
        background-color: white;
        border-top: 1px solid #eee;
        flex-shrink: 0;
        margin-top: 0 !important;
    }
    
    .btn-call, .btn-book, a.btn-call, a.btn-book {
        height: 45px !important; /* MODIFICA: molto compatto */
        margin: 3px 0 !important; /* MODIFICA: ridotto */
        justify-content: center;
        width: 100% !important;
        padding: 0 20px !important;
        font-size: 1rem !important; /* MODIFICA: ridotto */
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-radius: 8px !important;
        display: flex !important;
        align-items: center;
        text-decoration: none;
    }
    
    .btn-call i, .btn-book i, a.btn-call i, a.btn-book i {
        font-size: 1.1rem !important; /* MODIFICA: ridotto */
        margin-right: 8px !important;
    }
    
    /* Fix per il padding del body in mobile */
    body {
        padding-top: 80px !important;
    }
    
    /* Hero section fix per mobile */
    .hero-section {
        margin-top: -80px !important;
        padding-top: 80px !important;
    }
}

/* Media query extra per schermi molto piccoli */
@media (max-width: 576px) {
    .nav-link {
        padding: 8px 12px !important; /* MODIFICA: ancora più compatto */
        font-size: 1rem !important;
        min-height: 40px; /* MODIFICA: ancora più basso */
    }
    
    .dropdown-item {
        padding: 6px 12px !important; /* MODIFICA: ancora più compatto */
        font-size: 0.95rem !important;
        min-height: 30px; /* MODIFICA: ancora più basso */
    }
    
    .btn-call, .btn-book, a.btn-call, a.btn-book {
        height: 40px !important; /* MODIFICA: ancora più compatto */
        font-size: 0.95rem !important;
    }
    
    .dropdown > .nav-link {
        padding-right: 35px !important;
    }
    
    .button-container {
        padding: 8px 12px !important; /* MODIFICA: ancora più compatto */
    }
    
    .navbar-collapse {
        max-height: 85vh; /* MODIFICA: leggermente più alto su schermi piccoli */
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .navbar {
        height: 80px !important;
        min-height: 80px !important;
    }
    
    .logo {
        height: 70px;
    }
    
    .navbar.shrink .logo {
        height: 60px;
    }
    
    .footer {
        padding: 40px 0 20px;
        text-align: center;
    }
    
    .footer h5 {
        margin-top: 25px;
    }
    
    .social-icon {
        margin: 0 5px;
    }
}

/* ===============================
   MEDIA QUERIES HOME PAGE
   =============================== */

@media (max-width: 992px) {
    /* Services section home */
    .service-box {
        flex-direction: column;
    }
    
    .service-image, .service-content {
        width: 100%;
    }
    
    .service-image {
        height: 250px;
    }
    
    /* Hero section home */
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 35px;
        font-size: 1rem;
    }
    
    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .services-section {
        padding: 120px 0 80px;
    }
    
    .events-section, .contacts-section {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-section {
        margin-top: -80px;
        height: 80vh;
    }
    
    .slide-nav {
        display: none;
    }
    
    .service-list h3 {
        font-size: 1.4rem;
    }
    
    .service-list li {
        font-size: 1rem;
    }
    
    .special-message {
        font-size: 1.1rem;
    }
    
    .services-section {
        padding: 100px 0 60px;
    }
    
    .service-content {
        padding: 25px;
    }
    
    .service-title {
        font-size: 1.3rem;
    }
    
    .service-description {
        font-size: 1rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 2rem;
    }
    
    .scroll-down {
        width: 45px;
        height: 45px;
        bottom: 50px;
    }
    
    .scroll-down i {
        font-size: 1.3rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .events-section, .contacts-section {
        padding: 60px 0;
    }
    
    .event-image {
        height: 180px;
    }
    
    .map-container {
        height: 300px;
        margin-top: 30px;
    }
}

/* ===============================
   MEDIA QUERIES PAGINA DIAGNOSTICA
   =============================== */

@media (max-width: 992px) {
    .diagnostica-page .page-title {
        font-size: 2.5rem;
    }
    .diagnostica-page .page-subtitle {
        font-size: 1.5rem;
    }
    .diagnostica-page .specialty-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .diagnostica-page .page-header {
        margin-top: -80px;
        padding: 80px 0 40px;
        min-height: 400px;
    }
    
    .diagnostica-page .page-title {
        font-size: 2rem;
    }
    .diagnostica-page .page-subtitle {
        font-size: 1.3rem;
    }
    .diagnostica-page .specialties-section {
        padding: 0 0 60px;
    }
    .diagnostica-page .specialty-grid {
        grid-template-columns: 1fr;
    }
    .diagnostica-page .specialty-item {
        height: 70px;
        padding: 15px 20px 15px 45px;
    }
    .diagnostica-page .specialty-name {
        font-size: 1rem;
    }
}

/* ===============================
   MEDIA QUERIES PAGINA SERVIZI
   =============================== */

@media (max-width: 992px) {
    .servizi-page .service-box {
        flex-direction: column;
    }
    
    .servizi-page .service-image, .servizi-page .service-content {
        width: 100%;
    }
    
    .servizi-page .service-image {
        height: 250px;
    }
    
    .servizi-page .page-title {
        font-size: 2.5rem;
    }
    .servizi-page .page-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .servizi-page .page-title {
        font-size: 2rem;
    }
    .servizi-page .service-title {
        font-size: 1.5rem;
    }
    .servizi-page .section-title h2 {
        font-size: 2rem;
    }
}

/* ===============================
   MEDIA QUERIES PAGINA STAFF
   =============================== */

@media (max-width: 992px) {
    .staff-page .page-title {
        font-size: 2.5rem;
    }
    .staff-page .page-subtitle {
        font-size: 1.5rem;
    }
    .staff-page .staff-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .staff-page .page-header {
        margin-top: -80px;
        padding: 80px 0 40px;
        min-height: 400px;
    }
    
    .staff-page .page-title {
        font-size: 2rem;
    }
    .staff-page .page-subtitle {
        font-size: 1.3rem;
    }
    .staff-page .staff-section {
        padding: 0 0 60px;
    }
    .staff-page .staff-columns {
        grid-template-columns: 1fr;
    }
}

/* ===============================
   MEDIA QUERIES PAGINA TERAPIE
   =============================== */

@media (max-width: 1200px) {
    .terapie-page .category-btn {
        min-width: 240px;
        padding: 18px 30px;
    }
}

@media (max-width: 992px) {
    .terapie-page .page-title {
        font-size: 2.5rem;
    }
    .terapie-page .page-subtitle {
        font-size: 1.5rem;
    }
    .terapie-page .therapy-item {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .terapie-page .therapy-image {
        width: 150px;
        height: 150px;
    }
    .terapie-page .category-bar {
        gap: 15px;
    }
    .terapie-page .category-btn {
        min-width: 200px;
        padding: 15px 25px;
    }
}

@media (max-width: 768px) {
    .terapie-page .page-header {
        margin-top: -80px;
        padding: 80px 0 40px;
        min-height: 400px;
    }
    
    .terapie-page .page-title {
        font-size: 2rem;
    }
    .terapie-page .page-subtitle {
        font-size: 1.3rem;
    }
    .terapie-page .terapie-section {
        padding: 40px 0;
    }
    .terapie-page .section-title {
        font-size: 1.5rem;
    }
    .terapie-page .category-bar {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 50px;
    }
    .terapie-page .category-btn {
        width: 100%;
        min-width: auto;
    }
    .terapie-page .therapy-info h3 {
        font-size: 1.6rem;
    }
    .terapie-page .therapy-info p {
        font-size: 1rem;
    }
}

/* ===============================
   MEDIA QUERIES PAGINA SPECIALITÀ
   =============================== */

@media (max-width: 992px) {
    .specialita-page .page-title {
        font-size: 2.5rem;
    }
    .specialita-page .page-subtitle {
        font-size: 1.5rem;
    }
    .specialita-page .patologie-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .specialita-page .page-header {
        margin-top: -80px;
        padding: 80px 0 40px;
        min-height: 400px;
    }
    
    .specialita-page .page-title {
        font-size: 2rem;
    }
    .specialita-page .page-subtitle {
        font-size: 1.3rem;
    }
    .specialita-page .specialita-section {
        padding: 40px 0;
    }
    .specialita-page .section-title {
        font-size: 1.5rem;
    }
    .specialita-page .patologie-grid {
        grid-template-columns: 1fr;
    }
    .specialita-page .contact-buttons {
        flex-direction: column;
    }
    .specialita-page .btn-specialist {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================
   MEDIA QUERIES PAGINA SPECIALISTA
   =============================== */

@media (max-width: 992px) {
    .specialista-page .page-title {
        font-size: 2.5rem;
    }
    .specialista-page .page-subtitle {
        font-size: 1.5rem;
    }
    .specialista-page .specialist-name {
        font-size: 1.8rem;
    }
    .specialista-page .specialist-specialty {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .specialista-page .page-header {
        margin-top: -80px;
        padding: 80px 0 40px;
        min-height: 400px;
    }
    
    .specialista-page .page-title {
        font-size: 2rem;
    }
    .specialista-page .page-subtitle {
        font-size: 1.3rem;
    }
    .specialista-page .specialist-section {
        padding: 40px 0;
    }
    .specialista-page .specialist-name {
        font-size: 1.6rem;
    }
    .specialista-page .specialist-specialty {
        font-size: 1.2rem;
    }
    .specialista-page .section-title {
        font-size: 1.5rem;
    }
    .specialista-page .contact-buttons {
        flex-direction: column;
    }
    .specialista-page .btn-specialist {
        width: 100%;
        justify-content: center;
    }
}

/* ===============================
   ANIMAZIONI E EFFETTI COMUNI
   =============================== */

/* Animazione reveal per elementi che compaiono allo scroll */
.reveal-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-animation.reveal {
    opacity: 1;
    transform: translateY(0);
}

/* ===============================
   NAVBAR MOBILE - SOLO LINK SEMPLICI
   (Nessun dropdown su mobile)
   =============================== */

/* Nascondi il checkbox menu */
.menu-toggle {
    display: none;
}

/* Nascondi dropdown su mobile */
@media (max-width: 992px) {
    .dropdown-menu.desktop-only {
        display: none !important;
    }
    
    /* Navbar toggler diventa una label cliccabile */
    .navbar-toggler {
        border: none;
        padding: 5px 10px;
        cursor: pointer;
        background: transparent;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    /* Navbar collapse - nascosto di default */
    .navbar-collapse {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }
    
    /* Menu visibile quando checkbox è checked */
    #menu-toggle:checked ~ .navbar-collapse {
        display: block !important;
    }
    
    /* Menu items */
    .navbar-nav {
        flex-direction: column;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .nav-item,
    .dropdown-item-wrapper {
        width: 100%;
        padding: 0 !important;
        margin: 0 !important;
        height: auto !important;
        display: block !important;
        align-items: flex-start !important;
    }
    
    .nav-link {
        padding: 15px 20px !important;
        border-bottom: 1px solid #e0e0e0;
        width: 100%;
        height: auto !important;
        display: block !important;
        cursor: pointer;
    }
    
    /* Rimuovi bordo dall'ultimo link per attaccare i bottoni */
    .nav-item:last-of-type .nav-link {
        border-bottom: none !important;
    }
    
    /* Button container - compatto */
    .button-container {
        flex-direction: column;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100%;
    }
    
    .btn-call, 
    .btn-book {
        width: 100%;
        height: 50px !important;
        justify-content: center;
        border-radius: 0 !important;
        margin: 0 !important;
    }
}

/* Desktop - Hover per dropdown */
@media (min-width: 993px) {
    .dropdown-item-wrapper:hover .dropdown-menu {
        display: block !important;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    /* Posizionamento assoluto su desktop */
    .dropdown-item-wrapper {
        position: relative;
    }
    
    .dropdown-item-wrapper .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
    }
}