/* ========================================= */
/* RESET & VARIABEL WARNA (HITAM, EMAS, PUTIH) */
/* ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
    --gold: #D4AF37;
    --black: #0a0a0a; /* Hitam Pekat */
    --black-card: #141414; /* Hitam sedikit abu untuk kartu */
    --white: #ffffff;
    --text-gray: #b3b3b3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
}

/* ========================================= */
/* LOADING PAGE (PRELOADER) & ANIMASI LOGO   */
/* ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background-color: var(--black);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}
.preloader-content { text-align: center; }
.preloader-logo {
    width: 140px;
    filter: invert(75%) sepia(40%) saturate(700%) hue-rotate(5deg) brightness(1.1) contrast(1);
    mix-blend-mode: screen; 
    opacity: 0;
    clip-path: inset(100% 0 0 0); 
    animation: drawLogo 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
@keyframes drawLogo {
    0% { clip-path: inset(100% 0 0 0); opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; }
    100% { clip-path: inset(0 0 0 0); opacity: 1; transform: scale(1); }
}
.loading-text {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    margin-top: 20px; font-size: 14px; letter-spacing: 2px;
    opacity: 0; animation: fadeInText 1s ease 1.5s forwards;
}
@keyframes fadeInText { to { opacity: 1; } }
#preloader.hide { opacity: 0; visibility: hidden; }

/* ========================================= */
/* EFEK ANIMASI SCROLL (MUNCUL PERLAHAN)     */
/* ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================= */
/* HEADER & LOGO                             */
/* ========================================= */
#main-header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 25px 0; background: transparent; transition: all 0.4s ease;
}
#main-header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    padding: 15px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.logo-wrapper {
    display: flex; align-items: center; text-decoration: none; gap: 15px;
}
.logo-img {
    width: 45px; height: 45px;
    filter: invert(75%) sepia(40%) saturate(700%) hue-rotate(5deg) brightness(1.1) contrast(1);
    mix-blend-mode: screen; transition: transform 0.4s ease;
}
.logo-wrapper:hover .logo-img { transform: scale(1.1) rotate(5deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .logo-gold {
    font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700;
    letter-spacing: 1px; color: var(--gold);
}
.logo-text .logo-white {
    font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 500;
    letter-spacing: 2.5px; color: var(--white);
}

/* Menu Navigasi */
.nav-list { list-style: none; display: flex; align-items: center; }
.nav-list li { position: relative; margin-left: 35px; }
.nav-list li a {
    text-decoration: none; color: var(--white); font-size: 14px;
    font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; transition: color 0.3s ease;
}
.nav-list li a:hover { color: var(--gold); }
.btn-konsultasi {
    background-color: var(--gold); color: var(--black) !important;
    padding: 10px 24px; border-radius: 3px; font-weight: 600;
}
.btn-konsultasi:hover { background-color: var(--white) !important; }

/* Dropdown */
.dropdown-menu {
    position: absolute; top: 100%; left: 0; background-color: var(--black-card);
    min-width: 220px; list-style: none; opacity: 0; visibility: hidden;
    transform: translateY(15px); transition: all 0.3s ease;
    border-top: 3px solid var(--gold); padding: 10px 0;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu li { margin: 0; }
.dropdown-menu li a { padding: 12px 20px; display: block; text-transform: none; }

/* ========================================= */
/* HERO SLIDER & ANIMASI                     */
/* ========================================= */
.hero-slider-section { position: relative; height: 100vh; overflow: hidden; }
.hero-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; opacity: 0;
    transition: opacity 1s ease-in-out; display: flex; align-items: center; z-index: 1;
}
.hero-slide.active { opacity: 1; z-index: 2; }
.hero-slide .animate-title, .hero-slide .animate-text, .hero-slide .animate-btn {
    opacity: 0; transform: translateY(40px); transition: all 0.8s ease;
}
.hero-slide.active .animate-title { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.hero-slide.active .animate-text { opacity: 1; transform: translateY(0); transition-delay: 0.6s; }
.hero-slide.active .animate-btn { opacity: 1; transform: translateY(0); transition-delay: 0.9s; }
.slider-dots {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    z-index: 10; display: flex; gap: 12px;
}
.dot {
    width: 12px; height: 12px; background: rgba(255,255,255,0.4);
    border-radius: 50%; cursor: pointer; transition: background 0.3s;
}
.dot.active { background: var(--gold); }

/* Hero Konten */
.hero-container { max-width: 1200px; margin: 0 auto; width: 100%; padding: 0 20px; }
.hero-content { max-width: 700px; }
.hero-content h1 {
    font-family: 'Playfair Display', serif; font-size: 55px; color: var(--white);
    line-height: 1.1; margin-bottom: 25px;
}
.hero-content h1 span { color: var(--gold); }
.hero-content p { font-size: 18px; color: var(--text-gray); margin-bottom: 40px; max-width: 550px; }
.btn-utama {
    display: inline-block; background-color: var(--gold); color: var(--black);
    padding: 16px 36px; font-size: 16px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1px; text-decoration: none; border-radius: 3px; border: 2px solid var(--gold);
    transition: all 0.3s ease, transform 0.2s ease;
}
.btn-utama:hover { background-color: transparent; color: var(--gold); transform: scale(1.05); }
.btn-utama:active { transform: scale(0.95); }

/* ========================================= */
/* HALAMAN BERANDA (LAYANAN, PESAN, TIM)     */
/* ========================================= */
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 36px; color: var(--white); margin-bottom: 15px; }

/* Layanan (Gaya Mengambang) */
.layanan-kami { margin-top: -120px; position: relative; z-index: 10; padding-bottom: 100px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.layanan-section { padding: 100px 0; background-color: var(--black); }
.layanan-grid, .layanan-detailed-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px;
}
.layanan-box, .layanan-card {
    background-color: var(--black-card); border-top: 4px solid var(--gold);
    padding: 35px 25px; border-radius: 4px; transition: transform 0.3s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.layanan-box:hover, .layanan-card:hover { transform: translateY(-10px); background-color: #1a1a1a; }
.icon-emas { font-size: 40px; color: var(--gold); margin-bottom: 25px; }
.layanan-box h3, .layanan-card h3 { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--white); margin-bottom: 15px; }
.desc-utama { font-size: 13px; color: var(--text-gray); margin-bottom: 20px; }
.sub-layanan-list { list-style: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 15px; }
.sub-layanan-list li { font-size: 13px; color: #dfdfdf; margin-bottom: 8px; position: relative; padding-left: 15px; }
.sub-layanan-list li::before { content: '▪'; color: var(--gold); position: absolute; left: 0; }

/* Banner Pesan */
.banner-pesan {
    background: linear-gradient(rgba(10,10,10,0.95), rgba(10,10,10,0.95)), url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?q=80&w=1500&auto=format&fit=crop') center/cover;
    padding: 80px 20px; text-align: center; border-top: 1px solid rgba(212,175,55,0.2); border-bottom: 1px solid rgba(212,175,55,0.2);
}
.banner-pesan-content h2 { font-family: 'Playfair Display', serif; font-size: 32px; color: var(--gold); margin-bottom: 15px; }
.banner-pesan-content p { font-size: 16px; color: var(--white); max-width: 700px; margin: 0 auto 30px; }

/* Press Rilis & Informasi */
.press-section { padding: 100px 0; background-color: #0d0d0d; }
.press-slider-container { overflow: hidden; width: 100%; }
.press-track { display: flex; gap: 30px; transition: transform 0.5s ease-in-out; }
.press-card { min-width: calc(33.333% - 20px); background-color: var(--black-card); border-radius: 4px; overflow: hidden; border-bottom: 3px solid var(--gold); }
.press-card img { width: 100%; height: 200px; object-fit: cover; }
.press-info { padding: 25px; }
.press-date { font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; }
.press-info h4 { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--white); margin: 10px 0 12px; line-height: 1.4; }
.press-info p { font-size: 13px; color: var(--text-gray); margin-bottom: 20px; }

/* Tim Kami Beranda (Format Foto) */
.tim-section { padding: 100px 0; background-color: var(--black); }
.tim-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; }

/* GANTI BAGIAN INI: Lebar diubah dari 20% menjadi 16.666% agar muat 6 orang */
.tim-card { flex: 0 0 calc(16.666% - 17px); margin-right: 20px; text-align: left; transition: transform 0.3s ease; }
.tim-card:last-child { margin-right: 0; }
.tim-card:hover { transform: translateY(-5px); }

.tim-foto {
    width: 100%; height: 300px; object-fit: cover; object-position: top center;
    border-radius: 4px; margin-bottom: 15px; background-color: #171717; border: 1px solid rgba(212, 175, 55, 0.2);
}
.tim-desc { padding: 0; }
.tim-desc h3 { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 3px; line-height: 1.3; }
.tim-jabatan { display: block; font-size: 12px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.5px; }

/* Klien Kami */
.klien-section { 
    padding: 80px 0; 
    background-color: var(--black); /* Dikembalikan ke Hitam Pekat */
    border-top: 1px solid rgba(255,255,255,0.05); 
} 

.klien-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 20px; 
} 

.klien-logo-box {
    background-color: #ffffff; 
    height: 110px; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 4px; 
    transition: all 0.3s ease;
    padding: 10px; /* Padding dikecilkan agar ruang untuk gambar jauh lebih luas */
} 

.klien-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Memastikan gambar menyesuaikan kotak maksimal tanpa mengubah proporsi aslinya */
}

.klien-logo-box:hover { 
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3); /* Bayangan emas halus saat disentuh */
}

/* ========================================= */
/* HALAMAN TENTANG KAMI                      */
/* ========================================= */
.page-hero {
    height: 350px; background-size: cover; background-position: center; display: flex;
    align-items: center; justify-content: center; text-align: center; margin-top: 80px; border-bottom: 2px solid var(--gold);
}
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 45px; color: var(--gold); margin-bottom: 10px; }
.page-hero p { color: var(--white); font-size: 16px; }

.about-section { padding: 100px 0; background-color: var(--black); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.gold-heading { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 32px; line-height: 1.3; margin-bottom: 25px; }
.about-text p { color: var(--text-gray); margin-bottom: 15px; font-size: 15px; line-height: 1.8; }
.about-image img { width: 100%; border-radius: 4px; border: 1px solid rgba(212, 175, 55, 0.3); }

.visi-misi-section { padding: 80px 0; background-color: #0a0a0a; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.vm-card { background-color: var(--black-card); padding: 40px; border-radius: 4px; border-top: 3px solid var(--gold); }
.vm-icon { font-size: 35px; color: var(--gold); margin-bottom: 20px; }
.vm-card h3 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--white); margin-bottom: 20px; }
.vm-card p { color: var(--text-gray); font-size: 15px; line-height: 1.8; }
.misi-list { list-style: none; }
.misi-list li { color: var(--text-gray); font-size: 14px; margin-bottom: 15px; padding-left: 20px; position: relative; line-height: 1.6; }
.misi-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: bold; }

.team-detail-section { padding: 100px 0; }
.managing-partner-card { display: flex; background-color: var(--black-card); border-radius: 4px; overflow: hidden; margin-bottom: 50px; border: 1px solid rgba(212, 175, 55, 0.2); }
.mp-foto { width: 350px; object-fit: cover; object-position: top center; }
.mp-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.mp-info h3 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--white); margin-bottom: 5px; }
.mp-info p { color: var(--text-gray); font-size: 14px; margin-top: 20px; line-height: 1.7; }
.other-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.team-member { text-align: center; }
.member-foto { width: 100%; height: 280px; object-fit: cover; object-position: top center; border-radius: 4px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.1); }
.team-member h4 { color: var(--white); font-size: 15px; margin-bottom: 5px; }
.member-role { color: var(--gold); font-size: 12px; text-transform: uppercase; }

/* ========================================= */
/* FOOTER                                    */
/* ========================================= */
.main-footer { background-color: #050505; padding: 80px 0 30px; border-top: 1px solid rgba(212, 175, 55, 0.2); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--text-gray); margin-top: 15px; font-size: 14px; }
.footer-contact h4 { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 20px; margin-bottom: 20px; }
.footer-contact p { color: var(--text-gray); font-size: 14px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 25px; color: #666; font-size: 13px; }

/* ========================================= */
/* RESPONSIVE (PENGATURAN LAYAR KECIL / HP)  */
/* ========================================= */
@media screen and (max-width: 992px) {
    .press-card { min-width: 100%; }
    .klien-grid { grid-template-columns: repeat(3, 1fr); }
}
@media screen and (max-width: 768px) {
    .hero-content h1 { font-size: 38px; }
    .layanan-kami { margin-top: 20px; } 
    .section-title h2 { font-size: 28px !important; }
    .menu-toggle { display: block; cursor: pointer; }
    .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--gold); transition: all 0.3s ease; }
    .nav-menu { position: absolute; top: 100%; left: 0; width: 100%; background-color: var(--black-card); border-top: 2px solid var(--gold); opacity: 0; visibility: hidden; transform: translateY(-20px); transition: all 0.4s ease; }
    .nav-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-list { flex-direction: column; align-items: flex-start; padding: 20px; }
    .nav-list li { margin: 0 0 15px 0; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
    .dropdown-menu { position: static; background-color: transparent; border-top: none; padding: 0; margin-top: 10px; display: none; transform: none; opacity: 1; visibility: visible; }
    .dropdown-menu li a { padding-left: 20px; font-size: 13px; color: var(--text-gray); border-bottom: none; }
    .dropdown.active .dropdown-menu { display: block; }
    .tim-track { display: flex; gap: 0; }
    .tim-card { flex: 0 0 100%; min-width: 100%; margin-right: 0; padding: 0 15px; }
    .about-grid, .vm-grid { grid-template-columns: 1fr; }
    .managing-partner-card { flex-direction: column; }
    .mp-foto { width: 100%; height: 400px; }
    .other-team-grid { grid-template-columns: 1fr 1fr; }

    
}

/* Penyesuaian Ikon Kontak (Lokasi & Email) agar sejajar teks */
.footer-contact p i.icon-emas {
    font-size: 16px; /* Ukuran dikecilkan sejajar dengan teks */
    margin-bottom: 0;
    margin-right: 10px; /* Jarak antara ikon dan teks */
    width: 20px; /* Agar posisi teks rata kiri */
    text-align: center;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

/* Pembesaran dan Perapihan Jarak Ikon Media Sosial */
.footer-socials {
    margin-top: 25px; 
    display: flex;
    gap: 20px; /* Jarak yang rapi dan seragam antar ikon */
}

.footer-socials a {
    color: var(--white);
    font-size: 24px; /* Ikon dibesarkan */
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    color: var(--gold);
    transform: translateY(-3px); /* Efek melayang elegan saat disentuh */
}