@import url('https://fonts.google.com/');

body {
    font-family: 'Work Sans', sans-serif;
}

/* .home-hero-section {
    
    background-image: url("../images/unnamed.png");
    
} */

.home-hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  background: url('../images/tobacco.png') center/cover no-repeat;
}

/* .home-hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.1) 70%
  );
} */

.home-hero-section .content {
  position: relative;
  /* background: rgba(0,0,0,0.55); */
  padding: 24px 32px;
  max-width: 520px;
  border-radius: 4px;
  color: #fff;
}

.nav-link.active{
  text-decoration: underline;
}

/*--------- SECTION ABOUT US PADA LANDING PAGE */
.product-card-img {
    width: 150px;
    margin: 1rem auto 0; /* center horizontal */
    display: block;
    object-fit: contain;
}

.card-category {
  border: none;
}

a.title-card-category{
  text-decoration: none;
  color: inherit;
}

/* HOVER */
.card-category:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
/*--------- */

/*--------- SECTION ABOUT US PADA LANDING PAGE */
.about-art-section {
    padding: 40px 0;
    background: #d1d1cf;
}

.about-art-wrapper {
    position: relative;
    max-width: 1100px;
    margin: auto;
}

/* IMAGE BLOCK */
.about-image {
    width: 70%;
    height: 420px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CARD OVERLAP */
.about-card {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 45%;
    background: #556f63;
    color: #fff;
    padding: 48px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

.about-card h3 {
    font-weight: 700;
    margin-bottom: 16px;
}

.about-card p {
    line-height: 1.7;
    font-size: 0.95rem;
}


@media (max-width: 992px) {
    .about-art-wrapper {
        display: flex;
        flex-direction: column;
    }

    .about-image,
    .about-card {
        width: 100%;
        position: relative;
        transform: none;
    }

    .about-card {
        margin-top: -60px; /* masih ada overlap dikit */
    }
}
/*--------- */


/*--------- SECTION PRODUCT PADA LANDING PAGE */
.products-section {
    background: #d1d1cf;
}

.product-card {
    width: 220px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all .3s ease;
}

.product-card i {
    font-size: 28px;
}

/* WARNA */
.product-card.light {
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    color: #4d6a5a;
}

.product-card.dark {
    background: #556f63;
    color: #ffffff;
}

/* HOVER */
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-card h6 {
    font-weight: 600;
    margin: 0;
}
/*--------- */


/*--------- SECTION PROJECT PADA LANDING PAGE */
.projects {
  padding: 80px 0;
  background: #fff;
}

.projects-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 60px;
}

/* LEFT FILTER */
.projects-filter h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.projects-filter ul {
  list-style: none;
  padding: 0;
}

.projects-filter li {
  margin-bottom: 16px;
  color: #b0b7c3;
  cursor: pointer;
}

.projects-filter li.active {
  color: #4e6b5c;
  font-weight: 600;
  position: relative;
}

.projects-filter li.active::before {
  color: #4e6b5c;
  margin-right: 8px;
}

/* RIGHT CONTENT */

.projects-content {
  flex: 1;
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* CARD */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* LABEL OVER IMAGE */
.project-info {
  background: #4e6b5c;
  color: #fff;
  padding: 16px 20px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

.project-info h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.project-info p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

/* NAV */
.projects-nav {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn.dark {
  background: #1f2533;
  color: #fff;
  padding: 14px 36px;
  border: none;
  border-radius: 0;
  cursor: pointer;
}

.dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: #e0e0e0;
  border-radius: 50%;
  margin: 0 4px;
}

.dots span.active {
  background: #4e6b5c;
}

@media (max-width: 768px) {
  
  /* CONTAINER */
  .projects-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 20px;
  }
  
  /* FILTER */
  .projects-filter h2 {
    font-size: 26px;
  }
  
  .projects-filter ul {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
  }

  .projects-filter li {
    margin-bottom: 0;
  }
  
  .projects-filter li.active::before {
    display: none;
  }
  
  /* GRID → 1 COLUMN */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  /* CARD IMAGE */
  .project-card img {
    height: 220px;
  }
  
  /* CARD TEXT */
  .project-info h4 {
    font-size: 15px;
  }
  
  .project-info p {
    font-size: 13px;
  }
  
  /* NAVIGATION */
  .projects-nav {
    flex-direction: column;
    gap: 20px;
  }
  
  .btn.dark {
    width: 100%;
    text-align: center;
  }
  
  .dots {
    order: -1;
  }
}
/*--------- */


/*--------- SECTION FOOTER PADA LANDING PAGE */
.footer {
  background: #ffffff;
  font-size: 14px;
}

.footer .label {
  font-weight: 600;
  color: #4f6f5f;
  margin-right: 6px;
}

.footer-info li {
  margin-bottom: 10px;
}

.footer-brand {
  font-size: 15px;
}

.newsletter-form input {
  max-width: 260px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: #2f3b52;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.social-icon:hover {
  background: #4f6f5f;
}

.footer-bottom {
  background: #4f6f5f;
  padding: 14px 0;
}

.btn.subscribe {
  background: #4f6f5f;
  border-radius: 0;
}
/*--------- */

/*--------- SECTION VISI MISI PADA ABOUT US */
.custom-img {
    width: 600px;
    height: 400px;
    object-fit: cover; /* atau cover */
}
/*--------- */

/*--------- PRODUCT TOOLBAR PADA PRODUCTS */
.product-toolbar {
    padding: 12px 16px;
    background: #fff;
    /* border: 1px solid #4f6f5f; */
    /* box-shadow: 1px 1px #4f6f5f; */
}

.product-toolbar .btn {
    border-radius: 0;
}

/*--------- */