/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg, #f9f5f1);
  color: var(--text, #333);
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

/* ===== Header & Navigation ===== */
header {
  background: var(--accent, #6b4226);
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner {
  background-color: #ffcc00;
  color: #000;
  text-align: center;
  padding: 10px 0;
}

header h1 {
  font-size: 1.8rem;
}

.login {
  color: white;
  background: #ffda9e;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s;
}

nav a:hover {
  color: #ffda9e;
}

/* ===== Pages ===== */
.page {
  display: none;
  padding: 3rem 2rem;
}

.page.active {
  display: block;
}

/* ===== Hero Section ===== */
.hero {
  background: url('https://tr.rbxcdn.com/6ec3e05f0f95b4a6d06ddfcf60a80836/768/432/Image/Webp') center/cover no-repeat;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px #000;
}

.hero p {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px #000;
}

.hero a {
  color: white;
  background: #ffda9e;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
}

li {
  color: white;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px #000;
}


/* ===== Headings ===== */
h2, h3 {
  color: var(--accent, #6b4226);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* ===== Feature Boxes ===== */
.feature-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  text-align: center;
  margin: 1rem 0;
}

.feature-box h4 {
  margin-bottom: 1rem;
  color: var(--accent, #6b4226);
}

/* ===== Links Section ===== */
.links a {
  display: block;
  background: var(--accent, #6b4226);
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin: 0.5rem 0;
  transition: 0.3s;
}

.links a:hover {
  background: #52311b;
}

/* ===== Footer ===== */
footer {
  background: var(--accent, #6b4226);
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  margin-top: 2rem;
}

/* ===== Staff Page ===== */
#staff {
  text-align: center;
}

.staff-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.staff-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  transition: transform 0.2s;
}

.staff-card:hover {
  transform: translateY(-5px);
}

.staff-card img {
  border-radius: 50%;
  margin-bottom: 1rem;
  width: 120px;
  height: 120px;
}

.staff-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--accent, #6b4226);
}

.staff-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ===== Dark Mode ===== */
:root {
  --bg: #f4f4f4;
  --text: #333;
  --card: #fff;
  --accent: #6b4226;
}

body.dark {
  --bg: #1a1a1a;
  --text: #eee;
  --card: #2a2a2a;
  --accent: #d4a373;
}

/* ===== Buttons ===== */
#darkmode-btn {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

#login-btn {
  background: #fff;
  color: var(--accent);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s, color 0.3s;
}

#darkmode-btn:hover {
  background: #ddd;
}

#login-btn:hover {
  background: #ddd;
}

/* HTML: <div class="loader"></div> */
.loader {
  width: fit-content;
  font-weight: bold;
  font-family: monospace;
  font-size: 30px;
  clip-path: inset(0 3ch 0 0);
  animation: l4 1s steps(4) infinite;
}
.loader:before {
  content:"Loading..."
}
@keyframes l4 {to{clip-path: inset(0 -1ch 0 0)}}