/* ===========================
   Decoration Page Styling
   =========================== */

/* Hero Section */
.deco-hero {
  display: flex;
  gap: 40px;
  padding: 80px 7%;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.deco-hero-left img {
  width: 420px;
  max-width: 100%;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.deco-hero-right {
  flex: 1;
  min-width: 320px;
}

.deco-hero-right h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 18px;
  font-weight: 700;
  color: #313531;
}

.deco-hero-right p {
  margin-bottom: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

/* ===========================
   Gallery Section
   =========================== */

   .deco-gallery-section {
    padding: 60px 0;        /* hilangkan padding kiri-kanan */
    display: flex;
    justify-content: center;
  }

/* Mobile Default → 1 kolom vertikal */
.deco-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  justify-content: center;  
  justify-items: center;      
  gap: 28px;
}



.deco-gallery img {
  width: 90%;                 /* tidak full, jadi tetap center */
  max-width: 500px;           /* batas maksimum supaya rapi */
  height: 380px;
  object-fit: cover;
  border-radius: 14px;
  transition: 0.3s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}


.deco-gallery img:hover {
  transform: scale(1.02);
}

/* Desktop → 4 kolom berjajar */
@media (min-width: 900px) {
  .deco-gallery {
    width: 100%;
    max-width: 1200px;    /* menentukan area grid */
    margin: 0 auto;       /* pusatkan container */
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* SELALU 3 kolom */
    gap: 28px;
    justify-items: center;
  }
  

  .deco-gallery img {
    height: 500px;
    max-height: 500px;
  }
}


/* ===========================
   Decoration Types
   =========================== */

.deco-types {
  text-align: center;
  padding: 70px 7%;
  background: #f4f6f4;
}

.deco-types h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 35px;
  color: #313531;
}

.deco-card-wrapper {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.deco-card {
  background: white;
  padding: 25px 22px;
  border-radius: 16px;
  text-align: left;
  border: 1.5px solid #e3e7e3;
  transition: 0.3s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.deco-card:hover {
  transform: scale(1.02);
  border-color: #b9c1b9;
}

.deco-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #2f322f;
}

.deco-card p {
  font-size: 14.5px;
  color: #555;
  line-height: 1.6;
}

/* ===========================
   Contact Section
   =========================== */

.deco-contact {
  padding: 70px 7%;
  text-align: center;
}

.deco-contact h2 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 25px;
  color: #2f322f;
}

.btn-wa {
  background: #4caf50;
  color: white;
  padding: 14px 26px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}

.btn-wa:hover {
  background: #449b47;
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 900px) {
  .deco-hero {
    flex-direction: column;
    text-align: center;
  }

  .deco-hero-right h1 {
    font-size: 28px;
  }

  .deco-hero-left img {
    width: 100%;
    max-width: 420px;
  }

  .deco-gallery img {
    height: 330px;
  }
}

@media (max-width: 500px) {
  .deco-hero-right h1 {
    font-size: 23px;
  }

  .deco-card p {
    font-size: 13.5px;
  }

  .deco-gallery img {
    height: 280px;
  }
}
