/* =========================================
   PALLENBERG – LUXURY TRAVEL AGENCY
   ========================================= */

/* VARIABILI */
:root{
  --bg:#111;
  --fg:#F5F3EB;
  --gold:#C9A94A;
}

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

body{
  background:var(--bg);
  color:var(--fg);
  font-family:'Inter', sans-serif;
  line-height:1.65;
  letter-spacing:.4px;
}

img{
  display:block;
  max-width:100%;
  height:auto;
}

/* NAVBAR */
.top-nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
  height:40px;
  background:rgba(0,0,0,.75);
  border-bottom:1px solid rgba(201,169,74,.35);
  backdrop-filter:blur(8px);
  display:flex;
  align-items:center;
}

.top-nav ul{
  margin:0;
  padding:14px 40px;
  list-style:none;
  display:flex;
  justify-content:center;
  gap:28px;
}

.top-nav a{
  text-decoration:none;
  color:var(--fg);
  font-size:10px;
  letter-spacing:1.4px;
  text-transform:uppercase;
  font-weight:300;
  transition:.3s;
}

.top-nav a:hover{
  color:var(--gold);
}

.top-nav a.active{
  color:var(--gold);
  opacity:1;
  border-bottom:1px solid var(--gold);
  padding-bottom:4px;
}

.nav-inner{
  width:100%;
  display:flex;
  justify-content:center;
  align-items:center;
  position:relative;
  padding:0 20px;
}

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:space-between;
  width:26px;
  height:20px;
  background:none;
  border:none;
  cursor:pointer;
  position:absolute;
  left:20px;
  top:50%;
  transform:translateY(-50%);
  z-index:1100;
}

.nav-toggle span{
  display:block;
  height:2px;
  background:var(--fg);
  border-radius:2px;
  transition:.3s ease;
}

.nav-menu{
  display:flex;
  gap:28px;
}

/* HERO + LOGO */
.hero{
  margin-top:30px;
  position:relative;
  display:flex;
  justify-content:center;
}

.logo{
  position:absolute;
  top:0px;
  left:0px;
  width:180px;
  height:auto;
  z-index:20;
  filter:drop-shadow(0 5px 14px rgba(0,0,0,.6));
  transition:width .3s ease, top .3s ease, left .3s ease;
}

@media(max-width:1000px){
  .logo{
    width:120px;
    top:6px;
    left:14px;
  }
}

@media(max-width:650px){
  .logo{
    width:85px;
    top:6px;
    left:10px;
  }
}

@media(max-width:420px){
  .logo{
    width:72px;
    top:4px;
    left:8px;
  }
}

/* CAROUSEL */
.carousel{
  width:90%;
  max-width:1400px;
  margin:20px auto 40px;
  position:relative;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(201,169,74,.25);
  box-shadow:0 14px 40px rgba(0,0,0,.35);
}

.carousel-fade{
  position:relative;
  width:100%;
  height:360px;
}

.slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity 1.0s ease-in-out;
  display:flex;
  justify-content:center;
  align-items:center;
}

.slide.active{
  opacity:1;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#000;
  padding:8px;
  border-radius:12px;
}

@media(max-width:900px){
  .slide img{
    height:280px;
    padding:6px;
  }
}

@media(max-width:600px){
  .carousel{
    width:94%;
  }
  .slide img{
    height:220px;
    padding:4px;
  }
}

.carousel-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(201,169,74,.45);
  background:rgba(0,0,0,.25);
  color:var(--gold);
  font-size:26px;
  line-height:38px;
  text-align:center;
  cursor:pointer;
  transition:.35s;
  backdrop-filter:blur(6px);
  z-index:5;
}

.carousel-nav:hover{
  background:rgba(0,0,0,.55);
  border-color:rgba(201,169,74,.85);
  color:var(--fg);
}

.carousel-nav.prev{
  left:18px;
}

.carousel-nav.next{
  right:18px;
}

@media(max-width:600px){
  .carousel-nav{
    width:34px;
    height:34px;
    font-size:20px;
    line-height:30px;
  }
  .carousel-nav.prev{
    left:12px;
  }
  .carousel-nav.next{
    right:12px;
  }
}

.carousel-dots{
  position:absolute;
  bottom:14px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:10px;
  z-index:4;
}

.carousel-dots button{
  width:9px;
  height:9px;
  border-radius:50%;
  border:1px solid var(--gold);
  background:transparent;
  cursor:pointer;
  transition:.3s;
  padding:0;
}

.carousel-dots button.active{
  background:var(--gold);
  transform:scale(1.2);
}

.carousel-caption{
  position:absolute;
  bottom:22px;
  left:26px;
  font-family:'Cormorant Garamond', serif;
  font-size:22px;
  letter-spacing:.4px;
  font-weight:300;
  color:var(--fg);
  opacity:0.90;
  background:rgba(0,0,0,0.35);
  padding:6px 12px;
  border-radius:8px;
  backdrop-filter:blur(4px);
  transition:opacity .5s ease;
  pointer-events:none;
}

@media(max-width:650px){
  .carousel-caption{
    bottom:14px;
    left:14px;
    font-size:16px;
    padding:5px 9px;
    border-radius:6px;
  }
}

/* SEZIONE 3 COLONNE */
.content{
  display:flex;
  gap:60px;
  padding:2px 10% 50px;
}

.col{
  flex:1;
}

.col h3{
  font-family:'Cormorant Garamond', serif;
  color:var(--gold);
  font-weight:400;
  margin-bottom:18px;
  letter-spacing:.6px;
}

.col.testo{
  flex:3;
}

.col.testo h1{
  font-family:'Cormorant Garamond', serif;
  font-size:44px;
  font-weight:300;
  letter-spacing:1.2px;
  color:var(--gold);
  text-transform:capitalize;
  line-height:1.2;
  margin-bottom:22px;
  margin-top:10px;
}

.col.testo p{
  font-family:'Cormorant Garamond', serif;
  font-size:22px;
  line-height:1.55;
  font-weight:300;
  opacity:.9;
}

.partners img{
  max-width:160px;
  opacity:.9;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.5));
}

@media(max-width:900px){
  .content{
    flex-direction:column;
    text-align:center;
    padding:60px 10%;
  }
}

@media(max-width:650px){
  .col.testo h1{
    font-size:36px;
    letter-spacing:1px;
  }
}

/* HOME LINKS */
.home{
  list-style:none;
  padding:40px 12% 20px;
  margin:0 auto;
  width:100%;
  max-width:800px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.home li{
  display:flex;
  align-items:center;
  gap:12px;
}

.home li::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:50%;
  background:var(--gold);
  opacity:0.85;
}

.home a{
  font-family:'Cormorant Garamond', serif;
  font-size:20px;
  font-weight:300;
  letter-spacing:.3px;
  text-decoration:none;
  color:var(--fg);
  opacity:0.75;
  transition:0.3s ease;
}

.home a:hover{
  opacity:1;
  color:var(--gold);
}

@media(max-width:650px){
  .home{
    padding:30px 10% 10px;
    gap:12px;
  }
  .home a{
    font-size:18px;
  }
  .home li::before{
    width:5px;
    height:5px;
  }
}

/* TESTIMONIALS CAROUSEL */
.testimonials-carousel{
  position:relative;
  min-height:130px;
  margin-top:20px;
}

.t-slide{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  opacity:0;
  transition:opacity 1s ease-in-out;
  font-family:'Cormorant Garamond', serif;
  font-size:20px;
  line-height:1.45;
  font-style:italic;
  padding-right:10px;
}

.t-slide.active{
  opacity:1;
}

.t-slide span{
  display:block;
  margin-top:12px;
  font-size:16px;
  font-style:normal;
  opacity:.7;
}

.t-dots{
  margin-top:14px;
  display:flex;
  gap:8px;
}

.t-dots button{
  width:6px;
  height:6px;
  border-radius:50%;
  border:1px solid var(--gold);
  background:transparent;
  cursor:pointer;
  transition:.3s;
}

.t-dots button.active,
.t-dots button:hover{
  background:var(--gold);
}

/* FOOTER */
.footer{
  background:#000;
  text-align:center;
  padding:70px 10% 45px;
  border-top:1px solid rgba(201,169,74,.25);
}

.footer-title{
  font-family:'Cormorant Garamond', serif;
  font-size:30px;
  letter-spacing:.6px;
  color:var(--gold);
  margin-bottom:22px;
  font-weight:400;
}

.footer-info p{
  opacity:.80;
  font-size:15px;
  margin:4px 0;
  font-family:'Inter', sans-serif;
}

.footer-info a{
  color:var(--fg);
  text-decoration:none;
  opacity:.85;
  transition:.3s;
}

.footer-info a:hover{
  color:var(--gold);
  opacity:1;
}

.footer-links{
  margin-top:28px;
  margin-bottom:30px;
  display:flex;
  justify-content:center;
  gap:10px;
  font-size:14px;
  opacity:.7;
}

.footer-links a{
  text-decoration:none;
  color:var(--fg);
  transition:.3s;
}

.footer-links a:hover{
  color:var(--gold);
  opacity:1;
}

.footer-social{
  display:flex;
  justify-content:center;
  margin-bottom:35px;
}

.social-circle{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(201,169,74,.45);
  color:var(--gold);
  font-size:18px;
  transition:.35s;
  text-decoration:none;
}

.social-circle:hover{
  background:var(--gold);
  color:#000;
  border-color:var(--gold);
}

.footer-social .icon{
  width:18px;
  height:18px;
  display:block;
}

.footer-copy{
  font-size:13px;
  opacity:.45;
  margin-top:10px;
  font-family:'Inter', sans-serif;
}

/* SITE CREDIT */
.site-credit{
  font-family:'Inter', sans-serif;
  font-size:12px;
  line-height:1.5;
  letter-spacing:.6px;
  text-align:center;
  margin-top:18px;
  opacity:.45;
}

.site-credit a{
  color:var(--fg);
  text-decoration:none;
  font-weight:500;
  margin-left:4px;
  transition:.3s;
}

.site-credit a:hover{
  color:var(--gold);
  text-decoration:underline;
}

/* COOKIE BANNER */
.cookie-banner{
  position:fixed;
  bottom:0;
  left:0;
  right:0;
  background:rgba(0,0,0,0.88);
  backdrop-filter:blur(8px);
  border-top:1px solid rgba(201,169,74,.4);
  padding:18px 26px;
  display:none;
  z-index:2000;
}

.cookie-content{
  max-width:900px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:14px;
  text-align:center;
  color:var(--fg);
  font-size:14px;
  line-height:1.5;
}

.cookie-buttons{
  display:flex;
  justify-content:center;
  gap:14px;
}

.cookie-buttons button{
  padding:6px 18px;
  border-radius:6px;
  border:1px solid var(--gold);
  background:transparent;
  color:var(--gold);
  cursor:pointer;
  font-family:'Inter', sans-serif;
  font-size:14px;
  transition:.3s;
}

.cookie-buttons button:hover{
  background:var(--gold);
  color:#000;
}

@media(max-width:600px){
  .cookie-content{
    font-size:13px;
  }
}

/* MOBILE MENU */
@media(max-width:850px){
  .nav-toggle{
    display:flex;
  }

  .nav-menu{
    position:fixed;
    top:60px;
    right:-100%;
    width:70%;
    height:calc(100vh - 60px);
    background:rgba(0,0,0,0.92);
    backdrop-filter:blur(10px);
    flex-direction:column;
    justify-content:flex-start;
    align-items:flex-start;
    padding-top:40px;
    padding-left:30px;
    padding-bottom:40px;
    gap:26px;
    transition:.45s ease;
    z-index:9999;
    overflow-y:auto;
  }

  .nav-menu.open{
    right:0;
  }

  .nav-menu a{
    font-size:14px;
    letter-spacing:1.5px;
  }

  .nav-toggle.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
  }
  .nav-toggle.active span:nth-child(2){
    opacity:0;
  }
  .nav-toggle.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
  }
}
