/* ===========================================
   RESET & BASICS
=========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #eee;
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
  display: flex;
  flex-direction: column;
  background-color: #121212;
}

/* ===========================================
   LINKS & IMAGES
=========================================== */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease, background 0.3s ease;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
}

/* ===========================================
   NAVIGATION
=========================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(20, 20, 20, 0.95);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #00d4ff;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: #00d4ff;
  color: #121212;
}

.nav-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #00d4ff;
  cursor: pointer;
}

/* ===========================================
   FOOTER
=========================================== */
footer {
  background-color: rgba(20, 20, 20, 0.95);
  text-align: center;
  padding: 1rem 0;
  color: #888;
  margin-top: auto;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.5);
}

/* ===========================================
   MAIN LAYOUT
=========================================== */
main {
  flex: 1;
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* ===========================================
   PAGE BACKGROUNDS WITH VIP OVERLAY
=========================================== */
body.dashboard {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url("images/dashboard-image.jpg") no-repeat center center fixed;
  background-size: cover;
}

body.transactions {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url("images/dashboard-image.jpg") no-repeat center center fixed;
  background-size: cover;
}

body.analytics {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url("images/analytics-image.jpg") no-repeat center center fixed;
  background-size: cover;
}

body.calculator {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url("images/calculator-image.jpg") no-repeat center center fixed;
  background-size: cover;
}

body.contact {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
              url("images/contact-image.jpg") no-repeat center center fixed;
  background-size: cover;
}

/* ===========================================
   HERO SECTION
=========================================== */
.hero {
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 16px;
  background-color: rgba(30,30,30,0.75);
  box-shadow: 0 8px 28px rgba(0,212,255,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 2.8rem;
  color: #00d4ff;
  animation: fadeDown 0.8s ease forwards;
}

.hero p {
  font-size: 1.3rem;
  color: #ccc;
  animation: fadeUp 0.8s ease forwards;
}

/* ===========================================
   DASHBOARD METRICS
=========================================== */
.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  z-index: 1;
}

.metric-card {
  background: rgba(30,30,30,0.85);
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0,212,255,0.35);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.8rem;
}

.metric-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 36px rgba(0,212,255,0.6);
}

.metric-card h2 {
  font-size: 1.7rem;
  color: #00d4ff;
}

.metric-card p {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
}

.metric-card i {
  font-size: 2.4rem;
  color: #00d4ff;
}

/* ===========================================
   TABLES (Transactions / Analytics)
=========================================== */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(30,30,30,0.85);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,212,255,0.35);
  animation: fadeUp 0.6s ease forwards;
  z-index: 1;
}

th, td {
  padding: 1rem;
  text-align: left;
  color: #fff;
}

th {
  background-color: #00d4ff;
  color: #121212;
  font-weight: 600;
}

tr:nth-child(even) {
  background: rgba(255,255,255,0.05);
}

tr:hover {
  background: rgba(0,212,255,0.1);
}

/* ===========================================
   CALCULATOR
=========================================== */
.calculator-container {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(30,30,30,0.85);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,212,255,0.35);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1;
}

.calculator-container h2 {
  text-align: center;
  color: #00d4ff;
}

.calculator-container label {
  font-weight: 600;
}

.calculator-container input {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  border: none;
  background-color: #1a1a1a;
  color: #fff;
  font-size: 1rem;
}

.calculator-container button {
  width: 100%;
  padding: 0.8rem;
  font-weight: bold;
  border-radius: 6px;
  border: none;
  background-color: #00d4ff;
  color: #121212;
  cursor: pointer;
  transition: background 0.3s;
}

.calculator-container button:hover {
  background-color: #0097aa;
}

#calculator-result {
  margin-top: 1.5rem;
  background: rgba(20,20,20,0.7);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,212,255,0.35);
  color: #fff;
}

/* ===========================================
   ANIMATIONS
=========================================== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px);}
  100% { opacity: 1; transform: translateY(0);}
}

@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-20px);}
  100% { opacity: 1; transform: translateY(0);}
}

/* ===========================================
   RESPONSIVE
=========================================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: rgba(20,20,20,0.95);
    width: 220px;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 6px 12px rgba(0,212,255,0.3);
  }
  .nav-links.show {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }

  .metrics {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}










