/* ===============================
   VARIABLES (BRANDING NOVA)
=============================== */
:root{
  --blue:#3d85c6;
  --dark:#0b0f14;
  --dark2:#11161d;
  --text:#e9eef7;
  --muted:#9aa4b2;
  --line:rgba(255,255,255,.08);
}

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

body{
  font-family:Montserrat, sans-serif;
  background:var(--dark);
  color:var(--text);
  line-height:1.6;
}

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

a{
  text-decoration:none;
  color:inherit;
}

/* ===============================
   CONTAINER
=============================== */
.container{
  width:min(1200px, 92%);
  margin:auto;
}

/* ===============================
   HEADER
=============================== */
.main-header{
  position:fixed;
  width:100%;
  top:0;
  left:0;
  z-index:999;
  padding:20px 0;
  transition:0.3s;
}

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

.logo{
  height:50px;
  transition:0.4s ease;
}

nav ul{
  display:flex;
  gap:30px;
  list-style:none;
}

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

nav a:hover{
  color:var(--blue);
}

/* ===============================
   HERO + SLIDER
=============================== */
.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
}

/* SLIDER */
.slider{
  position:absolute;
  width:100%;
  height:100%;
}

.slider img{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  opacity:0;
  transition:1.5s ease;
}

/* OVERLAY */
.hero-overlay{
  position:absolute;
  width:100%;
  height:100%;
  background:linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.85)
  );
  z-index:1;
}

/* HERO TEXT */
.hero-content{
  position:relative;
  z-index:2;
  height:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
}

.hero h1{
  font-family:"Bebas Neue";
  font-size:70px;
  letter-spacing:3px;
}

.hero p{
  margin-top:15px;
  color:var(--muted);
}

/* ===============================
   BUTTON
=============================== */
.btn{
  margin-top:25px;
  display:inline-block;
  padding:14px 30px;
  border-radius:30px;
  background:var(--blue);
  color:white;
  font-size:14px;
  letter-spacing:1px;
  transition:0.3s;
}

.btn:hover{
  transform:scale(1.05);
}

/* ===============================
   SERVICES SLIDER (HERO)
=============================== */
.services-slider{
  position:absolute;
  bottom:20px;
  width:100%;
  z-index:3;
  overflow:hidden;
}

.services-track{
  display:flex;
  gap:20px;
  padding:0 40px;
  overflow-x:auto;
  scroll-behavior:smooth;
}

/* CARD */
.service-item{
  min-width:180px;
  height:120px;
  border-radius:12px;
  overflow:hidden;
  position:relative;
  cursor:pointer;
  flex-shrink:0;
}

/* IMAGE */
.service-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}

/* OVERLAY */
.service-item::after{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  background:linear-gradient(
    transparent,
    rgba(0,0,0,0.8)
  );
  top:0;
  left:0;
}

/* TEXT */
.service-item span{
  position:absolute;
  bottom:10px;
  left:10px;
  z-index:2;
  font-size:13px;
}

/* HOVER */
.service-item:hover img{
  transform:scale(1.1);
}

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

h2{
  font-family:"Bebas Neue";
  font-size:40px;
  margin-bottom:20px;
}

/* ===============================
   INTRO
=============================== */
.intro{
  text-align:center;
}

.intro p{
  max-width:700px;
  margin:auto;
  color:var(--muted);
}

/* ===============================
   SERVICES GRID
=============================== */
.services .grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
  margin-top:40px;
}

.card{
  background:var(--dark2);
  padding:30px;
  border-radius:15px;
  border:1px solid var(--line);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-10px);
  border-color:var(--blue);
}

.card h3{
  margin-bottom:10px;
}

/* ===============================
   PROCESS
=============================== */
.steps{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
  margin-top:40px;
}

.step{
  flex:1;
  min-width:220px;
  text-align:center;
}

.step span{
  font-size:40px;
  color:var(--blue);
}

.step h4{
  margin-top:10px;
}

.step p{
  color:var(--muted);
}

/* ===============================
   PORTFOLIO PREVIEW
=============================== */
.portfolio-preview{
  text-align:center;
}

.portfolio-preview p{
  color:var(--muted);
}

/* ===============================
   CTA
=============================== */
.cta{
  background:linear-gradient(90deg,#111,#0b0f14);
  text-align:center;
}

.cta-content{
  max-width:700px;
  margin:auto;
}

.cta h2{
  margin-bottom:15px;
}

/* ===============================
   FOOTER
=============================== */
.main-footer{
  background:#05070a;
  padding:40px 0;
  text-align:center;
}

.main-footer p{
  color:#666;
}

.main-footer .credit{
  margin-top:10px;
  font-size:14px;
}

.main-footer a{
  color:var(--blue);
}

/* ===============================
   REVEAL ANIMATION
=============================== */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:0.6s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* ===============================
   RESPONSIVE
=============================== */
@media(max-width:900px){

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

  nav ul{
    display:none;
  }

  .services-slider{
    bottom:10px;
  }

  .service-item{
    min-width:140px;
    height:90px;
  }

  section{
    padding:70px 0;
  }

}