/* =======================================
   1. GLOBAL STYLES & RESET
   ======================================= */
:root {
    --color-primary: #0A3D62; /* Biru Tua/Navy */
    --color-accent: #FFC312; /* Kuning Cerah (CTA) */
    --color-light: #F4F4F9;
    --color-dark: #2C3A47;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Lato', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); line-height: 1.6; color: var(--color-dark); background-color: #fff; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-primary); margin-bottom: 1rem; }
a { text-decoration: none; color: var(--color-primary); }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 80px 0; }
.section-subtitle { text-align: center; margin-bottom: 3rem; color: #666; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }

/* =======================================
   2. HEADER & NAVIGASI
   ======================================= */
.sticky-header {
    position: fixed; top: 0; left: 0; width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); z-index: 1000; padding: 15px 0;
}
.sticky-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; color: var(--color-primary); }
#navbar a { margin-left: 20px; font-weight: 600; transition: color 0.3s; }
#navbar a:hover { color: var(--color-accent); }

/* Tombol Menu Toggle: Sembunyikan di Desktop */
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--color-primary); }

/* =======================================
   3. BUTTONS (CTA Branded)
   ======================================= */
.cta-button, .main-cta-button, .secondary-cta-button, .cta-submit {
    padding: 10px 25px; border-radius: 5px; font-weight: 700; text-transform: uppercase;
    transition: all 0.3s ease; display: inline-block; border: 2px solid transparent;
}
.cta-button { background-color: var(--color-accent); color: var(--color-dark); }
.main-cta-button { background-color: var(--color-accent); color: var(--color-dark); font-size: 1.1rem; margin-top: 15px; border: 2px solid var(--color-accent); }
.main-cta-button:hover { background-color: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.secondary-cta-button { background-color: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); margin-top: 30px; }
.secondary-cta-button:hover { background-color: var(--color-primary); color: #fff; }
.cta-submit { background-color: var(--color-primary); color: #fff; width: 100%; border: none; cursor: pointer; }
.cta-submit:hover { background-color: var(--color-accent); color: var(--color-dark); }


/* =======================================
   4. HERO SECTION (SLIDER STYLING)
   ======================================= */
.hero-section {
    padding-top: 100px; /* KOMPENSASI TINGGI HEADER STICKY */
    position: relative; 
    width: 100%;
    /* TINGGI TOTAL DENGAN KOMPENSASI: Menaikkan base height menjadi 65vh */
    height: calc(65vh + 100px); 
    overflow: hidden;
}

.slider-container { 
    width: 100%; 
    height: 100%; 
    position: absolute; 
    top: 0; 
    left: 0; 
}

.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; 
    z-index: 1;
}

.slide.active { 
    opacity: 1; 
    z-index: 2; 
}

.overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    /* PERBAIKAN WARNA: Hitam transparan lembut (opacity 30%) */
    background-color: rgba(0, 0, 0, 0.3); 
}

.hero-content-overlay {
    position: absolute;
    /* PERBAIKAN POSISI: Menaikkan nilai 'top' agar teks bergeser ke bawah */
    top: 65%; 
    left: 50%;
    transform: translate(-50%, -50%); 
   z-index: 10;
    text-align: center;
    color: #fff; 
    max-width: 800px;
}

.hero-content-overlay h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    /* EDIT DI SINI: Ganti warna menjadi putih (#fff) */
    color: #fff; 
    /* Tambahkan sedikit bayangan teks agar tetap terbaca meski ada area terang di gambar */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-content-overlay p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}
/* Styling Dots */
.slider-dots {
    position: absolute; 
    bottom: 20px; 
    left: 50%; 
    transform: translateX(-50%); 
    z-index: 15;
}

.dot {
    height: 12px; 
    width: 12px; 
    margin: 0 5px; 
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%; 
    display: inline-block; 
    cursor: pointer; 
    transition: background-color 0.3s;
}

.dot.active { 
    background-color: var(--color-accent); 
}

/* =======================================
   5. TRUST & TRACKING SECTIONS
   ======================================= */
.trust-section { background-color: var(--color-primary); color: #fff; padding: 40px 0; text-align: center; }
.trust-section h3 { color: #fff; margin-bottom: 20px; }
.client-logos { display: flex; justify-content: center; gap: 40px; }

.tracking-section { background-color: var(--color-light); text-align: center; }
.tracking-box { max-width: 600px; margin: 0 auto; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08); }
.tracking-box input[type="text"] { width: calc(100% - 120px); padding: 15px; border: 1px solid #ddd; border-radius: 5px 0 0 5px; font-size: 1rem; display: inline-block; vertical-align: top; }
.tracking-submit-button { width: 120px; padding: 15px; border-radius: 0 5px 5px 0; margin-left: -4px; }
.tracking-note { margin-top: 15px; font-size: 0.9rem; color: #888; }


/* =======================================
   6. SERVICES & WHY US SECTIONS
   ======================================= */
.services-section { text-align: center; }
.service-cards-grid { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; }
.service-card {
    flex-basis: 30%; background-color: var(--color-light); padding: 30px; border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }
.icon-branded { font-size: 3rem; color: var(--color-accent); margin-bottom: 15px; }

.why-us-section { background-color: var(--color-light); text-align: center; }
.feature-list { display: flex; justify-content: space-around; margin-top: 40px; }
.feature-item { flex-basis: 30%; }
.icon-branded-small { font-size: 2rem; color: var(--color-primary); margin-bottom: 10px; }


/* =======================================
   7. CORPORATE SECTION (Branded Background)
   ======================================= */
.corporate-section { background-color: var(--color-primary); text-align: center; }
.corporate-features-grid { display: flex; justify-content: space-around; gap: 30px; margin-top: 50px; }
.feature-item-corporate { flex-basis: 30%; padding: 20px; }
.icon-white { font-size: 3rem; color: var(--color-accent); margin-bottom: 15px; }
.feature-item-corporate h3 { color: #fff; }
.feature-item-corporate p { color: #ccc; }
.corporate-cta { background-color: #fff; color: var(--color-primary); border: 2px solid #fff; }
.corporate-cta:hover { background-color: var(--color-accent); }


/* =======================================
   8. PORTFOLIO & LEGAL SECTIONS
   ======================================= */
.portfolio-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.portfolio-item { height: 250px; background-color: #ccc; border-radius: 8px; overflow: hidden; position: relative; }

.legal-section { background-color: #fff; text-align: center; }
.legal-grid { display: flex; justify-content: space-around; gap: 30px; margin-top: 40px; }
.legal-item { flex-basis: 30%; padding: 20px; border-left: 3px solid var(--color-accent); text-align: left; }
.portfolio-item { 
    height: 250px; 
    background-color: #ccc; 
    border-radius: 8px; 
    overflow: hidden; 
    position: relative; 
}

.portfolio-item { 
    height: 300px; /* Atur ketinggian fixed untuk Item */
    background-color: var(--color-light); 
    border-radius: 8px; 
    /* PENTING: Pastikan overflow diatur */
    overflow: hidden; 
    position: relative; 
    /* Pastikan tidak ada padding di dalam item container */
    padding: 0; 
}

/* Styling untuk Teks Keterangan */
.portfolio-caption {
    position: absolute; /* Posisikan caption di bagian bawah item */
    bottom: 0;
    left: 0;
    width: 100%;
    /* Gunakan warna terang atau primer agar terlihat jelas */
    background-color: var(--color-primary); 
    color: white;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0; /* Hapus margin default <p> */
    text-align: center;
}

.portfolio-item img {
    width: 100%;
    /* Atur tinggi gambar */
    height: calc(100% - 40px); 
    object-fit: cover; 
    display: block;
    /* PENTING: Hapus margin default gambar */
    margin: 0; 
    transition: transform 0.3s ease;
}

/* Styling untuk Teks Keterangan */
.portfolio-caption {
    position: absolute; 
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary); 
    color: white;
    padding: 10px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    /* PENTING: Hapus margin default <p> */
    margin: 0; 
    text-align: center;
}

/* =======================================
   9. CONTACT & FOOTER
   ======================================= */
.contact-grid { display: flex; gap: 50px; margin-top: 40px; }
.contact-form, .contact-details { flex: 1; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
    width: 100%; padding: 15px; margin-bottom: 20px; border: 1px solid #ddd; border-radius: 5px; font-family: var(--font-body);
}
.contact-form textarea { height: 150px; resize: vertical; }

footer { background-color: var(--color-dark); color: #fff; padding: 30px 0; text-align: center; }
footer .container { display: flex; justify-content: space-between; align-items: center; }
.social-links a { color: #fff; font-size: 1.5rem; margin-left: 15px; transition: color 0.3s; }
.social-links a:hover { color: var(--color-accent); }


/* =======================================
   10. SCROLL REVEAL (CSS for JS)
   ======================================= */
.reveal-item { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.reveal-item.visible { opacity: 1; transform: translateY(0); }


/* =======================================
   11. MOBILE RESPONSIVENESS (Penting!)
   ======================================= */
@media (max-width: 768px) {
    /* Perbaikan Header Mobile */
    .sticky-header .container { flex-direction: row; justify-content: space-between; align-items: center; gap: 0; }
    .menu-toggle { display: block; }
    #navbar {
        display: none; position: absolute; top: 60px; left: 0; width: 100%;
        background-color: #fff; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 10px 0; text-align: center; flex-direction: column;
    }
    #navbar.open { display: flex; }
    #navbar a { display: block; margin: 10px 0; border-bottom: 1px solid #eee; padding: 5px 0; margin-left: 0; }
    
    /* Perbaikan Hero Section Mobile */
    .hero-section {
        padding-top: 80px; /* Kompensasi header mobile yang lebih ringkas */
        height: calc(50vh + 80px); 
    }
    .hero-content-overlay h1 { font-size: 2rem; }
    
    /* Layout Mobile */
    .service-cards-grid, .feature-list, .portfolio-gallery, .contact-grid, .corporate-features-grid, .legal-grid {
        flex-direction: column; gap: 30px;
    }
    .portfolio-gallery { grid-template-columns: 1fr; }
    footer .container { flex-direction: column; }
    .social-links { margin-top: 10px; }
}
/* Container Utama untuk Link Sosial */
.social-links {
    /* Mengatur semua item berada di satu baris */
    display: flex;
    /* Memberi jarak yang sama di antara setiap item */
    gap: 10px; 
    /* Memastikan semua item sejajar di tengah secara vertikal */
    align-items: center; 
    /* Jika Anda ingin container berada di tengah, gunakan: justify-content: center; */
}

/* Styling untuk Setiap Link (<a>) */
.social-links a {
    /* Menjadikan area link berbentuk kotak yang seragam */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Ukuran lebar kotak */
    height: 40px; /* Ukuran tinggi kotak */
    
    /* Membuat bentuk lingkaran */
    border-radius: 50%; 
    
    /* Gaya visual dasar (contoh) */
    background-color: #f0f0f0; /* Warna latar belakang ringan */
    color: #333; /* Warna ikon/huruf dasar */
    text-decoration: none;
    transition: all 0.3s ease; /* Transisi halus saat hover */
}

/* Container Utama untuk Link Sosial */
.social-links {
    display: flex;
    gap: 10px; /* Jarak antar ikon/logo */
    align-items: center;
}

/* Styling untuk Setiap Link (<a>) - Ini yang menentukan ukuran seragam */
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; /* Ukuran seragam untuk semua link */
    height: 40px; 
    border-radius: 50%; /* Bentuk lingkaran */
    background-color: #f0f0f0; 
    color: #333; 
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Styling untuk Ikon Font Awesome (<i>) */
.social-links a i {
    font-size: 18px; 
}

/* style.css */

/* Container Utama untuk Link Sosial */
.social-links {
    display: flex;
    gap: 10px; 
    align-items: center; 
}

/* Styling untuk Setiap Link (<a>) - Menentukan ukuran & bentuk lingkaran */
.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; 
    height: 40px; 
    border-radius: 50%; /* Bentuk lingkaran */
    
    background-color: #f0f0f0; 
    color: #333; 
    text-decoration: none;
    transition: all 0.3s ease; 
}

/* Styling untuk Ikon Font Awesome (<i>) */
.social-links a i {
    font-size: 18px; 
}

/* Styling untuk Gambar/Logo (<img>) - Menyesuaikan gambar agar pas di lingkaran */
.social-links img {
    /* Pastikan gambar mengisi area link <a> (40x40px) */
    width: 100%; 
    height: 100%;
    
    /* Memastikan gambar terlihat baik saat di-crop menjadi lingkaran */
    object-fit: cover; 
    
    /* Mewarisi bentuk lingkaran */
    border-radius: 50%; 
}

/* Styling saat link di-hover */
.social-links a:hover {
    background-color: #007bff;
    color: white; 
    transform: translateY(-2px);
}