/**
 * ==========================================
 * MASTER TEMPLATE 1: SERVICE PRO STYLESHEET
 * High-Conversion & Performance Focused
 * ==========================================
 */

/* 1. GLOBAL SETUP & VARIABLES */
:root {
    /* Variables ini akan di-override secara dinamis oleh script.js dari data.json */
    --primary-color: #1e40af;
    --primary-dark: #1e3a8a;
    --accent-teal: #0d9488;
    --bg-body: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    
    --radius: 8px;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --container-max: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Backup untuk navigasi */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    display: block;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* 2. HEADER & NAVIGATION */
#site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 80px;
}

#site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#main-navigation ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

#main-navigation a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

#main-navigation a:hover {
    color: var(--primary-color);
}

.btn-lapor a {
    background: var(--primary-color);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
}

.btn-lapor a:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Mobile Menu Logic */
.menu-checkbox { display: none; }
.hamburger { display: none; cursor: pointer; }

/* 3. HERO SECTION */
#hero {
    color: white;
    padding: 120px 0 100px 0;
    text-align: center;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-actions a {
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-actions a:first-child {
    background: var(--accent-teal);
    color: white;
}

.hero-actions a:last-child {
    background: rgba(255,255,255,0.1);
    border: 2px solid white;
    color: white;
    backdrop-filter: blur(5px);
}

.hero-actions a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* 4. COMPONENTS */
.badge {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}

/* 5. FORMS */
form input, form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* 6. RESPONSIVE DESIGN */
@media (max-width: 992px) {
    #hero h1 { font-size: 2.75rem; }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--primary-color);
        margin: 5px 0;
        transition: 0.3s;
    }

    #main-navigation {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 40px 0;
        box-shadow: var(--shadow);
        display: none;
    }

    #main-navigation ul {
        flex-direction: column;
        align-items: center;
    }

    .menu-checkbox:checked ~ #main-navigation {
        display: block;
    }

    #hero h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; }
    
    section { padding: 60px 0; }
    h2 { font-size: 1.75rem; }
}
