:root {
  --tiffany: #0ABAB5;
  --dark: #1a1a1a;
  --light: #fdfdfd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark);
  background: #7ecdc4;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

.lux-navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 90px;
  background: #7ecdc4;
  
  display: flex;
  align-items: center;
  justify-content: space-between;
  
  padding: 0 60px;
  z-index: 1000;
  border-bottom: 3px solid black; 

}

.nav-left,
.nav-right {
  width: 40%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-right {
  justify-content: flex-end;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-logo img {
  max-height: 100px;
  width: auto;}

.lux-navbar a {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 2px;
  color: #000000;
  font-weight: 500;
}

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.overlay h1 {
  font-size: 60px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 20px;
}

.section {
  display: flex;
  align-items: center;
  padding: 80px 10%;
  gap: 50px;
}

.section:nth-child(even) {
  flex-direction: row-reverse;
  background: #fafafa;
}

.section img {
  width: 100%;
  border-radius: 10px;
}

.text {
  flex: 1;
}

.text h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.text p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn {
  background: var(--tiffany);
  color: white;
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.btn:hover {
  background: #089e9a;
}

.footer {
  background: #111;
  color: #fff;
  padding: 70px 20px 30px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

.footer-box {
  flex: 1;
  min-width: 260px;
}

.footer-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #c8a97e;
}

.footer-box p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Lora', serif;  font-size: 14px;
  color: #ccc;
  margin: 8px 0;
  transition: 0.3s;
}

.footer-box p:hover {
  color: #ffffff;
}

.icon {
  color: #c8a97e;
  font-size: 16px;
  min-width: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #222;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8a97e;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #c8a97e;
  color: #111;
}

.map {
  margin-top: 20px;
}

.map iframe {
  width: 100%;
  height: 140px;
  border: none;
  border-radius: 6px;
  filter: grayscale(100%) contrast(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 12px;
  color: #777;
}

.icon-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: invert(78%) sepia(18%) saturate(600%) hue-rotate(350deg);
}

.footer-box p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons img {
  width: 18px;
  height: 18px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #c8a97e;
}
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.fade.show {
  opacity: 1;
  transform: translateY(0);
}

.image-wrapper {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.image-box {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--tiffany);
  z-index: 1;
}

.image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border-radius: 6px;
}
.lux-section {
  padding: 120px 5%;
  background: #7ecdc4;
}

.lux-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.lux-image img {
  width: 70%;
  height: 500px;
  object-fit: cover;
  margin-left: auto;
  display: block;
}

.lux-text {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  
  background: rgba(255,255,255,0.9);
  padding: 60px;
  max-width: 500px;

  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.lux-text h2 {
  font-size: 42px;
  margin-bottom: 20px;
  
  color: var(--tiffany);
  
  font-weight: 500;
  letter-spacing: 1px;
}

.lux-text p {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 1.5px;
  color: #2a2a2a;
  text-transform: uppercase;
}
.reverse .lux-image img {
  margin-left: 0;
  margin-right: auto;
}

.reverse .lux-text {
  left: auto;
  right: 0;
}
.credits {
  text-align: center;
  font-size: 12px;
  color: #777;
  padding: 15px 30px;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-family: 'Lora', serif;
  letter-spacing: 1px;
}

.credits span {
  color: #c8a97e;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.credits span:hover {
  color: #ffffff;
}
@media (max-width: 768px) {

  /* ================= NAVBAR ================= */
  .nav-left {
    display: none;
  }

  .nav-right {
    gap: 15px;
  }

  .nav-logo {
    position: static;
    transform: none;
  }

  .lux-navbar {
    justify-content: center;
    padding: 0 20px;
  }

  .nav-logo img {
    height: 45px;
  }

  /* ================= HERO ================= */

  .overlay h1 {
    font-size: 32px;
    padding: 0 10px;
  }

  .overlay p {
    font-size: 14px;
    padding: 0 10px;
  }

  /* ================= SEZIONI ================= */

  .section {
    flex-direction: column;
    padding: 50px 5%;
    text-align: center;
  }

  .text h2 {
    font-size: 28px;
  }

  .text p {
    font-size: 16px;
  }

  /* ================= LUX SECTION ================= */

  .lux-section {
    padding: 80px 5%;
  }

  .lux-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .lux-image img {
    width: 100%;
    height: auto;
  }

  .lux-text {
    position: relative;
    transform: none;
    top: auto;
    left: auto;
    right: auto;

    width: 100%;
    max-width: 100%;

    margin-top: -40px;
    padding: 30px;
  }

  .lux-text h2 {
    font-size: 28px;
  }

  .lux-text p {
    font-size: 13px;
    letter-spacing: 1px;
  }

  /* ================= FOOTER ================= */

  .footer-container {
    flex-direction: column;
    gap: 30px;
  }

  .footer-box {
    min-width: 100%;
  }

  .map iframe {
    height: 200px;
  }

  /* ================= IMMAGINI BOX ================= */

  .image-wrapper img {
    height: 300px;
  }

  .image-wrapper {
    max-width: 100%;
  }

  .image-box {
    display: none;
  }

}