/* import google font */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:ital,wght@0,300;0,700;1,300&display=swap');

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
}

body {
    line-height: 1;
    font-size: 100%;
    font-family: 'Open Sans', sans-serif;
    color: #4a3b32; /* Cokelat tua keabu-abuan untuk teks */
    background-color: #fcfbf9; /* Latar belakang putih gading */
}

#container {
    width: 980px;
    margin: 0 auto;
    box-shadow: 0 0 1em #d7ccc8; /* Bayangan lebih lembut (cokelat pudar) */
    background-color: #ffffff;
}

/* header */
header {
    padding: 80px 20px; /* Padding diperbesar agar gambar terlihat lebih luas */
    background-image: url('img/header-kopi.jpeg'); /* Sesuaikan dengan lokasi dan nama file gambar Anda */
    background-size: cover; /* Mengatur gambar agar menutupi seluruh area header */
    background-position: center; /* Memposisikan gambar di tengah */
    background-repeat: no-repeat; /* Mencegah gambar diulang-ulang */
    text-align: center; /* Membuat posisi teks berada di tengah */
}

header h1 {
    margin: 20px 10px;
    color: #ffffff; /* Mengubah warna teks menjadi putih agar kontras dengan gambar */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Menambahkan bayangan hitam tebal agar teks tetap terbaca jelas di atas gambar */
    font-size: 45px; /* Memperbesar ukuran teks judul */
}

/* navigasi */
nav {
    display: block;
    background-color: #5d4037; /* Cokelat kopi medium */
}

nav a {
    padding: 15px 30px;
    display: inline-block;
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

nav a.active,
nav a:hover {
    background-color: #8d6e63; /* Cokelat muda / Karamel saat disorot */
}

/* Hero Panel */
#hero {
    background-color: #f4eee8; /* Krem / Latte untuk area sambutan */
    padding: 50px 20px;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #d7ccc8;
}

#hero h1 {
    margin-bottom: 20px;
    font-size: 35px;
    color: #3e2723;
}

#hero p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 25px;
}

/* Tombol (Tambahan agar serasi) */
.btn {
    display: inline-block;
    background-color: #5d4037;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #8d6e63;
}

.btn-large {
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
}

.btn-default {
    padding: 8px 15px;
    font-size: 14px;
    margin-top: 10px;
}

/* main content */
#wrapper {
    margin: 0;
}

#main {
    float: left;
    width: 640px;
    padding: 20px;
}

/* sidebar area */
#sidebar {
    float: left;
    width: 260px;
    padding: 20px;
}

/* widget */
.widget-box {
    border: 1px solid #efebe9;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.widget-box .title {
    padding: 10px 16px;
    background-color: #6d4c41; /* Cokelat karamel gelap */
    color: #fff;
}

.widget-box ul {
    list-style-type: none;
}

.widget-box li {
    border-bottom: 1px solid #efebe9;
}

.widget-box li a {
    padding: 10px 16px;
    color: #4a3b32;
    display: block;
    text-decoration: none;
    transition: 0.2s;
}

.widget-box li:hover a {
    background-color: #f4eee8;
    color: #3e2723;
}

.widget-box p {
    padding: 15px;
    line-height: 25px;
}

/* footer */
footer {
    clear: both;
    background-color: #2e1f18; /* Cokelat sangat gelap / Dark roast */
    padding: 20px;
    color: #d7ccc8;
    text-align: center;
}

/* box */
.box {
    display: block;
    float: left;
    width: 33.333333%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    padding: 0 10px;
    text-align: center;
}

.box h3 {
    margin: 15px 0;
    color: #3e2723;
}

.box p {
    line-height: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.box img {
    width: 110px;
    height: 110px;
    border: 0;
    vertical-align: middle;
    object-fit: cover;
    border: 3px solid #efebe9; /* Tambahan bingkai samar pada foto */
}

.image-circle {
    border-radius: 50%;
}

.row {
    margin: 0 -10px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.row:after,
.row:before,
.entry:after,
.entry:before {
    content: '';
    display: table;
}

.row:after,
.entry:after {
    clear: both;
}

.divider {
    border: 0;
    border-top: 1px solid #d7ccc8; /* Garis pemisah warna cokelat pudar */
    margin: 40px 0;
}

/* entry */
.entry {
    margin: 15px 0;
}

.entry h2 {
    margin-bottom: 20px;
    color: #3e2723;
}

.entry p {
    line-height: 25px;
}

.entry img {
    width: 150px;
    height: 150px;
    float: left;
    border-radius: 5px;
    margin-right: 15px;
    object-fit: cover;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1); /* Tambahan efek bayangan tipis */
}

.entry .right-img {
    float: right;
    margin-right: 0;
    margin-left: 15px;
}