/* 🔝 Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 10px 10px;
  z-index: 10;
  flex-wrap: wrap;
}

.logo {
  font-size: 1rem;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ff4d4d;
}

/* 📸 Galleria */
body {
  margin: 0;
  background-color: #000;
  font-family: Arial, sans-serif;
}

.photo-container {
  position: relative;
  width: 100%;
  height: 100vh;
  padding-top: 60px; /* spazio per navbar */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#photo {
  max-width: 90%;
  max-height: 70vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.image-counter {
  margin-top: 10px;
  color: white;
  font-size: 1.1em;
}

.controls {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.controls button {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
}

.controls button:hover {
  transform: scale(1.2);
}

.like-section {
  font-size: 2rem;
  color: white;
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

#heart {
  margin-right: 10px;
}

.page-section {
  margin-top: 120px;
  padding: 40px;
  background-color: #111;
  color: #eee;
  font-family: 'Arial', sans-serif;
}

