/* FONTS */
@font-face {
  font-family: 'Clash';
  src: url('fonts/Clash_Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'Clash';
  src: url('fonts/Clash_Bold.otf') format('opentype');
  font-weight: 700;
}

/* GLOBAL */
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Clash', sans-serif;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  background-color: rgb(0, 0, 0);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 0;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* HEADINGS */
h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  -webkit-text-stroke: 1px black;
  text-shadow: 1px 1px 2px black;
}
h2 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 1.5rem;
  -webkit-text-stroke: 0.5px black;
  text-shadow: 1px 1px 2px black;
}

/* BUTTON */
a.button {
  background: #ffcc00;
  color: black;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.3s ease;
}

a.button:hover {
  background: #ffdd33;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

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

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  margin: 0 10px;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px black;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ddd;
}

/* BURGER MENU */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: white;
  transition: all 0.3s;
}

@media screen and (max-width: 600px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(0,0,0,0.9);
    flex-direction: column;
    width: 200px;
    display: none;
    border-radius: 0 0 10px 10px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    margin: 15px 0;
    text-align: center;
  }

  .burger {
    display: flex;
  }
}

/* CLAN / ABOUT BOXES */
.about-box, .clan {
  background: rgba(0,0,0,0.6);
  border-radius: 15px;
  padding: 25px;
  margin: 30px auto;
  max-width: 700px;
  text-align: left;
  box-shadow: 0 0 25px rgba(0,0,0,0.7);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-box:hover, .clan:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(255,255,255,0.5);
}

/* IMAGE WITH HOVER CAPTION */
.hover-container {
  position: relative;
  max-width: 700px;
  margin: 20px auto;
  overflow: hidden;
  border-radius: 15px;
}

.hover-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hover-container:hover img {
  transform: scale(1.05);
}

.hover-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 10px;
  text-align: center;
  font-weight: 700;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hover-container:hover .hover-caption {
  opacity: 1;
}
