body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  background: #1F1C1A; /* warm dark charcoal */
  color: #FAF3E0; /* soft ivory 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(199, 92, 51, 0.3);
}

.site-header {
  position: relative;
  text-align: center;
  background: #2B2522; /* deep warm brown-gray */
  height: 200px;
  border-bottom: 3px solid #C75C33; /* terracotta 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; /* faint background layer */
}

.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; /* ivory text */
  background: #3C3531; /* muted warm gray button */
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
}

.nav a:hover {
  background: #C75C33; /* terracotta hover */
  color: #fff;
  box-shadow: 0 0 10px rgba(199, 92, 51, 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 panel */
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(199, 92, 51, 0.15);
  transition: transform 0.3s ease;
  color: #E8E0D4;
}

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

.sidebar {
  flex: 1;
  padding: 20px;
  background: #3C3531; /* deep muted gray-brown */
  border-radius: 15px;
  border: 1px solid #4D403C;
  box-shadow: 0 0 20px rgba(199, 92, 51, 0.2);
  color: #FAF3E0;
  text-align: justify;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInRight 1.2s ease;
}

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

.sidebar:hover {
  transform: scale(1.002);
  box-shadow: 0 0 25px rgba(199, 92, 51, 0.35);
}

.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(212, 160, 23, 0.3);
  transition: transform 0.3s ease;
}

.sidebar img:hover {
  transform: rotate(5deg) scale(1.1);
}

.site-footer {
  background: #2B2522; /* match header tone */
  color: #FAF3E0;
  text-align: center;
  padding: 25px 0;
  margin-top: 50px;
  border-top: 3px solid #C75C33;
  animation: fadeIn 2s ease;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #D4A017;
  color: #fff;
  border: 2px solid #D4A017;
  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(212, 160, 23, 0.6);
}

.back-to-top:hover {
  background: #C75C33;
  color: #fff;
  box-shadow: 0 0 15px rgba(199, 92, 51, 0.8);
}

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

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

.sidebar a:hover {
  color: #FAF3E0;
}

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

/* Read More Button - Compact Version */
.btn {
  display: inline-block;
  background: #C75C33; /* terracotta button */
  color: #fff;
  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(199, 92, 51, 0.25);
  margin-top: 8px;
  letter-spacing: 0.4px;
}

.btn:hover {
  background: #D4A017; /* golden hover */
  color: #fff;
  box-shadow: 0 0 10px rgba(212, 160, 23, 0.5);
  transform: translateY(-1px);
}

.post-preview {
  border-bottom: 2px solid rgba(199, 92, 51, 0.5);
  padding-bottom: 25px;
  margin-bottom: 30px;
}

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

/* Metrolagu Network Footer Section (CulinaryQuest Theme) */
.metrolagu-network {
  background: none; /* inherit the deep brown-gray footer */
  color: #FAF3E0; /* soft ivory text for warmth */
  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: #D4A017; /* header accent */
  font-weight: 600;
  text-align: center;
}

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

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

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

.network-links a:hover {
  color: #D4A017; /* 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: #D4A017!important; /* Metrolagu.vin link */
  text-decoration: none !important;
  transition: opacity 0.3s ease;
}

/* Distinct, pill-styled copyright design (CulinaryQuest Theme) */
.site-footer .copyright {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  color: #D4A017;                      /* text */
  background: #1F1C1A;                 /* base */
  padding: 8px 22px;
  border: 1.5px solid rgba(212, 166, 90, 0.55); /* Desert gold border */
  border-radius: 999px;
  margin-top: 12px;
  margin-bottom: 4px;
  box-shadow: 0 2px 6px rgba(182, 106, 80, 0.35); /* Terracotta glow */
  transition: all 0.3s ease;
}

/* Hover tone and glow */
.site-footer .copyright:hover {
  background: #4D403C;                 /* Terracotta hover */
  color: #D4A017;                      /* contrast */
  box-shadow: 0 3px 10px rgba(212, 166, 90, 0.6); /* Desert gold glow */
  transform: translateY(-1px);
}

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