:root {
  --header-height: 160px;
  --header-height-min: 80px;
  --accent-color: rgb(0, 0, 0);
  --dark-color: #040404;
  --light-color: #fff;
  --primary-color: #111111;
  --body-font: "Outfit", sans-serif;
  --heading-font: "Urbanist", sans-serif;
}

.brand-image {
  max-width: 100%;
  height: auto;
}

#billboard {
  position: relative; /* Menambahkan posisi relatif untuk kontrol lebih baik */
  overflow: hidden;
  padding: 10px 0; /* Menyembunyikan bagian gambar yang melampaui batas */
  margin-top: 4rem;
}

#billboard img {
  width: 100%; /* Mengatur lebar gambar menjadi 100% dari elemen induk */
  height: auto; /* Memastikan tinggi gambar otomatis berdasarkan lebar */
  display: block;
  margin: 0; /* Menghilangkan jarak di bawah gambar */
}
@media (max-width: 768px) {
  #billboard img {
    width: 100%; /* Gambar akan menyesuaikan lebar 100% pada perangkat kecil */
    height: auto; /* Memastikan tinggi gambar otomatis */
  }

  #billboard {
    padding: 10px 0;
  }
}

body {
  font-family: var(--dark-color);
  font-size: 19px;
  color: var(--dark-color);
  margin: 0;
  overscroll-behavior-y: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--dark-color);
  color: black;
}

h1 {
  font-size: 3.5em;
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.6em;
  color: #040404;
}

p {
  font-family: var;
  font-size: 19px;
  line-height: 1.5;
  margin: 0 0 20px 0;
}

a {
  color: var;
  text-decoration: none;
  transition: 0.3s color ease-out;
}

a:hover {
  color: var;
}

.container {
  max-width: 1400px;
}

.product-item img {
  width: 300spx;
  justify-content: center;
  align-content: center;
}

.btn {
  background-color: var;
  color: var;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: 0px;
  cursor: pointer;
  text-transform: uppercase;
}

.btn-light {
  background-color: var;
  color: var;
}

.text-center {
  text-align: center;
}

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.bg-light {
  background-color: #f8f9fa;
}

.bg-dark {
  background-color: var;
}

.footer {
  padding: 2rem 0;
  background-color: var;
  color: var;
}

.footer a {
  color: var;
}

.sakha.section {
  padding: 40px 0;
  background-color: #f9f9f9;
}

/* Grid layout for text and image */
.sakha.container.grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Two equal columns */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center; /* Vertically center content */
}

/* Text section styling */
.text-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.text-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 20px;
}

.text-section button {
  padding: 10px 20px;
  font-size: 1rem;
  color: #fff;
  background-color: #333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: fit-content;
}

.text-section button:hover {
  background-color: #555;
}

/* Image section styling */
.image-section img {
  width: 70%; /* Lebih kecil dari 70% */
  max-width: 300px; /* Ukuran maksimum */
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.about.section {
  padding: 50px 0;
  background-color: #f8f9fa;
  color: #000;
}
.about__container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 0 20px;
}
.about__data {
  text-align: center;
}
.section__title {
  font-size: 2em;
  margin-bottom: 20px;
}
.about__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  line-height: 1.6;
}
.button {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 5px;
}
.button:hover {
  background-color: #333;
}

.newsletter.section {
  background-color: #000;
  color: #fff;
  padding: 50px 0;
}
.newsletter__container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}
.image-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.image-section img {
  width: 100%;
  height: auto;
}
.text-section {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section__title {
  font-size: 2.5em;
  margin: 0 0 20px 0;
}
.newsletter__description {
  font-size: 1.2em;
  margin: 0 0 30px 0;
}
.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.newsletter__input {
  padding: 10px;
  font-size: 1em;
  background-color: #333;
  border: none;
  color: #fff;
}
.newsletter__input::placeholder {
  color: #ccc;
}
.newsletter__button {
  background-color: #555;
  color: #fff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  cursor: pointer;
}
.newsletter__button:hover {
  background-color: #777;
}

.footer {
  background-color: #000;
  color: #fff;
  padding: 50px 0;
}
.footer__container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}
.footer__section {
  display: flex;
  flex-direction: column;
}
.footer__title {
  font-size: 1.2em;
  margin-bottom: 15px;
  font-weight: bold;
}
.footer__description {
  font-size: 1em;
  line-height: 1.5;
}
.footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__list li {
  margin-bottom: 10px;
}
.footer__link {
  color: #ccc;
  text-decoration: none;
  font-size: 1em;
}
.footer__link:hover {
  color: #fff;
  text-decoration: underline;
}
.products-section {
  text-align: center;
  padding: 40px 20px;
}
.products-section h2 {
  font-size: 36px;
  color: #2c3e50;
  margin-bottom: 10px;
}
.products-section p {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 30px;
}
.products-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.product-card {
  background-color: #ffe6e6;
  border-radius: 10px;
  width: 200px;
  padding: 20px;
  position: relative;
  text-align: center;
}
.product-card img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.product-card .heart {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #7f8c8d;
  cursor: pointer;
}
.product-card h3 {
  font-size: 18px;
  color: #2c3e50;
  margin: 5px 0;
}
.product-card .strength {
  font-size: 14px;
  color: #7f8c8d;
  margin: 5px 0;
}
.product-card .rating {
  color: #f1c40f;
  margin: 10px 0;
}
.product-card .shop-now {
  background-color: #2c3e50;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
}
.product-card .shop-now:hover {
  background-color: #34495e;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
  will-change: opacity, transform;
}

.scroll-reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Profile Section Styles */
.profile-section {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.profile-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 8px 15px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.profile-container:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-photo {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-name {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
}

.profile-dropdown {
  position: relative;
}

.profile-dropdown-btn {
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 2px;
  transition: color 0.3s ease;
}

.profile-dropdown-btn:hover {
  color: #333;
}

.profile-dropdown-content {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  margin-top: 5px;
}

.profile-dropdown-content.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
  color: #000;
}

/* Dark theme for navbar */
.navbar.bg-black .profile-container {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.bg-black .profile-name {
  color: #fff;
}

.navbar.bg-black .profile-dropdown-btn {
  color: #ccc;
}

.navbar.bg-black .profile-dropdown-btn:hover {
  color: #fff;
}

/* Responsive design */
@media (max-width: 768px) {
  .profile-section {
    margin-left: 0;
    margin-top: 10px;
    justify-content: center;
  }
  
  .profile-container {
    padding: 6px 12px;
  }
  
  .profile-photo {
    width: 30px;
    height: 30px;
    margin-right: 8px;
  }
  
  .profile-name {
    font-size: 13px;
  }
}


