/* ========================= */
/* GLOBAL LAYOUT FIX         */
/* ========================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: Arial, sans-serif;
}

/* THIS is what fixes the “stuck left” problem */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================= */
/* NAVBAR FIX                */
/* ========================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: black;
  border-bottom: 1px solid #111;
  z-index: 9999;
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}

.nav-links a:hover {
  color: #ff0055;
}

.logo {
  color: #ff0055;
  text-decoration: none;
  font-weight: bold;
}
/* ============================= */
/* FULL BLACK PROFESSIONAL THEME */
/* ============================= */

body {
  margin: 0;
  font-family: "Lato", sans-serif;
  background: #000;
  color: #fff;
}

/* NAVBAR */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(0,0,0,0.9);
  border-bottom: 1px solid #111;
  z-index: 999;
}

.nav-inner {
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.logo {
  color: #ff0055;
  font-family: "Orbitron";
  text-decoration: none;
  font-weight: bold;
}

.nav-links a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #ff0055;
}

.nav-mobile {
  display: none;
  color: white;
  font-size: 22px;
}

/* MOBILE MENU */

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #000;
  position: fixed;
  top: 60px;
  width: 100%;
  padding: 10px;
  border-bottom: 1px solid #111;
}

.mobile-menu a {
  padding: 10px;
  color: white;
  text-decoration: none;
}

/* HERO */

.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}

.hero-slideshow img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: 1s ease;
  filter: brightness(40%);
}

.hero-slideshow img.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero-content h1 {
  font-size: 60px;
  font-family: "Orbitron";
  color: #ff0055;
}

.hero-content p {
  color: #aaa;
}

/* BUTTON */

.btn-primary {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #ff0055;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #ff3380;
}

/* SECTIONS */

.section {
  max-width: 1000px;
  margin: auto;
  padding: 80px 20px;
  text-align: center;
}

.section.dark {
  background: #050505;
}

/* GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: #111;
  padding: 15px;
  border: 1px solid #1a1a1a;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #ff0055;
}

.card img {
  width: 100%;
}

/* FOOTER */

footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid #111;
}

.socials a {
  color: white;
  margin: 0 10px;
}

/* RESPONSIVE */

@media (max-width: 768px) {

  .grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  .mobile-menu.show {
    display: flex;
  }

  .hero-content h1 {
    font-size: 36px;
  }

}

/* ========================= */
/* PROJECT PAGES             */
/* ========================= */

.project-page {
  max-width: 900px;
  margin: auto;
  padding: 120px 20px;
  text-align: center;
  color: white;
}

.project-page h1 {
  color: #ff0055;
  font-family: "Orbitron", sans-serif;
  margin-bottom: 40px;
}

.project-banner {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  margin-bottom: 40px;
  border: 1px solid #222;
}

.project-page p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 25px;
}
