/* ==== Global Reset & Variabel ==== */
:root {
    --pln-blue: #005c97; /* Biru tua dari gradasi di gambar */
    --pln-purple: #363795; /* Biru/ungu dari gradasi di gambar */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --bg-light: #f4f8ff;
    --white: #ffffff;
    --primary-color: #007bff; /* Biru untuk tombol "Masuk" */
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2 {
    margin-bottom: 20px;
    line-height: 1.3;
}

/* ==== Tombol (Buttons) ==== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-light {
    background: var(--white);
    color: var(--pln-blue);
    border: 1px solid var(--white);
}

.btn-light:hover {
    background: var(--bg-light);
    color: var(--pln-blue);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--pln-blue);
}


/* ==== 1. Header (Navigasi) ==== */
header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 35px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul a {
    color: #555;
    font-weight: 500;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

nav ul a:hover,
nav ul a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* ==== 2. Hero Section ==== */
.hero {
    color: var(--white);
    
    /* 1. Paksa section jadi tinggi (90% dari tinggi layar) */
    min-height: 90vh; 
    
    /* 2. Panggil gambar latar belakang Anda */
    background-image: url('../images/latar belakang.png');
    
    /* 3. Posisikan gambar di tengah dan tidak terpotong */
    background-size: cover; /* 'cover' tetap paling bagus */
    background-position: center 30%; /* Posisikan di tengah */
    background-repeat: no-repeat;
    
    /* 4. Gunakan Flexbox untuk mendorong teks ke bawah */
    display: flex;
    flex-direction: column; /* Tumpuk item ke bawah */
    justify-content: flex-end; /* Dorong semua item ke PALING BAWAH */
    
    /* 5. Beri jarak aman di bagian bawah */
    padding-bottom: 80px; 
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Ubah ke 'center' */
    gap: 40px;
}

/* PERBAIKAN CSS #2:
  Karena Anda tidak punya gambar ilustrasi, kita buat
  konten teksnya memenuhi 100% dan berada di tengah.
*/
.hero-content {
    flex: 1;
    max-width: 100%; /* Ubah dari 50% ke 100% */
    text-align: center; /* Tambahkan ini agar center */
}

.hero-content h1 {
    font-size: 2.5rem; /* 40px */
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--text-light);
    max-width: 600px; /* Batasi lebar paragraf agar rapi */
    margin-left: auto; /* Tambahkan ini */
    margin-right: auto; /* Tambahkan ini */
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center; /* Tambahkan ini */
}

/* PERBAIKAN CSS #3:
  Hapus semua style untuk .hero-image
  karena sudah tidak ada di HTML Anda.
*/


/* ==== 3. About Us Section ==== */
.about-us {
    background: var(--white);
    padding: 80px 0;
    position: relative;
    /* Ini untuk membuat lengkungan di atas */
    margin-top: -60px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
}

.about-us h2 {
    text-align: center;
    font-size: 2rem;
}

.about-content {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.about-content p {
    flex: 1;
    text-align: justify;
    color: #444;
}

/* ==== 4. PLN Mobile Section ==== */
.pln-mobile {
    background: var(--bg-light);
    padding: 60px 0;
}

.mobile-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.mobile-content {
    flex: 1;
}

.mobile-content h2 {
    font-size: 2rem;
    color: var(--pln-blue);
}

.mobile-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
}

.mobile-images {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 20px;
}

.app-screen {
    height: 400px;
    width: auto;
}

/* ==== 5. Footer ==== */
footer {
    background: var(--white);
    padding-top: 50px;
    border-top: 1px solid #e0e0e0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-logo img {
    height: 30px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-links h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons a {
    color: #555;
    font-size: 1.5rem;
    margin-right: 15px;
}

.social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    font-size: 0.9rem;
    color: #777;
}

/* ==== BAGIAN BARU: HALAMAN PROFIL, PANDUAN, KONTAK ==== */
.page-header {
    background: linear-gradient(135deg, var(--pln-blue) 0%, var(--pln-purple) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.modern-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.modern-card .icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.modern-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--pln-blue);
}

/* Form Kontak */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.contact-info-box {
    flex: 1;
    min-width: 300px;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 12px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-form-box {
    flex: 2;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Step Card untuk Panduan */
.step-card {
    display: flex;
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    gap: 20px;
    align-items: flex-start;
    transition: transform 0.2s;
}

.step-card:hover {
    transform: translateX(5px);
}

.step-number {
    background: var(--primary-color);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h4 {
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-content p {
    color: #666;
    margin-bottom: 0;
}