/* === Fonts === */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* === Variables === */
:root {
  --primary-color: #0018cd;
  --primery-color1: #f57c00;
  --dark-color: #1f1f1f;
  --light-color: #030224;
  --white-color: #ffffff;
}

/* === Reset & Global === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--white-color);
  color: var(--light-color);
  padding-top: 70px;
}

/* ========== Header and Navigation ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.5rem 2rem;
  background-color: var(--light-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  flex-wrap: wrap;
}

.conten-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 4rem;
  margin-top: 10px;
}

/*  ========== Logo ========== */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

/* ========== Navigation Links ========== */
.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.nav-link {
  margin-left: 20px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white-color);
  text-decoration: none;
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--primary-color);
}

.nav-link.active {
  color: var(--primery-color1);
}

/* ===== Login Icon / Akun ===== */
.account {
  display: flex;
  align-items: center;
  margin-left: 16px;
}

.account a {
  color: var(--primery-color1);
  font-size: 1.6rem;
  transition: color 0.3s ease;
}

.account a i {
  color: var(--primery-);
}

.account a:hover {
  color: var(--secondary-color);
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: white;
  margin-left: 16px;
}


/* ========= Beranda Style ========== */
.beranda {
  width: 100%;
  background-color: transparent;
  color: var(--white-color);
  text-align: center;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-bottom: 4px solid var(--white-color);
}

.slider-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.slider-slide.active {
  opacity: 1;
  z-index: 1;
}

.slider-dots {
  position: absolute;
  bottom: 80px;
  width: 100%;
  text-align: center;
  z-index: 2;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primery-color1);
  transform: scale(1.2);
}

/* ========== Search & Rekomendasi Style ========== */
.conten-beranda {
  display: flex;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(to right, #f5faff, #eef4ff);
  position: relative;
  z-index: 10;
}

.berandanya {
  width: 100%;
  max-width: 1400px;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-top: -100px;
}

.search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.search-box input {
  padding: 10px 15px;
  width: 100%;
  max-width: 1200px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
}

.search-box button {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  background-color: var(--primary-color);
  color: var(--white-color);
}

.search-box button:hover {
  background-color: var(--primery-color1);
}

.search-title {
  font-size: 80%;
  font-weight: 600;
  margin-top: -15px;
  color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}


.umkm-unggulan-horizontal {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px;
  scroll-behavior: smooth;
  background-color: #f9f9f9;
}

.produk-card {
  flex: 0 0 auto;
  width: 130px; 
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.produk-card:hover {
  transform: translateY(-2px);
}

.produk-card img {
  width: 100%;
  height: 80px; 
  object-fit: cover;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.produk-info {
  padding: 6px 8px;
  text-align: center;
}

.produk-info h3 {
  font-size: 0.8rem;
  margin-bottom: 2px;
  color: var(--primary-color, #0056b4);
}

.produk-info p {
  font-size: 0.65rem;
  color: #777;
  line-height: 1.2;
}

.menu.show {
  display: flex;
  flex-direction: column;
}

/* Footer Style */
.footer {
  background-color: #f0f0f0;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h4 {
  font-size: 24px;
  margin-bottom: 10px;
}

.logo-primary {
  color: #0056b4;
}

.logo-secondary {
  color: #f57c00;
}

.footer-section h5 {
  color: #0056b4;
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 6px;
}

.footer-section a {
  color: #333;
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

.footer-section p {
  margin: 5px 0;
  color: #333;
}

.footer-icons {
  display: flex;
  gap: 15px;
  font-size: 20px;
}

.footer-icons a {
  color: #333;
  transition: color 0.3s;
}

.footer-icons a:hover {
  color: #0056b4;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #ccc;
  padding-top: 15px;
  color: #777;
  font-size: 14px;
}
