
:root{--black:#000;--red:#E50914;--light:#F5F5F5;--muted:#bdbdbd}
*{box-sizing:border-box}html,body{height:100%;margin:0;font-family:Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;color:var(--light);background:var(--black)}
a{color:var(--light);text-decoration:none}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 60;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.brand img{height:50px;display:block}
.nav{display:flex;gap:18px;align-items:center}
.btn{padding:12px 18px;border-radius:8px;font-weight:700;cursor:pointer;border:0}
.btn-red{background:var(--red);color:var(--light);box-shadow:0 6px 18px rgba(229,9,20,0.12);transition:transform .22s ease}
.btn-dark{background:#111;color:var(--light);border:1px solid rgba(255,255,255,0.04)}

.hero {
  height: auto;     
  aspect-ratio: 16 / 9;     
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0 6vw;
  margin-top: 00px;
}

.slider{position:absolute;inset:0;z-index:0;overflow:hidden}
.slides{height:100%;display:flex;transition:transform .8s cubic-bezier(.2,.9,.2,1);width:100%}
.slide{flex:0 0 100%;background-size:cover;background-position:center center}
.slider-prev,.slider-next{position:absolute;top:50%;transform:translateY(-50%);background:rgba(0,0,0,0.5);border:0;color:#fff;padding:10px 12px;border-radius:6px;cursor:pointer;z-index:5}
.slider-prev{left:18px}.slider-next{right:18px}
.slider-dots{position:absolute;left:50%;transform:translateX(-50%);bottom:18px;display:flex;gap:8px;z-index:5}
.slider-dots button{width:10px;height:10px;border-radius:50%;border:0;background:rgba(255,255,255,0.4);cursor:pointer}
.slider-dots button.active{background:var(--red)}

.hero .overlay{position:absolute;inset:0;background:linear-gradient(120deg, rgba(0,0,0,0.45), rgba(0,0,0,0.6));z-index:1}
.hero .content{position:relative;z-index:2;max-width:960px;margin-left:40px;transform:skewY(-6deg);}
.hero h1{font-family:'Bebas Neue', 'Poppins', sans-serif;font-size:56px;letter-spacing:1px;margin:0 0 16px;color:var(--light);line-height:1.02}
.hero p{color:var(--muted);font-size:18px;margin:0 0 22px}

.section{padding:64px 6vw}
.section.light{background:#080808}

.home-services{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;align-items:stretch}
.service-card{background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));padding:12px;border-radius:12px;overflow:hidden;border:1px solid rgba(255,255,255,0.03);display:flex;flex-direction:column;justify-content:flex-start;transition:transform .35s ease,box-shadow .35s ease}
.service-card img{width:100%;height:220px;object-fit:cover;border-radius:8px;margin-bottom:12px}
.service-card:hover{transform:translateY(-8px) scale(1.01);box-shadow:0 18px 40px rgba(0,0,0,0.5)}

.portfolio-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.work-tile{position:relative;overflow:hidden;border-radius:8px;box-shadow:0 6px 20px rgba(0,0,0,0.12);transition:box-shadow .3s ease, transform .3s ease}
.work-tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .36s cubic-bezier(.2,.9,.2,1)}
.work-tile:hover img{transform:scale(1.06)}
.work-tile:hover{box-shadow:0 22px 60px rgba(0,0,0,0.2);transform:translateY(-6px)}
.overlay-txt{position:absolute;left:10px;bottom:10px;background:rgba(0,0,0,0.55);padding:6px 10px;border-radius:6px;font-size:13px}

.counters{display:flex;gap:24px;align-items:center;justify-content:flex-start;margin-top:20px}
.counter{min-width:120px;text-align:center}
.counter .num{font-size:34px;font-weight:800;color:var(--light)}
.counter .label{font-size:14px;color:var(--muted)}

.footer{padding:48px 6vw;background:#000;border-top:1px solid rgba(255,255,255,0.03);display:flex;justify-content:space-between;align-items:center;gap:18px}

@media (max-width:1100px){.portfolio-grid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:900px){.portfolio-grid{grid-template-columns:repeat(3,1fr)} .hero h1{font-size:42px} .service-card img{height:180px}}
@media (max-width:600px){.portfolio-grid{grid-template-columns:repeat(2,1fr)} .hero h1{font-size:32px} .brand img{height:84px}}
/* --- FINAL MOBILE + HERO OVERLAP FIX --- */
header.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  padding: 14px 22px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

/* push all page content below fixed header */
body {
  padding-top: 90px;
}

.hero {
  position: relative;
  padding-top: 40px; /* ensures slider content isn't under header */
}

/* Adjust hero content spacing and alignment */
.hero .content {
  position: relative;
  z-index: 2;
  margin-left: 0;
  text-align: center;
  max-width: 90%;
  margin: 0 auto;
}

.hero h1 {
  font-size: 50px;
  line-height: 1.1;
  text-align: center;
}

.hero p {
  text-align: center;
  margin-bottom: 20px;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* --- Responsive adjustment for mobile --- */
@media (max-width: 768px) {
  body {
    padding-top: 110px; /* more space for taller header on mobile */
  }

  .header {
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .brand img {
    height: 48px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .hero {
    padding-top: 50px;
  }

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

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


/* --- ABOUT HERO (separate from slider hero) --- */
.about-hero {
  position: relative;
  text-align: center;
  overflow: hidden;
  margin: 0;
}

.about-hero img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  display: block;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  margin-top: -80px;
  background: rgba(0,0,0,0.6);
  padding: 20px 30px;
  border-radius: 12px;
  display: inline-block;
}

.about-hero-content h1 {
  font-family: 'Bebas Neue', 'Poppins', sans-serif;
  font-size: 56px;
  color: var(--light);
  margin: 0;
  line-height: 1.1;
}

@media (max-width: 900px) {
  .about-hero img { height: 45vh; }
  .about-hero-content { margin-top: -60px; padding: 16px 20px; }
  .about-hero-content h1 { font-size: 36px; }
}

@media (max-width: 600px) {
  .about-hero img { height: 40vh; }
  .about-hero-content { margin-top: -50px; padding: 14px 16px; }
  .about-hero-content h1 { font-size: 28px; }
}
/* --- PROJECT SLIDER (separate from hero slider) --- */
.project-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 40px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.project-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.project-slide {
  flex: 0 0 100%;
  background-size: cover;
  background-position: center;
}

/* Arrows */
.project-prev, .project-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 0;
  color: #fff;
  font-size: 24px;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 5;
  transition: background 0.3s ease;
}
.project-prev:hover, .project-next:hover { background: rgba(0,0,0,0.8); }
.project-prev { left: 16px; }
.project-next { right: 16px; }

/* Dots */
.project-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}
.project-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}
.project-dots button.active { background: #e50914; }
