 /* ================= RESET ================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  color: #212121;
  background: url("../images/background.jpg") no-repeat center center fixed;
  background-size: cover;
}

/* ================= HAMBURGER ================= */
.hamburger{
  display: none;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;              /* thickness of lines */
  background: #fff;          /* change color if needed */
  border-radius: 3px;
  margin: 4px 0;             /* space between lines */
  transition: 0.3s ease;
}

/* ================= NAVIGATION ================= */
.nav-header {
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding: 4px 0; /* reduced top/bottom padding */
}

.logo {
  display: flex;
  align-items: center; /* vertically align logo */
  gap: 8px;
}

.logo img {
  height: 50px; /* smaller logo */
}

.logo span {
  font-family: Bahnschrift, sans-serif;
  font-size: 30px;
  font-weight: 500;
  color: limegreen;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  padding: 0; /* removed extra vertical padding */
}

.nav-links a {
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  padding: 2px 6px; /* reduced vertical padding */
}

.nav-links a:hover {
  color: #ffd700;
}

/* ================= HERO ================= */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero-box {
  display: inline-block;
  background: rgba(0,0,0,0.6);
  padding: 20px 30px;
  border-radius: 10px;
}

.hero-box h1,
.hero-box p {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.hero-box h1 {
  font-size: 32px;
  margin-bottom: 6px;
}

/* ================= SLIDE SYSTEM ================= */
.kwamamaza-title {
  background: rgba(0,0,0,0.85);
  color: white;
  text-align: center;
  padding: 6px 12px;
  font-weight: bold;
  letter-spacing: 2px;
  position: sticky;
  top: 0;
  z-index: 100;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.kwamamaza-floating {
  position: fixed;
  top: 80px;
  left: 0;
  width: 240px;
  text-align: center;
  background: rgba(0,0,0,0.9);
  color: white;
  padding: 12px;
  font-weight: bold;
  letter-spacing: 2px;
  z-index: 9999;
}

.left-sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 240px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  padding-top: 10px;
}

.vertical-slider {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 15px 10px;
  scrollbar-width: none;
}

.vertical-slider::-webkit-scrollbar {
  display: none;
}

/* ===== SLIDE CARD ===== */
.product-slide {
  width: 100%;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== IMAGE ===== */
.slide-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
}

.slide-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== BUTTON ===== */
.learn-btn {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  border: none;
  background: #25D366;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.learn-btn:hover {
  background: #1ebe5d;
}

/* ================= MOBILE DEFAULT HIDDEN ================= */
.mobile-slides {
  display: none;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .left-sidebar {
    display: none !important;
  }

  .kwamamaza-floating {
    display: none !important;
  }


  .hamburger {
    display: block !important;
    top: 8px; /* smaller top offset */
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height:50vh;
    background: rgba(0,0,0,0.95);
    padding: 5px 5px; /* reduced top padding */
    transition: right 0.3s ease;
    z-index: 1000;
    flex-direction: column;
  }

  .nav-links.active {
    right: 0;
  }
}

/* ================= ADDED MISSING STYLES ================= */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  z-index: 900;
}

.overlay.active {
  display: block;
}



.sorting {
  text-align: center;
  margin: 20px 0;
}

.sort-btn {
  display: inline-block;
  margin: 5px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.9);
  border-radius: 6px;
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.worker-list {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.worker-card {
  background: rgba(255,255,255,0.95);
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating {
  position: relative;
  font-size: 14px;
  color: #ccc;
}

.filled-stars {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  color: gold;
}

.pay-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border: none;
  background: limegreen;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
}

.pay-btn:hover {
  background: green;
}

.floating-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  z-index: 1000;
}

.footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
  color: white;
  margin-top: 100px;
}
.text-slider {
  position: relative;
  width: 100%;
  max-width: 320px;

  height: 95px; /* ✅ slightly increased for better spacing */

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 8px auto;

  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);

  overflow: hidden;
}
.text-slide {
  position: absolute;
  inset: 0;

  display: flex;
  flex-direction: column;        /* ✅ title on top */
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 8px 10px;

  opacity: 0;
  transition: opacity 0.6s ease;
}

.text-slide.active {
  opacity: 1;
}
/* TITLE */
.text-slide strong {
  font-size: 0.78rem;           /* ✅ bigger title */
  color: limegreen;
  margin-bottom: 4px;
}
/* DESCRIPTION */
.text-slide span {
  font-size: 0.7rem;            /* ✅ bigger text */
  line-height: 1.4;
  color: rgba(255,255,255,0.9);
}