*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Inter',sans-serif;
  background:#efefef;
  color:#111;
  overflow:hidden;
}

a{
  text-decoration:none;
  color:inherit;
}

.main-content{
  height:100dvh;
  overflow-y:auto;
  overflow-x:hidden;
}

/* ========================= 
   HERO
========================= */

.gallery-hero{
  position:relative;
  padding:100px 80px 50px;
}

.gallery-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:9999;

  display:none;
  align-items:flex-start;

  overflow-y:auto;

  padding:20px;
}

.modal-content{
  width:100%;
  max-width:1100px;
  margin:auto;
}

.vertical-title{
  position:absolute;
  left:20px;
  top:180px;
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-size:22px;
  font-weight:500;
}

.hero-wrapper{
  max-width:1300px;
  margin:auto;
}

.breadcrumb{
  font-size:14px;
  color:#666;
  margin-bottom:30px;
}

.breadcrumb span{
  color:#c40018;
}

.hero-title{
  font-size:38px;
  font-weight:400;
  margin-bottom:20px;
}

.hero-text{
  max-width:700px;
  line-height:1.9;
  color:#444;
}

/* =========================
   GALLERY
========================= */

.gallery-section{
  padding:0 80px 80px;
}

.gallery-wrapper{
  max-width:1300px;
  margin:auto;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.gallery-card{
  background:#fff;
  overflow:hidden;
  cursor:pointer;
  transition:.3s;
}

.gallery-card:hover{
  transform:translateY(-5px);
}

.gallery-card img{
  width:100%;
  height:280px;
  object-fit:cover;
}

.gallery-image{
  position:relative;
  overflow:hidden;
}

.gallery-image img{
  width:100%;
  height:280px;
  object-fit:cover;
  display:block;
  transition:.4s;
}

.gallery-overlay{
  position:absolute;
  inset:0;

  background:rgba(0,0,0,.45);

  display:flex;
  align-items:center;
  justify-content:center;

  opacity:0;
  transition:.3s;
}

.gallery-overlay i{
  color:#fff;
  font-size:42px;
  transform:scale(.7);
  transition:.3s;
}

.gallery-card:hover .gallery-overlay{
  opacity:1;
}

.gallery-card:hover .gallery-overlay i{
  transform:scale(1);
}

.gallery-card:hover .gallery-image img{
  transform:scale(1.08);
}

.gallery-content{
  padding:25px;
}

.gallery-content h3{
  font-size:18px;
  margin-bottom:10px;
}

.gallery-content p{
  color:#555;
  line-height:1.8;
}

/* =========================
   POPUP
========================= */

.gallery-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.92);
  z-index:9999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:40px;
}

.gallery-modal.show{
  display:flex;
}

.modal-content{
  width:100%;
  max-width:1100px;
}

.modal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  color:#fff;
  margin-bottom:20px;
}

.modal-header h2{
  font-size:28px;
}

.close-modal{
  background:none;
  border:none;
  color:#fff;
  font-size:32px;
  cursor:pointer;
}

.popup-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:15px;
}

.popup-grid img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:4px;
}

/* =========================
   DESKTOP FOOTER
========================= */

.desktop-footer{
  background:#efefef;
  padding:50px 50px;
  border-top:1px solid #ddd;
}

.footer-wrapper{
  max-width:1400px;
  margin:auto;
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:70px;
}

/* =========================
   LEFT
========================= */

.footer-brand{
  display:flex;
  align-items:flex-start;
  gap:18px;
}

.footer-brand img{
  width:70px;
  height:70px;
  object-fit:contain;
  flex-shrink:0;
}

/* CONTENT RIGHT OF LOGO */

.footer-brand-content{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:6px;
  width:100%;
}

/* TITLE */

.footer-brand-content h3{
  font-size:18px;
  line-height:1.2;
  margin:0;
}

/* ADDRESS */

.footer-brand-content p{
  font-size:14px;
  line-height:1.5;
  color:#444;
  max-width:520px;
  margin:0;
}

/* =========================
   INLINE LINKS
========================= */

.footer-links-inline{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:2px;
}

.footer-links-inline a{
  font-size:14px;
  color:#111;
  transition:0.3s;
}

.footer-links-inline a:hover{
  color:#004180;
}

/* =========================
   SOCIAL
========================= */

.footer-social-desktop{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:30px;
  margin-top:4px;
}

.footer-social-desktop a{
  font-size:18px;
  transition:0.3s;
}

/* FACEBOOK */
.footer-social-desktop a:nth-child(1){
  color:#1877f2;
}

/* YOUTUBE */
.footer-social-desktop a:nth-child(2){
  color:#ff0000;
}

/* INSTAGRAM */
.footer-social-desktop a:nth-child(3){
  color:#e4405f;
}

/* X / TWITTER */
.footer-social-desktop a:nth-child(4){
  color:#111;
}

.footer-social-desktop a:hover{
  transform:translateY(-2px) scale(1.08);
  opacity:.85;
}

/* =========================
   RIGHT
========================= */

.footer-right{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:30px;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.footer-column a{
  font-size:15px;
  line-height:1.4;
  color:#111;
  transition:0.3s;
}

.footer-column a:hover{
  color:#004180;
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

  .gallery-grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:768px){

  body{
    overflow-x:hidden;
    overflow-y:auto;
  }

  .main-content{
    height:auto;
    min-height:100dvh;
    overflow:visible;
  }

  .vertical-title{
    display:none;
  }

  .gallery-hero,
  .gallery-section{
    padding:20px 16px;
  }

  .breadcrumb{
    margin-top:15px;
    margin-bottom:20px;
  }

  .hero-title{
    font-size:32px;
    line-height:1.2;
    margin-bottom:15px;
  }

  .hero-text{
    font-size:16px;
    line-height:1.8;
    text-align:justify;
  }

  .gallery-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .gallery-content{
    padding:20px;
  }

  .gallery-content h3{
    font-size:22px;
  }

  /* GAMBAR RESPONSIF */
  .gallery-image img,
  .gallery-card img{
    width:100%;
    height:auto;
    display:block;
    object-fit:cover;
  }

  /* MODAL */
  .gallery-modal{
    align-items:flex-start;
    overflow-y:auto;
    padding:15px;
  }

  .modal-content{
    margin-top:20px;
    margin-bottom:20px;
  }

  .modal-header h2{
    font-size:22px;
  }

  .popup-grid{
    grid-template-columns:1fr;
    gap:10px;
  }

  .popup-grid img{
    width:100%;
    height:auto;
    display:block;
  }

  .desktop-footer{
    display:none;
  }

}

/* =========================
   SECTION ANIMATION
========================= */

.hero-wrapper,
.gallery-wrapper{
  opacity:0;
  transform:translateY(30px);
  animation:fadeUp 1.2s ease-out forwards;
}

.gallery-wrapper{
  animation-delay:.2s;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.news-pagination{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:10px;
    margin-top:30px;
    padding-right:0;
}

.news-pagination a{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    border:1px solid #ddd;
    color:#333;
    transition:.25s;
    font-weight:600;
}

.news-pagination a:hover{
    background:#0d6efd;
    color:#fff;
}

.news-pagination a.active{
    background:red;
    color:#fff;
    border-color:red;
}

