:root {
    --bg: #f0f0f0;
    --text: #333;
    --element: #007acc;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    color: var(--text);
}


/* =============== HEADER =================== */
header {
    background-color: var(--bg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    width: 100%;
    height: 120px;
    display: flex;
    padding: 10px;
    box-sizing: border-box;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 9999;
}

.logo-brand {
    transition: 1s ease all;

}
.logo-brand:hover {
    scale: 120%;
    
}
.logo-brand a img {
    margin-left: 20px;
    width: 70px;
    height: 70px;
}

.brand {
    float: right;
    font-family: 'Orbitron', sans-serif;
    color: #73c2fb;
    font-size: 24px;
    position: relative;
    top: 2px;
    left: -8px;
}
/* #73c2fb #cda4de */
.brand span {
    color: #cda4de;
}

.brand:hover {
    text-shadow: 0 0 10px rgba(0, 13, 131, 0.2);
}

.navbar {
    display: flex;
    margin-right: 20px;
}

.navbar a {
    font-size: 18px;
    text-decoration: none;
    color: #333;
    position: relative;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-left: 1.2rem;
}

.navbar a::after {
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #007acc;
    transition: width 0.3s ease;
    content: '';
}

.navbar a:hover {
    color: #007acc;
}

.navbar a:hover::after {
    width: 100%;
}
/* ========= UJUNG HEADER ============== */


.container {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    text-align: center;
    display: flex;
}

.isi {
    padding-top: 150px;
    max-width: 600px;
}
.isi h2{
    font-size: 25px;
    text-align: center;
}

.isi p {
    font-size: 16px;
    text-align: center;
}

.btn {
    color: white;
    padding: 0.7rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    margin-top: 1rem;
    background: var(--element);
    transition: 0.5s ease;
}

.btn:hover {
    background-color: white;
    color: var(--text);
    box-shadow: 0 0 10px rgba(26, 29, 17, 0.7);
}

.container h2 {
    padding-top: 20px;
}

.produk-slider {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.produk-track {
  display: flex;
  width: fit-content;
  animation: slideProduk 50s linear infinite;
  overflow: visible;
  padding: 20px;
}

.produk-track img {
  width: 400px;
  margin: 0 10px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  transform: skew(10deg, 15deg);
  padding: 50px;
}

@media (max-width: 768px) {
  .produk-track img {
    width: 200px;
  }
}

@keyframes slideProduk {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.produk-slider:hover .produk-track {
  animation-play-state: paused;
}

.ulasan {
  padding: 40px;
  background: #f9f9f9;
}

.ulasan form {
  margin-bottom: 20px;
  width: 600px;
  box-shadow: -5px -5px 10px rgba(26, 29, 17, 0.7);
  padding: 20px;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .ulasan form {
    width: 90%;
  }
}
.ulasan textarea, input {
  width: 400px;
  height: 20px;
  padding: 10px;
  margin-top: 10px;
  border-radius: 10px;
}
@media (max-width: 700px) {
  .ulasan textarea, input {
    width: 90%;
  }
}

.daftar-ulasan {
    max-height: 800px;
    overflow-y: auto; 
    padding: 10px;  
    border-radius: 10px; 
}

.box-ulasan {
  background: #ffffff;
  padding: 15px;
  margin-bottom: 15px;
  border-left: 4px solid #4CAF50;
  border-radius: 10px;
  box-shadow: -5px -5px 10px rgba(26, 29, 17, 0.7);
}


.rating {
  direction: rtl;
  unicode-bidi: bidi-override;
  display: inline-block;
}

.rating input[type="radio"] {
  display: none;
}

.rating label {
  font-size: 24px;
  color: #ccc;
  cursor: pointer;
}

.rating input[type="radio"]:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
  color: gold;
}

.rating-display {
  font-size: 20px;
  color: gold;
  margin-bottom: 5px;
}



/* ====================== footer ===================== */
footer {
  background-color: #1c1c1e;
  color: #fff;
  padding: 40px 20px 20px;
  margin-top: 50px;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h2 {
  margin: 10px 0;
  font-size: 24px;
}

.footer-brand span {
  color: #00d084;
}

.footer-brand p {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.6;
  color: #bbb;
}

.footer-links,
.footer-contact {
  min-width: 200px;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #00d084;
}

.footer-links a {
  display: block;
  text-decoration: none;
  color: #bbb;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact p {
  font-size: 14px;
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icons a {
  display: inline-block;
  margin-right: 10px;
  color: #bbb;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #00d084;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 14px;
  color: #888;
}


