@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300&display=swap');

body {
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  text-wrap: pretty;
}

.logo-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background-color: white;
  border-bottom: 20px solid #ddd;
}

.logo-header .logo {
  width: 90px;
  height: auto;
}

.logo-header h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  margin: 0;
}


.profilo {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.profilo img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  flex-shrink: 0;
}

.profilo p {
  flex: 1;
  font-size: 1.1rem;
  line-height: 1.6;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem auto 4rem auto;
  max-width: 900px;
}

.grid img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  cursor: pointer;
}

.grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

#contatti {
  max-width: 900px;
  margin: 4rem auto 2rem auto;
  padding: 0 1rem;
}

#contatti h2 {
  font-family: 'Raleway', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

#contatti p {
  font-size: 1.1rem;
}

#contatti a {
  color: #000;
  text-decoration: none;
}

#contatti a:hover {
  text-decoration: none;
}

i.fab.fa-instagram {
  color: #e1306c;
  margin-right: 0.5rem;
  vertical-align: middle;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

a:hover i.fab.fa-instagram {
  color: #c13584;
}

footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #999;
  border-top: 1px solid #ddd;
  font-family: 'Playfair Display', serif;
}

section {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 1rem;
}

section h2 {
  text-align: center;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color:black
}



@media (max-width: 600px) {
  .logo-header {
    justify-content: center;
    gap: 2.5rem;
    padding: 1rem;
  }

  .logo-header .logo {
    width: 80px;
  }

  .logo-header h1 {
    font-size: 1.8rem;
  }

  .profilo {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .profilo img {
    width: 200px;
    height: 200px;
  }

  .profilo p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  .grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin: 2rem 0 4rem 0;
  }
}

#galleria a {
  text-decoration: none;
  color: #000000;
}

#galleria a:hover {
  color: #000000;
  text-decoration: none;
}

#home a {
  text-decoration: none;
  color: #666;
}

#home a:hover {
  color: #b4a7d6;
  text-decoration: none;
}
