/* =========================
   RAWPEAK MASTER CSS
   FINAL STABLE SYSTEM + LIGHTS ON
========================= */

:root{
--bg:#050505;
--heading:#F1EADB;
--body:#D8D1C4;
--muted:#A89F91;
--accent:#D6A04A;
}

/* =========================
   RESET
========================= */

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

html{
scroll-behavior:smooth;
}

body{
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
background:var(--bg);
color:var(--heading);
overflow-x:hidden;
-webkit-font-smoothing:antialiased;
text-rendering:optimizeLegibility;
}

/* =========================
   NAV
========================= */

.nav{
position:fixed;
top:0;
left:0;
right:0;
display:flex;
justify-content:space-between;
align-items:center;
padding:14px 6%;
background:rgba(5,5,5,.65);
backdrop-filter:blur(18px);
z-index:1000;
}

.nav img{height:42px;}

.nav-links{
display:flex;
align-items:center;
}

.nav-links a{
color:var(--heading);
margin-left:20px;
font-size:11px;
letter-spacing:1px;
text-decoration:none;
opacity:.75;
transition:.3s ease;
}

.nav-links a:hover{
opacity:1;
color:var(--accent);
}

/* =========================
   HERO SYSTEM (RAWPEAK)
   CLEAN + PREMIUM
========================= */

.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 100px 20px 140px;
  overflow: hidden;
}

/* =========================
   OVERLAY SYSTEM
========================= */

/* Cinematic gradient overlay */
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.15) 0%,
    rgba(0,0,0,.40) 35%,
    rgba(0,0,0,.70) 70%,
    rgba(0,0,0,.92) 100%
  );
  z-index: 1;
}

/* Soft vignette */
.hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 35%,
    rgba(0,0,0,.35) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* =========================
   CONTENT WRAPPER
========================= */

.hero-content{
  position: relative;
  z-index: 2;
  max-width: 820px;
  width: 100%;
  margin: auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  animation: fadeUp 1.1s ease forwards;
  opacity: 0;
  transform: translateY(26px);
}

/* =========================
   LABEL (SYSTEM ID)
========================= */

.hero-label{
  font-size: .75rem;
  letter-spacing: .38em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--accent);

  margin-bottom: 18px;
  opacity: .9;
}

/* =========================
   MAIN TITLE
========================= */

.hero h1{
  font-size: clamp(4rem, 9vw, 7rem);
  line-height: .88;
  font-weight: 800;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  color: var(--heading);

  text-shadow:
    0 3px 18px rgba(0,0,0,.55),
    0 0 35px rgba(0,0,0,.25);

  margin-bottom: 12px;
}

/* =========================
   SUBTITLE (h2)
   - direction / route info
========================= */

.hero h2{
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;

  color: var(--accent);
  opacity: .85;

  margin-top: 4px;
  margin-bottom: 22px;
}

/* =========================
   DESCRIPTION
========================= */

.hero-subtitle{
  max-width: 650px;
  margin: 0 auto 34px;

  font-size: 1.05rem;
  line-height: 1.8;
  font-weight: 300;

  color: var(--body);
  opacity: .9;
}

/* =========================
   META INFO
========================= */

.hero-meta{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;

  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;

  color: var(--muted);
}

.hero-meta span{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(214,160,74,.55);
  opacity: .85;
}
/* =========================
   HERO VARIANTS (TRANS SYSTEM)
========================= */

/* Trans - Backbone Initiation */
.hero--trans{
background:url('rawpeak-hero001.jpg') center/cover no-repeat;
}

/* V1 - Backbone Initiation */
.hero--v1{
background:url('rawpeak-hero018.jpg') center/cover no-repeat;
}

/* V2 - Extended Spine (MAIN FEATURE) */
.hero--v2{
background:url('rawpeak-hero006.jpg') center/cover no-repeat;
}

/* LOJING - Entry Gateway */
.hero--lojing{
background:url('rawpeak-hero013.jpg') center/cover no-repeat;
}

/* CUS - Custom Expedition */
.hero--cus{
background:url('rawpeak-hero053.jpg') center/cover no-repeat;
}

/* YB3B - Extreme Ridge */
.hero--yb3b{
background:url('rawpeak-hero021.jpg') center/cover no-repeat;
}

/* YYBTN */
.hero--yybtn{
background:url('rawpeak-hero032.jpg') center/cover no-repeat;
}


/* CECIL - Terminal Ridge */
.hero--cecil{
background:url('rawpeak-hero033.jpg') center/cover no-repeat;
}

/* BERHID - Terminal Ridge */
.hero--berhid{
background:url('rawpeak-hero003.jpg') center/cover no-repeat;
}

/* TOK NENEK */
.hero--toknenek{
background:url('rawpeak-hero038.jpg') center/cover no-repeat;
}

/* SWETTENHAM */
.hero--swettenham{
background:url('rawpeak-hero024.jpg') center/cover no-repeat;
}

/* YONG YAP VIA RENGIL */
.hero--yongyap-rengil{
background:url('rawpeak-hero015.jpg') center/cover no-repeat;
}

/* YONG YAP VIA TUEL */
.hero--yongyap-tuel{
background:url('rawpeak-hero004.jpg') center/cover no-repeat;
}

/* =========================
   EXPLORE (CENTER FIXED)
========================= */

.explore{
position:absolute;
left:50%;
bottom:45px;
transform:translateX(-50%);
display:flex;
flex-direction:column;
align-items:center;
gap:6px;
font-size:11px;
letter-spacing:3px;
text-transform:uppercase;
color:var(--body);
opacity:.75;
animation:scrollFloat 2s ease-in-out infinite;
pointer-events:none;
text-align:center;
}

.explore span{
display:block;
}

/* =========================
   BUTTON
========================= */

.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:12px 18px;
border-radius:10px;
font-size:11px;
letter-spacing:1px;
text-decoration:none;
transition:.3s ease;
background:var(--heading);
color:var(--bg);
border:1px solid rgba(241,234,219,.25);
margin-top:18px;
margin-bottom:18px;
}

.btn:hover{
background:transparent;
color:var(--heading);
border-color:rgba(241,234,219,.5);
transform:translateY(-2px);
}

/* =========================
   SECTION
========================= */

.section{
padding:120px 8%;
text-align:center;
}

.section:first-of-type{
padding-top:150px;
}

.section h2{
font-size:42px;
margin-bottom:20px;
letter-spacing:-1px;
}

.section p{
max-width:760px;
margin:24px auto 0;
font-size:15px;
line-height:1.9;
opacity:.95;
color:var(--body);
}

/* =========================
   TRIP SPECIFICATION (FIXED)
========================= */

.trip-spec-card{
max-width:820px;
margin:40px auto 0;
padding:20px;
border-radius:14px;
background:rgba(255,255,255,0.02);
border:1px solid rgba(241,234,219,.08);
backdrop-filter:blur(10px);
}

.trip-row{
display:flex;
justify-content:space-between;
align-items:flex-start;
padding:10px 0;
border-bottom:1px solid rgba(241,234,219,.08);
gap:14px;
}

.trip-row:last-child{
border-bottom:none;
}

.label{
font-size:12px;
color:var(--muted);
letter-spacing:1px;
min-width:120px;
}

.value{
font-size:13px;
color:var(--heading);
text-align:right;
line-height:1.6;
flex:1;
}

/* =========================
   SPINE SYSTEM (LIGHT ON)
========================= */

.spine{
position:relative;
width:100%;
padding:80px 8% 120px;
min-height:200vh;
}

.spine-line{
position:absolute;
left:50%;
top:0;
bottom:0;
width:2px;
background:rgba(241,234,219,.08);
transform:translateX(-50%);
overflow:hidden;
box-shadow:0 0 18px rgba(214,160,74,.10);
}

/* ENERGY FLOW */
.spine-line::after{
content:"";
position:absolute;
top:-40%;
left:0;
width:100%;
height:40%;
background:linear-gradient(to bottom, transparent, var(--accent), transparent);
opacity:.85;
animation:spineFlow 3.5s linear infinite;
}

@keyframes spineFlow{
0%{transform:translateY(0);}
100%{transform:translateY(250%);}
}

/* =========================
   NODE SYSTEM
========================= */

.node{
position:relative;
display:flex;
width:100%;
margin:80px 0;
opacity:0.35;
transition:.6s ease;
}

.node.left{justify-content:flex-start;}
.node.right{justify-content:flex-end;}

.node.active{
opacity:1;
transform:scale(1.02);
}

.node-inner{
width:42%;
padding:20px 22px;
border-radius:14px;
background:rgba(255,255,255,0.02);
border:1px solid rgba(241,234,219,.08);
backdrop-filter:blur(10px);
}

.node.active .node-inner{
border:1px solid rgba(214,160,74,.18);
box-shadow:0 0 40px rgba(214,160,74,.10);
}

/* DOT LIGHT */
.node .dot{
width:10px;
height:10px;
background:var(--accent);
border-radius:50%;
position:absolute;
left:50%;
top:12px;
transform:translateX(-50%);
box-shadow:0 0 18px var(--accent);
}

.node .dot::after{
content:"";
position:absolute;
inset:-10px;
border-radius:50%;
border:1px solid rgba(214,160,74,.35);
animation:dotPulse 2.2s infinite;
}

@keyframes dotPulse{
0%{transform:scale(0.6);opacity:0;}
50%{opacity:1;}
100%{transform:scale(1.8);opacity:0;}
}

/* =========================
   IMAGE
========================= */

.node-image{
width:100%;
height:170px;
margin:14px 0;
border-radius:12px;
overflow:hidden;
border:1px solid rgba(241,234,219,.08);
}

.node-image img{
width:100%;
height:100%;
object-fit:cover;
}

/* =========================
   META
========================= */

.meta{
font-size:11px;
color:var(--body);
opacity:.75;
margin-bottom:10px;
}

.difficulty{
font-size:10px;
padding:4px 8px;
border:1px solid rgba(241,234,219,.25);
border-radius:6px;
margin-bottom:10px;
}

/* =========================
   CTA + FOOTER
========================= */

.cta{
padding:100px 8%;
text-align:center;
}

.footer{
text-align:center;
padding:8px;
font-size:10px;
color:var(--muted);
border-top:1px solid rgba(241,234,219,.08);
}

/* =========================
   ANIMATION
========================= */

@keyframes fadeUp{
to{opacity:1;transform:translateY(0);}
}

.fade{
opacity:0;
transform:translateY(40px);
transition:.8s ease;
}

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

@keyframes scrollFloat{
0%{transform:translate(-50%,0);opacity:0.35;}
50%{transform:translate(-50%,6px);opacity:0.7;}
100%{transform:translate(-50%,0);opacity:0.35;}
}
/* =========================
   TRANS ROUTE ZONES
========================= */

.zone{
position:relative;
min-height:90vh;
display:flex;
align-items:center;
padding:80px 0;
}

.zone:nth-child(odd){
justify-content:flex-start;
}

.zone:nth-child(even){
justify-content:flex-end;
}

.zone-content{
width:42%;
padding:22px;
background:rgba(255,255,255,.02);
border:1px solid rgba(241,234,219,.08);
border-radius:16px;
backdrop-filter:blur(10px);
transition:.45s ease;
}

.zone h2{
font-size:26px;
margin-bottom:14px;
letter-spacing:1px;
}

.zone p{
font-size:14px;
line-height:1.9;
color:var(--body);
}

.zone img{
width:100%;
height:240px;
object-fit:cover;
border-radius:12px;
margin-top:18px;
border:1px solid rgba(241,234,219,.08);
}

.zone .node{
position:absolute;
left:50%;
top:50%;
width:12px;
height:12px;
background:var(--accent);
border-radius:50%;
transform:translate(-50%,-50%);
box-shadow:0 0 18px rgba(214,160,74,.8);
z-index:5;
}

.zone .node::after{
content:"";
position:absolute;
inset:-10px;
border:1px solid rgba(214,160,74,.35);
border-radius:50%;
animation:dotPulse 2.2s infinite;
}

.zone:hover .zone-content{
transform:translateY(-6px);
border-color:rgba(214,160,74,.18);
box-shadow:0 15px 40px rgba(0,0,0,.35);
}
/* =========================
   MOBILE
========================= */

@media(max-width:768px){

.node{justify-content:center!important;}

.node-inner{width:100%;}

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

.hero h2{font-size:20px;}

.section{padding:100px 8%;}
}