/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

@font-face {
    font-family: "CelebriSans";
    src: url("Cerebri-Sans-Bold/CerebriSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Sacramento";
    src: url("Sacramento/Sacramento-Regular.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}


body {
  font-family: 'CelebriSans', sans-serif;
  color: #fff;
  background: #000;
}

/* Top Bar */
.top-bar {
  width: 100%;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 120px;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  height: 80px;
  width: auto;
  max-width: 90%;
  margin: auto
}

/* Hero Section */
.hero {
  width: 100%;
  min-height: 100vh;
  background: url('composizione-di-diversi-ingredienti-deliziosi.jpg') no-repeat center/cover;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  max-width: 90%;
  width: 100%;
}

.content h1 {
  font-size: 5rem;
  font-weight: 700;
  text-transform: capitalize;
  font-family: 'Sacramento', cursive;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 1.6s ease forwards;
  word-wrap: break-word;
}

.content h2 {
  margin-bottom: 30px;
}

.main-btn {
  background-color: #006f94;
  color: #fff;
  border: none;
  font-family: "CelebriSans";
  font-size: 3rem;
  padding: 15px 40px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.4s ease;
  opacity: 0;
  animation: fadeInUp 2s ease forwards;
  animation-delay: 0.3s;
}

.main-btn:hover {
  background-color: #524a4c;
  transform: translateY(-4px);
}

/* Footer Section */
.footer-section {
  background-color: #524a4c;
  padding: 1px 20px 60px;
  color: #fff;
  width: 100%;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  width: 100%;
}

.footer-logo {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
  max-width: 100%;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #006f94;
}

.footer-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #fff;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.footer-link:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #006f94;
}

.footer-policy {
  margin-top: 25px;
}

.footer-policy a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  padding-top: 25px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: #fff;
  color: #524a4c;
  border-radius: 20px;
  padding: 20px 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  font-family: 'CelebriSans', sans-serif;
  max-width: 800px;
  margin: 0 auto;
}

.cookie-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cookie-content p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-buttons button {
  padding: 8px 18px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: 'CelebriSans', sans-serif;
  transition: transform 0.3s ease;
}

.btn-accept:hover,
.btn-reject:hover {
  transform: scale(1.2);
}

.btn-accept {
  background-color: #006f94;
  color: #fff;
  border: none;
}

.btn-reject {
  background-color: #fff;
  color: #524a4c;
  border: 2px solid #524a4c;
}

.btn-info {
  background: none;
  color: #006f94;
  border: none;
  text-decoration: none;
}

.btn-info:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .top-bar {
    height: 70px;
    justify-content: center;
    padding-left: 0;
  }

  .logo {
    height: 55px;
  }

  .hero {
    background-attachment: scroll;
    padding: 0 10px;
  }

  .content h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
  }

  .main-btn {
    font-size: 1.2rem;
    padding: 14px 32px;
    border-radius: 40px;
  }

  .footer-section {
    padding: 1px 15px 30px;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-title {
    font-size: 1.1rem;
  }

  .footer-desc {
    font-size: 0.95rem;
  }

  .social-links a {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }

  .footer-bottom {
    font-size: 0.8rem;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 8px;
  }
}
