    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-color: #2563eb;
            --primary-dark: #1e40af;
            --secondary-color: #f59e0b;
            --accent-color: #10b981;
            --text-dark: #1f2937;
            --text-light: #6b7280;
            --bg-light: #f9fafb;
            --border-color: #e5e7eb;
			# forza UTF-8 per tutti i file .html, .css, .js
			AddDefaultCharset UTF-8
			AddCharset UTF-8 .html .css .js .json
       }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
            background: url('immagini/sfondo/body.jpg') repeat;
            color: var(--text-dark);
            line-height: 1.7;
            transition: background 0.5s ease;
            font-size: 16px;
            position: relative;
            overflow-x: hidden;
        }
        
        body.bg-moto { background: url('immagini/sfondo/moto.gif') repeat; }
        body.bg-gite { background: url('immagini/sfondo/gite.gif') repeat; }
        body.bg-aereo { background: url('immagini/sfondo/aereo.gif') repeat; }
        body.bg-spider { background: url('immagini/sfondo/spider.gif') repeat; }
        body.bg-sub { background: url('immagini/sfondo/sub.gif') repeat; }
        body.bg-home { background: url('immagini/sfondo/home.gif') repeat; }

        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(40px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes fadeInScale {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        
        @keyframes slideInLeft {
            from { opacity: 0; transform: translateX(-60px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(60px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        
        @keyframes shimmer {
            0% { background-position: -1000px 0; }
            100% { background-position: 1000px 0; }
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        header {
            background: linear-gradient(135deg, rgba(37, 99, 235, 0.95) 0%, rgba(30, 64, 175, 0.95) 100%);
            backdrop-filter: blur(10px);
            color: white;
            padding: 3rem 0;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
            position: relative;
            overflow: hidden;
            animation: fadeInScale 0.8s ease-out;
        }
        
        header::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 200%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            animation: shimmer 3s infinite;
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 3rem;
            position: relative;
            z-index: 1;
        }

        h1 {
            font-size: 3rem;
            font-weight: 700;
            letter-spacing: -0.02em;
            margin-bottom: 0.5rem;
            animation: slideInLeft 0.8s ease-out;
        }

        .subtitle {
            font-size: 1.25rem;
            opacity: 0.95;
            font-weight: 400;
            margin-top: 0.75rem;
            letter-spacing: 0.01em;
            animation: slideInRight 0.8s ease-out 0.2s backwards;
        }

        nav {
            background: rgba(255, 255, 255, 0.98);
            backdrop-filter: blur(10px);
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid var(--border-color);
            animation: fadeInUp 0.6s ease-out 0.3s backwards;
        }

        nav ul {
            list-style: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        nav a {
            display: block;
            padding: 1.25rem 2rem;
            color: var(--text-light);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border-bottom: 3px solid transparent;
            font-weight: 500;
            font-size: 0.95rem;
            position: relative;
            overflow: hidden;
        }
        
        nav a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background: var(--primary-color);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateX(-50%);
        }

        nav a:hover {
            background: var(--bg-light);
            color: var(--primary-color);
            transform: translateY(-2px);
        }
        
        nav a:hover::before {
            width: 100%;
        }
        
        nav a.active {
            color: var(--primary-color);
            background: rgba(37, 99, 235, 0.05);
        }
        
        nav a.active::before {
            width: 100%;
        }

        .category-cards {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
            gap: 2.5rem;
            margin: 4rem 0;
        }

        .category-card {
            background: white;
            border-radius: 16px;
            padding: 3rem 2.5rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out forwards;
        }
        
        .category-card:nth-child(1) { animation-delay: 0.1s; }
        .category-card:nth-child(2) { animation-delay: 0.2s; }
        .category-card:nth-child(3) { animation-delay: 0.3s; }
        .category-card:nth-child(4) { animation-delay: 0.4s; }

        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: var(--primary-color);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .category-card::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            border-radius: 50%;
            background: rgba(37, 99, 235, 0.1);
            transform: translate(-50%, -50%);
            transition: width 0.6s ease, height 0.6s ease;
        }

        .category-card.moto::before { background: linear-gradient(90deg, #ef4444, #dc2626); }
        .category-card.gite::before { background: linear-gradient(90deg, var(--primary-color), var(--primary-dark)); }
        .category-card.aereo::before { background: linear-gradient(90deg, var(--primary-color), var(--primary-dark)); }
        .category-card.spider::before { background: linear-gradient(90deg, var(--primary-color), var(--primary-dark)); }
        .category-card.sub::before { background: linear-gradient(90deg, var(--secondary-color), #d97706); }

        .category-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        }

        .category-card:hover::before { transform: scaleX(1); }
        .category-card:hover::after { width: 500px; height: 500px; }

        .category-icon {
            font-size: 3.5rem;
            margin-bottom: 1.5rem;
            display: inline-block;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            z-index: 1;
        }
        
        .category-card:hover .category-icon {
            transform: scale(1.2) rotate(5deg);
            animation: float 2s ease-in-out infinite;
        }

        .category-card h2 {
            font-size: 1.75rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text-dark);
            position: relative;
            z-index: 1;
        }

        .category-card p {
            color: var(--text-light);
            margin-bottom: 1.5rem;
            font-size: 1rem;
            position: relative;
            z-index: 1;
        }

        .travel-count {
            font-size: 2.25rem;
            font-weight: 300;
            color: var(--primary-color);
            letter-spacing: -0.02em;
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }
        
        .category-card:hover .travel-count { transform: scale(1.1); }

        .search-box {
            margin: 3rem 0;
            text-align: center;
            opacity: 0;
            animation: fadeInScale 0.6s ease-out 0.4s forwards;
        }

        .search-box input {
            padding: 1rem 1.75rem;
            width: 100%;
            max-width: 600px;
            border: 2px solid var(--border-color);
            border-radius: 12px;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-family: 'Inter', sans-serif;
        }

        .search-box input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
            transform: translateY(-2px);
        }

        .area-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            margin: 3rem 0;
            justify-content: center;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out 0.5s forwards;
        }

        .area-filter {
            padding: 0.75rem 1.5rem;
            background: white;
            border: 2px solid var(--border-color);
            border-radius: 24px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-light);
        }

        .area-filter:hover {
            border-color: var(--primary-color);
            color: var(--primary-color);
            background: rgba(37, 99, 235, 0.05);
            transform: translateY(-3px);
        }
        
        .area-filter.active {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            transform: scale(1.05);
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }

        .gallery-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,0.05);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            border: 1px solid var(--border-color);
            opacity: 0;
            animation: fadeInScale 0.5s ease-out forwards;
        }
        
        .gallery-card:nth-child(n) { animation-delay: calc(0.05s * var(--i)); }

        .gallery-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 0 25px 50px rgba(0,0,0,0.15);
        }

        .gallery-card img {
            width: 100%;
            height: 240px;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .gallery-card:hover img { transform: scale(1.15); }

        .gallery-info { padding: 2rem; }

        .gallery-info h3 {
            font-size: 1.5rem;
            color: var(--text-dark);
            margin-bottom: 0.75rem;
            font-weight: 600;
            transition: color 0.3s ease;
        }
        
        .gallery-card:hover h3 { color: var(--primary-color); }

        .gallery-info p {
            color: var(--text-light);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .gallery-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-color);
        }

        .photo-count {
            padding: 0.4rem 1rem;
            background: var(--bg-light);
            border-radius: 20px;
            font-size: 0.85rem;
            color: var(--text-light);
            font-weight: 500;
            transition: all 0.3s ease;
        }
        
        .gallery-card:hover .photo-count {
            background: var(--primary-color);
            color: white;
            transform: scale(1.05);
        }

        .area-badge {
            padding: 0.4rem 1rem;
            background: rgba(37, 99, 235, 0.1);
            color: var(--primary-color);
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .gallery-card:hover .area-badge {
            background: var(--primary-color);
            color: white;
        }

        .story-badge {
            display: inline-block;
            padding: 0.3rem 0.6rem;
            background: #27ae60;
            color: white;
            border-radius: 15px;
            font-size: 0.75rem;
            font-weight: 500;
            margin-left: 0.5rem;
            animation: pulse 2s ease-in-out infinite;
        }

        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 1000;
            align-items: center;
            justify-content: center;
        }

        .lightbox.active { display: flex; }

        .lightbox-content {
            position: relative;
            max-width: 90%;
            max-height: 90%;
            animation: fadeInScale 0.4s ease-out;
        }

        .lightbox img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
        }

        .lightbox-close, .lightbox-nav {
            background: rgba(255,255,255,0.2);
            color: white;
            border: none;
            font-size: 2rem;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
        }

        .lightbox-close {
            position: absolute;
            top: 20px;
            right: 20px;
        }

        .lightbox-close:hover, .lightbox-nav:hover {
            background: rgba(255,255,255,0.4);
            transform: scale(1.1);
        }

        .lightbox-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
        }
        
        .lightbox-nav:hover { transform: translateY(-50%) scale(1.1); }
        .lightbox-prev { left: 20px; }
        .lightbox-next { right: 20px; }

        .photo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
            margin-top: 2rem;
        }

        .photo-item {
            cursor: pointer;
            overflow: hidden;
            border-radius: 8px;
            position: relative;
            padding-bottom: 75%;
            opacity: 0;
            animation: fadeInScale 0.4s ease-out forwards;
        }

        .photo-item img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .photo-item:hover img { transform: scale(1.15); }

        .back-button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 2.5rem;
            padding: 0.875rem 1.75rem;
            background: var(--primary-color);
            color: white;
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: none;
            cursor: pointer;
            font-weight: 500;
            font-size: 0.95rem;
            opacity: 0;
            animation: slideInLeft 0.6s ease-out forwards;
        }

        .back-button:hover {
            background: var(--primary-dark);
            transform: translateX(-8px);
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
        }

        footer {
            background: linear-gradient(135deg, rgba(31, 41, 55, 0.95) 0%, rgba(17, 24, 39, 0.95) 100%);
            backdrop-filter: blur(10px);
            color: white;
            padding: 3rem 0;
            margin-top: 5rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-section h3 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: white;
        }

        .footer-section p, .footer-section a {
            color: rgba(255,255,255,0.8);
            text-decoration: none;
            line-height: 1.8;
            font-size: 0.95rem;
            transition: all 0.3s ease;
        }

        .footer-section a:hover {
            color: white;
            transform: translateX(5px);
            display: inline-block;
        }

        .footer-bottom {
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
            text-align: center;
        }

        #world-map {
            height: 500px;
            width: 100%;
            border-radius: 12px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            margin: 2rem 0;
        }
        
        .map-container {
            background: white;
            padding: 2rem;
            border-radius: 12px;
            margin: 2rem 0;
            opacity: 0;
            animation: fadeInScale 0.6s ease-out forwards;
        }
        
        .map-popup h3 {
            margin: 0 0 0.5rem 0;
            color: #2c3e50;
        }
        
        .map-popup p {
            margin: 0 0 0.5rem 0;
            color: #7f8c8d;
            font-size: 0.9rem;
        }
        
        .map-popup-btn {
            display: inline-block;
            padding: 0.5rem 1rem;
            background: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            font-size: 0.9rem;
            margin-top: 0.5rem;
            transition: all 0.3s ease;
        }
        
        .map-popup-btn:hover {
            background: #2980b9;
            transform: translateY(-2px);
        }
        
        .map-toggle {
            text-align: center;
            margin: 2rem 0;
            opacity: 0;
            animation: fadeInUp 0.6s ease-out 0.3s forwards;
        }
        
        .map-toggle button {
            padding: 0.8rem 1.5rem;
            background: #3498db;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
        }
        
        .map-toggle button:hover {
            background: #2980b9;
            transform: translateY(-3px);
            box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
        }
        
        .bikes-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .bike-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            opacity: 0;
            animation: fadeInUp 0.5s ease-out forwards;
        }
        
        .bike-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
        
        .bike-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .bike-card:hover img { transform: scale(1.1); }
        
        .bike-info { padding: 1.5rem; }
        
        .bike-info h3 {
            font-size: 1.4rem;
            color: #2c3e50;
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
        }
        
        .bike-card:hover h3 { color: var(--primary-color); }
        
        .bike-info .bike-model {
            color: #7f8c8d;
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }
        
        .bike-info p {
            color: #555;
            line-height: 1.6;
            font-size: 0.9rem;
        }
        
        .bike-specs {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 1rem;
        }
        
        .bike-spec {
            padding: 0.3rem 0.8rem;
            background: #ecf0f1;
            border-radius: 15px;
            font-size: 0.85rem;
            color: #555;
            transition: all 0.3s ease;
        }
        
        .bike-card:hover .bike-spec {
            background: var(--primary-color);
            color: white;
            transform: translateY(-2px);
        }

        @media (max-width: 768px) {
            h1 { font-size: 2rem; }
            .container { padding: 0 1.5rem; }
            .category-cards { grid-template-columns: 1fr; }
            .gallery-grid { grid-template-columns: 1fr; }
            .bikes-grid { grid-template-columns: 1fr; }
            nav a { padding: 1rem 1.25rem; font-size: 0.9rem; }
            .footer-content { grid-template-columns: 1fr; gap: 2rem; }
        }
    </style>
