* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f1e8 0%, #e8dcc0 100%);
            min-height: 100vh;
        }

          form { background: white; padding: 2em; border-radius: 10px; width: 400px; margin: auto; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
    label { display: block; margin-top: 1em; }
    input, select, textarea {
      width: 100%; padding: 0.5em; border-radius: 5px;
      border: 1px solid #ccc;
    }
    button {
      margin-top: 1em; padding: 0.7em 2em; border: none;
      background: #4caf50; color: white; border-radius: 5px;
      cursor: pointer;
    }
    h1 { text-align: center; }

.beer-list ul {
  list-style: none;
  padding: 0;
}

.beer-card {
  background-color: #fff7eb;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  transition: box-shadow 0.3s;
}

.beer-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

        .footer {
              text-align: center;
              padding: 15px;
              background: linear-gradient(135deg, #2c5530 0%, #4a7c59 50%, #2c5530 100%);
              color: white;
              margin-top: 40px;
            }

        .header {
            background: linear-gradient(135deg, #2c5530 0%, #4a7c59 50%, #2c5530 100%);
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }

        .header-content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 20px;
        }

 .logo {
    width: 80px;
    height: 80px;
    background-image: url("/images/logo_fabrocks.png");
    background-color: #ebdbb1;
    border-radius: 50%;
    border: 3px solid #e8dcc0;
    
    background-size: 80% auto;       /* réduit l'image à 50% de la largeur, hauteur auto pour garder les proportions */
    background-position: center;     /* centre l'image */
    background-repeat: no-repeat;    /* évite la répétition */
    
    transition: transform 0.3s ease;
}

        .logo:hover {
            transform: scale(1.05);
        }

        .brand-info h1 {
            color: #f5f1e8;
            font-size: 2.2em;
            font-weight: bold;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            margin-bottom: 5px;
        }

        .brand-info .subtitle {
            color: #e8dcc0;
            font-size: 1.1em;
            font-weight: 300;
            letter-spacing: 1px;
        }

        .navigation {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .nav-links {
            display: flex;
            gap: 25px;
            list-style: none;
        }

        .nav-links a {
            color: #f5f1e8;
            text-decoration: none;
            font-weight: 500;
            padding: 8px 15px;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

       /* .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .nav-links a:hover::before {
            left: 100%;
        }*/

        .nav-links a:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .rating-badge {
            background: linear-gradient(135deg, #ff6b35, #f7931e);
            color: white;
            padding: 8px 16px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9em;
            display: flex;
            align-items: center;
            gap: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
        }

        .star {
            color: #fff;
            font-size: 1.2em;
        }

        .content {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }

        .welcome-section {
            background: white;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            text-align: center;
            margin-bottom: 30px;
        }

        .welcome-section h2 {
            color: #2c5530;
            font-size: 2em;
            margin-bottom: 15px;
        }

        .welcome-section p {
            color: #666;
            font-size: 1.1em;
            line-height: 1.6;
            max-width: 600px;
            margin: 0 auto;
        }

        .stats-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .stat-card {
            background: white;
            padding: 25px;
            border-radius: 15px;
            text-align: center;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .stat-card:hover {
            transform: translateY(-5px);
        }

          .info-beer{
   
            padding: 25px;
            border-radius: 15px;
            text-align: center;
  
        }

        .stat-number {
            font-size: 2.5em;
            font-weight: bold;
            color: #2c5530;
            margin-bottom: 10px;
        }

        .stat-label {
            color: #666;
            font-size: 1.1em;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 20px;
                padding: 20px;
            }

            .logo-section {
                flex-direction: column;
                text-align: center;
            }

            .brand-info h1 {
                font-size: 1.8em;
            }

            .navigation {
                flex-direction: column;
                gap: 15px;
            }

            .nav-links {
                flex-wrap: wrap;
                justify-content: center;
            }
   
        }

        .info-beer, .note-form, .notes, .beerxml {
  margin-bottom: 2rem;
}

.info-beer p {
  margin: 0.2rem 0;
}

.note-form form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.note-form input, .note-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.note-form button {
  background-color: #5d3a00;
  color: white;
  border: none;
  padding: 0.7rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}
.note-form button:hover {
  background-color: #7a4e00;
}

.notes .note {
  background-color: #fdf7ef;
  padding: 1rem;
 /* border-left: 5px solid #9c5400;*/
  margin-bottom: 1rem;
  border-radius: 8px;
}

.beerxml {
  background-color: #fffdf8;
  border-left: 5px solid #ffc800;
  padding: 1rem;
  border-radius: 8px;
}

.beerxml ul {
  list-style-type: none;
  padding: 0;
}
.beerxml li {
  padding: 0.3rem 0;
  border-bottom: 1px dashed #ccc;
}

.beerxml h3 {
  margin-top: 1.5rem;
  border-bottom: 2px solid #ffc800;
  padding-bottom: 0.3rem;
}
/* Section titles */
.beerxml h3 {
  margin-top: 2rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #333;
}

/* Nouvelle apparence des tableaux de recette */
.beerxml .ingredient-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.beerxml .ingredient-table thead {
  background-color: #f7f7f7;
  font-weight: bold;
  color: #444;
}

.beerxml .ingredient-table th,
.beerxml .ingredient-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  text-align: left;
}

.beerxml .ingredient-table th:last-child,
.beerxml .ingredient-table td:last-child {
  text-align: right;
}

.beerxml .ingredient-table tbody tr:last-child td {
  border-bottom: none;
}