/* ==========================================================
   GLOBAL STYLES
========================================================== */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Figtree', sans-serif !important;
  font-style: normal;
  min-height: 100vh;
  background-color: #fff;
  color: #2a2525;
}

a {
  color: #2a2525;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: #333;
  text-decoration: none !important;
}

/* ==========================================================
   NAVBAR
========================================================== */
.navbar {
  background-image: linear-gradient(12deg, #FBAB7E 0%, #F7CE68 100%);
  padding: 20px 30px !important;
}

.navbar-light .navbar-nav .nav-link {
  color: rgb(52, 77, 3);
  font-size: 14px;
  font-weight: 500;
}

.navbar-brand img {
  width: 200px;
}

.navbar-toggler {
  border: none;
}

/* ==========================================================
   CONTACT US SECTION
========================================================== */
#contactus {
  min-height: 100vh;
  text-align: center !important;
  padding: 0 200px !important;
}

#contactus .container {
  min-height: 100vh;
  text-align: center !important;
}

#contactus img {
  width: 150px;
  margin: 30px 0;
  text-align: center !important;
}

/* ==========================================================
   HOMEFRONT SECTION
========================================================== */
#homefront {
  padding: 100px 0 200px 0;
  background-image: url('../asset/bg-merch.png');
  background-position: top;
  background-repeat: repeat;
  background-size: 90%;
}

#homefront .col-md-12 {
  padding-right: 40px;
}

#homefront .row-1 {
  background-color: #F7CE68;
  border-radius: 33px;
  padding: 70px 80px 0 80px;
  text-align: center;
  color: rgb(52, 77, 3);
}

#homefront .row-2 {
  background-image: linear-gradient(45deg, #FFDEE9 0%, #B5FFFC 100%);
  border-radius: 32px;
  margin: 30px 0 -100px 0;
  border: 1px solid #dedede;
  overflow: hidden;
}

#homefront .row-2 .col-md-4,
#homefront .row-2 .col-md-8 {
  padding: 20px 30px;
  min-height: 200px;
  text-align: left;
}

#homefront .row-2 p,
#homefront .row-2 button {
  margin-left: 30px;
}

#homefront .col-md-12 img {
  width: 100%;
}

/* ==========================================================
   HOME-CONTACT SECTION
========================================================== */
#home-contact {
  padding: 100px;
  background-color: #f7cf6822;
}

#home-contact img {
  width: 100%;
  height: auto;
}

#home-contact .container-fluid {
  padding: 40px;
  border-radius: 33px;
  border: 1px solid #dedede;
  background-image: linear-gradient(62deg, #FBAB7E 0%, #F7CE68 100%);
}

#home-contact .list-group li {
  background-color: transparent;
}

#home-contact .list-group li .bi {
  margin-right: 20px;
}

#home-contact .list-group li a {
  text-decoration: none;
  color: #222;
}

#home-contact .list-group li p {
  margin-left: 40px;
}

/* ==========================================================
   ITEM LIST SECTION (Produk)
========================================================== */
#item-list {
  padding: 100px;
}

#item-list .col-md-3 {
  margin-bottom: 30px;
}

#item-list .col-md-3 a {
  text-decoration: none;
}

#item-list .col-md-3 .card {
  padding: 0 0 10px 0;
  border-color: #dedede;
  color: #222;
  background-color: #fff;
  border-radius: 25px;
  transition: all 0.3s ease-in-out;
}

#item-list .col-md-3 .card:hover {
  box-shadow: 1px 2px 7px rgba(122, 122, 122, 0.32);
  background-color: #d1d1d1;
  color: #555;
}

#item-list .col-md-3 .card .card-body {
  padding: 10px;
  text-align: center;
}

#item-list .col-md-3 .card .card-body .card-title {
  margin: 0;
  font-weight: 600;
  font-size: 1.15rem;
}

#item-list .col-md-3 .card .card-body p,
#item-list .col-md-3 .card .card-body ul {
  margin: 0;
  font-size: 15px;
}

#item-list .col-md-3 .card img.card-img-top {
  width: 70% !important;
  height: 140px;
  object-fit: cover;
  object-position: 50% 50%;
  margin: 0 auto;
  border-radius: 12px;
}

/* Hanya menampilkan image dan judul */
.card ul li {
  display: none;
}

/* ==========================================================
   GALLERY SECTION
========================================================== */
#gallery-list {
  padding: 100px;
  background-color: #f7cf6822;
}

#gallery-list img {
  width: 100%;
  border-radius: 10px;
}

/* ==========================================================
   ABOUT SECTION
========================================================== */
#about {
  padding: 50px 100px 100px 100px;
}

#about img {
  width: 100%;
  height: auto;
}

/* ==========================================================
   PRODUCT PAGE
========================================================== */
#product-list {
  padding: 50px 0;
}

#product-details {
  border: 0.5px solid #d8d8d8;
  border-radius: 0.5rem;
  padding: 15px 17px;
}

#product-details h6 {
  font-weight: 600;
}

#product-links {
  border: 1px solid #d8d8d8;
  border-radius: 0.5rem;
  padding: 15px 17px;
}

#product-links a {
  display: inline-table !important;
  margin-bottom: 15px !important;
}

#produk-page {
  padding: 79px;
  background-color: #fff;
}

.cntnr {
  border: 1px solid #dedede;
  border-radius: 11px;
  background-color: #ffffff44;
}

.cntnr .row {
  padding: 30px 20px;
}

#product-name {
  padding: 30px 0;
}

/* ==========================================================
   SHOP BUTTONS
========================================================== */
#shop-shopee,
#shop-tokopedia {
  width: 100%;
  padding: 16px 16px 16px 12px;
  border: 1px solid #d8d8d8;
  background-color: #fff;
  border-radius: 0.5rem;
  color: #333;
}

#shop-shopee img,
#shop-tokopedia img {
  width: 5%;
  margin-right: 10px;
}

/* ==========================================================
   BUTTONS
========================================================== */
.btn-link {
  color: #fff !important;
  margin-right: 8px;
}

.btn i {
  margin-right: 8px;
}

.btn-primary {
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* ==========================================================
   FOOTER
========================================================== */
footer {
  background-color: #343a40;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

/* ==========================================================
   MODE TOGGLE
========================================================== */
.dark-mode {
  background-color: #333;
  color: #fff !important;
}

.light-mode {
  background-color: #fff;
  color: #333 !important;
}

/* ==========================================================
   RESPONSIVE DESIGN
========================================================== */
@media only screen and (max-width: 768px) {
  section {
    min-height: auto;
    padding: 20px;
  }

  .navbar {
    padding: 10px !important;
  }

  #homefront {
    padding: 10px 10px 50px 10px;
  }

  #homefront .col-md-8 {
    padding: 0;
    margin-bottom: 30px;
  }

  #homefront .container,
  #homefront .row {
    padding: 0;
    margin: 0;
  }

  #homefront .row-1 {
    padding: 30px 0 0 0;
  }

  #homefront .col-md-8 .row {
    padding: 30px 20px;
  }

  #homefront .col-md-6 {
    margin-bottom: 20px;
  }

  #home-contact {
    padding: 50px 10px;
  }

  #about {
    padding: 10px;
  }

  #about .col-md-3 {
    width: 50%;
    padding: 5px;
  }

  #item-list {
    padding: 10px;
  }

  #item-list .col-md-3 {
    margin-bottom: 20px;
    width: 50%;
  }

  #item-list .col-md-3 .card {
    padding: 20px 10px;
  }

  #product-links a {
    margin-bottom: 20px !important;
  }

  #produk-page {
    background-color: #f4f2f2;
    padding: 20px 10px;
  }

  #product-details {
    margin-top: 30px;
  }

  #product-name {
    padding: 17px 0;
    margin: 0;
  }

  .cntnr .row {
    padding: 20px 10px;
  }

  #gallery-list {
    padding: 10px;
  }

  #gallery-list .col-md-6 {
    width: 50%;
  }

  #contactus {
    padding: 0 !important;
  }
}


/* ====== Mode Toggle Button ====== */
#mode-toggle {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #198754;
  transition: color 0.3s ease;
}

#mode-toggle:hover {
  color: #145c32;
}

/* ====== Produk Page ====== */
#produk-page {
  background-color: #fff;
  padding: 4rem 0;
}

#produk-page .cntnr {
  max-width: 1000px;
  margin: 0 auto;
}

#product-name {
  font-size: 2rem;
  font-weight: 700;
  color: #198754;
  margin-bottom: 1rem;
}

#product-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 2rem;
}

.product-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
  margin-bottom: 1.5rem;
}

#product-details {
  font-size: 1.05rem;
  color: #555;
}

#product-links a.btn-link {
  display: inline-block;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

#product-links a.btn-link:hover {
  background-color: #157347 !important;
  color: #fff;
}
