  body {
      margin: 0;
      font-family: "Segoe UI", Arial, sans-serif;
      background-color: #000;
      color: #fff;
    }

    a {
      color: #00bfff;
      text-decoration: none;
    }

    /* --- HEADER --- */
    header {
      position: relative;
      background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1500&q=80');
      background-size: cover;
      background-position: center;
      height: 300px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      overflow: hidden;
    }

    header::after {
      content: "";
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background-color: rgba(0,0,0,0.6);
      z-index: 1;
    }

    header h1, header p {
      position: relative;
      z-index: 2;
      margin: 0;
    }

    header h1 {
      font-size: 2.5em;
      letter-spacing: 2px;
    }

    header p {
      font-size: 1.2em;
      color: #ddd;
    }

    /* --- LOGO HEADER --- */
    .logo-header {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 80px;
      height: auto;
      z-index: 3;
      transition: transform 0.3s;
    }

    .logo-header:hover {
      transform: scale(1.1);
    }

    /* --- CONTENUTO PRINCIPALE --- */
    .container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 20px;
      padding: 40px;
    }

    .card {
      background-color: #111;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 0 10px rgba(255,255,255,0.1);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .card:hover {
      transform: translateY(-5px);
      box-shadow: 0 0 20px rgba(0,255,255,0.3);
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s;
    }

    .card img:hover {
      transform: scale(1.05);
    }

    .card-content {
      padding: 20px;
    }

    .card h3 {
      margin-top: 0;
      color: #00bfff;
    }

    .card p {
      color: #ccc;
      line-height: 1.4em;
    }

    .card a.button {
      display: inline-block;
      margin-top: 10px;
      background-color: #00bfff;
      color: #000;
      padding: 10px 20px;
      border-radius: 8px;
      font-weight: bold;
      transition: background-color 0.3s;
    }

    .card a.button:hover {
      background-color: #00ffff;
    }

    /* --- FOOTER --- */
    footer {
      position: relative;
      background-color: #111;
      color: #aaa;
      text-align: center;
      padding: 40px 0 20px 0;
      font-size: 0.9em;
      border-top: 1px solid #222;
    }

    .logo-footer {
      position: absolute;
      bottom: 10px;
      left: 20px;
      width: 50px;
      opacity: 0.8;
      transition: opacity 0.3s;
    }

    .logo-footer:hover {
      opacity: 1;
    }