/* =========================================
   GLOBAL THEME — Muggs Of Mastery
   For: Landing, Index, Nav (Hub) Pages
========================================= */
:root {
  --gold: #d4af37;
  --gold-light: #ffe8a8;
  --parchment: #f3ecd8;

  --deep-blue: #0c1a2e;
  --mid-blue: #17314d;
  --bg2: #17314d;
  --ink: #f3ecd8;

  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

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

/* ======================================================
   Background + Typography
====================================================== */
body {
  font-family: 'Cormorant Garamond', serif;
  color: var(--gold-light);
  background: radial-gradient(circle, #1a2a3a 0%, #0a131f 90%);
  min-height: 100vh;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ======================================================
   Headings
====================================================== */
h1, h2 {
  font-family: 'Cinzel Decorative', serif;
  text-shadow:
    0 0 12px rgba(255,215,100,0.5),
    0 0 24px rgba(200,155,60,0.35);
}

h1 {
  color: #000;
  font-size: 3.2rem;
  text-shadow:
    0 0 10px rgba(255,215,100,1),
    0 0 25px rgba(230,190,60,0.9),
    0 0 45px rgba(200,155,40,0.75),
    0 0 60px rgba(160,120,30,0.5);
}

h2 {
  font-size: 1.55rem;
  color: var(--gold);
  margin-bottom: 1.4rem;
}

/* ======================================================
   Paragraphs
====================================================== */
p, li {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--gold-light);
  line-height: 1.65;
}

/* ======================================================
   Button Stack
====================================================== */
.nav-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  max-width: 700px;
  margin-top: 2rem;
}

.nav-stack .btn {
  width: 100%;
}

/* ======================================================
   Base Button (ALL buttons share this)
====================================================== */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  height: 80px;
  padding: 0.75rem 1rem;

  background: rgba(10, 35, 60, 0.85);
  border-radius: 1.5rem;
  border: 1px solid rgba(212,175,55,0.4);

  color: #e9dba8;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 600;

  transition: 0.2s ease;
}

.btn:hover {
  background: rgba(10, 35, 60, 1);
  transform: translateY(-2px);
}

.btn-sub {
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 0.2rem;
  opacity: 0.85;
  color: var(--gold-light);
}

.btn-gold {
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(180,145,40,0.85),
    rgba(230,205,120,0.85)
  );
  color: #0c2e1a;
  border: 2px solid rgba(212,175,55,0.55);
  font-weight: 700;
  box-shadow: 0 0 8px rgba(212,175,55,0.25);
}

.btn-gold:hover {
  background: linear-gradient(
    135deg,
    rgba(215,185,95,0.95),
    rgba(180,145,40,0.95)
  );
  transform: translateY(-2px);
}

/* Footer controls small buttons */
.footer-controls .btn {
  height: auto;
  font-size: 1rem;
  display: inline-flex;
  width: auto;
  margin: 0.5rem;
  border-radius: 12px;
}

/* ======================================================
   Site Header & Navigation
====================================================== */
.site-header-main {
  width: 100%;
  padding: 1rem 0;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.4);
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ======================================================
   Footer
====================================================== */
.site-footer {
  margin-top: auto;
  padding: 1.5rem 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(0, 0, 0, 0.35);
  color: #f5eedb;
  font-family: 'Cormorant Garamond', serif;
  width: 100%;
}

.footer-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.footer-line a {
  text-decoration: none;
  font-weight: 600;
  color: #d4af37;
}

.footer-line a:hover {
  text-decoration: underline;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-nav a {
  color: var(--gold-light);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-light);
  text-decoration: none;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--gold);
  color: var(--deep-blue);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ======================================================
   Logo
====================================================== */
.logo-container {
  text-align: center;
  margin: 2rem 0;
}

.logo {
  max-width: 240px;
  width: 100%;
  height: auto;
}

/* ======================================================
   Panels
====================================================== */
.panel {
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(212,175,55,.35);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
  text-align: left;
}

.panel h2 {
  text-align: center;
}

/* ======================================================
   Dropdown / Accordion Components
====================================================== */
.board-member {
  width: 100%;
  max-width: 850px;
  margin: 1.5rem auto;
  background: rgba(12, 26, 46, 0.4);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  backdrop-filter: blur(3px);
  transition: all 0.3s ease;
}

.board-member summary {
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-light);
  padding: 1rem 1.5rem;
  list-style: none;
  text-align: left;
  background: rgba(212, 175, 55, 0.1);
}

.board-member summary::-webkit-details-marker {
  display: none;
}

.board-member summary::after {
  content: "▾";
  float: right;
  font-size: 1.2rem;
  color: var(--gold-light);
  transition: transform 0.25s ease;
}

.board-member[open] summary {
  border-bottom: 1px solid rgba(212,175,55,0.4);
}

.board-member[open] summary::after {
  transform: rotate(-180deg);
}

.member-content {
  text-align: left;
  padding: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--gold-light);
}

.member-content p,
.member-content ul,
.member-content li {
  text-align: left !important;
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

.member-content ul {
  padding-left: 1.5rem;
}

/* ======================================================
   Splash / Fade-In Landing Screen
====================================================== */
#splash-screen {
  position: fixed;
  inset: 0;
  background: rgba(12, 26, 46, 0.92);
  color: var(--gold-light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Cinzel Decorative', serif;
  text-align: center;
  animation: fadeOut 2.8s ease forwards;
  pointer-events: none;
}

#splash-screen h1 {
  font-size: 3rem;
  margin-bottom: 0.6rem;
}

#splash-screen p {
  font-size: 1.3rem;
  opacity: 0.9;
}

@keyframes fadeOut {
  0%   { opacity: 1; }
  60%  { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

#main-content {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#main-content.fade-in {
  opacity: 1;
}

/* ======================================================
   Utility Classes
====================================================== */
.warning {
  text-align: center;
  max-width: 900px;
  margin: 4.5rem auto 1rem;
  padding: .75rem 1rem;
  background: rgba(10, 35, 60, 0.9);
  border: 1px solid rgba(212,175,55,0.5);
  border-radius: 12px;
  font-weight: 600;
  color: #ffdb70;
}

#status {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
  color: #9fd39f;
}

.footer-controls {
  text-align: center;
  margin: 3rem auto 5rem;
}

/* ======================================================
   Responsive
====================================================== */
@media (max-width: 768px) {
  body {
    padding: 1.5rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  .main-nav {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 0.4rem 0.6rem;
  }

  .btn {
    height: 70px;
    font-size: 1.2rem;
  }
}
