@import url("https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

header {
  position: relative;
  z-index: 1;
}

.navbar-glass {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-glass .navbar-brand span {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0057d9;
  letter-spacing: 0.5px;
  font-family: "Montserrat", sans-serif;
}

.navbar-glass .nav-link {
  color: #111;
  font-weight: 500;
  margin-left: 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-glass .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #0057d9;
  transition: width 0.3s ease;
}

.navbar-glass .nav-link:hover {
  color: #0057d9;
}

.navbar-glass .nav-link:hover::after {
  width: 100%;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 48px;
  width: auto;
}

.navbar-brand span {
  font-weight: 700;
  font-size: 1.1rem;
  color: #0057d9;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: #0057d9;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #0057d9;
}

#chi-siamo,
#campi,
#eventi,
#dove-siamo,
#contatti {
  scroll-margin-top: 55px;
}

.hero {
  position: relative;
  height: calc(100vh - 75px);
  margin-top: 75px;
  background: url("../images/hero.jpg") 48% center / cover no-repeat;
  display: flex;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding-inline: 1rem;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 40% 50%,
      rgba(255, 255, 255, 0.25) 0%,
      rgba(0, 0, 0, 0.4) 25%,
      rgba(0, 0, 0, 0.85) 65%,
      rgba(0, 0, 0, 0.95) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 2rem;
  height: 100%;
}

.hero-title {
  font-size: clamp(4rem, 8vw, 7rem);
  text-wrap: balance;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.btn-custom {
  background-color: #ffe600;
  color: #000;
  font-weight: bold;
  border-radius: 5px;
  padding: 0.75rem 1.5rem;
  transition: background 0.3s;
  border: none;
}

.btn-custom:hover {
  background-color: #ffd000;
  color: #000;
}

.section {
  padding: 4rem 2rem;
}

.section h2 {
  color: #0057d9;
  margin-bottom: 1rem;
}

.img-responsive {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 1rem;
}

.footer {
  background-color: #c0392b;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
}

.img-fixed {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.scroll-top-ball {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 80px;
  height: 80px;
  z-index: 999;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.scroll-top-ball img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  z-index: 1;
  position: absolute;
}

.scroll-top-ball i {
  font-size: 26px;
  color: #000;
  z-index: 2;
  position: relative;
}

.img-sm {
  max-height: 300px;
  object-fit: cover;
}

.map-container {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-top: 4px solid #28a745;
  border-bottom: 4px solid #28a745;
}

#cookieAlert {
  background-color: #ffffff;
  color: #111111;
  padding: 1rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1050;
}

#cookieAlert a {
  color: #0057d9;
  text-decoration: underline;
}

.btn-coockie {
  background-color: #0057d9;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
