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

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, sans-serif;
  background:#f8f5f0;
  color:#222;
  overflow-x:hidden;
}

/* LINK */
a{
  text-decoration:none;
  color:inherit;
}

/* HEADER */
header{
  position:fixed;
  top:0;
  width:100%;
  z-index:2000;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:18px 8%;

  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(6px);

  color:white;
}

header h1{
  font-size:26px;
  letter-spacing:1px;
}

header h1 a{
  color:white;
}

nav{
  display:flex;
  gap:25px;
}

nav a{
  color:white;
  font-size:14px;
  letter-spacing:1px;
  transition:0.3s;
}

nav a:hover{
  color:#c8a97e;
}

.menu-toggle{
  display:none;
  font-size:26px;
  cursor:pointer;
}

/* HERO */
.hero{
  position:relative;
}

.hero img{
  width:100%;
  height:100vh;
  object-fit:cover;
  display:block;
}

.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
}

.hero-text{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  z-index:2;

  text-align:center;
  color:white;
}

.hero-text h2{
  font-size:70px;
  letter-spacing:5px;
  margin-bottom:15px;
}

.hero-text p{
  font-size:20px;
  letter-spacing:1px;
}

/* CARDS CAMERE */
.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
  gap:30px;

  padding:80px 8%;

  background:linear-gradient(180deg,#f3ede4,#e7dccb);
}

.card{
  background:white;

  border-radius:10px;
  overflow:hidden;

  box-shadow:0 10px 30px rgba(0,0,0,0.08);

  transition:0.4s;

  display:flex;
  flex-direction:column;

  text-align:center;
}

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

.card img{
  width:100%;
  height:250px;
  object-fit:cover;
}

.card h3{
  padding:20px 20px 10px;
  font-size:24px;
}

.card p{
  padding:0 25px;
  line-height:1.7;
  color:#666;

  flex-grow:1;
}

/* BOTTONE */
.btn{
  display:inline-block;

  margin:25px auto 25px;

  padding:12px 25px;

  background:#c8a97e;
  color:white;

  border-radius:6px;

  transition:0.3s;
}

.btn:hover{
  background:#b89264;
}

.btn{
  display:inline-block;

  margin:20px;

  padding:12px 25px;

  background:#c8a97e;
  color:white;

  border-radius:6px;

  transition:0.3s;
}

.btn:hover{
  background:#b89264;
}

/* SEZIONE SPLIT */
.about-split,
.location-section,
.contact-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;

  padding:80px 8%;

  background:#f3f0eb;
}

.about-text,
.location-text,
.contact-text{
  max-width:600px;
}



.about-text h2,
.location-text h2,
.contact-text h2{
  font-size:38px;
  margin-bottom:25px;
}

.about-text p,
.location-text p,
.contact-text p{
  line-height:1.9;
  color:#666;
  margin-bottom:18px;
}

.about-image img,
.contact-image img{
  width:100%;
  height:420px;
  object-fit:cover;

  border-radius:10px;

  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* MAPPA */
.location-map iframe{
  width:100%;
  height:420px;

  border:0;
  border-radius:10px;

  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* CONTATTI */
.contact-links{
  display:flex;
  flex-direction:column;
  gap:15px;

  margin-top:30px;
}

.contact-item{
  background:white;

  padding:16px 20px;

  border-radius:8px;

  transition:0.3s;

  box-shadow:0 5px 15px rgba(0,0,0,0.05);
}

.contact-item:hover{
  transform:translateY(-3px);
  background:#faf7f2;
}

.whatsapp{
  background:#edf8ef;
}

/* CAMERE PAGE */
.camera{
  display:flex;
  gap:35px;
  align-items:center;

  max-width:1200px;

  margin:50px auto;
  padding:0 8%;
}

.camera img{
  width:50%;
  height:320px;

  object-fit:cover;

  border-radius:10px;
}

.camera div{
  width:50%;
}

.camera h2{
  font-size:36px;
  margin-bottom:20px;
}

.camera p{
  line-height:1.8;
  color:#666;
}

.prezzo{
  margin-top:20px;

  font-size:24px;
  font-weight:bold;

  color:#c8a97e;
}

/* GALLERIA */
.gallery-page{
  padding:140px 8% 80px;

  background:linear-gradient(180deg,#f3f0eb,#e8dfd1);
}

.gallery-title{
  text-align:center;

  max-width:700px;
  margin:0 auto 50px;
}

.gallery-title h2{
  font-size:42px;
  margin-bottom:15px;
}

.gallery-title p{
  color:#666;
  line-height:1.8;
}

/* MOSAICO */
.mosaic-gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:220px;
  gap:16px;
}

.mosaic-gallery img{
  width:100%;
  height:100%;

  object-fit:cover;

  border-radius:10px;

  cursor:pointer;

  transition:0.4s;

  box-shadow:0 8px 22px rgba(0,0,0,0.12);
}

.mosaic-gallery img:hover{
  transform:scale(1.03);
  filter:brightness(0.85);
}

.big{
  grid-column:span 2;
  grid-row:span 2;
}

.wide{
  grid-column:span 2;
}

/* MODAL */
.gallery-modal{
  display:none;

  position:fixed;
  inset:0;

  z-index:4000;

  background:rgba(0,0,0,0.93);

  align-items:center;
  justify-content:center;
}

.gallery-modal-content{
  max-width:85%;
  max-height:85%;
}

.gallery-modal-content img{
  max-width:100%;
  max-height:85vh;

  border-radius:10px;

  object-fit:contain;
}

.close-gallery{
  position:absolute;
  top:25px;
  right:35px;

  color:white;
  font-size:45px;

  cursor:pointer;
}

.gallery-arrow{
  position:absolute;
  top:50%;

  transform:translateY(-50%);

  background:rgba(255,255,255,0.15);

  border:none;

  color:white;

  font-size:42px;

  cursor:pointer;

  padding:14px 20px;

  border-radius:50%;

  transition:0.3s;
}

.gallery-arrow:hover{
  background:rgba(255,255,255,0.3);
}

.gallery-arrow.left{
  left:30px;
}

.gallery-arrow.right{
  right:30px;
}

/* FOOTER */
footer{
  background:#111;
  color:white;

  text-align:center;

  padding:20px;
}

/* ANIMAZIONI */
.fade-up{
  opacity:0;
  transform:translateY(60px) scale(0.98);

  transition:
    opacity 1s ease,
    transform 1s ease;
}

.fade-up.show{
  opacity:1;
  transform:translateY(0) scale(1);
}

/* FOOTER */
.footer{
  background:#111;
  color:white;

  padding-top:60px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

  gap:50px;

  padding:0 8% 50px;
}

.footer-col h3{
  margin-bottom:25px;

  font-size:22px;

  color:#c8a97e;
}

.footer-col p{
  line-height:1.8;
  color:#ccc;

  margin-bottom:15px;
}

.footer-col a{
  display:block;

  color:#ccc;

  margin-bottom:12px;

  transition:0.3s;
}

.footer-col a:hover{
  color:#c8a97e;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.1);

  text-align:center;

  padding:20px;

  color:#aaa;

  font-size:14px;
}

/* PRIVACY POLICY */
.policy-page{
  padding:140px 20px 80px;

  background:linear-gradient(180deg,#f3f0eb,#e8dfd1);

  min-height:100vh;
}

.policy-container{
  max-width:900px;

  margin:auto;

  background:rgba(255,255,255,0.9);

  padding:60px;

  border-radius:12px;

  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.policy-container h2{
  font-size:42px;
  margin-bottom:20px;
}

.policy-intro{
  font-size:17px;
  line-height:1.9;

  color:#666;

  margin-bottom:45px;
}

.policy-block{
  margin-bottom:40px;
}

.policy-block h3{
  font-size:24px;

  margin-bottom:18px;

  color:#222;
}

.policy-block p{
  line-height:1.9;

  color:#666;

  margin-bottom:15px;
}

.policy-block ul{
  padding-left:20px;
}

.policy-block li{
  margin-bottom:10px;

  line-height:1.8;

  color:#666;
}


/* MOBILE */
@media(max-width:768px){

  .footer-container{
    gap:35px;
    padding:0 20px 40px;
  }

}

/* MOBILE */
@media(max-width:768px){

  header{
    padding:15px 20px;
  }

  nav{
    display:none;

    flex-direction:column;

    position:absolute;
    top:70px;
    right:0;

    width:220px;

    background:#111;

    padding:20px;
  }

  nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }

  .hero img{
    height:85vh;
  }

  .hero-text h2{
    font-size:38px;
  }

  .hero-text p{
    font-size:16px;
  }

  .cards{
    padding:50px 20px;
  }

  .about-split,
  .location-section,
  .contact-split{
    grid-template-columns:1fr;

    gap:35px;

    padding:55px 20px;
  }

  .about-image img,
  .contact-image img,
  .location-map iframe{
    height:280px;
  }

  .camera{
    flex-direction:column;

    padding:0 20px;
  }

  .camera img,
  .camera div{
    width:100%;
  }

  .camera img{
    height:250px;
  }

  .mosaic-gallery{
    grid-template-columns:repeat(2,1fr);
    grid-auto-rows:160px;

    gap:10px;
  }

  .big,
  .wide{
    grid-column:span 2;
    grid-row:span 1;
  }

  .gallery-arrow{
    font-size:28px;
    padding:10px 14px;
  }

  .gallery-arrow.left{
    left:10px;
  }

  .gallery-arrow.right{
    right:10px;
  }

}
/* MOBILE */
@media(max-width:768px){

  .policy-page{
    padding:120px 15px 50px;
  }

  .policy-container{
    padding:35px 25px;
  }

  .policy-container h2{
    font-size:32px;
  }

}