
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  padding-top: 56px;
  background: #0b0b0b;
}
    
/* panggon header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(10px);
}

.header-container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.header-logo {
  color: #fff;
  font-weight: 200;
  font-family: 'nexa';
  font-size: 20px;
}

@media (max-width: 768px) {
  .header-container {
    padding: 16px 24px;
  }
}

/* panggon menu dekstop */

.nav-desktop {
  display: flex;
  gap: 28px;
}

.nav-desktop a {
  color: #fff;
  text-decoration: none;
  font-size: 10px;
  font-weight: 500;
  font-family: 'nexa';
}

.hamburger {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menuOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* panggon menu dekstop */

.nav-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 400px;
  height: 100vh;
  background: #000000;
  transition: right .3s ease;
  z-index: 999;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.nav-mobile.active {
  right: 0;
}

.nav-mobile-logo {
  padding: 30px 24px;
  font-size: 28px;
  font-weight: 400;
  font-family: 'caviar';
  color: #74747f;
  text-align: center;
  border-bottom: 1px solid #333;
}

.nav-mobile a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid #333;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 500;
  font-family: 'nexa';
  opacity: 0;
  transform: translateX(20px);
  animation: none;
}

.nav-mobile a:hover {
  background: #1a1a1a;
}

.nav-mobile a .arrow {
  font-size: 24px;
  color: #9e9b9b;
}

.nav-mobile.active a {
  animation: slideIn .4s ease forwards;
}

.nav-mobile.active a:nth-child(2) { animation-delay: .1s; }
.nav-mobile.active a:nth-child(3) { animation-delay: .2s; }
.nav-mobile.active a:nth-child(4) { animation-delay: .3s; }
.nav-mobile.active a:nth-child(5) { animation-delay: .4s; }
.nav-mobile.active a:nth-child(6) { animation-delay: .5s; }
.nav-mobile.active a:nth-child(7) { animation-delay: .6s; }
.nav-mobile.active a:nth-child(8) { animation-delay: .7s; }
.nav-mobile.active a:nth-child(9) { animation-delay: .8s; }

.nav-mobile a:last-child {
  border-bottom: none;
}

@keyframes slideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media(max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* panggon title */

.title {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-family: nexa;
  font-weight: 400;
  overflow: hidden;
  text-transform: uppercase;
}

.title::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/portfolio/bg.webp') center/cover;
  background-attachment: fixed;
  z-index: -2;
}

.title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: -1;
}

/* ===== MAIN CONTENT ===== */
.content {
  position: relative;
  background: #0b0b0b;
  padding: 60px 0;
  z-index: 10;
}

.content h1 {
  font-size: 48px;
  font-weight: 100;
  padding-bottom: 20px;
  font-family: 'sego';
  border-bottom: 1px solid #333;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
}

/* ===== CLIENT GRID ===== */
.content-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: auto;
  padding: 60px 40px 80px;
}

.content-card {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.content-card:hover {
  transform: translateY(-10px);
}

.content-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 16px;
}

.content-name {
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.content-card:hover .content-name {
  opacity: 1;
}

/* ===== MODAL ===== */
.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.95);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.gallery-modal.active {
  display: flex;
}

.gallery-box {
  max-width: 1200px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 10px;
}

.close-gallery {
  text-align: right;
  margin-bottom: 20px;
  font-size: 24px;
  cursor: pointer;
  opacity: .7;
}

.close-gallery:hover {
  opacity: 1;
}

/* panggon photo lightbox */

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  justify-content: center;
  align-items: center;
}

.photo-lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
}

.lightbox-img {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  z-index: 2;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  user-select: none;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  font-size: 60px;
  color: #fff;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.2s;
  user-select: none;
  padding: 0 20px;
}

.lightbox-arrow:hover {
  opacity: 1;
}

.lightbox-prev {
  left: 10px;
}

.lightbox-next {
  right: 10px;
}

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 14px;
  opacity: 0.6;
  font-family: 'nexa';
  letter-spacing: 2px;
}

/* panggon footer */

.footer {
  background: #000;
  color: #fff;
  padding: 80px 24px 24px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 0.8fr 1.2fr;
  gap: 48px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  font-family: 'nexa';
  letter-spacing: 1px;
}

.footer p {
  line-height: 1.8;
  font-family: 'nexa';
  font-weight: 200;
  color: #ccc;
  font-size: 14px;
  text-align: justify;
}

.footer a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 12px;
  font-family: 'nexa';
  font-weight: 200;
  font-size: 14px;
  transition: color .3s ease;
}

.footer a:hover {
  color: #fff;
}

.footer-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
}

.footer-icon {
  font-size: 16px;
  min-width: 20px;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 13px;
  color: #888;
}

    /* tombol melayang wa */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background: #25D366;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float {
    background: #25D366;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
}

.whatsapp-float {
    right: 30px;
}

/* tombol melayang ig */
.instagram-float {
    position: fixed;
    bottom: 30px;
    right: 90px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle at 30% 107%, 
        #fdf497 0%, 
        #fdf497 5%, 
        #fd5949 45%, 
        #d6249f 60%, 
        #285AEB 90%);
}

.instagram-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(214, 36, 159, 0.5);
}