/* ----------------- RESET ----------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ----------------- BODY ----------------- */
body {
  font-family: 'Raleway';
  background: #ede2cca9;
  color: #8A724C;
}

/*---------------------- Footer Atas ----------------------------*/
.navbar {
  position: fixed;
  font-family: Raleway;
  top: 0;
  width: 100%;
  background: #ede2cca9; /* transparan footer */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  backdrop-filter: blur(6px); /* efek blur lembut */
  z-index: 1000;
  color: #8A724C;
}


.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color:#3E2F1C;
  display: flex;
  align-items: center;
  gap: 10px; /* jarak antara logo dan teks */
}

.logo-img {
  width: 35px;  /* ukuran logo bisa diubah sesuai kebutuhan */
  height: 35px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #3E2F1C;
  font-weight: 1000;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #8A724C;
}

/* Hamburger menu */
.hamburger {
  display: none;
  font-size: 1.8rem;
  font-family: Raleway;
  cursor: pointer;
  user-select: none;
}

/* Konten */
.content {
  margin-top: 100px;
  font-family: Raleway;
  text-align: center;
  padding: 60px 20px;
}


.footer {
  text-align: center;
  padding: 20px;
  background: #8A724C;
  backdrop-filter: blur(6px);
  color: #3E2F1C;
  font-size: 0.9rem;
  margin-top: 60px; /* memberi jarak dari konten atas */
}


/* Responsif */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 71px;
    right: 0;
    align-items: center;
    background: #ede2cca9; /* Warna Hamburger */
    width: 200px;
    text-align: right;
    text-emphasis-position: center;
    padding: 20px;
    border-radius: 10px 0 0 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
/*---------------------- Footer Atas ----------------------------*/

/* ----------------- PRODUCT SECTION ----------------- */
.product-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 20px 60px; /* tambah margin top untuk navbar */
  display: flex;
  justify-content: center;
}

.product-card {
  display: flex;
  width: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  padding: 20px;
  gap: 20px;
}

.product-image {
  flex: 0 0 35%;
}

.product-image img {
  width: 100%;
  border-radius: 15px;
  object-fit: cover;
}

.product-info {
  flex: 0 0 50%;
  color: #3E2F1C;
  text-align: justify;
  padding: 0 10px;
  overflow-wrap: break-word;
  font-size: 18px;
}
.product-info h2 {
  color: #b99668;
  margin-top: 10px;
  margin-bottom: 10px;
}
/* Description List */
.description {
  color: #3E2F1C;
}

.description-list {
  margin: 0px 0; 
  padding-left: 10px; 
  color: #3E2F1C;
  list-style-type: decimal; 
  list-style-position: outside; 
  text-align: justify;
}

.description-list li {
  margin-bottom: 0px; 
  margin-left: 10px; 
  line-height: 1.6; 
  text-indent: 1px;
}

/* Button */
.btn-rent {
  display: inline-block;
  background: #b99668;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  max-width: 220px;
  text-align: center;
  margin-top: 50px;
}

.btn-rent:hover {
  background: #dcc9a7;
  color: #000;
  transform: translateY(-2px);
}

/* ----------------- FOOTER ----------------- */
footer {
  background: url("../../bg/bg.jpg") center/cover no-repeat;
  color: #3E2F1C;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.footer-content,
.footer-bottom {
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
  gap: 20px;
}

.footer-info,
.footer-contact {
  flex: 1 1 45%;
  margin-bottom: 20px;
}

.footer-info h3,
.footer-contact h3 {
  color: #3E2F1C;
  margin: 8px 0;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
}

.footer-contact i {
  font-size: 18px;
  min-width: 20px;
}

.footer-contact a {
  color: #3E2F1C;
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #3E2F1C;
  padding-top: 10px;
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
}

/* ----------------- WHATSAPP FLOAT ----------------- */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
}

/* ----------------- RESPONSIVE ----------------- */

/* Tablet */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 71px;
    right: 0;
    align-items: center;
    background: rgba(237, 226, 204, 0.66);
    width: 200px;
    padding: 20px;
    border-radius: 10px 0 0 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .product-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
  }

  .product-image,
  .product-info {
    flex: unset;
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    text-align: left;
    padding: 0 10px;
  }

  .btn-rent {
    width: 100%;
  }
}

/* HP */
@media (max-width: 480px) {
  .product-card {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
  }

  .product-image,
  .product-info {
    flex: unset !important;
    width: 100%;
  }

  .product-info h1 {
    font-size: 1.4rem;
  }

  .product-info h2 {
    font-size: 1.3rem;
    margin-top: 5px;
  }

  .product-info .description,
  .description-list {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .btn-rent {
    width: 100%;
    font-size: 0.95rem;
    padding: 12px;
    margin-top: 15px;
  }

  footer {
    padding: 30px 15px;
    background-size: cover;
    background-position: center;
  }
}

/* HP kecil */
@media (max-width: 360px) {
  .product-info h1 {
    font-size: 1.3rem;
  }

  .product-info h2 {
    font-size: 1.2rem;
  }

  .product-info .description,
  .description-list {
    font-size: 0.9rem;
  }

  .btn-rent {
    font-size: 0.9rem;
    padding: 10px;
  }
}
