/* ===========================
   PAGE DESIGN
=========================== */
.main-wrapper{
  background:url("../asset/style2.png") center top / cover no-repeat fixed;
  padding-bottom:60px;
}

/* MOBILE BG CHANGE */
@media(max-width:768px){
  .main-wrapper{
    background:url("../asset/style1.png") center top / cover no-repeat fixed;
  }
}

/* ===========================
   HERO SECTION
=========================== */
.hero{
  text-align:center;
  padding:80px 20px 40px;
  color:#fff;
  text-shadow:1px 1px 3px rgba(0,0,0,0.35);
}

.hero h1{
  font-size:4rem !important;
  margin-bottom:6px;
}

.hero h3{
  font-size:2rem !important;
}

/* ===========================
   CATEGORY SECTION
=========================== */
.category-section{
  width:90%;
  max-width:1100px;
  margin:20px auto 50px;
}

.section-title{
  text-align:center;
  font-size:1.6rem;
  font-weight:600;
  margin-bottom:30px;
  color:#fff;
  text-shadow:1px 1px 4px rgba(0,0,0,0.4);
}

/* 3 CARDS GRID */
.category-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}

@media(max-width:768px){
  .category-grid{
    grid-template-columns:1fr;
  }
}

/* CARD BOX */
.cat-card{
  background:rgba(255,255,255,0.25);
  border-radius:22px;
  padding:20px;
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,0.25);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:0.3s;
  cursor:pointer;
}

.cat-card:hover{
  transform:translateY(-6px);
}

/* CARD IMAGE */
.cat-img{
  width:100%;
  height:200px;
  overflow:hidden;
  border-radius:16px;
  margin-bottom:14px;
}

.cat-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.4s;
}

.cat-card:hover img{
  transform:scale(1.05);
}

/* CARD TITLE */
.cat-card span{
  font-size:1.1rem;
  font-weight:600;
  color:#fff;
  display:block;
  margin-bottom:14px;
}

/* CARD BUTTONS */
.cat-buttons{
  display:flex;
  justify-content:center;
  gap:12px;
  margin-top:8px;
}

/* CALL BUTTON */
.btn-call{
  background:#2962ff;
  padding:10px 20px;
  color:#fff;
  font-size:0.95rem;
  border-radius:40px;
  text-decoration:none;
  transition:0.3s;
  font-weight:500;
}

.btn-call:hover{
  background:#0039cb;
  transform:translateY(-2px);
}

/* WHATSAPP BUTTON */
.btn-whatsapp{
  background:#00c853;
  padding:10px 20px;
  color:#fff;
  font-size:0.95rem;
  border-radius:40px;
  text-decoration:none;
  transition:0.3s;
  font-weight:500;
}

.btn-whatsapp:hover{
  background:#009624;
  transform:translateY(-2px);
}

/* ===========================
   MEMORIES TITLE
=========================== */
.gallery-title{
  text-align:center;
  width:90%;
  max-width:1100px;
  margin:0 auto 20px;
  padding:30px;
  background:rgba(255,255,255,0.25);
  border-radius:22px;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 12px 30px rgba(0,0,0,0.20);
}

.gallery-title h2{
  font-size:2.5rem;
  font-family:"Allura", cursive;
  color:#003b52;
  letter-spacing:1px;
  margin-bottom:8px;
}

.gallery-title p{
  font-size:1.5rem;
  color:#003b52;
}

/* ===========================
   MEMORY GRID
=========================== */
.memory-grid{
  width:90%;
  max-width:1100px;
  margin:20px auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:24px;
}

@media(max-width:768px){
  .memory-grid{
    grid-template-columns:1fr;
  }
}

/* MEMORY BOX */
.memory-box{
  background:rgba(255,255,255,0.15);
  height:260px;
  border-radius:22px;
  overflow:hidden;
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  box-shadow:0 12px 30px rgba(0,0,0,0.25);
  cursor:pointer;
}

/* SLIDER IMAGE AREA */
.memory-slider{
  width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
}

/* ALL SLIDER IMAGES */
.memory-slider img{
  width:100%;
  height:100%;
  object-fit:cover;
  position:absolute;
  top:0;
  left:0;
  opacity:0;
  transition:opacity 1s;
}

/* ACTIVE IMAGE */
.memory-slider img.active{
  opacity:1;
}

/* ===========================
   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;
}

/* CALL + WHATSAPP BUTTON */
.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;
}

/* ===========================
   CATEGORY SWITCH
=========================== */
.category-switch {
  width: 90%;
  max-width: 1100px;
  margin: 40px auto 0;
}

.gallery-title {
  margin-top: 40px !important;
}
