/* ─────────────────────────────
  GLOBAL BASE STYLES
───────────────────────────── */
body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* ─────────────────────────────
  HEADER & NAVIGATION
───────────────────────────── */
header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  flex-wrap: wrap;
}

header .logo img {
  height: 60px;
  max-width: 100%;
}

.site-title {
  font-size: 2rem;
  margin: 0;
}

.tagline {
  font-size: 1rem;
  color: #777;
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.navigation li {
  list-style: none;
}

.navigation a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.navigation a:hover {
  background-color: #ddd;
}

.header-extras {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
  background-color: #fff;
}

.search-bar input {
  border: none;
  outline: none;
  padding: 5px;
  font-size: 14px;
}

.search-bar button {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}

.waffle-icon {
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.waffle-icon:hover {
  background-color: #ddd;
}

/* ─────────────────────────────
  D.D. ANIM
───────────────────────────── */
.mascot-wrapper {
  position: relative;
  overflow: hidden;
}

.mascot-image {
  animation: bounceInBox 4s ease-in-out infinite;
}

@keyframes bounceInBox {
  0%, 100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

/* ─────────────────────────────
  PLAYLIST STUFF
───────────────────────────── */

.music-player {
    background-color: #1c1224; /* Postboy dark purple */
  border-radius: 12px;
  padding: 16px;
  max-width: 500px;
  margin: 0 auto 2rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 1.5rem;
  color: white;
}

.track-info {
  margin-top: 0.5rem;
  font-style: italic;
  text-align: center;
  color: #c1abf7;
}

.music-player audio {
  width: 100%;
  outline: none;
  border-radius: 6px;
  background-color: #f5f5f5;
}

.track-info {
  color: #ffffff;
  font-family: 'Georgia', serif;
  font-size: 1rem;
  text-align: center;
  background-color: #c1abf7;
  padding: 6px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .music-player {
    max-width: 90%;
  }
}

/* ─────────────────────────────
  MAIN ABOUT PAGE CONTENT
───────────────────────────── */
.about-main {
  max-width: 1000px;
  margin: 30px auto;
  padding: 0 20px;
}

.caption-above, .caption-below {
  text-align: center;
  font-style: italic;
  color: #666;
  margin: 10px 0;
}

.mascot-wrapper {
  display: flex;
  gap: 30px;
  align-items: center;
  flex-wrap: wrap;
  margin: 20px 0;
}

.mascot-image {
  max-width: 300px;
  border: 2px solid #ddd;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-radius: 8px;
}

.mascot-bio {
  flex: 1;
  min-width: 250px;
}

.founding-story {
  margin-top: 50px;
}

.founding-story h2 {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 20px;
}

.founding-story p {
  margin-bottom: 20px;
  text-align: justify;
}

.flourish {
  text-align: center;
  font-size: 1.5em;
  color: #aaa;
  margin-top: 30px;
}

.dotted-divider {
  border: none;
  border-top: 2px dotted #bbb;
  margin: 40px 0;
}

.note {
  position: absolute;
  left: -250px;
  top: 0;
  font-size: 0.85em;
  color: #666;
  max-width: 140px;
  background-color: #f9f9f9;
  padding: 5px;
  border-left: 2px solid #ddd;
}

/* ─────────────────────────────
  TRENDING NEWS SIDEBAR
───────────────────────────── */
.sidebar {
  flex: 1;
  background-color: #fff;
  margin-left: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sidebar h2 {
  margin-top: 0;
  font-size: 1.4em;
}

.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar li {
  margin-bottom: 15px;
}

.sidebar a {
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
}

.sidebar a:hover {
  text-decoration: underline;
}

.sidebar .meta {
  font-size: 0.9em;
  color: #666;
  margin-top: 5px;
}

.sidebar li:hover .meta {
  color: #333;
}


/* ─────────────────────────────
  SHARE BAR
───────────────────────────── */
.share-bar {
  position: fixed;
  top: 30%;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  background-color: #c1abf7; /* Signature color */
  border-radius: 0 10px 10px 0;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

.share-bar .share-label {
  color: black;
  font-size: 14px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: monospace;
  font-weight: bold;
}

.share-bar a img {
  width: 28px;
  height: 28px;
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: grayscale(0) brightness(0) contrast(100%);
}

.share-bar a:hover img {
  transform: scale(1.2);
  filter: brightness(0.5) drop-shadow(0 0 3px white);
}

/* ─────────────────────────────
  FOOTER
───────────────────────────── */
.footer {
  text-align: center;
  background-color: #fff;
  padding: 10px 0;
  border-top: 1px solid #ddd;
  margin-top: 40px;
}

/* ─────────────────────────────
  RESPONSIVE
───────────────────────────── */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .navigation ul {
    flex-direction: column;
    gap: 10px;
  }

  .mascot-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .mascot-image {
    max-width: 90%;
  }
}
