/* RESET DI BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", Arial, sans-serif;
}

body {
  background: #f7f7f7;
  color: #333;
}
.logo {
  height: 200px;
  position: absolute;
  z-index: 3;
  left: 10px;
 
}
header {
  background: #0a2342; 
  background: linear-gradient(90deg, #0a2342, #0d3a6a);
  padding: 30px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header nav a,
.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: 0.3s;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a:hover {
  color: #f0c040;
}

.nav-toggle, .nav-hide-toggle{
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .hero {
    height: 60vh;
  }
  .logo{
    height: 240px;
  }
}
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
    padding: 10px;
  }
  .nav-hide-toggle{
    padding: 10px;
  }
  .nav-links {
    position: absolute;
    z-index: 2;
    top: 70px;
    right: 0;
    background: #0a2342; 
    background: linear-gradient(90deg, #0a2342, #0d3a6a);
    width: 100%;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    display: none;
  }

  .nav-links.show {
    display: flex;
    align-items: center;
  }
  
}

.hero {
  width: 100%;
  height: 90vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 100px;
  padding-top: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  color: white;
  font-weight: bold;
  max-width: 600px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


.hero-content p {
  font-size: 1.3rem;
}

.hero-content .btn {
  padding: 14px 32px;
  font-size: 1.1rem;
  background: #ffcc00;
  color: black;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  width: fit-content;
  margin-right: 20px;
}
.slogan-eventi {
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
}

@media (max-width: 768px) {

  .hero-content {
    max-width: 90%;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
  .hero-content .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

.services,
.about,
.contact {
  padding: 60px 20px;
  text-align: center;
}


/* SEZIONE CHI SIAMO */
#chi-siamo {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 100px auto;
  background: #ffffff;
  border-left: 6px solid #611471; /* colore professionale */
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#chi-siamo h2 {
  font-size: 2.2rem;
  color: #0d1b2a;
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

#chi-siamo p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 18px;
}

#chi-siamo h3 {
  font-size: 1.5rem;
  color: #1b263b;
  margin-top: 35px;
  margin-bottom: 15px;
  font-weight: 600;
  border-left: 5px solid #611471;
  padding-left: 10px;
}

#chi-siamo ul {
  list-style: none;
  padding-left: 0;
  margin-top: 10px;
}

#chi-siamo ul li {
  background: #f7f7f7;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

#chi-siamo ul li:hover {
  background: #eef6ff;
  transform: translateX(5px);
}


/* SEZIONE SERVIZI */
#servizi {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

#servizi {
  padding: 60px 40px;
  max-width: 1200px;
  margin: auto;
}

#servizi h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: #071625;
  margin-bottom: 40px;
  font-weight: 700;
}

/* CONTAINER DELLE CARD */
.services-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 25px;
}

/* CARD */
.service-card {
  background: #1e5a92;
  background: linear-gradient(90deg, #1e5a92, #4586c9);
  padding: 25px;
  border-radius: 12px;
  border-left: 6px solid #dba63d;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

/* TITOLI DELLE CARD */
.service-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #f6f9ff;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-card h3 i {
  font-size: 1.6rem;
  color: #dba63d;
}

/* LISTE */
.service-card ul {
  list-style: none;
  padding-left: 0;
}

.service-card ul li {
  background: #163c70;
  background: linear-gradient(90deg, #163c70, #2c5a8f);
  padding: 10px 14px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.05rem;
  color: #e4efff;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: 0.3s ease;
}

.service-card ul li:hover {
  background: #1f415e;
  transform: translateX(5px);
}

/* SEZIONE ESPERIENZA */
#esperienza {
  padding: 60px 40px;
  max-width: 1100px;
  margin: 100px auto;
  background: #f7f7f7;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#esperienza h2 {
  font-size: 2.2rem;
  color: #0d1b2a;
  margin-bottom: 25px;
  text-align: center;
  font-weight: 700;
}

#esperienza h3 {
  font-size: 1.4rem;
  color: #1b263b;
  margin-top: 35px;
  margin-bottom: 15px;
  border-left: 5px solid #611471;
  padding-left: 10px;
  font-weight: 600;
}

#esperienza ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

#esperienza ul li {
  background: #fff;
  padding: 12px 18px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-size: 1.05rem;
  color: #333;
  transition: 0.3s;
}

#esperienza ul li:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  background: #eef6ff;
}


/* SEZIONE CONTATTI */
#contatti {
  padding: 60px 40px;
  max-width: 900px;
  margin: 100px auto;
  background: #ffffff;
  border-radius: 12px;
  border-left: 6px solid #611471;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

#contatti h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #0d1b2a;
  margin-bottom: 20px;
  font-weight: 700;
}

#contatti p {
  text-align: center;
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 10px;
}

/* FORM */
#contatti form {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#contatti input,
#contatti textarea {
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  background: #f7f7f7;
  transition: 0.3s ease;
}

#contatti input:focus,
#contatti textarea:focus {
  border-color: #611471;
  background: #eef6ff;
  outline: none;
}

#contatti textarea {
  height: 140px;
  resize: none;
}

/* BOTTONE */
#contatti button {
  padding: 14px;
  background: #611471;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s ease;
}

#contatti button:hover {
  background: #9740a8;
  transform: translateY(-3px);
}

/* LINK EMAIL */
#contatti .btn-primary {
  display: inline-block;
  margin: 20px auto;
  padding: 12px 20px;
  background: #611471;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s ease;
}
#contatti label{
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
}

#contatti .btn-primary:hover {
  background:  #9740a8;
  transform: translateY(-3px);
}


footer {
  background: #0a2342;
  background: linear-gradient(90deg, #0a2342, #0d3a6a);
  color: white;
  text-align: center;
  padding: 15px;
}
footer ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}
footer ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}
footer ul li a:hover {
  color: #f0c040;
}
footer hr {
  margin: 20px auto;
  border: 0;
  width: 50%;
  border-top: 1px solid white;
}

@media (max-width: 1024px) {
  header {
    padding: 18px 16px;
    flex-wrap: wrap;
    gap: 15px;
  }

  .hero {
    height: 80vh;
    padding-left: 60px;
    padding-right: 20px;
  }

  .hero-content {
    max-width: 520px;
  }

  #chi-siamo,
  #servizi,
  #esperienza,
  #contatti {
    padding: 50px 30px;
    max-width: 95%;
  }

  .services-card-container {
    gap: 20px;
  }

  footer ul {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 14px;
  }

  .hero {
    height: 70vh;
    padding-left: 20px;
    padding-right: 20px;
    justify-content: center;
  }

  .hero-content {
    max-width: 90%;
    align-items: center;
    text-align: center;
  }
 
  .hero-content h1 {
    font-size: 2rem;
    
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-content .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

  #chi-siamo,
  #servizi,
  #esperienza,
  #contatti {
    padding: 40px 20px;
  }

  .services-card-container {
    grid-template-columns: 1fr;
  }

  #contatti form {
    gap: 12px;
  }

  footer ul {
    flex-direction: column;
    gap: 12px;
  }

  footer hr {
    width: 80%;
  }
}

@media (max-width: 480px) {
 .logo {
  height: 150px;
  position: absolute;
  z-index: 3;
  left: 15px;
  top: 15px;
 
}
  .navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}
  header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

  

  .hero {
    height: 65vh;
    padding-top: 20px;
  }

  .hero-content {
    gap: 16px;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  #chi-siamo h2,
  #servizi h2,
  #esperienza h2,
  #contatti h2 {
    font-size: 1.9rem;
  }

  #chi-siamo p,
  #contatti p,
  .service-card ul li,
  #chi-siamo ul li,
  #esperienza ul li {
    font-size: 1rem;
  }

  #contatti button,
  #contatti .btn-primary {
    width: 100%;
    padding: 12px;
  }

  footer {
    padding: 12px;
  }
}

@media (max-width: 376px) {
  .hero {
    height: 55vh;
    padding-top: 14px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
    align-items: center;
    gap: 12px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }

  .hero-content .btn,
  .hero-content .btn-primary {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.80rem;
  }


  
  .hero-content p {
    font-size: 0.95rem;
  }

  #chi-siamo h2,
  #servizi h2,
  #esperienza h2,
  #contatti h2 {
    font-size: 1rem;
  }

  #chi-siamo p,
  #contatti p,
  .service-card ul li,
  #chi-siamo ul li,
  #esperienza ul li {
    font-size: 0.8rem;
  }

  #contatti button,
  #contatti .btn-primary {
    width: 100%;
    padding: 10px;
  }

  footer {
    padding: 10px;
  }
}



 

