/* =========================================================
   ⚙️ VERSI : 1.0 (Modern Agency UI/UX & Responsive Core)
   /* [INTI-BRANDED] Intisari Apps Global Stylesheet */
/* ========================================================= */

:root {
    /* Palet Warna Eksekutif */
    --primary-color: #0f172a; /* Slate 900 (Gelap Elegan) */
    --secondary-color: #38bdf8; /* Light Blue 400 (Teknologi/Modern) */
    --accent-color: #10b981; /* Emerald 500 (Aksi Sukses) */
    --bg-color: #f8fafc; /* Slate 50 (Abu-abu sangat terang untuk latar) */
    --text-main: #334155; /* Slate 700 (Teks bacaan) */
    --text-light: #64748b; /* Slate 500 (Teks sekunder) */
    --white: #ffffff;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* --- RESET & FONDASI --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- TIPOGRAFI --- */
h1, h2, h3, h4 { 
    color: var(--primary-color); 
    line-height: 1.2; 
    margin-bottom: 1rem; 
}
h1 { font-size: 2.5rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; }
p { margin-bottom: 1rem; color: var(--text-light); }
a { text-decoration: none; color: var(--secondary-color); transition: var(--transition); }
a:hover { color: var(--primary-color); }

/* --- TATA LETAK UTAMA --- */
main { 
    padding: 4rem 2rem; 
    max-width: 1200px; 
    margin: 0 auto; 
    flex: 1;
    width: 100%;
}
section { margin-bottom: 5rem; }

/* --- NAVIGASI HEADER --- */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.logo { font-size: 1.5rem; color: var(--primary-color); }
.logo strong { color: var(--secondary-color); }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li a { color: var(--text-main); font-weight: 600; padding: 0.5rem 0; }
nav ul li a:hover, nav ul li a.active { 
    color: var(--secondary-color); 
    border-bottom: 2px solid var(--secondary-color);
}

/* --- KOMPONEN TOMBOL --- */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
}
.btn-primary { background: var(--secondary-color); color: var(--white); }
.btn-primary:hover { background: #0284c7; transform: translateY(-2px); color: var(--white); }
.btn-secondary { background: transparent; border: 2px solid var(--secondary-color); color: var(--secondary-color); }
.btn-secondary:hover { background: var(--secondary-color); color: var(--white); transform: translateY(-2px); }
.cta-buttons { display: flex; gap: 1rem; margin-top: 2rem; }

/* --- HERO SECTION (Halaman Utama) --- */
#hero { text-align: center; padding: 4rem 0; }
#hero h1 { font-size: 3.5rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
#hero h2 { font-size: 1.25rem; font-weight: 400; color: var(--text-light); max-width: 800px; margin: 0 auto; }
#hero .cta-buttons { justify-content: center; }

/* --- GRID KARTU (Layanan & Portofolio) --- */
#detailed-services, #projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.service-card, .project-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-top: 4px solid transparent;
}
.service-card:hover, .project-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
    border-top: 4px solid var(--secondary-color);
}
.service-card h3, .project-card h2 { margin-bottom: 1rem; }
.service-card ul { list-style-type: disc; margin-left: 1.5rem; color: var(--text-light); }
.service-card li { margin-bottom: 0.5rem; }

/* --- SPESIFIK PORTOFOLIO --- */
.project-card .tagline { font-weight: 600; color: var(--secondary-color); margin-bottom: 1.5rem; }
.case-study { 
    background: var(--bg-color); 
    padding: 1.5rem; 
    border-radius: var(--border-radius); 
    margin: 1.5rem 0; 
    border-left: 4px solid var(--primary-color);
}
.case-study h4 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--primary-color); text-transform: uppercase; letter-spacing: 1px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.tech-tags span { 
    background: #e2e8f0; 
    color: var(--primary-color); 
    padding: 0.35rem 0.85rem; 
    border-radius: 20px; 
    font-size: 0.85rem; 
    font-weight: 600; 
}

/* --- KONTAK --- */
.contact-channels { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
    font-style: normal; 
    margin-bottom: 4rem; 
}
.channel-card { 
    background: var(--white); 
    padding: 2.5rem 2rem; 
    text-align: center; 
    border-radius: var(--border-radius); 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
}
#contact-form-section { 
    background: var(--white); 
    padding: 3rem; 
    border-radius: var(--border-radius); 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    max-width: 800px; 
    margin: 0 auto; 
}
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary-color); }
.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 0.85rem; 
    border: 1px solid #cbd5e1; 
    border-radius: var(--border-radius); 
    font-family: inherit; 
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus { 
    outline: none; 
    border-color: var(--secondary-color); 
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2); 
}

/* --- FOOTER --- */
footer { 
    text-align: center; 
    padding: 2rem; 
    background: var(--primary-color); 
    color: var(--white); 
    margin-top: auto; 
}
footer p { color: #cbd5e1; margin: 0; }

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    nav { flex-direction: column; gap: 1rem; padding: 1rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    #hero h1 { font-size: 2.5rem; }
    .cta-buttons { flex-direction: column; width: 100%; max-width: 300px; margin: 2rem auto 0; }
    main { padding: 2rem 1rem; }
    .contact-channels { grid-template-columns: 1fr; }
}