  /* ===========================
   PAGE BACKGROUND
=========================== */
.gallery-wrapper {
  width: 100%;
  min-height: 100vh;
  padding: 120px 20px 60px;
  background: url("../asset/style2.png") center top / cover no-repeat fixed;
}

@media(max-width:768px){
  .gallery-wrapper {
    background: url("../asset/style1.png") center top / cover no-repeat fixed;
  }
}

/* ===========================
   MAIN HEADING
=========================== */

/* ===========================
   GALLERY GRID
=========================== */
.gallery-grid {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

@media(max-width:1024px){
  .gallery-grid {
    grid-template-columns: repeat(3,1fr);
  }
}

@media(max-width:768px){
  .gallery-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media(max-width:480px){
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   GALLERY BOXES
=========================== */
.gallery-box {
  width: 100%;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.22);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: 0.3s;
  position: relative;
}

.gallery-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.28);
}

/* ===========================
   IMAGES
=========================== */
.gallery-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.4s;
}

.gallery-box:hover img {
  transform: scale(1.06);
}

/* ===========================
   FULLSCREEN MODAL
=========================== */
.img-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  flex-direction: column;
}

/* FULLSCREEN IMAGE */
#modalImg {
  max-width: 92%;
  max-height: 72%;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 0 25px rgba(255,255,255,0.35);
}

/* CLOSE BUTTON */
.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 38px;
  color: #fff;
  cursor: pointer;
}

/* LEFT + RIGHT ARROWS */
.left-arrow,
.right-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 55px;
  color: #fff;
  cursor: pointer;
  padding: 10px 18px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: 0.3s;
  user-select: none;
}

.left-arrow:hover,
.right-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.left-arrow {
  left: 30px;
}

.right-arrow {
  right: 30px;
}

/* MOBILE ARROW SIZE */
@media(max-width:768px){
  .left-arrow,
  .right-arrow {
    font-size: 42px;
  }
}

/* ===========================
   MODAL BUTTONS
=========================== */
.modal-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.modal-call {
  background: #2962ff;
  padding: 14px 28px;
  font-size: 1.1rem;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.modal-call:hover {
  background: #0039cb;
}

.modal-whatsapp {
  background: #00c853;
  padding: 14px 28px;
  font-size: 1.1rem;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.modal-whatsapp:hover {
  background: #009624;
}
/* RIBBON TITLE WRAPPER */
.ribbon-title {
  width: fit-content;
  margin: 0 auto 50px;
  padding: 14px 35px;
  border-radius: 999px;

  /* glossy blur glass effect */
 background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);

  /* subtle border + glow */
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 8px 25px rgba(0,0,0,0.20);

  /* ribbon shape illusion */
  position: relative;
  overflow: hidden;
}

/* LEFT RIBBON TAIL */
.ribbon-title::before,
.ribbon-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 40px;
  height: 60%;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: -1;
}

/* LEFT SIDE */
.ribbon-title::before {
  left: -28px;
  transform: translateY(-50%) skewX(-20deg);
  border-radius: 8px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.12);
}

/* RIGHT SIDE */
.ribbon-title::after {
  right: -28px;
  transform: translateY(-50%) skewX(20deg);
  border-radius: 8px;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.12);
}
@media(max-width:768px){

  .ribbon-title {
    width: 90%;
    max-width: 90%;
    padding: 10px 18px;
    border-radius: 20px;   /* ribbon flat */
    margin: 0 auto 30px;
  }

  .ribbon-title::before,
  .ribbon-title::after {
    display: none;   /* remove side tails → clean look */
  }
}


/* TITLE FIX */
.gallery-title {
  font-family: "Alfa Slab One", cursive;
  font-size: 2rem;
  color: #ffcc00;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.5px;
  margin: 0;
  padding: 0;
}

.float-emoji {
  position: fixed;
  font-size: 2.5rem;
  opacity: 0.9;
  animation: floatEmoji 6s infinite ease-in-out;
  pointer-events: none;
  z-index: 9999;
}

.float-emoji:nth-child(1) { left: 10%; animation-duration: 7s; }
.float-emoji:nth-child(2) { left: 40%; animation-duration: 6s; }
.float-emoji:nth-child(3) { left: 70%; animation-duration: 8s; }
.float-emoji:nth-child(4) { left: 85%; animation-duration: 9s; }

@keyframes floatEmoji {
  0%   { transform: translateY(100vh) rotate(0deg); }
  100% { transform: translateY(-100vh) rotate(360deg); }
}
