* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Header Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    background: transparent;
    z-index: 1000;
}

.logo {
    height: 18px;
    width: auto;
    transition: all 0.3s ease;
    display: block;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-link:hover {
    color: #f0f0f0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-btn {
    text-decoration: none;
    color: #1a1a1a;
    background: #fff;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-link-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* --- RESPONSIVE STYLE --- */

/* Tombol Hamburger (Default Sembunyi) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* Pas layar di bawah 992px (Tablet & HP) */
@media (max-width: 992px) {
    .header {
        padding: 20px 30px; /* Padding lebih kecil di mobile */
    }

    .hamburger {
        display: flex; /* Munculin hamburger */
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi di kanan luar layar */
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.95); /* Full screen black overlay */
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.5s ease-in-out;
    }

    .nav.active {
        right: 0; /* Menu muncul geser ke kiri */
    }

    .nav-link {
        font-size: 20px; /* Tulisan gedein dikit biar enak dipencet jempol */
    }

    .nav-link-btn {
        background: #fff;
        color: #000;
        width: 80%;
        text-align: center;
    }

    /* Animasi Hamburger jadi X pas diklik */
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Lightbox Responsive (Biar gambar gak kegedean di HP) */
@media (max-width: 768px) {
    .lightbox-prev, .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 35px;
    }
}

/* Slider Section - HD Full Width */
.slider-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-title {
    font-size: 50px; /* Ukuran gahar buat tagline utama */
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase; /* Gaya arsitek banget */
    letter-spacing: -1px;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
}

.slide-text {
    font-size: 15px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.3);
}

/* Saat Slide Aktif, Jalankan Animasi */
.slide.active .slide-title,
.slide.active .slide-text {
    opacity: 1;
}

/* Bagian Gambar Utama */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ini kuncinya biar gambar nggak gepeng */
    filter: brightness(0.6); /* Biar teks di atasnya kebaca jelas */
}

.slide-content {
    position: absolute;
    top: 23%;
    left: 80px;
    transform: translateY(-50%);
    max-width: 900px;
    color: #fff;
    padding: 30px;
    z-index: 10;
}

/* Style panah & dot tetap sama seperti sebelumnya */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.08);
}

.slider-arrow-left {
    left: 50px;
}

.slider-arrow-right {
    right: 50px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 100;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: #fff;
    width: 45px;
    border-radius: 7px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design untuk Slider */
/* ================================================================
   RESPONSIVE DESIGN (BӨRDERLINE)
   ================================================================ */

/* --- TABLET / LAPTOP KECIL (Max 1024px) --- */
@media (max-width: 1024px) {
    .slide-content {
        left: 60px;
        max-width: 700px;
    }
    
    .slide-title {
        font-size: 56px;
    }
    
    .slide-text {
        font-size: 18px;
    }
    
    .slider-arrow {
        width: 55px;
        height: 55px;
    }
    
    .slider-arrow-left { left: 30px; }
    .slider-arrow-right { right: 30px; }
}

/* --- MOBILE LANDSCAPE / TABLET PORTRAIT (Max 768px) --- */
@media (max-width: 768px) {
    /* Header & Nav */
    .header {
        padding: 20px 25px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
    .nav-link-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Slider Content */
    .slide-content {
        left: 30px; /* Siri sejajarkan biar gak terlalu mepet */
        padding: 20px;
        max-width: 85%;
        top: 50%;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-text {
        font-size: 16px;
    }
    
    /* Slider Controls */
    .slider-arrow {
        width: 50px;
        height: 50px;
        top: auto; /* Pindahin ke bawah biar gak nutupin judul di HP */
        bottom: 30px; 
    }
    
    .slider-arrow-left { left: 20px; }
    .slider-arrow-right { right: 20px; }
    
    .slider-dots {
        bottom: 45px;
    }
}

/* --- MOBILE PHONE (Max 480px) --- */
@media (max-width: 480px) {
    .slide-content {
        left: 20px;
        right: 20px;
        max-width: calc(100% - 40px);
        text-align: center; /* Di HP kecil lebih estetik rata tengah */
    }
    
    .slide-title {
        font-size: 30px;
        line-height: 1.2;
    }
    
    .slide-text {
        font-size: 14px;
        margin-top: 10px;
    }

    /* Panah di HP diperkecil biar nggak ganggu view */
    .slider-arrow {
        width: 40px;
        height: 40px;
        bottom: 100px;
    }
    
    .slider-dots {
        bottom: 35px;
    }
}

/* Container Utama Section */
.who-section {
    position: relative;
    min-height: 100vh;
    background: #fff;
    padding-top: 0;
    overflow: hidden;
}

/* Wrapper Flexbox */
.who-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-wrap: wrap; /* Biar aman di tampilan mobile */
}

/* Bagian Kiri: Konten Teks */
.who-content {
    flex: 1;
    min-width: 50%;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f9f9f9; /* Kasih warna beda tipis biar elegan */
}

.who-text {
    max-width: 600px; /* Batasi lebar teks biar gak capek bacanya */
}

.who-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: justify;
}

.who-title {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    margin: 0;
}

/* Bagian Kanan: Area Video */
.who-image {
    flex: 1;
    min-width: 50%;
    position: relative;
    padding: 0; 
    overflow: hidden;
    background-color: #000; /* Tetap ada buat jaga-jaga pas loading */
}

/* Styling Video Biar Full Sesuai Ukuran Container */
.video-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    aspect-ratio: auto; 
    box-shadow: none;
}

/* Container Utama Work Section */
.how-section {
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Wrapper Flexbox */
.how-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    flex-wrap: wrap;
}

/* Bagian Kiri: Area Video (Sekarang di Kiri) */
.how-image {
    flex: 1;
    min-width: 50%;
    position: relative;
    background-color: #000;
    overflow: hidden;
}

.how-image .video-background {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Biar video menutupi area full tanpa gepeng */
}

/* Bagian Kanan: Konten Teks */
.how-content {
    flex: 1;
    min-width: 50%;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
}

.how-text {
    max-width: 600px;
}

.how-paragraph {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a4a4a;
    margin-bottom: 25px;
    margin-top: 25px;
    text-align: justify;
}

.how-title {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    margin: 0;
}

/* --- HOW WE WORK RESPONSIVE --- */

@media (max-width: 1024px) {
    .how-title {
        font-size: 80px; /* Kecilin dikit buat tablet */
    }
    
    .how-content {
        padding: 60px; /* Kurangi padding biar gak sesak */
    }
}

@media (max-width: 768px) {
    .how-container {
        flex-direction: column; /* Video di atas, Teks di bawah */
    }

    .how-image {
        min-width: 100%;
        height: 100vh; /* Video jangan terlalu tinggi di HP */
    }

    .how-content {
        min-width: 100%;
        padding: 40px 20px; /* Padding lebih ramping buat layar kecil */
        text-align: left; /* Teks rata kiri biar lebih bersih di HP */
    }

    .how-title {
        font-size: 50px; /* Ukuran yang pas buat jempol di layar HP */
        margin-bottom: 20px;
    }

    .how-paragraph {
        font-size: 1rem;
        line-height: 1.6;
        text-align: left; /* Hilangkan justify di mobile biar gak ada jarak kata yang aneh */
    }
}

@media (max-width: 480px) {
    .how-title {
        font-size: 40px;
    }
    
    .how-image {
        height: 30vh; /* Lebih pendek lagi buat HP kecil */
    }
}

/* Who We Are Section */
.work-section {
    position: relative;
    min-height: 100vh;
    background: #fff;
    padding-top: 0;
    overflow: hidden;
}

.work-container {
    display: flex;
    align-items: stretch; /* Mastiin tinggi image & teks selalu sama */
    min-height: 100vh;
    position: relative;
}

.work-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 80px 80px 80px;
    background: #fff;
    z-index: 2;
}

.work-text {
    margin-bottom: 60px;
}

.work-paragraph {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 20px;
    text-align: justify;
}

.work-title {
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: #1a1a1a;
    margin: 0;
}

.work-image {
    width: 870px; 
    height: 870px;  
    flex: 1;
    position: relative;
    overflow: hidden;
    background: #000; /* Background hitam biar sinematik */
    display: flex;
    align-items: center; /* Center secara vertikal */
    justify-content: center; /* Center secara horizontal */
}

.work-image video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5; /* Gambar jadi background redup */
}

.work-video-background {
    width: 100%;
    max-width: 800px; /* INI KUNCINYA: Batasi lebar maksimal video */
    height: auto;
    aspect-ratio: 16 / 9; /* Paksa rasio standar video landscape */
    object-fit: cover;
    border-radius: 4px; /* Sedikit lengkungan biar halus */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Gambar sebagai fallback, taruh di bawah video */
.work-image img {
    z-index: 1;
}

/* Video di atas gambar */
.work-video-background {
    z-index: 2;
}

/* Our Service Section */
/* Our Service Section - New Layout */
.service-section {
    margin-top: 80px;
    padding: 100px 0 100px 80px; /* Padding kanan dihilangkan agar bisa full width */
    background: #fff;
    position: relative;
    width: 100%;
    clear: both;
}

.service-container {
    max-width: 100%; /* Full width container */
    margin: 0;
    display: grid;
    grid-template-columns: 300px 1fr; /* Kolom kiri untuk title, kanan untuk cards */
    gap: 80px;
    align-items: start;
}

.service-main-title {
    font-size: 80px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1;
    position: sticky;
    top: 120px; /* Sticky title saat scroll */
    padding-left: 0;
}

.service-grid {
    display: flex;
    flex-direction: column; /* Stack vertikal */
    gap: 0; /* Hilangkan gap antar card - gambar nempel */
    padding-right: 0; /* Hilangkan padding kanan */
}

.service-card {
    display: grid;
    grid-template-columns: 400px 1fr; /* Kiri text fixed, kanan image full width */
    gap: 60px;
    align-items: center;
    margin-bottom: 0;
}

/* Area text di kiri */
.service-text {
    display: flex;
    flex-direction: column;
    padding-right: 20px;
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.service-description {
    font-size: 16px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 0;
}

/* Area image di kanan - FULL WIDTH */
.service-image {
    position: relative;
    width: 100%; /* Full width sampai mentok kanan */
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    background: #000;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 5;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-icon {
    color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2);
}

/* Styling untuk Inline Video Player */
.service-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-section {
        padding: 80px 0 80px 50px;
    }
    
    .service-container {
        grid-template-columns: 250px 1fr;
        gap: 60px;
    }
    
    .service-main-title {
        font-size: 60px;
    }
    
    .service-grid {
        gap: 0;
    }
    
    .service-card {
        grid-template-columns: 350px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .service-section {
        padding: 60px 0 60px 30px;
    }
    
    .service-container {
        grid-template-columns: 1fr; /* Stack vertikal di mobile */
        gap: 40px;
        padding-right: 0;
    }
    
    .service-main-title {
        font-size: 48px;
        position: static; /* Remove sticky di mobile */
        margin-bottom: 20px;
    }
    
    .service-grid {
        gap: 30px; /* Kasih gap di mobile biar tidak terlalu rapat */
    }
    
    .service-card {
        grid-template-columns: 1fr; /* Stack vertikal di mobile */
        gap: 20px;
    }
    
    .service-text {
        padding-right: 30px;
    }
}

/* Container Lightbox Video */
#videoLightbox {
    display: none; /* Default sembunyi */
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 99999;
    padding: 0; /* Pastiin gak ada padding */
    margin: 0;
}

#videoLightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container Content */
#videoLightbox .lightbox-content {
    width: 100vw; /* Full lebar layar */
    height: 100vh; /* Full tinggi layar */
    max-width: none;
    position: relative;
    background: #000;
}

/* Container Utama */
#videoLightbox {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.98); /* Lebih gelap biar fokus */
    z-index: 99999;
    padding: 40px; /* INI KUNCINYA: Kasih ruang di pinggir */
}

#videoLightbox.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Wrapper Content */
#videoLightbox .lightbox-content {
    width: 100%;
    height: 100%;
    max-width: 1400px; /* Opsional: Biar di monitor raksasa ga terlalu lebar banget */
    max-height: 85vh;  /* Kasih ruang dikit di bawah */
    position: relative;
    background: #000;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1); /* Border tipis biar mewah */
}

#lightboxFrame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Tombol Close di Luar Frame Video */
.close-btn {
    position: absolute;
    top: -45px; /* Taruh di atas frame video */
    right: -10px; /* Geser dikit ke kanan */
    color: #fff;
    font-size: 35px;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close-btn:hover {
    color: #ff396f; /* Pake aksen warna brand Boss kalau ada */
    transform: scale(1.1);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    #videoLightbox {
        padding: 60px 15px 20px 15px; /* Ruang atas lebih gede buat jempol */
    }
    
    .close-btn {
        top: -50px;
        right: 0;
        font-size: 45px; /* Gedein di HP biar enak dipencet */
    }
}

/* Selected Work Section */
.selected-section {
    padding: 100px 0; /* Padding kiri-kanan dihilangkan untuk full width */
    background: #f8f9fa;
    min-height: 100vh;
}

.selected-container {
    max-width: 100%; /* Full width container */
    margin: 0;
    padding: 0 80px; /* Padding untuk title dan filter saja */
}

.selected-main-title {
    font-size: 80px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 50px;
    line-height: 1;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 60px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
}

.filter-btn {
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    padding: 10px 5px;
    position: relative;
    transition: color 0.3s ease;
}

.filter-btn:hover {
    color: #1a1a1a;
}

.filter-btn.active {
    color: #1a1a1a;
}

.filter-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    height: 3px;
    background: #1a1a1a;
}

/* Gallery Grid - Changed to Flexbox */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Jarak antar gambar lebih lega biar estetik */
    padding: 0 0px; /* Samakan dengan padding title */
    background: #f8f9fa;
}

.gallery-item {
    /* Magic is here: gambar tumbuh berdasarkan rasio */
    flex: 1 1 auto; 
    position: relative;
    height: 250px; /* Tinggi dasar per baris */
    margin: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }

/* Jika item sedang difilter (tidak ada class .hide), 
   paksa muncul meskipun dia awalnya .hidden-item */
.gallery-item:not(.hide) {
    display: block !important; /* atau flex sesuai layout Boss */
}

/* Pastikan ini ada di file CSS lo Boss */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item {
    opacity: 1; /* Default harus kelihatan */
    transition: transform 0.3s ease;
}

.gallery-item.hide {
    display: none !important;
}

/* Class khusus pas loadmore diklik */
.gallery-item.revealed {
    opacity: 1 !important;
    visibility: visible !important;
}


.gallery-image {
    width: 100%;
    height: 100%;
}

.gallery-image img {
    width: auto; /* Biar lebar ngikutin proporsi */
    min-width: 100%;
    height: 100%;
    object-fit: cover; /* Tetap cover biar area flex tertutup penuh */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 25px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-info {
    color: #fff;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-category {
    font-size: 14px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-item.hidden-item {
    display: none !important; /* Sembunyikan default */
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

#btnLoadMore {
    padding: 12px 30px;
    cursor: pointer;
}


/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

#lightbox-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Full screen cover - gambar memenuhi layar */
    transition: opacity 0.3s ease;
}

/* Alternatif: Jika ingin gambar tidak terpotong sama sekali, ganti object-fit: cover dengan object-fit: contain */

/* Caption melayang di atas gambar */
.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 30px;
    border-radius: 8px;
    width: auto;
    max-width: 80%;
    z-index: 10000;
}

.lightbox-caption h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
}

.lightbox-caption p {
    font-size: 16px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    line-height: 1;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-size: 32px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* ==========================================
   SELECTED WORK - RESPONSIVE STRATEGY
   ========================================== */

/* --- TABLET & LAPTOP (Max 1024px) --- */
@media (max-width: 1024px) {
    .selected-container {
        padding: 0 40px;
    }

    .selected-main-title {
        font-size: 60px;
    }

    .gallery-grid {
        /* Sesuaikan margin agar tetap full-width mengikuti padding container */
        margin: 0 -40px; 
        gap: 4px;
    }

    .gallery-item {
        height: 200px; /* Tinggi dikurangi agar proporsional di tablet */
    }
}

/* --- MOBILE LANDSCAPE / LARGE PHONE (Max 768px) --- */
@media (max-width: 768px) {
    .selected-section {
        padding: 60px 0;
    }

    .selected-container {
        padding: 0 20px;
    }

    .selected-main-title {
        font-size: 40px;
        margin-bottom: 30px;
    }

    /* Tabs Filter dibuat scrollable kalau kepanjangan */
    .filter-tabs {
        gap: 20px;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 15px;
        margin-bottom: 30px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        font-size: 15px;
    }

    .gallery-grid {
        margin: 0 -20px;
        gap: 2px;
    }

    .gallery-item {
        height: 180px;
        /* Di layar kecil, flex-grow dipaksa agar minimal 2 kolom */
        flex: 1 1 calc(50% - 4px); 
    }

    .gallery-overlay {
        padding: 15px;
    }

    .gallery-title {
        font-size: 16px;
    }
}

/* --- SMALL PHONE (Max 480px) --- */
@media (max-width: 480px) {
    .gallery-item {
        height: 220px; /* Tinggi ditambah sedikit agar satu gambar lebih jelas */
        flex: 1 1 100%; /* Paksa satu kolom penuh */
    }

    .selected-main-title {
        font-size: 32px;
    }

    /* Lightbox UI Mobile Optimization */
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-prev, .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    
    .lightbox-caption {
        width: 90%;
        padding: 10px 15px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .service-section {
        padding: 80px 50px;
    }
    
    .service-main-title {
        font-size: 60px;
        margin-bottom: 50px;
    }
    
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .service-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .service-section {
        padding: 60px 30px;
    }
    
    .service-main-title {
        font-size: 48px;
        margin-bottom: 40px;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-card:last-child {
        max-width: 100%;
    }
    
    .service-title {
        font-size: 18px;
    }
    
    .service-description {
        font-size: 15px;
    }
}

/* Responsive Who We Are */
@media (max-width: 1024px) {
    .who-container {
        flex-direction: column;
    }
    
    .who-content {
        padding: 120px 50px 50px 50px;
    }
    
    .who-title {
        font-size: 80px;
    }
    
    .who-image {
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .who-content {
        padding: 100px 30px 40px 30px;
    }
    
    .who-text {
        margin-bottom: 40px;
    }
    
    .who-paragraph {
        font-size: 15px;
    }
    
    .who-title {
        font-size: 60px;
    }
    
    .who-image {
        min-height: 25vh;
    }
}

    /* Contact Section with Clients */
.contact-section {
    padding: 100px 80px;
    background: #fff;
    min-height: 100vh;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* Left Column - Clients */
.contact-left {
    position: sticky;
    top: 120px;
}

.contact-title {
    font-size: 80px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 60px;
    line-height: 1.1;
}

.contact-left .clients-logo-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; 
    column-gap: 20px !important;
    row-gap: 10px !important;
    max-width: 100% !important; 
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 !important;
}

.client-logo-item {
    width: 100% !important;
    aspect-ratio: 3/2 !important; 
    display: flex !important;
    align-items: left !important;
    justify-content: left !important;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.4s ease;
}

.client-logo-item img {
    /* Hapus inline style max-width 250px kalau masih ada di HTML */
    max-width: 90% !important; 
    max-height: 80% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

.client-logo-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-5px); /* Efek melayang dikit biar mewah */
}

.client-logo-item img {
    /* Pastiin gambar nggak gepeng dan selalu di tengah */
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Right Column - Contact Form */
.contact-right {
    background: #f8f9fa;
    padding: 50px;
    border-radius: 12px;
}

.form-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 40px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    font-size: 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.submit-btn {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #1a1a1a;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #2d3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    padding: 20px 0;
    background-color: #1a1a1a; /* Hitam elegan */
    color: #888; /* Abu-abu halus biar gak terlalu mencolok */
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright p, 
.footer-credit p {
    font-size: 14px;
    letter-spacing: 1px;
    margin: 0;
}

.credit-link {
    color: #c4c4c4;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid transparent;
}

.credit-link:hover {
    opacity: 0.7;
    border-bottom: 1px solid #fff;
}

.footer-social-credit {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Rata kanan di desktop */
    gap: 10px;
}

.social-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    color: #888; /* Warna abu-abu monochrome */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    color: #fff; /* Jadi putih terang pas di-hover */
    transform: translateY(-3px); /* Efek naik dikit */
}

.design-by {
    font-size: 12px;
    letter-spacing: 1px;
    color: #555;
    margin: 0;
}

/* WA button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #fff; /* Putih bersih */
    color: #1a1a1a; /* Icon hitam */
    border-radius: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0; /* Default sembunyi di awal */
    transform: translateY(20px);
    pointer-events: none; /* Biar gak bisa diklik pas sembunyi */
}

.whatsapp-float.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.whatsapp-float:hover {
    background-color: #1a1a1a;
    color: #fff;
    transform: translateY(-5px) scale(1.05);
}

.whatsapp-float span {
    display: inline-block;
}

/* Responsive: Di HP cuma muncul icon biar gak menuhin layar */
@media (max-width: 480px) {
    .whatsapp-float {
        padding: 15px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float span {
        display: none; /* Hapus teks di HP */
    }
}

/* Biar rapi di HP */
@media (max-width: 768px) {
    .footer-social-credit {
        align-items: center; /* Rata tengah di mobile */
        margin-top: 10px;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0;
    }
    
    .footer-container {
        padding: 0 30px;
    }
    
    .footer-content {
        flex-direction: column; /* Tumpuk ke bawah di HP */
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-section {
        padding: 80px 50px;
    }
    
    .contact-container {
        gap: 60px;
    }
    
    .contact-title {
        font-size: 60px;
        margin-bottom: 50px;
    }
    
    .clients-logo-grid {
        gap: 30px;
    }
    
    .contact-right {
        padding: 40px;
    }
    
    .form-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 30px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-left {
        position: static;
    }
    
    .contact-title {
        font-size: 48px;
        margin-bottom: 40px;
    }
    
    .clients-logo-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
        max-width: 100%;
    }
    
    .client-logo-item {
        padding: 15px;
    }
    
    .client-logo-item svg {
        max-width: 80px;
        max-height: 80px;
    }
    
    .contact-right {
        padding: 35px;
    }
    
    .form-title {
        font-size: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 50px 20px;
    }
    
    .contact-title {
        font-size: 36px;
        margin-bottom: 30px;
    }
    
    .clients-logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-right {
        padding: 25px;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .form-subtitle {
        font-size: 15px;
        margin-bottom: 30px;
    }
    
    .submit-btn {
        width: 100%;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .clients-container {
        padding: 0 50px;
    }
    
    .clients-main-title {
        font-size: 60px;
        margin-bottom: 60px;
    }
    
    .clients-track {
        gap: 80px;
    }
    
    .client-item {
        width: 120px;
        height: 120px;
    }
    
    .client-logo svg {
        max-width: 100px;
        max-height: 100px;
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 60px 0;
    }
    
    .clients-container {
        padding: 0 30px;
    }
    
    .clients-main-title {
        font-size: 48px;
        margin-bottom: 50px;
    }
    
    .clients-track {
        gap: 60px;
        animation: scroll 20s linear infinite;
    }
    
    .client-item {
        width: 100px;
        height: 100px;
    }
    
    .client-logo svg {
        max-width: 80px;
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .clients-main-title {
        font-size: 36px;
        margin-bottom: 40px;
    }
    
    .clients-track {
        gap: 50px;
    }
    
    .client-item {
        width: 80px;
        height: 80px;
    }
    
    .client-logo svg {
        max-width: 65px;
        max-height: 65px;
    }
}

