/* ====== Aster Olsen Refined Theme ======
   Background: Cosmic Latte (#f8f4e3)
   Primary Text: Jet (#363537)
   Header: Teal (#36827f)
   Accent: Plum Web (#eb9fef)
   Links: Brown Sugar (#b07156)
*/

/* ====== Global Styles ====== */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f4e3; /* soft off-white background */
  color: #363537; /* dark gray text */
  line-height: 1.6;
  margin: 0;
}

/* ====== Navbar ====== */
.navbar, .navbar-default {
  background-color: #36827f !important; /* teal header */
  border-bottom: 3px solid #b07156; /* warm accent line */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-default .navbar-brand,
.navbar-default .navbar-nav > li > a {
  color: #f8f4e3 !important; /* light text for contrast */
  font-weight: 500;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-nav > li > a:hover {
  color: #eb9fef !important; /* plum hover */
  text-shadow: 0 0 8px rgba(235, 159, 239, 0.6);
}

/* ====== Headings ====== */
h1, h2, h3, h4 {
  color: #36827f; /* teal for structure */
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

/* ====== Main Content Area ====== */
.main-container {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #ffffff; /* white contrast block */
  border-radius: 10px;
  border: 1px solid rgba(176, 113, 86, 0.3);
  box-shadow: 0 0 15px rgba(54, 130, 127, 0.15);
}

/* ====== Links ====== */
a {
  color: #b07156; /* brown sugar */
  text-decoration: underline;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #eb9fef; /* plum accent */
  text-shadow: 0 0 6px rgba(235, 159, 239, 0.6);
}

/* ====== Bold Text ====== */
b, strong {
  color: #36827f; /* teal emphasis */
  font-weight: 600;
}

/* ====== Footer ====== */
footer {
  text-align: center;
  margin-top: 3rem;
  padding: 1rem;
  background-color: #eb9fef; /* plum footer */
  color: #363537;
  border-top: 3px solid #b07156;
  font-size: 0.95rem;
}

/* ====== Buttons ====== */
button, .btn {
  background-color: #36827f;
  color: #f8f4e3;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:hover, .btn:hover {
  background-color: #b07156; /* warm hover tone */
  color: #ffffff;
  transform: scale(1.05);
}

/* ====== Code blocks (R Markdown support) ====== */
pre, code {
  background-color: #ffffff;
  color: #363537;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  border: 1px solid rgba(54, 130, 127, 0.2);
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .main-container {
    padding: 1rem;
  }
}
