:root{
  --primary:#0f766e;
  --secondary:#14b8a6;
  --dark:#0f172a;
  --gray:#64748b;
  --light:#ffffff;
  --bg:#f8fafc;
  --soft:#ccfbf1;
  --soft-blue:#dbeafe;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:
  radial-gradient(circle at top left, rgba(20,184,166,0.08), transparent 25%),
  radial-gradient(circle at bottom right, rgba(59,130,246,0.08), transparent 25%),
  var(--bg);
  color:var(--dark);
  overflow-x:hidden;
}

.container{
  width:min(1200px, 90%);
  margin:auto;
}

.hero-text{
  text-align:justify;
  text-align-last:center;
  line-height:1.9;
  max-width:600px;
  margin:auto;
}


/* ================= NAVBAR ================= */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  z-index:1000;
  background:rgba(15,23,42,0.45);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:0.3s;
}

.nav-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}


/* LOGO */
.logo{
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.logo img{
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
  display:block;
  border:2px solid rgba(255,255,255,.18);
  transition:.3s ease;
}

.logo img:hover{
  transform:scale(1.08);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}


/* NAV LINKS */
.nav-links{
  display:flex;
  align-items:center;
  gap:28px;
  list-style:none;
}

.nav-links li{
  list-style:none;
}

.nav-links a{
  text-decoration:none;
  color:white;
  font-weight:500;
  transition:0.3s;
  position:relative;
}


/* HOVER */
.nav-links a::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-6px;
  width:0%;
  height:2px;
  background:#99f6e4;
  transition:0.3s;
}

.nav-links a:hover::after{
  width:100%;
}

.nav-links a:hover{
  color:#99f6e4;
}


/* MENU TOGGLE */
.menu-toggle{
  display:none;
  font-size:1.8rem;
  color:#ffffff;
  cursor:pointer;
}


/* ================= HERO ================= */
.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:160px 20px 100px;
  background:
  linear-gradient(rgba(15,23,42,0.7),rgba(15,23,42,0.8)),
  url('assets/cipanhero.webp');
  background-size:cover;
  background-position:right center;
  color:white;
}

.hero-content{
  max-width:850px;
}

.hero h1{
  font-size:4rem;
  line-height:1.2;
  margin-bottom:20px;
}

.hero p{
  max-width:750px;
  margin:auto;
  line-height:1.9;
  color:#e2e8f0;
  margin-bottom:35px;
}

.hero-btns{
  display:flex;
  justify-content:center;
  gap:18px;
  flex-wrap:wrap;
}

.hero-btn{
  display:inline-block;
  padding:15px 28px;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.primary-btn{
  background:linear-gradient(135deg,#14b8a6,#06b6d4);
  color:white;
}

.secondary-btn{
  border:2px solid rgba(255,255,255,0.3);
  color:white;
}

.hero-btn:hover{
  transform:translateY(-5px);
}


/* ================= SECTION ================= */
.section{
  padding:100px 0;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:2.7rem;
  margin-bottom:15px;
}

.section-title p{
  color:var(--gray);
}


/* ================= WHY US ================= */
.features-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:25px;
}

.feature-card{
  background:white;
  padding:35px;
  border-radius:28px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:0.35s;
}

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

.feature-icon{
  width:75px;
  height:75px;
  margin:auto;
  margin-bottom:20px;
  border-radius:20px;
  background:rgba(20,184,166,0.1);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:2rem;
  color:var(--primary);
  box-shadow:0 10px 25px rgba(20,184,166,0.15);
}


/* ================= PACKAGE DETAIL ================= */
.package-detail{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.trip-card{
  background:white;
  border-radius:30px;
  overflow:hidden;
  box-shadow:0 10px 35px rgba(0,0,0,0.06);
  transition:0.35s;
}

.trip-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 45px rgba(20,184,166,0.12);
}

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

.trip-content{
  padding:30px;
}

.trip-content h3{
  color:var(--primary);
  margin-bottom:15px;
  line-height:1.5;
}

.trip-content p{
  line-height:1.9;
  color:var(--gray);
  margin-bottom:18px;
}

.trip-content ul{
  padding-left:18px;
  margin-bottom:20px;
  color:var(--gray);
  line-height:1.8;
}

.trip-btn{
  display:inline-block;
  margin-top:10px;
  padding:14px 24px;
  background:var(--primary);
  color:white;
  text-decoration:none;
  border-radius:50px;
  transition:0.3s;
  font-weight:600;
  display:flex;
  justify-content:center;
}

.trip-btn:hover{
  background:var(--secondary);
}


/* ================= GALLERY ================= */
.gallery-row{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  margin-bottom:22px;
}

.gallery-item{
  overflow:hidden;
  border-radius:28px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
  transition:0.35s;
}

.gallery-item:hover{
  transform:translateY(-8px);
  box-shadow:0 20px 45px rgba(20,184,166,0.12);
}

.gallery-item img{
  width:100%;
  height:300px;
  object-fit:cover;
  display:block;
  transition:0.5s;
}

.gallery-item img:hover{
  transform:scale(1.06);
}


/* ================= CONTACT ================= */
.contact-box{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,var(--primary),#0f172a);
  padding:50px;
  border-radius:35px;
  text-align:center;
  color:white;
  max-width:900px;
  margin:auto;
  box-shadow:0 20px 50px rgba(15,118,110,0.18);
}

.contact-box > *{
  position:relative;
  z-index:2;
}

.contact-box::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:url('assets/cipancartographer.webp');
  background-size:300px;
  background-repeat:repeat;
  opacity:0.15;
  pointer-events:none;
}

.contact-box h2{
  margin-bottom:20px;
  font-size:2.5rem;
}

.contact-box p{
  color:#e2e8f0;
  line-height:1.9;
  margin-bottom:30px;
}

.contact-info{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-bottom:35px;
}

.contact-item{
  display:flex;
  align-items:center;
  gap:15px;
  text-decoration:none;
  color:white;
  transition:0.3s;
  flex-wrap:wrap;
}

.contact-item:hover{
  transform:translateY(-3px);
  color:#99f6e4;
}

.contact-item span{
  font-size: 22px;
  font-weight: 500; 
}

.contact-icon{
  width:52px;
  height:52px;
  border-radius:16px;
  background:rgba(255,255,255,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
}

.contact-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:center;
  padding:10px 18px;
  background:#fff;
  color:#14b8a6;
  font-size:20px;
  font-weight:600;
  text-decoration:none;
  border:2px solid #14b8a6;
  border-radius:999px;
  transition:0.3s ease;
  box-shadow:0 4px 15px rgba(20,184,166,0.15);
}

.contact-btn:hover{
  background:#14b8a6;
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(20,184,166,0.25);
}

.location-section{
  margin-top:90px;
  padding:40px;
  background:#f8fafc;
  border-radius:35px;
}

.map{
  margin-top:35px;
  overflow:hidden;
  border-radius:30px;
  box-shadow:0 10px 35px rgba(0,0,0,0.08);
  transition:0.3s ease;
}

.map:hover{
  transform:translateY(-4px);
}

.map iframe{
  width:100%;
  height:450px;
  border:0;
  border-radius:30px;
}


/* ================= FLOATING WHATSAPP ================= */
.floating-wa{
  position:fixed;
  right:25px;
  bottom:25px;
  display:flex;
  align-items:center;
  gap:12px;
  background:#25D366;
  color:white;
  padding:14px 22px;
  border-radius:50px;
  box-shadow:0 10px 25px rgba(0,0,0,.2);
  z-index:1000;
  transition:.3s;
  animation:float 3s ease-in-out infinite;
  text-decoration:none;
}

.floating-wa:hover{
  transform:translateY(-5px);
  background:#1da851;
}

.floating-wa i{
  font-size:1.5rem;
}

.floating-wa span{
  font-weight:600;
}

@keyframes float{
  0%,100%{
    transform:translateY(0);
  }
  50%{
    transform:translateY(-8px);
  }
}


/* ================= FOOTER ================= */
footer{
  margin-top:80px;
  background:#0f172a;
  color:white;
  text-align:center;
  padding:40px 20px;
  position:relative;
  overflow:hidden;
}

footer::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:url('assets/cipancartographer.webp');
  background-size:300px;
  background-repeat:repeat;
  opacity:0.05;
}

footer p{
  color:#cbd5e1;
  line-height:1.8;
}


/* ================= MOBILE ================= */
@media(max-width:768px){
  .hero{
    background-position:center;
    background-size:cover;
  }
  
  .hero h1{
    font-size:2.5rem;
  }

  .section-title h2{
    font-size:2rem;
  }

  .menu-toggle{
    display:block;
  }

  .contact-box{
    padding:40px 25px;
  }

  .nav-links{
    position:absolute;
    top:110%;
    left:50%;
    transform:translateX(-50%);
    width:90%;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-radius:25px;
    padding:30px 20px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    text-align:center;
    gap:22px;
    box-shadow:0 15px 35px rgba(0,0,0,0.08);
    display:none;
  }

  .nav-links.active{
    display:flex;
    animation:fadeDown 0.4s ease;
  }

  .nav-links a{
    color:var(--dark);
    font-size:1rem;
  }

  .package-detail{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    gap:20px;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding-left:3%;
    padding-right:3%;
    padding-bottom:10px;
    cursor:grab;
  }

  .package-detail:active{
    cursor:grabbing;
  }

  .package-detail::-webkit-scrollbar{
    display:none;
  }

  .trip-card{
    flex:0 0 90%;
    max-width:90%;
    scroll-snap-align:center;
  }

  .gallery-row{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    overflow-y:hidden;
    gap:18px;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    -webkit-overflow-scrolling:touch;
    padding-left:3%;
    padding-right:3%;
    padding-bottom:10px;
    margin-bottom:20px;
    cursor:grab;
  }

  .gallery-row:active{
    cursor:grabbing;
  }

  .gallery-row::-webkit-scrollbar{
    display:none;
  }

  .gallery-item{
    flex:0 0 85%;
    max-width:85%;
    scroll-snap-align:center;
  }

  .gallery-item img{
    height:260px;
  }

  .floating-wa{
    right:18px;
    bottom:18px;
    padding:14px 18px;
  }

  .floating-wa span{
    display:none;
  }
}


/* ================= ANIMATION ================= */
@keyframes fadeDown{
  from{
    opacity:0;
    transform:translateX(-50%) translateY(-15px);
  }

  to{
    opacity:1;
    transform:translateX(-50%) translateY(0);
  }

}