/*paleta de colors personalitzada*/
        :root {
            --color-fons: #F8F4E9;
            --color-text: #3A3226;
            --color-titol: #9C4A1A;
            --color-destacat: #C7793F;
            --color-borde: #D9B382;
            --color-subtitol: #7A5C3C;
        }
/* Formats de text */
.centrat {
    text-align: center;
  }
.separador {
            border: none;
            height: 1px;
            background-image: linear-gradient(to right, transparent, #d4a017, transparent);
            margin: 2rem 0;
        }

/* body modern */
        body {
      font-family: 'Segoe UI', sans-serif;
      line-height: 1.6;
      background-color: #f8f9fa;
      color: #333;
      padding: 2rem;
      background-image: url('https://joallons.cat/receptes/img/estovallesgris.jpeg');
      background-size: 300px 300px;
      background-repeat: repeat;
      background-position: center;
      /* Fons subtil amb superposició blanca translúcida */
      position: relative;
    }

/* CSS per a la navegació .etique */
        .etique {
            font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
            background-color: #f9f4e8; /* Fons crema com una truita */
            border-radius: 12px;
            padding: 0.5rem 1rem;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            margin: 1rem 0;
        }

        .etique ul {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            padding: 0;
            margin: 0;
            list-style: none;
        }

        .etique a {
            text-decoration: none;
            color: #5a4a3a; /* Color marró com una patata rostida */
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 8px;
            transition: all 0.3s ease;
            position: relative;
        }

        .etique a:hover {
            color: #c45a1a; /* Taronja com el foc de la paella */
            background-color: rgba(212, 160, 23, 0.1); /* Or translúcid */
        }

        .etique a::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 2px;
            background: #d4a017; /* Línia daurada com l'oli d'oliva */
            transition: all 0.3s ease;
        }

        .etique a:hover::after {
            width: 80%;
            left: 10%;
        }

        /* Versió mòbil (responsive) menú navegació */
        @media (max-width: 768px) {
            .etique ul {
                flex-direction: column;
                gap: 0.5rem;
            }
            
            .etique a {
                display: block;
                text-align: center;
            }
        }

    /* Cites Autors */
    .cita-container {
            margin: 2rem 0;
        }

        .cita {
            background-color: #fff9e6;
            border-left: 4px solid #d4a017;
            padding: 1.5rem;
            margin: 1rem 0;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            position: relative;
        }

        .cita:before {
            content: "❝";
            font-size: 4rem;
            color: rgba(212, 160, 23, 0.2);
            position: absolute;
            left: 10px;
            top: -10px;
        }

        .cita-text {
            font-size: 1.1rem;
            line-height: 1.6;
            font-style: italic;
        }

        .cita-autor {
            margin-top: 1rem;
            text-align: right;
            font-weight: bold;
            color: #8c4a1f;
        }

        .cita-autor:before {
            content: "— ";
        }

    /* Estil per a la imatge principal */        
        .main-image {
            display: block;
            margin: 0 auto;
            max-width: 600px;
            width: 100%;
            border-radius: 10px;
        }
/* Estil per al logo */
    .logo {
      font-size: 32px;
      color: #1877F2;
      border: none;
      padding: 0;
      border-radius: 10;
      position: relative;
    }
        header {
            text-align: center;
            margin-bottom: 30px;
            border-bottom: 2px dashed var(--color-borde);
            padding-bottom: 20px;
        }

        h1, h2, h3 {
      color: #2d3748;
      margin-top: 2rem;
      margin-bottom: 0.5rem;
        }

        p {
      margin-bottom: 1rem;
    }

    ul {
      margin-bottom: 1rem;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
      margin-bottom: 2rem;
    }

    th, td {
      padding: 1rem;
      border-bottom: 1px solid #ddd;
      text-align: left;
    }

    th {
      background-color: #e2f0e2;
      color: #2d3748;
    }

    tr:hover {
      background-color: #f0f8f0;
    }

    .container {
      max-width: 900px;
      margin: 0 auto;
      background: #fff;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    }

    .download-btn {
      display: inline-block;
      background-color: #a7d9a5;
      color: #fff;
      padding: 0.75rem 1.5rem;
      border-radius: 5px;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease;
      margin-top: 1rem;
    }

    .download-btn:hover {
      background-color: #88c286;
    }

    @media (max-width: 600px) {
      body {
        padding: 1rem;
      }

      .container {
        padding: 1rem;
      }
    }
        .intro-historia {
            background-color: rgba(217, 179, 130, 0.2);
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 30px;
            border-left: 4px solid var(--color-destacat);
        }

        .recepta-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-top: 20px;
            border: 4px solid var(--color-borde);
            border-radius: 10px;
            margin-bottom: 20px;
            padding: 20px;
        }

        .ingredients {
            background-color: rgba(156, 74, 26, 0.05);
            padding: 20px;
            border-radius: 8px;
            border: 1px dashed var(--color-destacat);
        }
        .preparacio {
            background-color: #524f4d0d;
            padding: 20px;
            border-radius: 8px;
            border: 1px dashed var(--color-destacat);
        }
        .preparacio ol {
            padding-left: 20px;
            
        }

        .preparacio li {
            margin-bottom: 10px;
            
        }

        .consell {
            font-style: italic;
            background-color: rgba(217, 179, 130, 0.1);
            padding: 15px;
            border-radius: 8px;
            margin-top: 20px;
        }

        .etiqueta {
            display: inline-block;
            background-color: var(--color-destacat);
            color: white;
            padding: 3px 10px;
            border-radius: 15px;
            font-size: 0.8em;
            margin-right: 5px;
            margin-bottom: 5px;
        }

        footer {
            text-align: center;
            margin-top: 40px;
            font-size: 0.9em;
            color: var(--color-subtitol);
            border-top: 2px dashed var(--color-borde);
            padding-top: 20px;
        }

        @media (max-width: 600px) {
            .recepta-container {
                grid-template-columns: 1fr;
            }
        }
   