/* ====================
   GLOBAL STYLES
==================== */
body {
  margin: 0;
  font-family: 'Fredoka', sans-serif;
  background-color: #fdf4e3;
  color: #3e3e3e;
  line-height: 1.6;
}

/* ====================
   TOP PROMO BAR
==================== */
.top-bar {
  background-color: #201914;
  color: white;
  font-size: 0.9rem;
  padding: 0.5rem;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 999;
}

.top-bar a {
  color: #fff;
  text-decoration: underline;
}

/* ====================
   MAIN NAV
==================== */
.main-nav {
  background-color: white;
  border-bottom: 1px solid #eee;
  padding: 0.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: sticky;
  top: 2rem;
  z-index: 998;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-left .logo {
  height: 72px;
  width: 72px;
  object-fit: contain;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.nav-right .icon {
  font-size: 1.1rem;
  cursor: pointer;
}

.nav-right .sales {
  font-size: 0.9rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
}

.btn.outline {
  border: 1px solid black;
  color: black;
  background: transparent;
}

.btn.filled {
  background-color: #FFD700;
  color: black;
  border: none;
}

/* ====================
   HAMBURGER MENU
==================== */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ====================
   HERO BANNER (NEW)
==================== */
.hero-banner-smart {
  width: 100%;
  height: 225px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #eaf6ff;
}

.hero-banner img {
  width: 100px;               /* Match container width */
  height: 100px;               /* Match container height */
  object-fit: contain;         /* Show full image without cropping */
  object-position: center;     /* Keep content centered */
}

/* ====================
   PAGE CONTAINER
==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
}

header h1 span {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.2rem;
}

header h1 strong {
  font-weight: 600;
  font-size: 2.5rem;
  color: #aa6232;
  letter-spacing: 1px;
}

/* ====================
   CARDS (HOME)
==================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.card {
  border-radius: 20px;
  text-align: center;
  text-decoration: none;
  background-color: #fff5e6;
  color: #3e3e3e;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  padding: 1rem 0;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* ====================
   DASHBOARD SECTION
==================== */
.dashboard {
  background: #f7f6f2;
  padding: 4rem 2rem;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.dashboard-header h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #201914;
}

.dashboard-filters button {
  margin: 0 0.3rem;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.dashboard-filters button.active {
  background: #FFD700;
  border-color: black;
  color: black;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.metric-card {
  background: #fff;
  padding: 1.2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.metric-card h4 {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.metric-card p {
  font-size: 1.4rem;
  font-weight: 700;
  color: #201914;
}

.chart-container {
  width: 100%;
  max-width: 100%;
  height: 400px;
}

#dashboardChart {
  width: 50%;
  height: 50%;
  display: block;
}

/* ====================
   CTA BLOCK
==================== */
.cta-block {
  background: #ffefcc;
  padding: 2rem;
  text-align: center;
  margin-top: 3rem;
  border-radius: 12px;
}

/* ====================
   FOOTER
==================== */
footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 1rem;
  color: #aa6232;
  padding: 2rem;
  background: #f7f7f7;
}

/* ====================
   RESPONSIVE NAV
==================== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-right {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 1rem;
  }

  .hamburger {
    display: block;
      }
      
}


