body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  background: #1E1C1A; /* charcoal brown background */
  color: #FAF3E0; /* soft cream text */
  line-height: 1.7;
  text-align: justify;
  animation: fadeInBody 1s ease-in;
}

@keyframes fadeInBody {
  from { opacity: 0; }
  to { opacity: 1; }
}

html, body {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(196, 154, 108, 0.3); /* amber highlight */
}

.site-header {
  position: relative;
  text-align: center;
  background: #3B2F2F; /* espresso brown */
  height: 200px;
  border-bottom: 3px solid #C49A6C; /* amber accent */
  animation: slideDown 1s ease;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.header-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 1;
}

.logo-container {
  position: relative;
  z-index: 2;
  padding-top: 10px;
  padding-left: 30px;
  animation: fadeIn 2s ease;
}

.logo {
  height: 180px;
}

.nav {
  position: absolute;
  top: 15px;
  right: 25px;
  z-index: 3;
}

.nav a {
  color: #FAF3E0; /* cream text */
  background: #4A3B36; /* muted brown-gray */
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav a:hover {
  background: #C49A6C; /* amber hover */
  color: #1E1C1A;
  box-shadow: 0 0 10px rgba(196, 154, 108, 0.7);
}

.container {
  display: flex;
  max-width: 1200px;
  margin: auto;
  padding: 30px 20px;
  gap: 20px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.content {
  flex: 3;
  padding: 20px;
  text-align: justify;
  background: #2B2522; /* warm dark brown */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(180, 120, 70, 0.15);
  transition: transform 0.3s ease;
  color: #FAF3E0;
}

.content:hover {
  transform: translateY(-5px);
}

/* Sidebar - minimal animation */
.sidebar {
  flex: 1;
  padding: 20px;
  background: #3C3531; /* dark coffee tone */
  border-radius: 15px;
  border: 1px solid #4D403C;
  box-shadow: 0 0 20px rgba(196, 154, 108, 0.2);
  color: #FAF3E0;
  text-align: justify;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInRight 1.2s ease;
  transform-origin: center top;
}

@keyframes fadeInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.sidebar:hover {
  transform: scale(1.002);
  box-shadow: 0 0 22px rgba(196, 154, 108, 0.3);
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  animation: fadeIn 1.5s ease;
}

.sidebar img {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(180, 120, 70, 0.3);
  transition: transform 0.3s ease;
}

.sidebar img:hover {
  transform: rotate(3deg) scale(1.05);
}

.site-footer {
  background: #3B2F2F; /* espresso brown */
  color: #FAF3E0;
  text-align: center;
  padding: 25px 0;
  margin-top: 50px;
  border-top: 3px solid #C49A6C;
  animation: fadeIn 2s ease;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #B87333; /* copper */
  color: #fff;
  border: 2px solid #B87333;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 26px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 4px 8px rgba(180, 120, 70, 0.6);
}

.back-to-top:hover {
  background: #7B2D26; /* wine red hover */
  color: #fff;
  box-shadow: 0 0 15px rgba(123, 45, 38, 0.8);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Sidebar links */
.sidebar a {
  color: #C49A6C; /* amber accent links */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.sidebar a:hover {
  color: #FAF3E0; /* cream hover */
}

hr {
  border: none;
  border-top: 1px solid #C49A6C;
  opacity: 0.2;
  margin: 40px 0;
}

/* Read More Button - Compact Version */
.btn {
  display: inline-block;
  background: #C49A6C; /* amber button */
  color: #1E1C1A;
  padding: 6px 14px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 8px rgba(196, 154, 108, 0.25);
  margin-top: 8px;
  letter-spacing: 0.4px;
}

.btn:hover {
  background: #B87333; /* copper hover */
  color: #fff;
  box-shadow: 0 0 10px rgba(180, 120, 70, 0.5);
  transform: translateY(-1px);
}

.post-preview {
  border-bottom: 2px solid rgba(196, 154, 108, 0.5);
  padding-bottom: 25px;
  margin-bottom: 30px;
}

.post-preview:last-child {
  border-bottom: none;
}

/* Metrolagu Network Footer Section (BrewCulture Theme) */
.metrolagu-network {
  background: none; /* inherit the espresso brown footer */
  color: #FAF3E0; /* soft cream for readability */
  text-align: left;
  padding: 20px 0;
}

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

.metrolagu-network h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
  color: #C49A6C; /* amber roast highlight */
  font-weight: 600;
  text-align: center;
}

.metrolagu-network p {
  color: #FAF3E0; /* cream paragraph tone */
  margin-bottom: 10px;
  line-height: 1.7;
  text-align: center;
}

.network-links {
  text-align: center;
}

.network-links a {
  color: #C49A6C; /* amber link accent */
  text-decoration: none;
  transition: color 0.3s ease;
}

.network-links a:hover {
  color: #FAF3E0; /* cream hover highlight */
  text-decoration: none;
}

/* Footer copyright link styling */
.site-footer .copyright a,
.site-footer .copyright a:link,
.site-footer .copyright a:visited,
.site-footer .copyright a:hover,
.site-footer .copyright a:active {
  color: #FAF3E0 !important; /* Metrolagu.vin link */
  text-decoration: none !important;
  transition: opacity 0.3s ease;
}

/* Distinct, pill-styled copyright design (BrewCulture Theme) */
.site-footer .copyright {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  color: #FAF3E0;                      /* Foam ivory text */
  background: #2E1C13;                 /* Deep espresso base */
  padding: 8px 22px;
  border: 1.5px solid rgba(212, 175, 55, 0.5); /* Soft gold border */
  border-radius: 999px;
  margin-top: 12px;
  margin-bottom: 4px;
  box-shadow: 0 2px 6px rgba(228, 155, 64, 0.35); /* Amber coffee glow */
  transition: all 0.3s ease;
}

/* Hover tone and glow */
.site-footer .copyright:hover {
  background: #E49B40;                 /* Warm amber hover */
  color: #FFF8EB;                      /* Creamy ivory contrast */
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.6); /* Golden roast glow */
  transform: translateY(-1px);
}

/* Reduced footer padding for elegant bottom alignment */
.site-footer {
  padding: 18px 0;
}
