/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.75;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #111;
  color: #fff;
}

.header .logo {
  font-size: 24px;
  font-weight: bold;
}

.nav-menu a {
  color: #fff;
  margin-left: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.nav-menu a:hover {
  color: #ffd700;
}

.lang-menu {
  margin-top: 10px;
  font-size: 14px;
  text-align: right;
}

.lang-menu a {
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
}

.lang-menu a:hover {
  color: #ffd700;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background-image: url('sfondo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 150px 150px;
}

.hero-text {
  max-width: 600px;
  line-height: 2; /* aumenta interlinea */
  background-color: rgba(0, 0, 0, 0.685);
  padding: 20px;
  border-radius: 10px;
  text-align: justify; /* giustifica il testo */
  color: #ffffff; /* colore del testo */

  margin-right: 150px;
}

.hero-text h1 {
  font-size: 35px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 20px;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  padding: 12px 25px;
  background-color: #111;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.hero-btn:hover {
  background-color: #444;
}

.hero-img img {
  max-width: 400px;
  border-radius: 10px;
}

/* Section Styling */
.section {
  padding: 150px 100px;
  text-align: center;
}

.section h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.section p {
  font-size: 25px;
  margin-bottom: 20px;
}

.section img {
  max-width: 100%;
  border-radius: 20px;
}

/* Footer */
footer {
  background-color: #111;
  color: #fff;
  padding: 20px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    text-align: center;
  }

  .nav-menu a {
    display: block;
    margin: 10px 0;
  }

  .hero {
    flex-direction: column;
    padding: 50px 20px;
  }

  .hero-img img {
    max-width: 300px;
  }

  .hero-text {
    position: static;
    background-color: rgba(0,0,0,0.5);
    margin: 20px 0 0 0;
    color: #000;
  }

  .section {
    padding: 50px 20px;
  }
}