/* --- 1. VARIABEL WARNA & FONT --- */
:root {
    --primary-color: #0F172A; /* Navy Blue Gelap - Warna Utama */
    --accent-color: #C5A059;  /* Emas - Warna Aksen/Tombol */
    --text-dark: #333333;     /* Warna Teks Hitam */
    --text-light: #666666;    /* Warna Teks Abu-abu */
    --white: #ffffff;
    --bg-light: #f8f9fa;      /* Background Abu-abu sangat muda */
    --transition: all 0.3s ease; /* Efek transisi halus */
}

/* --- 2. RESET & GLOBAL STYLE --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Agar scroll menu halus */
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

/* --- 3. KOMPONEN TOMBOL (BUTTONS) --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* --- 4. NAVIGATION BAR --- */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky; /* Menu nempel di atas saat scroll */
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px; /* Atur ketinggian logo agar pas di navbar */
    width: auto;  /* Lebar menyesuaikan otomatis */
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- 5. HERO SECTION (BANNER UTAMA) --- */
.hero {
    height: 100vh;
    /* Ganti URL ini dengan foto banner Anda */
    background-image: url('assets/img/DSC00249.JPG');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Overlay gelap transparan agar teks terbaca */
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

/* --- 6. JUDUL SEKSI UMUM --- */
.section-subtitle {
    color: var(--accent-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

/* --- 7. ABOUT SECTION --- */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-list li {
    margin-bottom: 10px;
    font-weight: 600;
}

.about-list i {
    color: var(--accent-color);
    margin-right: 10px;
}

/* --- 8. SERVICES (UPDATED UNTUK KLIK & LOGO) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsif otomatis */
    gap: 30px;
}

/* Kartu Layanan (sekarang berupa link <a>) */
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    display: flex;       
    flex-direction: column;
    align-items: flex-start; 
    text-decoration: none; 
    color: var(--text-dark); 
    height: 100%;
    position: relative;
}

/* Efek saat mouse diarahkan ke kartu */
.service-card:hover {
    transform: translateY(-10px); /* Naik sedikit */
    border-bottom: 4px solid var(--accent-color);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-card:hover h3 {
    color: var(--accent-color);
}

/* Wadah untuk Logo Layanan */
.icon-box {
    width: 80px;  
    height: 80px;
    display: flex;
    justify-content: center; 
    align-items: center;     
    margin-bottom: 20px;
    margin-left: 70px;
}

/* Pengaturan Gambar Logo di dalam kartu */
.service-logo {
    max-width: 150%;
    max-height: 150%;
    object-fit: contain; /* Logo pas di tengah, tidak gepeng */
}

.service-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Teks Selengkapnya */
.read-more {
    margin-top: auto; /* Memaksa teks ini selalu di bawah */
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
}

.service-card:hover .read-more {
    text-decoration: underline;
}


/* --- 9. STATS SECTION (ANGKA) --- */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    text-align: center;
    flex-wrap: wrap;
}

.stat-item h2 {
    color: var(--accent-color);
    font-size: 2.5rem;
    margin-bottom: 5px;
}

/* --- 10. PORTFOLIO GRID --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.portfolio-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: var(--transition);
    cursor: pointer;
}

.portfolio-grid img:hover {
    transform: scale(1.02);
    filter: brightness(0.8);
}

/* --- 11. FOOTER --- */
footer {
    background-color: #0b1120; /* Hitam kebiruan */
    color: #cccccc;
    padding-top: 60px;
}

.footer-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accent-color);
}

.footer-col i {
    width: 25px;
    color: var(--accent-color);
}

.footer-bottom {
    background-color: #070b14; /* Paling gelap */
    padding: 20px 0;
    font-size: 0.85rem;
}
/* --- VISI MISI STYLES --- */

.visi-misi-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column; /* Menyusun Visi dan Misi ke bawah */
    gap: 20px; /* Jarak antar kotak */
}

.vm-card {
    background-color: var(--bg-light); /* Latar abu-abu muda */
    padding: 20px;
    border-radius: 5px;
    border-left: 4px solid var(--accent-color); /* Garis Emas di kiri */
    transition: var(--transition);
}

.vm-card:hover {
    background-color: #fff; /* Jadi putih saat di-hover */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vm-card h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.vm-card h5 i {
    color: var(--accent-color);
    margin-right: 10px;
}

.vm-card p {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 0;
}

/* Styling khusus untuk list di dalam Misi */
.vm-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vm-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start; /* Agar ikon sejajar dengan baris pertama teks */
}

.vm-list li i {
    color: var(--accent-color);
    margin-right: 10px;
    margin-top: 5px; /* Sedikit turun agar pas dengan teks */
    font-size: 0.8rem;
}

/* --- EXECUTIVE BOARD / TEAM STYLES --- */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden; /* Agar gambar tidak keluar dari kotak saat di-zoom */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px); /* Kartu naik sedikit */
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Bagian Foto */
.team-img-box {
    position: relative;
    overflow: hidden;
    height: 500px; /* Tinggi foto seragam */
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Foto dipotong rapi agar pas */
    transition: transform 0.5s ease;
}

.team-card:hover .team-img-box img {
    transform: scale(1.1); /* Efek Zoom saat hover */
    filter: brightness(0.7); /* Sedikit menggelap agar ikon sosmed terlihat */
}

.team-card:hover .team-social {
    opacity: 1; /* Muncul */
    transform: translateY(-20px); /* Naik ke atas */
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--accent-color); /* Warna Emas */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: var(--transition);
}

.team-social a:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Bagian Nama & Jabatan */
.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.team-info .position {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color); /* Warna Emas untuk Jabatan */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-style: italic;
}
/* --- 12. RESPONSIVE (TAMPILAN HP) --- */
@media (max-width: 768px) {
    /* Navbar di HP */
    .nav-links {
        display: none; /* Menu hilang dulu (butuh Javascript nanti buat munculin) */
    }
    
    .hamburger {
        display: block; /* Tombol menu muncul */
    }
    
    /* Hero Text di HP */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    .btn-outline {
        margin-left: 0;
    }
    
    /* Layout kolom jadi satu baris ke bawah */
    .about-wrapper {
        flex-direction: column;
    }
    
    .footer-wrapper {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        flex-direction: column;
        gap: 30px;
    }
}