/* ==========================
   MVM — MAYHEM STYLE (Final)
   ========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", "Segoe UI", sans-serif;
}

/* ---------- Global ---------- */
body {
  min-height: 100vh;
  background: url('../images/mvm_bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

/* Overlay */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* ---------- Top Bar ---------- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(20, 20, 20, 0.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 153, 44, 0.4);
  backdrop-filter: blur(6px);
}

.logo-small img {
  height: 38px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: transform 0.25s ease;
}

.logo-small img:hover {
  transform: scale(1.05);
}

.nav-links a {
  color: #df992c;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

/* ---------- Ma0in Section ---------- */
.main-content {
  position: relative;
  z-index: 1;
  margin-top: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ---- LOGO (Final Fixed Version) ---- */
.main-content img.logo-large {
  width: auto;
  max-width: 120px;
  max-height: 120px;
  height: auto;
  display: block;
  margin: 0 auto 15px;
  filter: drop-shadow(0 0 10px rgba(223, 153, 44, 0.5));
}

/* Animation ONLY for landing page */
body.landing-page .main-content img.logo-large {
  width: 160px;
  animation: logoFloat 3s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-5px); }
}

.main-content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 15px rgba(223, 153, 44, 0.4);
}

.main-content h2 {
  font-size: 1.1rem;
  color: #df992c;
  margin-top: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.subtitle {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 600px;
}

/* ---------- Buttons ---------- */
.actions {
  margin-top: 30px;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  margin: 5px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-primary {
  background-color: #df992c;
  color: #000;
}

.btn-primary:hover {
  background-color: #fff;
  color: #000;
}

.btn-secondary {
  border: 1px solid #df992c;
  color: #df992c;
  background: transparent;
}

.btn-secondary:hover {
  background-color: #df992c;
  color: #000;
}

/* ---------- Footer ---------- */
footer {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

footer a {
  color: #df992c;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .topbar {
    padding: 6px 14px;
  }

  .nav-links a {
    font-size: 0.9rem;
    margin-left: 12px;
  }

  .main-content {
    margin-top: 100px;
  }

  .main-content img.logo-large {
    width: 130px;
  }

  .main-content h1 {
    font-size: 2.4rem;
  }

  .main-content h2 {
    font-size: 1rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 85%;
    font-size: 0.95rem;
  }

  .logo-small img {
    height: 30px;
  }
}

/* ==========================
   DASHBOARD / ADMIN STYLING
   ========================== */

.dashboard-container {
  position: relative;
  z-index: 1;
  margin: 120px auto 60px;
  max-width: 1200px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(223, 153, 44, 0.25);
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
}

.dashboard-container h1 {
  color: #df992c;
  font-size: 1.8rem;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(223, 153, 44, 0.4);
}

.user-info {
  margin-bottom: 25px;
}

.user-info img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(223, 153, 44, 0.5);
  box-shadow: 0 0 12px rgba(223, 153, 44, 0.3);
}

.user-info h2 {
  color: #fff;
  margin-top: 10px;
}

.user-info small {
  color: rgba(255, 255, 255, 0.6);
}

/* Dashboard Logo (small version) */
img.logo-dashboard {
  width: 90px;
  height: auto;
  display: block;
  margin: 15px auto 10px;
  filter: drop-shadow(0 0 8px rgba(223, 153, 44, 0.4));
}

/* Navigation buttons inside dashboard */
.dashboard-nav a {
  display: inline-block;
  background: rgba(223, 153, 44, 0.1);
  border: 1px solid rgba(223, 153, 44, 0.4);
  color: #df992c;
  font-weight: 600;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.25s;
}

.dashboard-nav a:hover {
  background: #df992c;
  color: #000;
}

/* Table styling */
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 25px;
  font-size: 0.95rem;
  color: #fff;
}

.dashboard-table th, .dashboard-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-table th {
  background: rgba(223, 153, 44, 0.1);
  color: #df992c;
  font-weight: 700;
  text-transform: uppercase;
}

.dashboard-table tr:hover {
  background: rgba(223, 153, 44, 0.05);
}

/* Action buttons */
.table-actions a {
  color: #df992c;
  margin: 0 4px;
  text-decoration: none;
  transition: 0.2s;
}

.table-actions a:hover {
  color: #fff;
}

/* Status badges */
.status-active {
  color: #00ff88;
}

.status-inactive {
  color: #888;
}

/* Footer tweak for dashboard */
footer {
  position: relative;
  margin-top: 40px;
  font-size: 0.85rem;
}
