/* style.css – Maretti Digital – Restyling completo moderno */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Manrope', sans-serif;
  background-color: #f5f7fa;
  color: #222;
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  background: #0d1b2a;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.hero {
  background: linear-gradient(135deg, #1a237e, #2196f3);
  color: #fff;
  padding: 6rem 2rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: auto;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text h1 span {
  color: #bbdefb;
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.btn {
  display: inline-block;
  background: #fff;
  color: #1976d2;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #e3f2fd;
  transform: translateY(-2px);
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: #0d47a1;
}

.about-grid {
  display: flex;
  flex-direction: column-reverse;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #333;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.about-image img {
  width: 220px;
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.pacchetti {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: left;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #1565c0;
}

.card ul {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.card ul li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
}

.card ul li::before {
  content: "\f00c";
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: #4caf50;
}

.prezzo {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1976d2;
}

form {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

button {
  padding: 1rem;
  background: #1976d2;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #1565c0;
}

.contatti-section {
  background: #f2f6fc;
  padding: 80px 20px;
}

.contatti-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: flex-start;
}

.contatti-box {
  flex: 1 1 500px;
}

.contatti-left p,
.contatti-left a {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #222;
}

.contatti-info i {
  color: #1976d2;
  margin-right: 10px;
}

.contatti-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.contatti-form input,
.contatti-form textarea {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: none;
}

.contatti-form button {
  background-color: #003366;
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background-color 0.3s ease;
}
.hidden {
  display: none;
}

.contatti-form input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
}

.contatti-form a {
  color: #003366;
  text-decoration: underline;
}
.section-title.center {
  text-align: center;
  margin-bottom: 40px;
}

.contatti-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.contatti-info {
  flex: 1;
  min-width: 300px;
}

.contatti-form {
  flex: 1;
  min-width: 300px;
}
.privacy-note {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.5;
}

.privacy-note a {
  color: #003366;
  text-decoration: underline;
}


footer {
  background: #0d1b2a;
  color: #fff;
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  margin-top: 4rem;
}
footer img {
  height: 40px;
  margin-bottom: 10px;
    filter: brightness(2.3) contrast(1.2);
}
.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  gap: 10px;
}

.logo-img {
  height: 62px;
  filter: brightness(2.3) contrast(1.2);
}

.logo-text {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
}
.gold-star {
  color: gold;
  font-size: 1.1rem;
  margin-left: 6px;
  vertical-align: middle;
  filter: drop-shadow(0 0 2px #ffd700);
}
.chi-siamo {

  padding: 60px 20px;
  color: #222;
}

.chi-siamo h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}

.chi-siamo-content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.1rem;
}

.chi-siamo .firma {
  margin-top: 30px;
  font-weight: bold;
  text-align: right;
  font-size: 1rem;
}

.chi-siamo .firma span {
  display: block;
  font-weight: normal;
  font-size: 0.9rem;
  color: #666;
}


@keyframes fadeInUp {
  0% {opacity: 0; transform: translateY(30px);}
  100% {opacity: 1; transform: translateY(0);}
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
