
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f6f1eb;
  color: #111;
}

/* CONTAINER */

.container {
  max-width: 1100px;
  margin: auto;
  padding: 45px 20px;
}

/* HERO */

.hero {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 70px;
  letter-spacing: 6px;
}

/* GRID SERVIZI */

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 35px;
}

img {
  width: 100%;
  border-radius: 20px;
}

h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  margin-top: 0;
  margin-bottom: 15px;
}

p {
  line-height: 1.7;
  color: #444;
  margin-top: 0;
  margin-bottom: 15px;
}

/* BOXES SERVIZI */

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 20px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  margin-top: 0;
  margin-bottom: 10px;
}

.card p {
  font-size: 15px;
}

/* CTA */

.cta {
  text-align: center;
  margin-top: 40px;
}

button {
  background: #111;
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 99999;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

/* LIGHTBOX CONTENT */

.lightbox-content {
  position: relative;
  width: 90%;
  max-width: 1100px;
  height: 85vh;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transform: translateY(20px);
  transition: 0.3s ease;
}

.lightbox.open .lightbox-content {
  transform: translateY(0);
}

/* IFRAME */

.lightbox iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* CLOSE */

.close-lightbox {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: #111;
  color: white;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
}

/* BUTTON LISTINO */

.listino-btn {
  margin-top: 20px;
  padding: 12px 22px;
  border: none;
  border-radius: 50px;
  background: #111;
  color: white;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: 0.3s;
}

.listino-btn:hover {
  transform: translateY(-2px);
}

/* RESPONSIVE TABLET E SMARTPHONE */

@media (max-width: 900px) {

  .container {
    padding: 30px 20px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-bottom: 30px;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 25px;
  }

  .hero h1 {
    font-size: 45px;
  }

  h2 {
    font-size: 36px;
  }

  .cta {
    margin-top: 30px;
  }

  .lightbox-content {
    width: 95%;
    height: 85vh;
  }
}
