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

body {
  font-family: Arial, sans-serif;
  background: #f2f3f8;
}

#wrapper {
  width: 960px;
  margin: 20px auto;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(50, 50, 93, 0.1);
}

#container {
  width: 100%;
  overflow: hidden;
}

/* Header dengan background gradasi biru ke ungu */
header {
  width: 100%;
  background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
  color: white;
  padding: 30px 20px;
  text-align: right;
  position: relative;
}

header::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  background: linear-gradient(
    135deg,
    rgba(75, 108, 183, 0.8) 0%,
    rgba(24, 40, 72, 0.8) 100%
  );
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
}

header h1 {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 5px 0;
  position: relative;
  z-index: 1;
}

header p {
  font-size: 14px;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* Navigation */
nav {
  width: 100%;
  background: #e9ecf5;
  border-bottom: 2px solid #c5cae9;
  position: relative;
  overflow: visible;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
}

nav ul li {
  float: left;
  position: relative;
  border-right: 1px solid #b0bec5;
}

nav ul li a {
  display: block;
  padding: 10px 20px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
}

nav ul li a:hover {
  background: #d6def5;
}

nav ul li .submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 150px;
  background: #f0f3fa;
  border: 1px solid #b0bec5;
  border-top: none;
  z-index: 100;
}

nav ul li:hover .submenu {
  display: block;
}

nav ul li .submenu li {
  float: none;
  border-right: none;
  border-bottom: 1px solid #cfd8dc;
}

nav ul li .submenu li:last-child {
  border-bottom: none;
}

.lihat-produk {
  float: right;
  background: #ffffff;
  padding: 10px 20px;
  margin: 5px 10px;
  font-weight: bold;
  font-size: 12px;
  color: #37474f;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.1);
}

/* Article Section */
article {
  width: 620px;
  float: left;
  padding: 15px;
}

article .single {
  margin-bottom: 20px;
  border: 1px solid #e0e0e0;
  padding: 15px;
  background: #ffffff;
  position: relative;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Logo Section */
.logo-section {
  width: 150px;
  height: 150px;
  float: left;
  margin-right: 15px;
  margin-bottom: 10px;
}

.logo-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/* Article Content */
article .single h2 {
  font-family: Georgia, serif;
  font-size: 20px;
  color: #1e2a78;
  margin-bottom: 10px;
  padding: 8px 0;
  border-bottom: 2px solid #e3e7f1;
}

article .single p {
  font-size: 13px;
  line-height: 1.6;
  color: #444;
  text-align: justify;
  margin-bottom: 10px;
}

article .single .more {
  clear: both;
  padding-top: 10px;
}

article .single .more a {
  float: right;
  background: #b6f3c0;
  border: 1px solid #8bc34a;
  padding: 5px 15px;
  text-decoration: none;
  color: #1a1a1a;
  border-radius: 12px;
  font-size: 12px;
  font-weight: bold;
}

article .single .more a:hover {
  background: #9be69f;
  border-color: #7cb342;
}

/* Aside/Sidebar */
aside {
  width: 300px;
  float: left;
  padding: 15px;
}

aside .widget {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 5px;
}

aside .widget h2 {
  font-family: Georgia, serif;
  font-size: 18px;
  color: #253858;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e3e7f1;
}

aside .widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

aside .widget ul li {
  padding: 5px 0;
  border-bottom: 1px solid #f1f1f1;
}

aside .widget ul li:last-child {
  border-bottom: none;
}

aside .widget ul li a {
  color: #1976d2;
  text-decoration: none;
  font-size: 13px;
}

aside .widget ul li a:hover {
  color: #512da8;
  text-decoration: underline;
}

/* Footer */
footer {
  width: 100%;
  float: left;
  background: #212121;
  color: #bbb;
  padding: 20px 0;
  clear: both;
}

footer .column {
  width: 31%;
  float: left;
  padding: 0 15px;
  font-size: 13px;
  margin-right: 2%;
}

footer .column:last-child {
  margin-right: 0;
}

footer .column h2 {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 15px;
  text-transform: uppercase;
}

footer .column p {
  line-height: 1.6;
  margin: 0;
}

footer .column br {
  line-height: 2;
}

footer .column a {
  color: #64b5f6;
  text-decoration: none;
}

footer .column a:hover {
  text-decoration: underline;
}

/* Clearfix */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}
