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

body {
  font-family: "poppins", Arial, sans-serif;
  background: linear-gradient(135deg, #000, #303030);
  min-height: 100vh;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* ================================
   NAVBAR (Top Sticky)
================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, #ffa500, #87ceeb, #ffff00);
  color: #000;
  height: 55px;
  padding: 0 18px;
  border-radius: 0 0 16px 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 1000;
}

nav h1 {
  font-size: 1.35rem;
  font-weight: 700;
}

/* Burger Icon (mobile only active) */
.menu-icon {
  width: 34px;
  cursor: pointer;
  display: none;
}

.menu-icon span {
  display: block;
  height: 4px;
  background: #000;
  margin: 5px;
  border-radius: 2px;
  transition: 0.4s;
}

/* ================================
   SIDEBAR (Desktop + Mobile Slide)
================================ */
aside {
  position: fixed;
  top: 55px;
  left: 0;
  width: 280px;
  height: calc(100vh - 55px);
  background: #1b1b1b;
  border-right: 2px solid #111;
  padding-top: 15px;
  overflow-y: auto;
  transition: left 0.45s ease;
  z-index: 999;
}

aside::-webkit-scrollbar {
  width: 6px;
}
aside::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 6px;
}

/* Sidebar Hidden (mobile state default) */
aside.hide {
  left: -100%;
}

/* ================================
   SIDEBAR LINKS
================================ */
#nav-bar p {
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-align: center;
}

.anchor-nav-bar {
  display: block;
  width: 90%;
  margin: 8px auto;
  padding: 14px;
  background: #2a2a2a;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  transition: background-color 0.35s ease, transform 0.25s ease;
}

.anchor-nav-bar:hover {
  background-color: #3c3c3c;
  transform: translateX(6px);
}

.anchor-nav-bar.active {
  background-color: #00bcd4;
  color: #000;
  font-weight: 700;
}

/* ================================
   DASHBOARD CONTENT
================================ */
#dashboard-content {
  flex: 1;
  padding: 80px 20px 30px 20px;
  margin-left: 280px;
  transition: margin 0.45s ease;
}

#dashboardHeader {
  margin-bottom: 20px;
}

/* ================================
   STATS CARDS
================================ */
#statsCards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  width: auto;
  margin-bottom: 20px;
}

.statsCard {
  background: #ffa500;
  border-radius: 14px;
  flex: 1;
  min-width: 200px;
  font-size: 1.2rem;
  padding: 15px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.statsCard:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(255, 168, 7, 0.249);
}

.statsCard h3 {
  margin-bottom: 6px;
  color: #000;
}

/* ================================
   PROPERTY CARDS (LIST)
================================ */
#detailsCard {
  display: grid;
  gap: 14px;
}

#detailsCard div {
  background: #202020;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #333;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#detailsCard > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(255, 168, 7, 0.6);
}
#detailsCard div h3 {
  color: orange;
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #444;
  background: #000000;
  border-radius: 10px;
  margin: 10px auto 14px;
}
#detailsCard div p {
  margin: 18px;
}
#detailsCard button {
  margin-top: 8px;
  margin-right: 8px;
  padding: 6px 14px;
  background: #fff;
  color: #000;
  border-radius: 6px;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

#detailsCard button:hover {
  background: #7a7a7a;
  color: #fff;
}

/* ================================
   FOOTER
================================ */
footer {
  text-align: center;
  color: #fff;
  padding: 16px;
  font-size: 14px;
  margin-top: 25px;
  opacity: 0.7;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 800px) {
  .menu-icon {
    display: block;
  }

  aside {
    left: -100%;
  }

  aside.show {
    left: 0;
  }

  #dashboard-content {
    margin-left: 0;
    padding-top: 70px;
  }

  #statsCards {
    justify-content: center;
  }
  .statsCard {
    width: 95%;
  }
}
