@font-face {
  font-family: 'Soehne Kräftig';
  src: url('assets/soehne-breit-kraeftig.woff2') format('woff2');
  font-weight: 750;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Soehne Buch';
  src: url('assets/soehne-breit-buch.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gravity Points';
  src: url('assets/GravityPointsWidth1Regular-axOxg.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* NAVIGATION */
.main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #3a2b28;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 1.25rem;
  z-index: 1000;
  margin: 0;
}

.nav-logo img {
  height: 90px;
  width: auto;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: 0;
  margin-left: 1rem;
}

.nav-links a {
  font-family: 'Soehne Buch', sans-serif;
  color: #f4f0e8;
  text-decoration: none;
  font-size: 1.125rem;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #ffd674;
  text-decoration: underline;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #3a2b28;
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 1001;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.dropdown-content li {
  padding: 0;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: #f4f0e8;
}

.dropdown-content a:hover {
  background-color: #4c3a36;
  color: #ffd674;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* BODY RESET */
body {
  padding-top: 120px;
  margin: 0;
  background: #0a0a0a;
  color: #2d2d2d;
  font-family: 'Soehne Buch', sans-serif;
}

/* BACKGROUND VISUALS */
#slideshow, #slideshow-fade {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3;
  background-size: cover;
  background-position: center;
  transition: opacity 1.5s ease-in-out;
}

#slideshow-fade {
  z-index: -4;
  opacity: 0;
}

#background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
 #background-overlay {
  background: url('../assets/backgroundFX-wood1.png');
}
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.1;
  animation: pulseOverlay 24s ease-in-out infinite;
  pointer-events: none;
  z-index: -2;
}

@keyframes pulseOverlay {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 0.25; }
}

/* LOGO HEADER SECTION */
.top-banner {
  text-align: center;
  padding: 0.5rem 1rem 0.25rem 1rem;
  margin-top: -0.25rem;
}

.logo-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: 'Gravity Points', sans-serif;
  color: #ffffff;
  margin-bottom: -10px;
}

.sigil-logo {
  width: 166px;
  height: auto;
  margin-top: -6px;
}

.title-stack {
  text-align: left;
  font-size: 1.75rem;
  line-height: 1.4;
  color: #ffffff;
  font-family: 'Soehne Kräftig', sans-serif;
  margin-top: -0.5rem;
}

.field-symbol {
  color: #e0b13f;
  margin: 0 0.2em;
}

/* MAIN SECTION */
main {
  max-width: 825px;
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

/* TEXT BLOCKS */
.text-block {
  position: relative;
  background: rgba(255, 255, 240, 0.7) url('assets/textbox_background.png');
  background-blend-mode: multiply;
  background-size: cover;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
  font-family: 'Soehne Buch', sans-serif;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(10px);
  color: #2d2d2d;
}

.text-block.visible {
  opacity: 1;
  transform: translateY(0);
}

.text-block:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.textbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/3Dsingularity-sigilwhite.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

/* Collapsible Button */
.collapsible {
  background-color: rgba(255, 255, 240, 0.85);
  color: #2d2d2d;
  cursor: pointer;
  padding: 1rem;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 1.25rem;
  font-family: 'Soehne Kräftig', sans-serif;
  border-radius: 12px 12px 0 0;
  transition: background 0.3s ease;
}

.collapsible:hover {
  background-color: rgba(255, 255, 240, 0.95);
}

/* Collapsible Content */
.collapsible-content {
  display: none;
  overflow: hidden;
  padding: 1.5rem;
  background-color: rgba(255, 255, 240, 0.75);
  border-radius: 0 0 12px 12px;
  backdrop-filter: blur(2px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: -1rem;
}


/* BUTTON */
.textblock-button {
  display: inline-block;
  margin-top: 0.5rem;
  color: #2d2d2d;
  background-color: rgba(255, 255, 240, 0.65);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(2px);
}

.textblock-button:hover {
  background-color: rgba(255, 255, 240, 0.8);
  box-shadow: 0 0 0.5rem rgba(224, 177, 63, 0.3);
}

h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* FOOTER */
footer {
  text-align: center;
  padding-bottom: 3rem;
  font-style: italic;
  color: #555;
}

/* 📱 MOBILE */
@media (max-width: 600px) {
  .nav-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .sigil-logo {
    width: 140px;
  }

  .title-stack {
    font-size: 1.45rem;
  }

  .logo-title {
    gap: 0.5rem;
  }

  body {
    padding-top: 100px;
  }
}
