
@media (max-width:480px){

  .bg-title-page.p-t-160{
    padding-top:60px !important;
  }

  .bg-title-page.p-b-80{
    padding-bottom:40px !important;
  }

  .bg-title-page{
    min-height:380px;      /* banner height kam */
    background-position:center;
    background-size:cover;
  }

  .bg-title-page h2{
    font-size:22px;
    line-height:1.2;
  }
}




/*
   INTRO – DIAGONAL SPLIT
*/

.common-section{
  position:relative;
  padding:120px 20px;
    background:#67ceee;
  overflow:hidden;
}

.common-section::after{
  content:"";
  position:absolute;
  top:0;
  right:-20%;
  width:70%;
  height:100%;
  background:#d171b4;
  transform:skewX(-12deg);
  z-index:0;
}

.common-container{
  position:relative;
  z-index:1;
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:60px;
  align-items:center;
}

.common-heading{
  font-size:50px;
  font-weight:900;
  color:#303030;
  line-height:1.1;
}

.common-para{
  font-size:18px;
  line-height:1.9;
  color:#000000;
}


/* ---------- Mobile (0 – 575px) ---------- */
@media (max-width:575px){

  .common-section{
    padding:60px 15px;
  }

  /* diagonal shape hide */
  .common-section::after{
    display:none;
  }

  .common-container{
    grid-template-columns:1fr;
    gap:30px;
    text-align:center;
  }

  .common-heading{
    font-size:30px;
    line-height:1.25;
  }

  .common-para{
    font-size:15px;
    line-height:1.7;
  }
}

/* ---------- Tablet (576px – 991px) ---------- */
@media (min-width:576px) and (max-width:991px){

  .common-section{
    padding:80px 20px;
  }

  .common-container{
    grid-template-columns:1fr;
    gap:40px;
    text-align:center;
  }

  .common-section::after{
    right:-35%;
    width:90%;
    transform:skewX(-10deg);
  }

  .common-heading{
    font-size:36px;
  }

  .common-para{
    font-size:17px;
  }
}

/* ---------- Desktop (992px – 1399px) ---------- */
@media (min-width:992px) and (max-width:1399px){

  .common-section{
    padding:110px 20px;
  }

  .common-heading{
    font-size:46px;
  }
}

/* ---------- Large Desktop (1400px +) ---------- */
@media (min-width:1400px){

  .common-section{
    padding:140px 20px;
  }

  .common-container{
    max-width:1400px;
    gap:80px;
  }

  .common-heading{
    font-size:56px;
  }

  .common-para{
    font-size:20px;
  }
}
@media (max-width:480px){

  .wrap-label-gallery{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;

    gap:12px !important;
    padding-left:15px !important;
    padding-right:15px !important;

    overflow:visible !important;
  }

  .label-gallery{
    width:100% !important;
    text-align:center !important;
    font-size:13px !important;
    padding:10px 6px !important;
    white-space:normal !important;
  }
}


.bg-title-page{
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Black overlay */
.bg-title-page::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.1); 

  z-index: 1;
}

/* Text above overlay */
.bg-title-page h2{
  position: relative;
  z-index: 2;
}

.wrap-gallery{
  margin-top: 30px;   
}


/* ===== FILTER BUTTONS ================ */

.wrap-label-gallery{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 58px;
  flex-wrap: nowrap;       
  margin-bottom: 30px;
}

/* Filter buttons */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');

.label-gallery{
  font-family: 'Inter', sans-serif;
  padding: 10px 22px;
  border-radius: 6px;
  background: transparent;
  border: 1px solid #dcdcdc;

  font-size: 15px;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.5px;

  color: #333;
  cursor: pointer;
  white-space: nowrap;

  transition: all 0.25s ease;
}

.label-gallery:hover{
  border-color: #000000;
  color: #000000;
 background: #e44343;
}

.label-gallery.is-actived{
  background: #e44343;
  color: #000000;
  border-color: #000000;
}


/* ===== PARAGRAPH SWITCHING =========== */

.gallery-intro{
  max-width: 1000px;
  margin: 0 auto 40px auto;
  padding: 0 15px;
  text-align: center;
  min-height: 70px;
}

.intro-text{
  font-family: 'Inter', sans-serif;
  display: none;
  font-size: 17px;
  line-height: 1.9;
  color: #3d3d3d;

}

/* Visible paragraph */
.intro-text.active-intro{
  display: block;
}

/* Image wrapper */
.img-wrap{
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.img-wrap img{
    width: 100%;
    display: block;
}


/* ===============================
   GALLERY SECTION
================================ */

.section-gallery{
  padding-top:60px;
  padding-bottom:15px;
}

.catering-gallery{
  padding:60px 20px;
  background:#d2ebfc;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:40px;
  max-width:1000px;
  margin:auto;
}
  
.gallery-item{
  text-align:center;
}


/* ===============================
   IMAGE BOX (SQUARE)
 ================================ */


.octagon-box{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
}


/* SVG completely unused */
.octagon-svg{
  display:none;
}


/* ===============================
   IMAGE AREA (NO SHAPE)
================================ */

.img-inner{
  position:absolute;
  inset:0;
  overflow:hidden;
}

/* IMAGE OUTLINE */
.img-inner{
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(117,117,117,0.1); 
  border-radius: 7px;
}


.img-inner img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform 0.4s ease;
}

.img-inner:hover img{
  transform:scale(1.05);
}

/* ===============================
   OVERLAY (SQUARE)
================================ */

.overlay-item-gallery{
  position:absolute;
  inset:0;
  background:rgba(0,255,242,0.55);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  opacity:0;
  transition:0.35s ease;
}

.img-inner:hover .overlay-item-gallery{
  opacity:1;
}

/* ===============================
   BUTTON
================================ */

.btn-show-gallery{
  width:48px;
  height:48px;
  background:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  color:#000;
  text-decoration:none;
}

/* ===============================
   OVERLAY TEXT
================================ */

.overlay-item-gallery p{
  color:#fff;
  font-size:20px;
  font-weight:500;
  max-width:80%;
  text-align:center;
  opacity:0;
  transform:translateY(10px);
  transition:0.35s ease;
}

.img-inner:hover .overlay-item-gallery p{
  opacity:1;
  transform:translateY(0);
}

/* ===============================
   PRODUCT TEXT
================================ */

.product-name{
  margin-top:15px;
  font-size:18px;
  color:#333;
}

.product-desc{
  margin-top:6px;
  font-size:16px;
  line-height:1.6;
  color:#666;
  text-align:center;
}

/* ===============================
   LIGHTBOX
================================ */

#simple-lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

#simple-lightbox img{
  max-width:90%;
  max-height:90%;
}

#sl-close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:40px;
  color:#fff;
  cursor:pointer;
}

#sl-prev,
#sl-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  font-size:50px;
  color:#fff;
  cursor:pointer;
  padding:10px;
  user-select:none;
}

#sl-prev{left:30px;}
#sl-next{right:30px;}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width:575px){
  .gallery-grid{
    grid-template-columns:1fr;
    gap:20px;
  }
}

@media (min-width:576px) and (max-width:991px){
  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
    gap:30px;
  }
}

@media (min-width:1400px){
  .gallery-grid{
    max-width:1400px;
    grid-template-columns:repeat(4,1fr);
    gap:50px;
  }
}