<!DOCTYPE html>
<html lang="it">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Pagina Non Trovata - Argo</title>
    <link rel="stylesheet" href="styles.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Outfit:wght@200;300;400;500&display=swap" rel="stylesheet">
    <style>
      .error-container {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem;
        background-color: var(--primary-color);
        color: var(--secondary-color);
      }

      .error-content {
        max-width: 600px;
      }

      .error-title {
        font-size: 8rem;
        font-weight: 200;
        margin-bottom: 1rem;
        line-height: 1;
      }

      .error-message {
        font-size: 2rem;
        margin-bottom: 2rem;
        font-weight: 300;
      }

      .error-description {
        font-size: 1.2rem;
        margin-bottom: 3rem;
        opacity: 0.8;
      }

      .home-button {
        display: inline-block;
        padding: 1rem 3rem;
        background-color: transparent;
        color: var(--secondary-color);
        text-decoration: none;
        border: 1px solid var(--secondary-color);
        border-radius: 50px;
        font-size: 0.9rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        transition: all 0.3s ease;
      }

      .home-button:hover {
        background-color: var(--secondary-color);
        color: var(--primary-color);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
      }

      @media (max-width: 768px) {
        .error-title {
          font-size: 6rem;
        }

        .error-message {
          font-size: 1.5rem;
        }

        .error-description {
          font-size: 1rem;
        }
      }
    </style>
  </head>
  <body>
    <nav class="navbar">
      <a href="index.html" class="logo">
        <img src="Argo1.png" alt="Argo Logo" class="special-logo">
      </a>
      <button class="mobile-menu-toggle">
        <span></span>
        <span></span>
        <span></span>
      </button>
      <div class="nav-links">
        <a href="index.html">Home</a>
        <a href="chi-siamo.html">Chi Siamo</a>
        <a href="eventi.html">Eventi</a>
        <a href="team.html">Il Nostro Team</a>
        <a href="contributi.html">I Tuoi Spunti</a>
        <a href="contatti.html">Contatti</a>
      </div>
    </nav>
    <div class="mobile-menu-overlay"></div>

    <div class="error-container">
      <div class="error-content">
        <h1 class="error-title">404</h1>
        <h2 class="error-message">Pagina Non Trovata</h2>
        <p class="error-description">La pagina che stai cercando non esiste o è stata spostata. Torna alla home per continuare la navigazione.</p>
        <a href="index.html" class="home-button">Torna alla Home</a>
      </div>
    </div>

    <script>
      document.addEventListener('DOMContentLoaded', function() {
        const menuToggle = document.querySelector('.mobile-menu-toggle');
        const navLinks = document.querySelector('.nav-links');
        const overlay = document.querySelector('.mobile-menu-overlay');
        
        function toggleMenu() {
          menuToggle.classList.toggle('active');
          navLinks.classList.toggle('active');
          overlay.classList.toggle('active');
          document.body.classList.toggle('menu-open');
        }
        
        menuToggle.addEventListener('click', toggleMenu);
        overlay.addEventListener('click', toggleMenu);
        
        const links = document.querySelectorAll('.nav-links a');
        links.forEach(link => {
          link.addEventListener('click', () => {
            if (navLinks.classList.contains('active')) {
              toggleMenu();
            }
          });
        });
      });
    </script>
  </body>
</html>
