body{
    color:#312622;
}

.logo-responsive {
    height: 90px;
    max-width: 100%;
    width: auto;
}
.btn-custom {
    background-color: #9b7550;
    color: #ffffff;
    border: none;
    padding:5px;
    font-size: 110%;
}

.btn-custom:hover {
    background-color: #9e9c99;
    color: #351f02;
}

img.clickable {
  cursor: pointer;
}

.hero-title-home {
      font-size: 2.5rem;
      font-weight: bold;
    }
    .hero-subtitle-home {
      font-size: 1.5rem;
      margin-bottom: 30px;
      color: #6c757d;
    }
    .content-text-home {
      font-size: 1.1rem;
      max-width: 800px;
      margin: 0 auto 50px auto;
    }
    .image-card-home {
      position: relative;
      overflow: hidden;
      border-radius: 10px;
      transition: transform 0.3s;
      max-width: 98%;
      margin-bottom:20px;
    }
    .image-card-home:hover {
      transform: scale(1.03);
    }
    .image-card-home img {
      width: 100%;
      height: auto;
      display: block;
    }
    .image-overlay-home {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.4);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      font-weight: bold;
      opacity: 0;
      transition: opacity 0.3s;
    }
    .image-card-home:hover .image-overlay-home {
      opacity: 1;
    }



  
  /* Banner */


  .privacy-banner {
    position: fixed; bottom: 20px; left: 50%;
    transform: translateX(-50%); width: 90%; max-width: 600px;
    background: #1c1c1c; color: white; padding: 15px;
    border-radius: 8px; box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
    display: none; z-index: 9999;
  }
  .privacy-banner.show { animation: slideUp 0.5s ease forwards; display: block; }
  .privacy-banner.hide { animation: fadeOut 0.3s ease forwards; }
  .privacy-buttons { margin-top: 10px; text-align: right; }
  .privacy-buttons button {
    padding: 8px 15px; margin-left: 8px; border: none; border-radius: 5px; cursor: pointer;
  }
  .accept-btn { background: #4CAF50; color: white; }
  .decline-btn { background: #f44336; color: white; }
  .customize-btn { background: #ffa500; color: white; }


.privacy-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    z-index: 9999;
}

.language-switch a {
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.language-switch a:hover {
    text-decoration: underline;
}


  /* Pannello impostazioni */
  .privacy-settings {
    position: fixed; top: 50%; left: 50%;
    background: #fff; color: #333; padding: 20px; width: 90%; max-width: 500px;
    border-radius: 10px; box-shadow: 0px 4px 15px rgba(0,0,0,0.3);
    display: none; z-index: 10000; transform: translate(-50%, -50%);
  }
  .privacy-settings.show { animation: fadeInDown 0.4s ease forwards; display: block; }
  .privacy-settings.hide { animation: fadeOut 0.3s ease forwards; }

  /* Box introduttivo */
  .intro-box {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
  }

  .cookie-option { margin-bottom: 12px; }
  .cookie-description {
    font-size: 12px;
    color: #555;
    margin-left: 22px;
  }

  .settings-buttons { text-align: right; margin-top:10px; }
  .settings-buttons button {
    padding: 8px 15px; margin-left: 8px; border: none; border-radius: 5px; cursor: pointer;
  }

/* 🔹 Controlli Privacy e Lingua */
.privacy-controls {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #1c1c1c;
    color: white;
    border-radius: 50px;
    padding: 5px 12px;
    display: flex;
    gap: 10px;
    font-size: 12px;
    align-items: center;
    z-index: 9999;
        width: 140px;   /* 👈 larghezza fissa */
}

.privacy-controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

.language-switch a {
    color: #fff;
    text-decoration: none;
}
.language-switch a:hover {
    text-decoration: underline;
}
  /* Animazioni */
  @keyframes slideUp { from { transform: translate(-50%, 100%); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
  @keyframes fadeInDown { from { transform: translate(-50%, -20%); opacity: 0; } to { transform: translate(-50%, -50%); opacity: 1; } }
  @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }

@media (max-width: 767.98px) {
    .logo-responsive {
        height: 50px;
    }
}