/* ==============================
   SPIRITUAL SECRETS — FULL CSS
   ============================== */

/* ----- RESET ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: "Georgia", serif;
  background: #faf7f0;
  color: #333;
  height: 100%;
}

/* ----- LAYOUT ----- */
.container {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  padding: 20px;
  gap: 20px;
}

/* ----- SIDEBAR ----- */
.sidebar {
  width: 260px;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.08);
  overflow: visible; /* No scrollbar */
  max-height: none;
}

.sidebar h2 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #774400;
}

.sidebar ul {
  list-style: none;
  padding-left: 0;
}

.sidebar li {
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #f8f4ea;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  font-size: 15px;
}

.sidebar li:hover {
  background: #f1e7d2;
}

.sidebar li.active {
  background: #d8c49a;
  font-weight: bold;
  color: #3b2a1a;
}

/* ----- CONTENT AREA ----- */

/* Justify all text inside the content area */
.content,
.content p,
.content section {
  text-align: justify;
  text-justify: inter-word;
}

/* Better formatting for text */

/* Better formatting for text */
.content p {
  margin-bottom: 16px;
  line-height: 1.75;
}

.content h1,
.content h2,
.content h3,
.content h4 {
  margin-top: 22px;
  margin-bottom: 12px;
  line-height: 1.3;
  color: #6b4f1d;
  font-weight: bold;
}

.content ul,
.content ol {
  margin: 16px 0;
  padding-left: 25px;
}

.content li {
  margin-bottom: 8px;
}


.content {
  flex: 1;
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.08);
  min-height: 600px;
}

.content section {
  display: none;
  line-height: 1.7;
  font-size: 17px;
}

.content section.active {
  display: block;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ----- FOOTER ----- */
.site-footer {
  background: #111;
  color: #eee;
  text-align: center;
  padding: 40px 20px;
  margin-top: 40px;
}

.footer-inner {
  max-width: 900px;
  margin: auto;
}

.footer-quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 20px;
}

.footer-links a {
  color: #d6b88f;
  margin: 0 10px;
  text-decoration: none;
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: #d6b88f;
  margin: 0 8px;
  text-decoration: none;
}

.marquee {
  margin-top: 20px;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-inner {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 12s linear infinite;
  color: #fceec5;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
  }

  .content {
    width: 100%;
  }
}
