/* ===== Global Styles ===== */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #0e0e0e;
  color: #e0dcdc;
}

h1, h2, h3 {
  font-family: 'Cinzel', serif;
  color: #d4af37;
  text-transform: uppercase;
}

p {
  line-height: 1.6;
}

/* ===== Navigation ===== */
header {
  background-color: #1a1a1a;
  border-bottom: 2px solid #d4af37;
  position: sticky;
  top: 0;
  z-index: 10;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 2em;
}

nav .logo {
  color: #d4af37;
  font-size: 1.5em;
  text-decoration: none;
  font-family: 'Cinzel', serif;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #e0dcdc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav ul li a:hover, nav ul li a.active {
  color: #d4af37;
}

/* ===== Hero Section ===== */
.hero {
  background: url('images/hero_bg.jpg') center/cover no-repeat;
  text-align: center;
  padding: 6em 2em;
  background-color: #111;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 0.5em;
}

.hero p {
  font-size: 1.2em;
  color: #f2f2f2;
}

/* ===== Content Sections ===== */
.content {
  max-width: 1000px;
  margin: 3em auto;
  padding: 0 1.5em;
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.gallery img {
  width: 300px;
  border: 2px solid #d4af37;
  border-radius: 8px;
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* ===== Factions & Products ===== */
.factions, .products {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  justify-content: center;
}

.faction, .product {
  background: #1c1c1c;
  padding: 1.5em;
  border-radius: 10px;
  border: 1px solid #d4af37;
  width: 300px;
  text-align: center;
}

.product img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1em;
}

/* ===== News Articles ===== */
.news article {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #333;
}

.news h2 {
  color: #f4c542;
}

/* ===== Footer ===== */
footer {
  background-color: #1a1a1a;
  color: #aaa;
  text-align: center;
  padding: 1em;
  border-top: 2px solid #d4af37;
}

@media (max-width: 768px) {
  .factions, .products, .gallery {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    flex-direction: column;
    background-color: #111;
    padding: 1em;
  }
}
