/* == GLOBAL STYLES == */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Memastikan padding dan border tidak menambah lebar total elemen */
}

html {
    scroll-behavior: smooth; /* Efek scroll halus saat mengklik link navigasi (anchor) */
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0a0a0a; /* Latar belakang hitam pekat (Dark Mode) */
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden; /* Mencegah scroll horizontal yang tidak diinginkan */
}

h1, h2, h3, h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s; /* Transisi halus untuk efek hover */
}

ul {
    list-style: none; /* Menghilangkan bullet point pada list */
}

.container {
    max-width: 1200px; /* Membatasi lebar konten agar rapi di layar lebar */
    margin: 0 auto; /* Posisi tengah horizontal */
    padding: 0 20px; /* Jarak aman dari tepi kiri/kanan layar */
}

section {
    padding: 100px 0; /* Ruang napas vertikal antar section */
}

/* == BUTTONS & UTILITIES == */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    text-align: center;
}

/* Tombol utama (Hijau) */
.btn-primary {
    background-color: #22c55e;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #16a34a;
    transform: translateY(-2px); /* Efek naik sedikit saat di-hover */
}

/* Tombol garis tepi (Putih) */
.btn-outline {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background-color: #ffffff;
    color: #0a0a0a; /* Warna teks berubah jadi hitam saat hover */
    transform: translateY(-2px);
}

/* Tombol garis tepi (Hijau) */
.btn-outline-green {
    background-color: transparent;
    border: 2px solid #22c55e;
    color: #22c55e;
}

.btn-outline-green:hover {
    background-color: #22c55e;
    color: #ffffff;
}

.text-green { color: #22c55e; }
.text-gray { color: #a0a0a0; }

/* Header section standar (Judul & Deskripsi) */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: #a0a0a0;
    max-width: 600px;
    margin: 0 auto;
}

/* == NAVBAR == */
nav {
    position: fixed; /* Menempel di atas layar saat discroll */
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(10, 10, 10, 0.8); /* Hitam transparan */
    backdrop-filter: blur(10px); /* Efek kaca buram (glassmorphism) */
    z-index: 1000; /* Pastikan navbar selalu di paling depan */
    display: flex;
    align-items: center;
    border-bottom: 1px solid #2a2a2a;
}

nav .container {
    display: flex;
    justify-content: space-between; /* Logo di kiri, Menu di kanan */
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Inter', sans-serif;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:hover {
    color: #22c55e;
}

/* == HERO SECTION == */
#hero {
    background-color: #0a0a0a;
    min-height: 100vh; /* Setinggi layar penuh */
    display: flex;
    align-items: center;
    padding-top: 120px; /* Kompensasi tinggi navbar */
}

#hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1; /* Mengambil ruang kosong yang tersisa */
}

.hero-label {
    display: inline-block;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

/* Area tumpukan gambar di sebelah kanan */
.hero-images {
    flex: 1;
    position: relative;
    height: 450px;
}

.hero-img-card {
    position: absolute; /* Posisi bebas relatif terhadap .hero-images */
    width: 280px;
    height: 380px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #ab8686;
    background-color: #a47777;
}

.hero-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar menutupi area tanpa distorsi */
}

/* Mengatur posisi tumpukan gambar */
.img-1 {
    z-index: 3; /* Paling depan */
    top: 0;
    left: 50px;
    transform: rotate(-5deg); /* Miring ke kiri */
}

.img-2 {
    z-index: 2; /* Tengah */
    top: 30px;
    left: 150px;
    transform: rotate(5deg); /* Miring ke kanan */
}

.img-3 {
    z-index: 1; /* Paling belakang */
    top: 60px;
    left: 250px;
    transform: rotate(12deg);
}

/* == LAYANAN SECTION == */
#layanan {
    background-color: #0a0a0a;
}

.layanan-divider {
    width: 60px;
    height: 3px;
    background-color: #22c55e;
    margin: 80px auto 0;
    border-radius: 10px;
}

.process-sub-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

.process-sub-header h3 { font-size: 2rem; margin-bottom: 8px; }
.process-sub-header p { color: #a0a0a0; max-width: 500px; margin: 0 auto; }

/* Grid kartu layanan */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsif: kolom menyesuaikan lebar */
    gap: 30px;
}

.service-card {
    background-color: #111111;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
    transition: 0.3s;
    text-align: center;
}

.service-card:hover {
    border-color: #22c55e; /* Border berubah hijau saat hover */
    transform: translateY(-10px); /* Kartu naik ke atas */
    background-color: #161616;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 { margin-bottom: 15px; font-size: 1.25rem; }
.service-card p { color: #a0a0a0; font-size: 0.9rem; }

/* Timeline Proses */
.process-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* Garis horizontal penghubung timeline */
.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: #2a2a2a;
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
    padding: 0 10px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 5px solid #0a0a0a; /* Border hitam untuk memisahkan dari garis timeline */
}

.process-step h4 { margin-bottom: 10px; }
.process-step p { font-size: 0.85rem; color: #a0a0a0; }

/* == PORTFOLIO SECTION == */
#portfolio {
    background-color: #0a0a0a;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Kolom tetap */
    gap: 30px;
}

.portfolio-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden; /* Memotong gambar yang meluar saat di-zoom */
    height: 400px;
    cursor: pointer;
    border: 1px solid #2a2a2a;
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

/* Efek Zoom Gambar saat hover */
.portfolio-card:hover img {
    transform: scale(1.1);
}

/* Overlay teks di bagian bawah kartu portfolio */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9)); /* Gradasi transparan ke hitam */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.portfolio-category {
    color: #e0eae3;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.portfolio-card h3 { font-size: 1.2rem; }

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(34, 197, 94, 0.1); /* Bayangan hijau redup */
}

/* == HARGA SECTION == */
#pricing {
    background-color: #050f0a;
    /* Efek cahaya radial hijau di latar belakang atas */
    background-image: radial-gradient(ellipse at 50% 0%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
}

.pricing-flex {
    display: flex;
    justify-content: center;
    align-items: stretch; /* Kartu memiliki tinggi yang sama */
    gap: 30px;
}

.pricing-card {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #2a2a2a;
    flex: 1;
    max-width: 350px;
    position: relative;
    transition: 0.3s;
    display: flex;
    flex-direction: column; /* Agar tombol selalu di bawah */
}

/* Highlight kartu tengah (Popular) */
.pricing-card.popular {
    border-color: #22c55e;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.popular-badge {
    position: absolute;
    top: -15px; /* Badge melayang di atas kartu */
    left: 50%;
    transform: translateX(-50%);
    background-color: #22c55e;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 { color: #22c55e; margin-bottom: 10px; }
.pricing-card .price { font-size: 2rem; font-weight: 800; margin-bottom: 20px; }

.pricing-card .divider {
    height: 1px;
    background-color: #2a2a2a;
    margin-bottom: 25px;
}

.pricing-features {
    margin-bottom: 35px;
    flex-grow: 1; /* Mendorong tombol ke bawah */
}

.pricing-features li {
    margin-bottom: 12px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li span { color: #22c55e; }
.pricing-card .btn { width: 100%; }

/* == ABOUT SECTION == */
#about {
    background-color: #050a12;
    /* Efek cahaya radial biru di latar belakang */
    background-image: radial-gradient(ellipse at 30% 50%, rgba(59, 130, 246, 0.07) 0%, transparent 60%);
}

#about .container {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid #22c55e; /* Border hijau pada gambar */
    height: 500px;
    background-color: #1a1a1a;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content { flex: 1.2; }
.about-content h2 { font-size: 2.8rem; margin-bottom: 20px; }
.about-content p { color: #a0a0a0; margin-bottom: 25px; }

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Kolom info */
    gap: 20px;
    margin-bottom: 30px;
}

.info-item span {
    display: block;
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 600;
}

.experience-badge {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    border-radius: 20px;
    color: #22c55e;
    font-weight: 600;
    margin-bottom: 30px;
}

/* == TESTIMONI SECTION == */
#testimonials { background-color: #0a0a0a; }

.testimonials-flex {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    flex: 1;
    position: relative;
}

/* Ikon tanda kutip besar sebagai dekorasi background */
.quote-icon {
    font-size: 4rem;
    color: rgba(34, 197, 94, 0.1);
    position: absolute;
    top: 20px;
    left: 20px;
    line-height: 1;
}

.testimonial-card p {
    color: #d1d1d1;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.rating { color: #fbbf24; margin-bottom: 20px; }

.testimonial-card .divider {
    height: 1px;
    background-color: #2a2a2a;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background-color: #2a2a2a;
}

.client-info h5 { font-size: 1rem; }
.client-info span { font-size: 0.8rem; color: #a0a0a0; }

/* == FOOTER == */
footer {
    background-color: #050505;
    padding: 80px 0 30px;
    border-top: 2px solid #2a2a2a;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-about { flex: 1; }
.footer-about p {
    color: #a0a0a0;
    margin-top: 20px;
    font-size: 0.9rem;
    max-width: 400px;
}

.footer-links-list {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.footer-links-list a:hover { color: #22c55e; }

.footer-contact-title { font-size: 1.1rem; margin-bottom: 15px; }

.footer-contact-list {
    display: flex;
    gap: 25px;
    justify-content: flex-start;
}

.footer-contact-list li {
    color: #a0a0a0;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #2a2a2a;
    color: #666;
    font-size: 0.8rem;
}

/* == RESPONSIVE DESIGN (MOBILE DEVICES) == */

/* Tablet & Laptop Kecil (Max-width: 1024px) */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.8rem; }
    .hero-images { display: none; } /* Sembunyikan gambar tumpukan di layar lebih kecil */
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); } /* Portfolio jadi 2 kolom */
    .pricing-flex { flex-wrap: wrap; } /* Harga bisa turun ke bawah */

    /* Ubah Timeline horizontal menjadi vertikal */
    .process-timeline::before { display: none; }
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    .process-step {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 20px;
    }
    .step-number { margin: 0; flex-shrink: 0; }

    /* Layout About jadi satu kolom vertikal */
    #about .container { flex-direction: column; text-align: center; }
    .about-info { justify-content: center; }

    .testimonials-flex { flex-direction: column; } /* Testimoni vertikal */

    /* Footer menumpuk vertikal dan center */
    .footer-grid { flex-direction: column; text-align: center; }
    .footer-links-list, .footer-contact-list {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile (Max-width: 480px) */
@media (max-width: 480px) {
    section { padding: 60px 0; }
    .hero-content h1 { font-size: 2.2rem; }
    
    .portfolio-grid { grid-template-columns: 1fr; } /* Portfolio jadi 1 kolom */

    .nav-links { display: none; } /* Sembunyikan menu navigasi */

    .footer-links-list { gap: 15px; }
    .footer-contact-list {
        flex-direction: column;
        gap: 8px;
    }
}
