/* Reset e stili di base */
:root {
    --primary-color: #a4a7af;
    --secondary-color: #e9c3aa;
    --font-family: 'Arial', sans-serif;
    --text-color: #333;
    --white: #fff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--primary-color);
}

/* Header e Navigazione */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--primary-color);
    color: black;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
    width: auto;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    padding: 8rem 5% 4rem;
    text-align: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(185, 179, 179, 0.54);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: rgb(59, 64, 73);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Sezioni */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

/* Footer */
.footer {
    background-color: #333;
    color: var(--white);
    text-align: center;
    padding: 2rem 5%;
    margin-top: 2rem;
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
}

.footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 70%;
        height: 100vh;
        padding: 5rem 2rem 2rem;
        transition: 0.3s;
        box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .container {
        padding: 3rem 5%;
    }
}

/* Animazioni */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeIn 1s ease-out forwards;
}

/* Transizioni */
.button, .nav-link {
    transition: var(--transition);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.button {
    padding: 0;
    background-color: rgba(20, 10, 10, 0.97);
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
}

.button:hover {
    background-color: #ccc;
}

.button {
    padding: 0;
    background-color: rgba(75, 68, 68, 0.19);
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
}

.hero-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: rgb(59, 64, 73);
}

.hero-box h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-box img {
    width: 120px;
    height: 120px;
    margin: 20px 0;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-button {
    padding: 10px 20px;
    background-color: rgba(255, 255, 255, 0.8);
    color: rgb(59, 64, 73);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.3s;
}

.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: rgba(255, 255, 255, 0.31);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px; 
    width: 100%;
    text-align: center;
    color: rgb(59, 64, 73);
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: rgb(59, 64, 73);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    align-self: center;
    margin-bottom: 20px;

}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: rgb(59, 64, 73);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    align-self: center;
    margin-bottom: 20px;

}

.hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
    color: rgb(59, 64, 73);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero {
    background: rgba(185, 179, 179, 0.54);
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: rgb(59, 64, 73);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero {
    display: flex;
    padding: 200px;
    background: transparent;
    color: rgb(0, 0, 0);  
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1, .hero h2, .hero h3 {
    text-align: center;
    text-shadow: 0 0 10px rgb(3, 2, 2);
}

body {
    background-image: linear-gradient(to bottom right, #a4a7af, #e9c3aa)  ;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.button {
    
      padding: 0;
      background-color:rgba(20, 10, 10, 0.97);
      color: #000;
      border: 1px solid #000;
      border-radius: 5px;
      cursor: pointer;
      text-decoration: black;
      font-size: 16px;
      font-weight: bold;
      display: block;    
      text-align: center;


}

.body {
    background-color:rgb(34, 36, 41);
    color: #000;
    font-family: var(--font-family);
    padding: 20px;
}

.button:hover {
    background-color: #ccc;
}

.button {
    padding: 0;
    background-color:rgba(75, 68, 68, 0.19);
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
}

.hero-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: rgb(59, 64, 73);
}

.hero-box h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

  
  .button:hover {
    background-color: #ccc;
  }
  .About{
    padding: 0;
    background-color: #afa6a671;
    color: #ffffff;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .Aboutbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  
  .latstalk{
    padding: 0;
    background-color: #fff;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .footer{
    padding: 0;
    background-color:rgba(0, 0, 0, 0.26);
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .mywork{
    padding: 0;
    background-color: #ffffff18;
    color:rgb(0, 0, 0);
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: rgb(0, 0, 0);
    font-size: 36px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .mywork-p{
    padding: 0;
    background-color: #ffffff18;
    color: #ffffff;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: rgb(255, 255, 255);
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
.homebutton{
  padding: 0;
  background-color: #ffffff18;
  color: #000;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: black;
  font-size: 16px;
  font-weight: bold;
  display: block;    
  text-align: center;
} 
.myservice{
  padding: 0;
  background-color: #ffffff18;
  color: #ffffff;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: rgb(255, 255, 255);
  font-size: 36px;
  font-weight: bold;
  display: block;    
  text-align: center;
  margin-bottom: 40px;
}
.immagine-ridotta {
  width: 150px; 
  height: 150px;
  margin-left: 850px;
  display: block;
  margin: 0 20px 400 0;
  padding: 10px;
  background: var(--primary-color);
  color: rgb(59, 64, 73);
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s;
}

.itsupport{
  padding: 0;
  background-color: #ffffff18;
  color: #ffffff;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: bold;
  display: block;    
  text-align: center;
  float: left;
}
.contact{
  padding: 0;
  background-color: #ffffff18;
  color:rgba(255, 255, 255, 0.59);
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: bold;
  display: block;    
  text-align: center;
}
.contact-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: rgba(77, 74, 74, 0.23);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 600px; 
    width: 100%;
    text-align: center;
  .contactbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .contactbutton:hover {
    background-color: #ccc;
  }
  .contactbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
.namebox{
  padding: 0;
  background-color: #ffffff18;
  color: #000;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: black;
  font-size: 16px;
  font-weight: bold;
  display: block;    
  text-align: center;
}
.emailbox{
  padding: 0;
  background-color: #ffffff18;
  color: #000;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: black;
  font-size: 16px;
  font-weight: bold;
  display: block;    
  text-align: center;
}
.messagebox{
  padding: 0;
  background-color: #ffffff18;
  color: #000;
  border: 1px solid #000;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: black;
  font-size: 16px;
  font-weight: bold;
  display: block;    
  text-align: center;
}
  .submitbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .submitbutton:hover {
    background-color: #ccc;
  }
  .submitbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .submitbutton:hover {
    background-color: #ccc;
  }
  .submitbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .submitbutton:hover {
    background-color: #ccc;
  }
  .footer {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    position: relative;
    bottom: 0;
    width: 100%;
  }
  .footer p {
    margin: 0;
  }
  .input-type{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .input-type:hover {
    background-color: #ccc;
  }
  .input-type{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .input-type:hover {
    background-color: #ccc;
  }
  .input-type{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .input-type:hover {
    background-color: #ccc;
  }
  .input-type{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .input-type:hover {
    background-color: #ccc;
  }
  .label{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .container {
    display: grid;
    place-items: center;
    grid-template-rows: auto auto auto;
    gap: 15px;
  }
  .form-element {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%; /* o la larghezza desiderata */
    margin-bottom: 15px;
  }
  .namebox{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .emailbox{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .messagebox{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .submitbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .submitbutton:hover {
    background-color: #ccc;
  }
  .submitbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .submitbutton:hover {
    background-color: #ccc;
  }
  .submitbutton{
    padding: 0;
    background-color: #ffffff18;
    color: #000;
    border: 1px solid #000;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: black;
    font-size: 16px;
    font-weight: bold;
    display: block;    
    text-align: center;
  }
  .submitbutton:hover {
    background-color: #ccc;
  }
  /* Aggiungi all'inizio del tuo file CSS */
html {
  scroll-padding-top: 80px; /* Altezza della tua navbar */
}

body {
  padding-top: 80px; /* Stessa altezza della navbar */
}

/* Per dispositivi mobili */
@media (max-width: 768px) {
  html {
      scroll-padding-top: 70px;
  }
  
  body {
      padding-top: 70px;
  }
}
}