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

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: Arial, sans-serif;
  background: rgba(0,0,0,0.85);
  color: white;
}

h1, h2, h3, p {
  margin: 0;
}

/* ================= FADE-IN ANIMATIONS ================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  animation: fadeIn 0.8s ease-in-out;
  }
}

.discord-overlay {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  transition: transform 0.2s ease-in-out;
}

.discord-overlay img {
  width: 60px;
  height: 60px;
  display: block;
  border-radius: 10%;
}

.discord-overlay:hover img {
  transform: scale(1.1);
}

.discord-overlay a {
  display: block;
}

/* ================= PAGE SPLIT ================= */
.page-layout {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= HERO ================= */
.hero {
  flex: 1;
  position: relative;
  background: url("./images/banner.jpg") no-repeat center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  order: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.textwrap h1 {
  background: maroon;
  color: #fff;
  display: inline-block;
  font-family: Oswald, Arial, sans-serif;
  font-size: 30px;
  margin: 10px 0;
  padding: 10px;
  text-transform: uppercase;
}

.textwrap h1 .light {
  color: #fff;
  font-family: Oswald, helvetica, sans-serif;
  font-weight: 300;
  text-transform: none;
}

.textwrap h2 {
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 30px;
  margin-bottom: 5px;
  margin-top: 10px;
  text-transform: none;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

/* ================= NAVBAR ================= */
.navbar {
  background: rgba(26, 26, 26, 0.9);
  width: 100%;
  padding: 7px 0;
  flex: 0 0 auto;
  animation: fadeIn 0.8s ease-in-out 0.2s backwards;
  order: 2;
}

.nav-container {
  list-style: none;
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 60px;
}

.nav-left {
  display: flex;
  gap: 150px;
  align-items: center;
  justify-content: flex-end;
}

.nav-right {
  display: flex;
  gap: 150px;
  align-items: center;
  justify-content: flex-start;
}

.nav-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.nav-brand img {
  height: 98px;
  display: block;
  object-fit: contain;
}

/* ================= NAV LINKS ================= */
.nav-left a,
.nav-right a {
  color: white;
  text-decoration: none;
  font-size: 0.7rem;
  transition: color 0.2s;
}

.nav-left a:hover,
.nav-left a:focus,
.nav-left a:active,
.nav-right a:hover,
.nav-right a:focus,
.nav-right a:active {
  color: #C41E3A;
}

/* ================= SERVICES GRID ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 20px;
}

.services-grid .service img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.services-grid .service h3 {
  margin: 10px 0 5px;
  color: white;
}

.services-grid .service p {
  margin-bottom: 15px;
}

/* ================= MOBILE ================= */
@media (max-width: 700px) {

  .page-layout {
    height: auto;
  }

  .hero {
    min-height: 70vh;
  }

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

  .left,
  .right {
    flex-wrap: wrap;
    gap: 15px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}
