/* =========================================
   PENGATURAN UMUM
   ========================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ecf0f1;
    color: #2c3e50;
    padding: 20px;
    margin: 0;
}

.main-title {
    text-align: center;
    color: #2c3e50;
    border-bottom: 3px solid #e67e22;
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.task-section {
    background-color: #ffffff;
    margin-bottom: 40px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

.task-title {
    color: #d35400;
    border-left: 5px solid #e67e22;
    padding-left: 15px;
    margin-top: 0;
}

.description {
    font-style: italic;
    color: #7f8c8d;
    margin-bottom: 25px;
}

/* =========================================
   TUGAS 1: UKURAN FOTO
   ========================================= */
.foto-container {
    margin-top: 20px;
}

.foto-box {
    float: left;
    margin-right: 50px;
    text-align: center;
    font-weight: bold;
    color: #34495e;
}

/* Mengatur spesifik ukuran CSS Photo */
.foto-3x4 {
    width: 113px;
    height: 151px;
    border: 3px solid #2980b9;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.foto-4x6 {
    width: 151px;
    height: 227px;
    border: 4px solid #8e44ad;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.foto-10x15 {
    width: 378px;
    height: 567px;
    border: 5px solid #27ae60;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* =========================================
   TUGAS 2: BOX TRANSPARAN
   ========================================= */
.background-container {
    width: 100%;
    height: 350px;
    /* Background gambar eksternal */
    background-image: url('../karya.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    position: relative;
    border: 1px solid #bdc3c7;
    overflow: hidden;
}

.transparent-box {
    /* Box Transparan menggunakan RGBA */
    background-color: rgba(255, 255, 255, 0.85);
    width: 60%;
    margin: 0 auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    border: 2px solid rgba(230, 126, 34, 0.6);
}

.transparent-box h3 {
    margin-top: 0;
    color: #c0392b;
    font-size: 24px;
}

.transparent-box p {
    color: #2c3e50;
    font-size: 16px;
    line-height: 1.6;
}

/* =========================================
   TUGAS 3: KARTU KELUARGA (KK)
   ========================================= */
.kk-wrapper {
    overflow-x: auto;
    padding: 10px;
}

.kk-card {
    width: 1000px;
    min-height: 500px;
    margin: 0 auto;
    border: 6px double #34495e;
    padding: 40px;
    background-color: #fdfefe;
    
    /* CSS BACKGROUND WATERMARK PROPERTIES */
    background-image: url('watermark.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    /* Efek multiply agar background menyatu dengan konten tabel */
    background-blend-mode: multiply;
}

.kk-title {
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 36px;
    letter-spacing: 6px;
    margin-bottom: 5px;
    color: #000;
}

.kk-subtitle {
    text-align: center;
    font-family: "Times New Roman", Times, serif;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 40px;
    color: #000;
}

.kk-info {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.info-table {
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #000;
}

.info-table td {
    padding: 4px 0;
}

.kk-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #000;
    /* Memberikan latar putih transparan agar teks tabel bisa terbaca jika watermark terlalu gelap */
    background-color: rgba(255, 255, 255, 0.6); 
}

.kk-table th, .kk-table td {
    border: 2px solid #000;
    padding: 10px 5px;
    text-align: center;
}

.kk-table th {
    background-color: rgba(189, 195, 199, 0.4); 
    text-transform: uppercase;
}

.kk-table td {
    height: 25px; /* Memberi ruang tinggi pada baris kosong */
}
