/* ------------------------------
   GLOBAL RESET & BASE STYLES
--------------------------------*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --header-height-large: 120px;
  --header-height-small: 60px;
  --logo-width: clamp(140px, 12vw, 310px);

  /* REQUIRED — fixes hero under header issue */
  --header-height: var(--header-height-large);
}

body {
  padding-top: var(--header-height);
  font-family: 'Montserrat', sans-serif;
  background-color: #000;
  color: #e0e0e0;
  line-height: 1.6;
}


@font-face {
  font-family: 'RobotHeroes';
  src: url('../WebFonts/RobotHeroes-0vy69.ttf') format('truetype');
}

@font-face {
  font-family: 'RobotHeroesIT';
  src: url('../WebFonts/RobotHeroesItalic-gwnJ1.ttf') format('truetype');
}

/* ------------------------------
   FLEXBOX TOP BAR LAYOUT
--------------------------------*/
.top-bar {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--header-height-large);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.35);
  transition: height 0.4s ease;
}

.top-bar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 20px;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,0),
    rgba(0,0,0,1),
    rgba(0,0,0,.5)
  );
  filter: blur(12px);
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
}

.top-bar.shrink {
  height: var(--header-height-small);
}

.top-bar.shrink::after {
  opacity: 0.6;
  transform: translateY(-6px);
  filter: blur(8px);
}

.top-bar.shrink .nav-left h1 {
  opacity: 0;
  transform: translateY(-10px);
}

.site-header {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 5px 20px;
}

.nav-left h1 {
  font-family: 'RobotHeroesIT', sans-serif;
  letter-spacing: 2px;
  font-size: 32px;
  text-transform: uppercase;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.logo-container {
  width: var(--logo-width);
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 10px;
}

.header-logo {
  width: var(--logo-width);
  position: relative;
  top: 30px;
  transform-origin: top top;
  transition: transform 0.6s ease;
}

.top-bar.shrink .header-logo {
  transform: scale(0.75);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 10px 0;
  white-space: nowrap;
  transition: margin 0.6s ease;
}

nav a {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.2);
  box-shadow: 0 0 8px rgba(25,236,13,.75);
  font-family: 'Exo 2', sans-serif;
  color: #D2D1D1;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  font-size: 12px;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

nav a:hover {
  background: rgba(1,1,1,0.8);
  box-shadow: 0 0 16px rgba(25,236,13,1);
}

/* ------------------------------
   HOMEPAGE HERO (FULLSCREEN)
--------------------------------*/
.hero {
  position: relative;
  height: 95vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0;
  margin: 0;
  background: none;
}

.hero h2 {
  position: absolute;
  top: 25%;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 2px;
  font-size: clamp(32px, 7vw, 80px);
  color: #FFF;
  text-shadow: 0 0 10px #000;
}

.hero p {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(16px, 2vw, 26px);
  max-width: 744px;
  color: #FFFD00;
  text-shadow:
    0 0 14px #000,
    0 0 15px #000,
    0 0 16px #000,
    0 0 24px #000;
}

/* ------------------------------
   SCROLL-ZOOM BACKGROUND
--------------------------------*/
.hero-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  background-image: url('../Images/bkg3.1.1.png');
  background-size: 160%;
  background-position: center 20%;
  background-repeat: no-repeat;
  z-index: -3;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0);
  z-index: -2;
  transition: background 0.25s linear;
}


/* ------------------------------
   SERVICE PAGE HERO SPACER
--------------------------------*/
body.service .hero-spacer {
  height: calc(var(--header-height));
}

body.service .service-hero-section {
  margin: 400px auto 0 auto;
}
@media (max-width: 600px) {
  body.service .service-hero-section {
    margin-top: 30px;
  }
}

/* ------------------------------
   SERVICE PAGE HERO OVERRIDES
--------------------------------*/
body.service .hero {
  height: auto;
  display: block;
  padding: 40px 20px 0;
  text-align: center;
  position: relative;
}

body.service .hero h2,
body.service .hero p {
  position: static;
  transform: none;
  margin: 0 auto 20px;
  max-width: 900px;
}

body.service .service-hero-section {
  margin: 40px auto 0;
  text-align: center;
}

body.service .service-hero {
  width: 80%;
  max-width: 900px;
  border-radius: 10px;
  margin: 0 auto 60px;
  display: block;
}

@media (max-width: 600px) {
  body.service .hero {
    padding: 20px 10px 0;
  }
  body.service .hero-spacer {
    height: calc(var(--header-height) + 8vh);
  }
  body.service .service-hero {
    width: 90%;
  }
}

/* ------------------------------
   FEATURES SECTION
--------------------------------*/
.features {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  font-size: 20px;
  text-shadow:
    0 0 14px #000,
    0 0 15px #000,
    0 0 16px #000,
    0 0 24px #000;
}

.features h3 {
  font-size: 36px;
  color: #ffff33;
  text-align: center;
  margin-bottom: 20px;
  text-shadow:
    0 0 18px #000,
    0 0 17px #000,
    0 0 19px #000,
    0 0 28px #000;
}

.features ul {
  list-style: none;
  font-size: 20px;
}

.features li {
  margin-top: 30px;
  padding-left: 15px;
  border-left: 6px solid #39ff14;
}

/* ------------------------------
   GALLERY SECTION
--------------------------------*/
.gallery {
  padding: 60px 20px;
}

.gallery h3 {
  font-size: 42px;
  color: #ffff33;
  text-align: center;
  margin-bottom: 50px;
  text-shadow:
    0 0 18px #000,
    0 0 17px #000,
    0 0 19px #000,
    0 0 28px #000;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.image-grid img {
  width: 100%;
  border-radius: 28px;
  border: 2px solid #3300cc;
  box-shadow: 0 0 12px #3300cc;
  transition: 0.3s;
}

.image-grid img:hover {
  transform: scale(1.03);
}

/* ------------------------------
   CALL TO ACTION
--------------------------------*/
.cta {
  text-align: center;
  padding: 60px 20px;
  font-size: 24px;
  text-shadow:
    0 0 18px #000,
    0 0 17px #000,
    0 0 19px #000,
    0 0 28px #000;
}

.cta h3 {
  font-size: 48px;
  color: #ffff33;
  margin-bottom: 250px;
  margin-top: -50px;
  text-shadow:
    0 0 18px #000,
    0 0 17px #000,
    0 0 19px #000,
    0 0 28px #000;
}

.cta a {
  color: #000;
  background: #39ff14;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 0 10px #39ff14;
  transition: 0.2s;
  position: relative;
  top: 30px;
}

.cta a:hover {
  background: #66ff66;
  box-shadow: 0 0 14px #66ff66;
}

/* ------------------------------
   FOOTER
--------------------------------*/
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  color: #888;
  font-size: 14px;
}
