/* GLOBAL */
*{
  box-sizing:border-box;
  margin:0;
  padding:0;
  font-family:Helvetica, Arial, sans-serif;
}

html{
  scroll-behavior:smooth;
}

body{
  background:#000;
  color:white;
  line-height:1.5;
}

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:24px;
  padding:18px 40px;
  z-index:100;
  background:rgba(0,0,0,0.38);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  border-bottom:1px solid rgba(255,255,255,0.08);
  transition:background 0.35s ease, padding 0.35s ease;
}

.navbar.scrolled{
  background:rgba(0,0,0,0.86);
  padding:12px 40px;
}

.nav-logo{
  display:flex;
  align-items:center;
  flex-shrink:0;
}

.nav-logo img{
  height:40px;
  width:auto;
  display:block;
  opacity:1;
}

/* Homepage scroll effect only */
.home .nav-logo img{
  opacity:0;
}

.home .navbar.scrolled .nav-logo img{
  opacity:1;
}

/* NAV LINKS */
.nav-links{
  display:flex;
  align-items:center;
  list-style:none;
  gap:16px;
  margin-left:8px;
}

.nav-links li{
  display:block;
}

.nav-links a{
  display:inline-block;
  padding:8px 10px;
  color:white;
  text-decoration:none;
  font-size:14px;
  letter-spacing:1px;
  text-transform:uppercase;
  position:relative;
}

.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:white;
  transition:width 0.3s ease;
}

.nav-links a:hover::after{
  width:100%;
}

/* HERO */
.hero{
  height:100vh;
  min-height:700px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  position:relative;
  overflow:hidden;
  background:url("../../Images/header.jpg") center/cover no-repeat;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.62),
    rgba(0,0,0,0.20),
    rgba(0,0,0,0.82)
  );
  z-index:1;
}

.hero-center-logo{
  position:relative;
  z-index:2;
  transition:transform 0.5s ease, opacity 0.5s ease;
}

.hero-center-logo img{
  height:160px;
  width:auto;
  display:block;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,0.8));
}

.hero-center-logo.shrink{
  transform:translateY(-200px) scale(0.35);
  opacity:0;
}

.hero-text{
  position:relative;
  z-index:2;
  margin-top:18px;
  padding:0 20px;
}

.hero-text p{
  font-size:18px;
  letter-spacing:1px;
  opacity:0.9;
}

/* GENERAL SECTION STYLING */
section{
  padding:110px 60px;
  border-bottom:1px solid #1d1d1d;
}

.featured-builds,
.gallery-section,
.contact-section{
  background:#0b0b0b;
}

.section-header{
  max-width:800px;
  margin:0 auto 50px auto;
  text-align:center;
}

.section-kicker{
  font-size:12px;
  letter-spacing:3px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  margin-bottom:12px;
}

.section-header h2{
  font-size:42px;
  letter-spacing:1px;
  margin-bottom:14px;
}

.section-copy{
  font-size:17px;
  line-height:1.7;
  color:rgba(255,255,255,0.72);
}

/* BUILD GRID */
.build-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:28px;
  max-width:1400px;
  margin:60px auto 0 auto;
}

/* CARD */
.build-card{
  display:block;
  text-decoration:none;
  color:inherit;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  overflow:hidden;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);

  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.build-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,255,255,0.18);
  box-shadow:0 25px 50px rgba(0,0,0,0.4);
}

/* IMAGE WRAPPER */
.build-card-image{
  position:relative;
  overflow:hidden;
}

/* IMAGE */
.build-card-image img{
  width:100%;
  height:240px;
  object-fit:cover;
  display:block;
  transition:transform 0.6s ease;
}

/* 🔥 PREMIUM GRADIENT BLEND */
.build-card-image::after{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.0) 40%,
    rgba(0,0,0,0.35) 70%,
    rgba(11,11,11,1) 100%
  );

  opacity:0.9;
  pointer-events:none;
  transition:opacity 0.35s ease;
}

/* HOVER IMAGE */
.build-card:hover .build-card-image img{
  transform:scale(1.08);
}

/* CONTENT */
.build-card-content{
  padding:22px 24px 26px;
  position:relative;
  z-index:2;
  margin-top:-40px; /* 🔥 pulls content into gradient */
}

/* TAG */
.build-tag{
  font-size:12px;
  letter-spacing:2px;
  text-transform:uppercase;
  color:rgba(255,255,255,0.6);
  margin-bottom:10px;
}

/* TITLE */
.build-card h3{
  font-size:24px;
  line-height:1.2;
  margin-bottom:12px;
}

/* TEXT */
.build-card p{
  font-size:15px;
  line-height:1.65;
  color:rgba(255,255,255,0.78);
}

/* LINK */
.build-link{
  display:inline-block;
  margin-top:18px;
  font-size:13px;
  letter-spacing:1px;
  text-transform:uppercase;
  position:relative;
  padding-bottom:4px;
}

.build-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:2px;
  background:white;
  transition:width 0.3s ease;
}

.build-card:hover .build-link::after{
  width:100%;
}

/* RESPONSIVE */
@media (max-width:1200px){
  .build-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:700px){
  .build-grid{
    grid-template-columns:1fr;
  }

  .build-card-image img{
    height:220px;
  }

  .build-card-content{
    margin-top:-30px;
  }
}/* GALLERY */
.gallery-grid{
  max-width:1400px;
  margin:60px auto 0 auto;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:20px;
}

.gallery-item{
  display:block;
  position:relative;
  overflow:hidden;
  border-radius:18px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.03);
  min-height:280px;
}

.gallery-item img{
  width:100%;
  height:100%;
  min-height:280px;
  object-fit:cover;
  display:block;
  transition:transform 0.45s ease, opacity 0.3s ease;
}

.gallery-item:hover img{
  transform:scale(1.06);
}

.gallery-item::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to bottom,
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.35)
  );
  opacity:0;
  transition:opacity 0.3s ease;
}

.gallery-item:hover::after{
  opacity:1;
}

/* CONTACT */
.contact-box{
  max-width:760px;
  margin:40px auto 0 auto;
  padding:32px;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  background:rgba(255,255,255,0.03);
  text-align:center;
}

.contact-box p{
  font-size:18px;
  color:rgba(255,255,255,0.82);
  margin-bottom:14px;
}

.contact-box p:last-child{
  margin-bottom:0;
}

/* RESPONSIVE */
@media (max-width:1200px){
  .build-grid{
    grid-template-columns:repeat(2, 1fr);
  }

  .gallery-grid{
    grid-template-columns:repeat(2, 1fr);
  }
}

@media (max-width:700px){
  .navbar{
    padding:14px 20px;
    gap:12px;
  }

  .navbar.scrolled{
    padding:10px 20px;
  }

  .nav-logo img{
    height:34px;
  }

  .nav-links{
    gap:6px;
    margin-left:4px;
    flex-wrap:wrap;
  }

  .nav-links a{
    padding:6px 8px;
    font-size:12px;
  }

  .hero{
    min-height:620px;
  }

  .hero-center-logo img{
    height:120px;
  }

  .hero-center-logo.shrink{
    transform:translateY(-140px) scale(0.35);
  }

  .hero-text p{
    font-size:15px;
  }

  section{
    padding:80px 20px;
  }

  .section-header h2{
    font-size:32px;
  }

  .section-copy{
    font-size:15px;
  }

  .build-grid,
  .gallery-grid{
    grid-template-columns:1fr;
  }

  .build-card img{
    height:220px;
  }

  .build-card::before{
    height:220px;
  }

  .gallery-item,
  .gallery-item img{
    min-height:220px;
  }

  .contact-box{
    padding:24px;
  }

  .contact-box p{
    font-size:16px;
  }
}
