/*
Theme Name: Luna Wolves
Version: 1.0
*/

:root {
  --red: #8b0000;
  --black: #0a0a0a;
  --white: #f5f5f5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--black);
  font-family: 'Spectral', serif;
  color: var(--white);
  overflow-x: hidden;
}

/* HEADER */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 2px solid var(--red);
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  position: relative;
}

/* Centered logo */
.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.logo-center img {
  height: 75px;
}

/* NAVIGATION GROUPS */
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 3;
}

.nav-left ul,
.nav-left li {
  list-style: none;
}

.primary-menu {
  list-style: none;
}
.primary-menu li {
  list-style: none;
}

/* NAV ITEMS (INCLUDING DROPDOWNS) */
.nav-left a,
.nav-left .nav-item > a {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-family: 'Cinzel', serif;
  position: relative;
  transition: color 0.3s ease;
}

/* GOTHIC UNDERLINE EFFECT */
.nav-left a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  width: 100%;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 8px var(--red);
  transition: transform 0.3s ease;
}

.nav-left a:hover,
.nav-left .nav-item:hover > a {
  color: var(--red);
}

.nav-left a:hover::after,
.nav-left .nav-item:hover > a::after {
  transform: translateX(-50%) scaleX(1);
}

/* SUBMENU WRAPPER */
.nav-item.has-submenu {
  position: relative;
}

/* SUBMENU DROPDOWN */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 10, 0.95);
  border: 1px solid var(--red);
  padding: 0.5rem 0;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  z-index: 100;
}

.submenu a {
  color: var(--white);
  font-family: 'Spectral', serif;
  text-decoration: none;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
}

.submenu a:hover {
  background: var(--red);
  color: var(--white);
}

/* SHOW SUBMENU ON HOVER */
.nav-item.has-submenu:hover .submenu {
  display: flex;
}

/* HEADER BUTTONS (RIGHT SIDE) */
.header-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--red);
  border: 2px solid var(--red);
  color: var(--white);
  text-decoration: none;
  font-family: 'Spectral', serif;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}

.header-btn i {
  font-size: 1.2rem;
}

.header-btn:hover {
  background: var(--black);
  color: var(--white);
}

/* HERO */
.hero {
  position: relative;
  height: 900px;
  background: url('space.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 120px;
}

.ship-wrapper {
  position: absolute;
  top: 8%;
  left: -180px;
  width: 600px;
  z-index: 2;
  opacity: 0;
  transform: translate(0, -200px);
  animation: shipFlyIn 2.2s ease-out forwards 0.3s;
}

.ship-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes shipFlyIn {
  to {
    transform: translate(250px, 100px);
    opacity: 1;
  }
}

.hero-box {
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  border: 3px solid var(--red);
  border-radius: 12px;
  width: 900px;
  max-width: 90%;
  height: 380px;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.hero-text-absolute {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
  pointer-events: none;
  text-align: center;
}

.hero-text .intro {
  font-style: italic;
  color: var(--red);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-text h1 {
  font-family: 'Cinzel', serif;
  font-size: 4.5rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--white);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-75px);
}

.hero-inner .ship-wrapper {
  position: absolute;
  top: 20px;
  left: -550px;
  width: 600px;
  z-index: 2;
  opacity: 0;
  transform: translate(-100px, -200px);
  animation: shipFlyIn 2.2s ease-out forwards 0.3s;
}

/* Main Content */

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  background: var(--black);
}

.divider-line {
  flex: 1;
  height: 2px;
  background: var(--red);
  margin: 0 1rem;
}

.divider-icon {
  color: var(--red);
  font-size: 1.2rem;
  animation: pulseDown 1.5s infinite;
}

@keyframes pulseDown {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(6px); opacity: 1; }
}

.site-footer {
  background: var(--black);
  border-top: 2px solid var(--red);
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Spectral', serif;
  color: var(--white);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer .disclaimer {
  margin-top: 0.5rem;
  color: #888;
  font-style: italic;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.5rem 0 1rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--white);
  font-family: 'Spectral', serif;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--red);
}

.footer-links i {
  font-size: 1.1rem;
}

.gothic-section {
  background: var(--black);
  border-bottom: 2px solid var(--red);
  padding: 4rem 1rem;
  text-align: center;
}

.gothic-section .update-content {
  max-width: 900px;
  margin: 0 auto;
}

.update-title {
  font-family: 'Cinzel', serif;
  color: var(--red);
  font-size: 2rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.update-message {
  font-family: 'Spectral', serif;
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.gothic-button {
  background: var(--red);
  color: var(--white);
  padding: 0.8rem 2rem;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  text-transform: uppercase;
  border: 2px solid var(--red);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.gothic-button i {
  font-size: 1.2rem;
}

.gothic-button:hover {
  background: var(--black);
  color: var(--white);
}

/* ---------------------------------
   Hide the ship on screens <1300px
   --------------------------------- */
@media (max-width: 1299px) {
  .ship-wrapper {
    display: none !important;
  }
}

/* ---------------------------------
   Tablet / large mobile (≤768px)
   --------------------------------- */
@media (max-width: 768px) {
  /* Header → logo row, links row, buttons row */
  .site-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.5rem;
    height: auto;
  }
  /* 1) Logo on its own left-aligned row */
  .logo-center {
    position: static;
    transform: none;
    align-self: flex-start;
    margin: 0;
  }
  .logo-center img {
    height: 60px;
  }
  /* 2) Links row */
  .nav-left {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .nav-left a {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }
  /* 3) Buttons row, icons only */
  .nav-right {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .nav-right .header-btn {
    /* circle buttons, icon-only */
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 0;               /* hide text */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
  }
  .nav-right .header-btn i {
    font-size: 1.2rem;
    color: var(--white);
  }

  /* Hero → fluid box & text */
  .hero {
    height: auto;
    padding: 2rem 1rem;
  }
  .hero-inner {
    flex-direction: column;
    align-items: center;
    transform: none;
  }
  .hero-box {
    width: 100%;
    max-width: 90%;
    margin: 0 auto;
    height: auto;
  }
  .hero-text-absolute {
    position: static;
    transform: none;
    max-width: 90%;
    margin: -3rem auto 0;
    padding: 1rem;
  }
  .hero-text-absolute .intro {
    font-size: 1rem;
  }
  .hero-text-absolute h1 {
    font-size: 2rem;
  }
  .hero-text-absolute p {
    font-size: 1rem;
    line-height: 1.4;
  }

  /* Divider tuck under hero */
  .section-divider {
    display: none;
  }

  /* Update section → centre & shrink */
  .gothic-section {
    padding: 2rem 1rem;
  }
  .update-title {
    font-size: 1.6rem;
  }
  .update-message {
    font-size: 0.95rem;
  }
  .gothic-button {
    display: block;
    width: 100%;
    max-width: 280px;
    margin: 1rem auto 0;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  /* Footer → vertical stack */
  .footer-links {
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 0;
  }
}
