/* ------------------- COLOR PALETTE ------------------- */
:root {
  --morris-grey: #b7ad9a;  /* Morris Room Grey */
  --rojo-marron: #5e2f2a;  /* Rojo Marrón */
  --tungsten: #4a423e;     /* Tungsten */
  --rockweed: #4c3c44;     /* Rockweed */
}

/* ------------------- RESET ------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ------------------- BODY ------------------- */
body.home {
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  line-height: 1.6;
  background-color: #f5f2eb;
  min-height: 1500px;
  overflow-x: hidden;
  background-image: url('https://iili.io/KJ9ZNuR.jpg');
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
  background-position: top left;
  color: var(--rockweed);
}

/* ------------------- HEADER BUTTONS ------------------- */
.header-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  flex-wrap: wrap;
}

.header-buttons .nav-item {
  display: inline-block;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background-color: rgba(183, 173, 154, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-buttons .nav-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
}

.header-buttons .nav-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px auto;
}

.header-buttons .nav-item p {
  font-family: 'Playfair Display', serif;
  font-weight: bold;
  color: var(--rojo-marron);
  font-size: 18px;
  margin: 0;
}

/* ------------------- DIVIDER ------------------- */
.divider {
  text-align: center;
  margin: 30px 0;
}

.divider img {
  max-width: 300px;
  width: 80%;
  height: auto;
}

/* ------------------- MAIN CONTENT BOX ------------------- */
.content-box {
  max-width: 800px;
  margin: 0 auto 50px auto;
  padding: 40px;
  background-color: rgba(183, 173, 154, 0.95);
  border-radius: 15px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ------------------- SIDE BARS ------------------- */
.sidebar {
  position: fixed;
  top: 120px;
  width: 320px;  /* larger for more room */
  padding: 30px;
  border-radius: 15px;
  background-color: rgba(94, 47, 42, 0.95);
  color: var(--morris-grey);
  font-size: 18px;
  line-height: 1.6;
}

.left-sidebar {
  left: 20px;
}

.right-sidebar {
  right: 20px;
}

/* ------------------- PARAGRAPHS ------------------- */
p {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--morris-grey);
}

/* ------------------- HEADINGS ------------------- */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
}

h2, h3 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
}

/* ------------------- AUDIO EMBED ------------------- */
.audio-embed {
  margin: 20px 0;
  padding: 10px;
  background-color: rgba(94, 47, 42, 0.95);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.audio-embed iframe {
  width: 100% !important;
  max-width: 100%;
  height: 30px;
  border-radius: 6px;
  border: none;
}

/* ------------------- SCROLLING TITLE ------------------- */
.scrolling-title {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  box-sizing: border-box;
  margin-top: 10px;
}

.scrolling-title p {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-text 15s linear infinite;
  background-color: rgba(94, 47, 42, 0.95);
  color: #ffffff;
  font-weight: bold;
}

@keyframes scroll-text {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
