/* ==========================================
CSS LENGKAP - DEDEN DESIGN & IT ENGINEER
Gaya: Minimalis Premium (Rick Waalders) & Animasi Sengaja (Sennep)
========================================== */

:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --accent-color: #0066cc; 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================
PRELOADER EKG (LAYAR LOADING 5 DETIK)
========================================== */
.preloader { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100vh; 
    background-color: #0b0f12; 
    z-index: 9999; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    background-image: linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px); 
    background-size: 20px 20px; 
}
.ekg-monitor { width: 90%; max-width: 600px; text-align: center; }
.ekg-wrapper { position: relative; width: 100%; height: 200px; }
.ekg-svg { width: 100%; height: 100%; }
.ekg-line { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ekg-back { stroke: rgba(0, 255, 136, 0.1); stroke-width: 2; }
.ekg-front { 
    stroke: #00ff88; 
    stroke-width: 4; 
    filter: drop-shadow(0px 0px 8px rgba(0, 255, 136, 0.8)); 
    stroke-dasharray: 150, 450; 
    stroke-dashoffset: 600; 
    animation: ekg-sweep 1.5s linear infinite; 
}
@keyframes ekg-sweep { to { stroke-dashoffset: 0; } }
.ekg-text { 
    margin-top: 1.5rem; 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: #00ff88; 
    letter-spacing: 0.3em; 
    font-family: monospace; 
    animation: ekg-blink 1s ease-in-out infinite alternate; 
}
@keyframes ekg-blink { from { opacity: 0.3; } to { opacity: 0.9; } }


/* ==========================================
NAVBAR FIXED BLUR KACA
========================================== */
nav { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 2.5rem 5%; 
    position: fixed; 
    width: 100%; 
    top: 0; 
    left: 0; 
    z-index: 1000; 
    background-color: transparent; 
    transition: padding 0.4s ease, background-color 0.4s ease, backdrop-filter 0.4s ease, border-bottom 0.4s ease; 
}
nav.scrolled { 
    padding: 1.2rem 5%; 
    background-color: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px); 
    border-bottom: 1px solid rgba(0, 0, 0, 0.06); 
}
.brand-logo { font-size: 1.5rem; font-weight: 800; color: var(--text-color); text-decoration: none; letter-spacing: -0.05em; }
.nav-links a { text-decoration: none; color: var(--text-color); font-weight: 600; font-size: 1rem; margin-left: 2rem; transition: opacity 0.3s; }
.nav-links a:hover { opacity: 0.5; }


/* ==========================================
REVEAL UTILITIES & STATUS AWAL ANIMASI GSAP
========================================== */
.reveal-wrapper { overflow: hidden; display: block; position: relative; }
.hero-title, .w-heading, .footer-title { transform: translateY(110%); }
.hero-text { transform: translateY(60px); opacity: 0; }
.anime-fade { opacity: 0; transform: translateY(40px); }


/* ==========================================
GRID LAYOUT PENUH LAYAR (100VH) 
========================================== */
.waalders-container { max-width: 1200px; margin: 0 auto; padding: 0 5%; }

/* Hero penuhi layar 1 */
.hero { 
    min-height: 100vh; 
    width: 100%; 
    padding: 0 5%; 
    background-color: #fff; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-title { font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; margin-bottom: 2rem; }
.hero-text { font-size: clamp(1.2rem, 2vw, 1.4rem); color: #555; max-width: 800px; }

/* Grid Dasar Kiri - Kanan */
.w-row { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 768px) { 
    .w-row { grid-template-columns: 1fr 1fr; gap: 5rem; } 
}

/* About & Tiap Service penuhi layarnya sendiri */
#about, .service-row { 
    min-height: 100vh; 
    padding: 6rem 0; 
    align-items: center; 
}

.w-heading { font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; letter-spacing: -0.03em; }


/* ==========================================
KONTEN: ABOUT & PROJECTS
========================================== */
.about-content p { font-size: 1.1rem; color: #555; margin-bottom: 1.2rem; }
.about-content a { color: var(--accent-color); font-weight: 600; text-decoration: none; }
.about-content a:hover { text-decoration: underline; }

.projects-list { display: flex; flex-direction: column; gap: 2rem; }
.project-item { display: flex; gap: 1.2rem; align-items: flex-start; }

/* FIX: Batas kotak ikon/gambar proyek disamakan dengan ukuran Our Clients (120px) */
.p-icon { 
    width: 120px; 
    height: 120px; 
    
    /* Pilih salah satu bentuk di bawah ini (Hapus salah satunya): */
    border-radius: 8px;  /* Biarkan ini jika ingin bentuk KOTAK sudut melengkung */
    /* border-radius: 50%; */ /* Aktifkan ini (hapus tanda /*) jika ingin bentuk BULAT penuh seperti klien */
    
    background: #f2f2f0; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800; 
    font-size: 2.5rem; /* Ukuran font inisial diperbesar karena kotaknya membesar */
    color: #111; 
    flex-shrink: 0; 
    overflow: hidden; 
    border: 1px solid rgba(0,0,0,0.05);
}

/* Memastikan gambar di dalamnya tetap terpotong proporsional mengikuti kotak 120px */
.p-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.p-details h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.3rem; }
.p-details p { font-size: 0.95rem; color: #666; line-height: 1.5; margin-bottom: 0;}


/* ==========================================
KONTEN: SERVICES MEDIA (BOX ZIG-ZAG)
========================================== */
.service-media { 
    width: 100%; 
    aspect-ratio: 16/11; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.06); 
    transition: transform 0.5s ease; 
    overflow: hidden; 
}
.service-media:hover { transform: translateY(-10px); }
.emoji-icon { font-size: 5rem; }

/* ATUR GAMBAR LAYANAN AGAR TAMPIL UTUH (TIDAK TERPOTONG) */
.service-img-file {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mengubah 'cover' menjadi 'contain' */
    border-radius: 12px;
    padding: 1rem; /* Opsional: Memberi sedikit ruang kosong/jarak agar gambar tidak terlalu menempel ke tepi kotak */
}
/* Link Eksternal yang Bisa Diklik */
a.clickable-media { text-decoration: none; cursor: pointer; display: flex; }
a.clickable-media:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
a.clickable-media:active { transform: translateY(-5px) scale(0.98); }

.text-col p { font-size: 1.1rem; color: #555; margin-bottom: 1.5rem; line-height: 1.7; }
.get-in-touch { color: var(--accent-color); font-weight: 600; text-decoration: none; font-size: 1rem; }


/* ==========================================
OUR CLIENTS: SLIDESHOW FADE-IN SATU PERSATU
========================================== */
.client-showcase { 
    position: relative; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
}
.client-slide { 
    position: absolute; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 1.2rem; 
    opacity: 0; 
    visibility: hidden; 
}
.client-logo-box { 
    width: 120px; 
    height: 120px; 
    background: #f2f2f0; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    overflow: hidden; 
    position: relative; 
    border: 1px solid rgba(0,0,0,0.04); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); 
}
.client-logo-box img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    position: absolute; 
    top: 0; 
    left: 0; 
    z-index: 2; 
}
.client-placeholder-text { 
    font-weight: 800; 
    font-size: 1.6rem; 
    color: #b3b3b0; 
    letter-spacing: 0.05em; 
    z-index: 1; 
}
.client-slide h4 { 
    font-size: 1.3rem; 
    font-weight: 800; 
    color: #111; 
    letter-spacing: -0.02em; 
}


/* ==========================================
FOOTER (FULL SCREEN IMPACT) & TICKER BERJALAN
========================================== */
footer { 
    background-color: #0d0d0d; 
    color: #fff; 
    min-height: 100vh; 
    padding: 0; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    overflow: hidden;
}
.footer-inner { 
    padding: 12rem 0 4rem 0; 
    width: 100%; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
}
.footer-title { font-size: clamp(3rem, 6vw, 5rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.04em; color: #fff; }
.btn-massive { 
    display: inline-block; 
    background: #fff; 
    color: #0d0d0d; 
    padding: 1rem 2.5rem; 
    font-size: 1.2rem; 
    font-weight: 700; 
    text-decoration: none; 
    border-radius: 100px; 
    transition: transform 0.3s; 
}
.btn-massive:hover { transform: scale(1.05); background: #f2f2f0; }

/* Animasi Ticker Marquee Tepat di Atas Garis */
.ticker-section { 
    width: 100%; 
    overflow: hidden; 
    background-color: transparent; 
    padding: 1.5rem 0; 
    display: flex; 
    white-space: nowrap; 
    margin-bottom: 2rem; 
}
.ticker-wrapper { 
    display: flex; 
    white-space: nowrap; 
    padding-left: 100%; 
    animation: marquee-scroll 35s linear infinite; 
}
.ticker-text { 
    font-size: 1rem; 
    font-weight: 600; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    color: #a1a1a1; 
    display: inline-block; 
}
@keyframes marquee-scroll { 
    0% { transform: translate3d(0, 0, 0); } 
    100% { transform: translate3d(-100%, 0, 0); } 
}

/* Footer Paling Bawah (Hak Cipta) & Garis Pembatas */
.footer-bottom { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    border-top: 1px solid #333; 
    padding-top: 2rem; 
    padding-bottom: 2rem; 
    width: 100%; 
}
.visitor-badge { font-size: 0.8rem; color: #666; letter-spacing: 0.05em; text-align: right; }
.visitor-badge strong { font-size: 1.2rem; color: #00ff88; font-family: monospace; font-weight: 400; margin-left: 8px;}


/* ==========================================
MOBILE RESPONSIVE ADAPTATION
========================================== */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding-top: 6rem; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .visitor-badge { text-align: left; }
    
    /* Matikan Full Screen (100vh) di mobile agar konten tidak terlihat terlalu melompong */
    #about, .service-row { min-height: auto; padding: 4rem 0; }
    
    /* Paksa gambar selalu berada di atas teks di mobile (meskipun Zig-zag) */
    .service-row { display: flex; flex-direction: column; }
    .media-col { order: 1; width: 100%; }
    .text-col { order: 2; width: 100%; }
}