body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  background: #1C1C1C; /* Charcoal */
  color: #EAEAEA; /* Soft white 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(201,167,74,0.3); /* Gold glow */
}

.site-header {
  position: relative;
  text-align: center;
  background: #2F2F2F; /* Graphite */
  height: 200px;
  border-bottom: 3px solid #C9A74A; /* Gold border */
  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: 30px;
  padding-left: 30px;
  animation: fadeIn 2s ease;
}

.logo {
  height: 150px;
}

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

.nav a {
  color: #EAEAEA;
  background: #2F2F2F;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav a:hover {
  background: #C9A74A;
  color: #1C1C1C;
  box-shadow: 0 0 10px rgba(201,167,74,0.6);
}

.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: #2A2A2A;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(201,167,74,0.1);
  transition: transform 0.3s ease;
}

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

.sidebar {
  flex: 1;
  padding: 20px;
  background: linear-gradient(160deg, #2F2F2F, #1C1C1C);
  border-radius: 15px;
  border: 3px solid transparent;
  border-image: linear-gradient(to right, #C9A74A, #B0B0B0) 1;
  box-shadow: 0 0 20px rgba(201,167,74,0.15);
  color: #EAEAEA;
  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.003);
  box-shadow: 0 0 25px rgba(201,167,74,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(201,167,74,0.25);
  transition: transform 0.3s ease;
}

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

.site-footer {
  background: #2F2F2F;
  color: #C9A74A;
  text-align: center;
  padding: 25px 0;
  margin-top: 50px;
  border-top: 3px solid #C9A74A;
  animation: fadeIn 2s ease;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #2F2F2F;
  color: #EAEAEA;
  border: 2px solid #C9A74A;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  font-size: 26px;
  cursor: pointer;
  z-index: 1000;
  transition: all 0.3s ease;
}

.back-to-top:hover {
  background: #C9A74A;
  color: #1C1C1C;
  box-shadow: 0 0 15px rgba(201,167,74,0.5);
}

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

/* Sidebar links */
.sidebar a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

/* Metrolagu Network Footer Section (StyleMens Theme) */
.metrolagu-network {
  background: none; /* inherit footer’s background */
  color: #EAEAEA; /* soft white for clean 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: #C9A74A; /* gold accent for elegant contrast */
  font-weight: 600;
  text-align: center;
}

.metrolagu-network p {
  color: #EAEAEA; /* white-gray text to match site body */
  margin-bottom: 10px;
  line-height: 1.7;
  text-align: center;
}

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

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

.network-links a:hover {
  color: #C9A74A; /* gold hover accent */
  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; /* gold for brand coherence */
  text-decoration: none !important;
  transition: opacity 0.3s ease;
}

/* Distinct, pill-styled copyright design (StyleMens Theme) */
.site-footer .copyright {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  color: #FAF3E0;                      /* Ivory Cream text */
  background: #3A3A3A;                 /* Charcoal background */
  padding: 8px 22px;
  border: 1.5px solid rgba(212, 175, 55, 0.45); /* Soft Gold border */
  border-radius: 999px;
  margin-top: 12px;
  margin-bottom: 4px;
  box-shadow: 0 2px 6px rgba(224, 122, 95, 0.35); /* Burnt Sienna glow */
  transition: all 0.3s ease;
}

/* Hover tone and accent glow */
.site-footer .copyright:hover {
  background: #722F37;                 /* Deep Burgundy hover */
  color: #FAF3E0;                      /* Burnt Sienna text */
  box-shadow: 0 3px 10px rgba(212, 175, 55, 0.5); /* Soft Gold glow */
  transform: translateY(-1px);
}

/* Slightly tighter footer padding for close grounding */
.site-footer {
  padding: 18px 0;
}
