

       /* Stili di base (come nel tuo codice originale) */
       :root {
            --medium-marine: #0892d0  !important;
            --light-blue: #0892d0;
            --dark-marine: #0892d0 !important;
            --accent-green: #2ecc71;
            --light-gray: #f5f5f5;
            --dark-gray: #333;
            --submenu-bg: #e55d54;
            --active-color: #fff;
            --active-bg: #333;
            --top-bar-bg: #2c3e50;
            --top-bar-color: #ecf0f1;
        }

        body {
            font-family: 'Open Sans', sans-serif;
            margin: 0;
        }

        /* Stili per la Top Bar */
        .top-bar {
            color: #131414;
            padding: 10px 0;
            font-size: 0.9rem;
            border-bottom: 1px solid #f3f3f3;
        }

        .top-bar a {
            color: #6b6f73 !important;
            margin: 0 10px;
            text-decoration: none;
            transition: color 0.3s ease;
            font-size: 12px;
        }

        .top-bar a:hover {
            color: #2c3e50;
        }

        .top-bar-left, .top-bar-right {
            display: flex;
            align-items: center;
        }

        .top-bar-left > * {
            margin-right: 15px;
        }

        .top-bar-right > * {
            margin-left: 15px;
        }

        .top-bar-flags img {
            width: 24px;
            height: auto;
            margin-right: 5px;
            vertical-align: middle;
        }

        .top-bar-flags a {
            display: inline-block;
        }

        .top-bar-social a {
            font-size: 1.1rem;
        }

        .top-bar-phone {
            margin-left: auto;
        }

        .top-bar-phone a {
            font-weight: bold;
        }

       /* Stili per il menu principale */
        .uk-navbar-nav > li > a {
            color: #fff;
            text-transform: uppercase;
            font-weight: 600;
            transition: background-color 0.3s ease, color 0.3s ease;
            position: relative;
        }

        .uk-navbar-nav > li:hover > a,
        .uk-navbar-nav > li.uk-open > a {
            color: black;
        }

        /* Effetto hover per link del menu */
        .uk-navbar-nav > li > a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: var(--light-blue);
            transition: width 0.3s ease;
        }

        .uk-navbar-nav > li:hover > a::after,
        .uk-navbar-nav > li.uk-active > a::after {
            width: 100%;
        }


        /* Stili per il menu principale - Sticky e animato */
        .uk-navbar-container {
            background-color: rgba(44, 62, 80, 0.9);
            transition: background-color 0.3s ease;
        }
        
        /* Stile per il menu quando diventa sticky */
        nav.uk-navbar-container.uk-sticky {
            z-index: 1000 !important;
        }


        /* Stili per il sottomenu */
        .uk-navbar-dropdown {
            background-color: var(--submenu-bg);
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            min-width: 200px;
            padding: 10px 0;
        }

        .uk-navbar-dropdown-nav > li > a {

            color: #fff;
            padding: 8px 15px;
            transition: background-color 0.3s ease;
            font-weight: bold;
        }

        .uk-navbar-dropdown-nav > li > a:hover {
            background-color: rgba(0, 0, 0, 0.1);
            color: #fff;
            font-weight: bold;
        }

        /* Stili per la voce di menu attiva */
        .uk-navbar-nav > li.uk-active > a,
        .uk-navbar-dropdown-nav > li.uk-active > a {
            background-color: var(--active-bg);
            color: var(--active-color);
            font-weight: bold;
        }

        /* Stili per il menu mobile (offcanvas) */
        .uk-offcanvas-bar {
            background-color: var(--dark-marine);
            color: #fff;
        }

        .uk-nav-primary > li > a {
            color: #fff;
            font-weight: 600;
            transition: background-color 0.3s ease;
        }

        .uk-nav-primary > li > a:hover {
            background-color: rgba(255,255,255, 0.1);
        }

        .uk-offcanvas-close {
            color: #fff;
        }

        .social-icons a {
            color: #fff;
            margin: 0 10px;
            font-size: 1.2rem;
        }

        /* Nascondi la top bar nel menu mobile */
        @media (max-width: 959px) {
            .top-bar {
                display: none;
            }
        }

        /* Stili per il footer AGGIORNATI */
        footer {
            background-color: var(--dark-gray);
            color: #fff;
            padding: 30px 0 20px;
        }

        .footer-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 15px;
        }

        .footer-content > div {
            margin-bottom: 15px;
            padding: 0 10px;
        }

        .footer-content h4 {
            font-size: 16px;
            margin-bottom: 8px;
        }

        .footer-content ul {
            padding: 0;
            list-style: none;
            margin: 0;
        }

        .footer-content li {
            margin-bottom: 3px;
            font-size: 13px;
            line-height: 1.4;
        }

        .footer-content a {
            color: #fff;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-content a:hover {
            color: var(--light-blue);
        }

        .footer-social a {
            margin: 0 8px;
            font-size: 1.2rem;
        }

        footer .uk-text-center p {
            font-size: 12px;
            margin: 5px 0;
            opacity: 0.7;
        }

        .footer-legal {
            padding-top: 10px;
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 10px;
            font-size: 11px !important;
        }

        .footer-legal a, .footer-legal span {
            opacity: 0.7;
            margin: 0 5px;
        }

        .footer-legal a:hover {
            opacity: 1;
        }
		
        /* Stili per ship-automation */
        .ship-automation-hero {
            background-image: url('../impianti/impianti-elettrici-navali2.jpg');
            background-size: cover;
            background-position: center;
            padding: 100px 0;
            color: white;
            text-align: center;
            position: relative;
        }

        .ship-automation-hero h1 {
            font-size: 3rem;
            margin-bottom: 1.5rem;
            text-transform: uppercase;
            color: #fff;
        }

        .ship-automation-hero p {
            font-size: 1.2rem;
            max-width: 800px;
            margin: 0 auto;
        }

        /* Freccia verso il basso */
        .scroll-down-arrow {
            position: absolute;
            bottom: -86px;
            left: 50%;
            transform: translateX(-50%);
            font-size: 44px;
            color: white;
            animation: bounce 2s infinite;
            cursor: pointer;
            z-index: 3;
            text-decoration: none;
        }

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

        /* Overlay scuro */
        .ship-automation-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            z-index: 1;
        }

        .ship-automation-hero > * {
            position: relative;
            z-index: 2;
        }
		
        /* Nuovi stili per i contenuti */
        .feature-card {
            padding: 30px;
            border-radius: 8px;
            background-color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            height: 100%;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            color: var(--medium-marine);
            margin-bottom: 20px;
        }
        
        .feature-title {
            font-size: 1.4rem;
            color: var(--dark-gray);
            margin-bottom: 15px;
        }
        
        .brand-logo {
            max-width: 100%;
            height: auto;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: filter 0.3s ease, opacity 0.3s ease;
        }
        
        .brand-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
        }
        
        .tech-specs-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .tech-specs-table th {
            background-color: var(--medium-marine);
            color: white;
            padding: 12px 15px;
            text-align: left;
        }
        
        .tech-specs-table td {
            padding: 10px 15px;
            border-bottom: 1px solid #ddd;
        }
        
        .tech-specs-table tr:hover {
            background-color: #f5f5f5;
        }
        
        .cta-button {
            display: inline-block;
            background-color: var(--medium-marine);
            color: white;
            padding: 12px 30px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 600;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }
        
        .cta-button:hover {
            background-color: #0677a8;
            transform: translateY(-2px);
            text-decoration: none;
            color: white;
        }
        
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, var(--medium-marine), transparent);
            margin: 60px 0;
        }
        
        .testimonial {
            padding: 30px;
            border-radius: 8px;
            background-color: #f9f9f9;
            border-left: 4px solid var(--medium-marine);
            margin-bottom: 30px;
        }
        
        .testimonial-author {
            font-style: italic;
            color: #666;
            margin-top: 15px;
        }
        
        .image-gallery {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }
        
        .gallery-item {
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .gallery-item img {
            width: 100%;
            height: auto;
            transition: transform 0.5s ease;
        }
        
        .gallery-item:hover img {
            transform: scale(1.05);
        }
        
        .uk-sticky.uk-active {
            z-index: 980 !important;
            position: fixed !important;
            top: 0 !important;
            width: 100%;
        }

        .uk-sticky-placeholder {
            height: auto !important;
        }
        
        .uk-navbar-container {
            background-color: rgba(44, 62, 80, 0.9);
            z-index: 980;
        }

        .uk-sticky-fixed {
            z-index: 980 !important;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            width: 100% !important;
        }

        .uk-navbar-sticky .uk-navbar-container:not(.uk-navbar-transparent) {
            background: rgba(44, 62, 80, 0.9);
        }
        
        /* Sistema integrato grafico */
        .system-diagram {
            position: relative;
            border-radius: 8px;
            overflow: hidden;
            margin: 40px 0;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        }
        
        .system-diagram img {
            width: 100%;
            height: auto;
        }
        
        .system-point {
            position: absolute;
            width: 20px;
            height: 20px;
            background-color: var(--medium-marine);
            border: 2px solid white;
            border-radius: 50%;
            cursor: pointer;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }
        
        .system-point:hover {
            transform: scale(1.2);
            background-color: var(--accent-green);
        }
        
        .system-point-1 { top: 25%; left: 20%; }
        .system-point-2 { top: 40%; left: 50%; }
        .system-point-3 { top: 60%; left: 80%; }
        .system-point-4 { top: 75%; left: 30%; }
        
        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 50px auto;
        }
        
        .timeline::after {
            content: '';
            position: absolute;
            width: 6px;
            background-color: var(--medium-marine);
            top: 0;
            bottom: 0;
            left: 50%;
            margin-left: -3px;
        }
        
        .timeline-item {
            padding: 10px 40px;
            position: relative;
            width: 50%;
        }
        
        .timeline-item::after {
            content: '';
            position: absolute;
            width: 25px;
            height: 25px;
            right: -13px;
            background-color: white;
            border: 4px solid var(--medium-marine);
            top: 15px;
            border-radius: 50%;
            z-index: 1;
        }
        
        .timeline-left {
            left: 0;
        }
        
        .timeline-right {
            left: 50%;
        }
        
        .timeline-right::after {
            left: -13px;
        }
        
        .timeline-content {
            padding: 20px 30px;
            background-color: white;
            position: relative;
            border-radius: 6px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        /* Stili per i tooltip interattivi */
        .interactive-point {
            position: absolute;
            width: 30px;
            height: 30px;
            background-color: rgba(255, 255, 255, 0.7);
            border: 2px solid white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #212324;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            font-size: 12px;
        }

        .interactive-point:hover {
            transform: scale(1.2);
            background-color: var(--light-blue);
        }

        /* Posizioni dei punti interattivi */
        .point-1 { top: 75%; left: 92%; }
        .point-2 { top: 23%; left: 82%; }
        .point-3 { top: 85%; left: 78%; }
        .point-4 { top: 85%; left: 25%; }
        .point-5 { top: 78%; left: 97%; }
        .point-6 { top: 65%; left: 8%; }
        .point-7 { top: 65%; left: 60%; }
        .point-8 { top: 60%; left: 80%; }
        .point-9 { top: 48%; left: 65%; }
        .point-10 { top: 50%; left: 50%; }

        /* Stile per tooltip personalizzato */
        .tooltip-custom {
            position: absolute;
            background-color: white;
            border-radius: 6px;
            padding: 15px;
            width: 280px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.2);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 25;
        }

        .tooltip-custom h4 {
            color: var(--medium-marine);
            margin-top: 0;
            margin-bottom: 8px;
            font-size: 18px;
        }

        .tooltip-custom p {
            margin: 0;
            font-size: 14px;
            color: #666;
        }

        .interactive-point:hover + .tooltip-custom {
            opacity: 1;
            visibility: visible;
        }

        /* Posizionamento tooltip */
        .point-1 .tooltip-custom, .point-2 .tooltip-custom, .point-3 .tooltip-custom, .point-5 .tooltip-custom {
            top: 50%;
            left: -300px;
        }

        .point-4 .tooltip-custom, .point-6 .tooltip-custom, .point-8 .tooltip-custom {
            top: 50%;
            right: -300px;
        }

        .point-7 .tooltip-custom, .point-9 .tooltip-custom, .point-10 .tooltip-custom {
            bottom: 120%;
            left: 50%;
            transform: translateX(-50%);
        }

        /* Freccia del tooltip */
        .tooltip-custom:after {
            content: '';
            position: absolute;
            width: 12px;
            height: 12px;
            background-color: white;
            transform: rotate(45deg);
        }

        .point-1 .tooltip-custom:after, .point-2 .tooltip-custom:after, .point-3 .tooltip-custom:after, .point-5 .tooltip-custom:after {
            top: 50%;
            right: -6px;
            margin-top: -6px;
        }

        .point-4 .tooltip-custom:after, .point-6 .tooltip-custom:after, .point-8 .tooltip-custom:after {
            top: 50%;
            left: -6px;
            margin-top: -6px;
        }

        .point-7 .tooltip-custom:after, .point-9 .tooltip-custom:after, .point-10 .tooltip-custom:after {
            bottom: -6px;
            left: 50%;
            margin-left: -6px;
        }
		
		
		
		
		
		
		
		/* Additional styles for the Ship Automation page */

        .uk-button-primary {
            background-color: #0892d0;
            color: white;
            font-weight: bold;
            text-transform: uppercase;
            font-size: 0.8rem;
            padding: 7px 15px;
            border-radius: 3px;
        }
        
        .uk-button-primary:hover {
            background-color: #0677a8;
            color: white;
        }

        .uk-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .uk-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }

        .uk-heading-line {
            margin-bottom: 30px;
            font-weight: bold;
            color: #333;
        }

        /* Partner section styling */
        .uk-card img {
            width: auto;
        }

        /* Section divider */
        .section-divider {
            height: 2px;
            background: linear-gradient(to right, transparent, #0892d0, transparent);
            margin: 60px 0;
        }

        /* Testimonial styling */
        .testimonial {
            background-color: #f8f8f8;
            border-left: 4px solid #0892d0;
            padding: 20px;
            border-radius: 5px;
        }

        .testimonial-author {
            text-align: right;
            font-style: italic;
            color: #666;
        }

        /* Interactive diagram styling */
        .interactive-diagram {
            position: relative;
            margin: 40px 0;
        }

        .interactive-diagram img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        /* Call to action section */
        .uk-section-primary {
            background-color: #0892d0;
        }

        .uk-section-primary h2 {
            color: white;
            font-weight: bold;
        }

        .uk-section-primary .uk-text-lead {
            color: rgba(255,255,255,0.8);
        }

        .uk-section-primary .uk-button-default {
            background-color: transparent;
            color: white;
            border: 2px solid white;
            font-weight: bold;
        }

        .uk-section-primary .uk-button-default:hover {
            background-color: white;
            color: #0892d0;
        }

                /* Stili specifici per la pagina Design */
        .design-hero {
            background-image: url('../impianti/impianti-elettrici-navali2.jpg'); /* Percorso relativo corretto */  
            background-size: cover;
            background-position: center;
            padding: 150px 0; /* Aumentato il padding per dare più spazio */
            color: white;
            text-align: center;
            position: relative;
        }

        .design-hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5); /* Overlay più scuro */
            z-index: 1;
        }

        .design-hero h1 {
            font-size: 4rem; /* Aumentato la dimensione del titolo */
            margin-bottom: 1rem;
            text-transform: uppercase;
            color: #fff;
            position: relative;
            z-index: 2;
             font-weight: bold; /* Aggiunto grassetto */
        }
		
		

    /* Stile per hover effect sulla galleria */
    .uk-inline-clip {
        overflow: hidden;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .uk-inline-clip:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.15);
    }
    
    .uk-inline-clip img {
        transition: transform 0.5s ease;
    }
    
    .uk-inline-clip:hover img {
        transform: scale(1.05);
    }
    
    .uk-overlay-primary {
        background: rgba(8, 146, 208, 0.8);
    }
    
    .uk-transition-toggle:focus {
        outline: none;
    }
    
    /* Stile per la sezione finale */
  .uk-section-muted {
  background: #f8f8f8 !important;
}
    .uk-card {
        border-radius: 8px;
    }
    
.uk-text-lead {
  font-size: 1.5rem;
  line-height: 25px;
  color: #0892d0;
}
    
    .uk-button-large {
        padding: 0 40px;
        line-height: 50px;
        font-size: 1rem;
    }




/* TABS */
    .uk-tab > * > a {
        text-transform: uppercase;
        font-weight: 600;
        color: #333;
        transition: color 0.3s ease;
    }
    
    .uk-tab > .uk-active > a {
        color: #0892d0;
        border-color: #0892d0;
    }
    
    .uk-card {
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        border-radius: 4px;
    }
    
    .uk-card-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .uk-list-bullet > li {
        position: relative;
        padding-left: 30px;
        margin-bottom: 8px;
    }
    
    .uk-list-bullet > li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 8px;
        width: 8px;
        height: 8px;
        background-color: #0892d0;
        border-radius: 50%;
    }
    
    @media (max-width: 640px) {
        .uk-tab {
            flex-direction: column;
        }
        
        .uk-tab > * {
            flex: none;
            width: 100%;
        }
    }





