/* ===============================
   JessiCo Web Design — Universal Styles
   =============================== */

/* 🌈 Theme Variables */
:root {
  --color-primary: #6b4e16;
  --color-accent: #d4a24f;
  --color-bg-light: #fffdf8;
  --color-bg-soft: #fdfaf6;
  --color-text: #333;
  --font-primary: 'Cormorant Garamond', serif;
  --font-secondary: 'Playfair Display', serif;
  --font-tertiary: 'Lora', serif;
}

/* 🧱 Base Styles */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #ffffff;
  color: var(--color-text);
}

.container {
  display: flex;
  min-height: 100vh;
}


.module {
  position: relative;
  padding: 2em 1em;
  margin-bottom: 2em;
  background-color: #fffef9;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(212, 162, 79, 0.3);
  border: 2px solid transparent;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}

.module:hover {
  box-shadow: 0 0 20px rgba(212, 162, 79, 0.6);
  border-color: var(--color-accent);
}



/* 🧭 Sidebar */
#sidebar {
  width: 250px;
  background: #f0f0f0;
  padding: 1em;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

#logo {
  width: 100%;
  height: auto;
  margin-bottom: 1em;
}

/* 🌟 Tagline */
#tagline {
  text-align: center;
  margin-bottom: 2em;
  color: var(--color-primary);
}

.line1 {
  font-family: var(--font-secondary);
  font-size: 1.8em;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(212, 162, 79, 0.6);
  letter-spacing: 1px;
  margin-bottom: 0.2em;
  display: block;
}

.line2 {
  font-family: var(--font-primary);
  font-size: 1.2em;
  font-style: italic;
  opacity: 0.85;
  color: #5a3c1a;
  text-shadow: 0 0 6px rgba(212, 162, 79, 0.4);
  display: block;
}

/* 🧭 Sidebar Navigation Base */
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--color-text);
  font-size: 1.3em;
  font-weight: 600;
  font-family: var(--font-primary);
  padding: 0.6em 1em;
  display: block;
  border-radius: 6px;
  background-color: var(--color-bg-light);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-soft);
  box-shadow: 0 0 10px rgba(212, 162, 79, 0.6);
  border-color: var(--color-accent);
}

.nav-link.active {
  color: #fff;
  background-color: var(--color-accent);
  box-shadow: 0 0 12px rgba(212, 162, 79, 0.9);
  border-color: var(--color-accent);
}

/* 🌳 Oak Tree Emblem */
#oak-tree {
  display: block;
  margin: 2em auto 0 auto;
  max-width: 140px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 0 6px rgba(212, 162, 79, 0.5));
  transition: transform 0.4s ease, filter 0.4s ease;
}

#oak-tree:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 14px rgba(212, 162, 79, 0.9));
}


@keyframes oakPulse {
  0%, 100% {
    filter: drop-shadow(0 0 6px rgba(212, 162, 79, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(212, 162, 79, 0.9));
  }
}

#oak-tree {
  animation: oakPulse 3s ease-in-out infinite;
}


/* 🧭 Responsive Layout */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  #sidebar {
    width: 100%;
    box-shadow: none;
    text-align: center;
    padding: 1em 0;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .header-left {
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
  }

  .header-nav {
    flex-direction: column;
    align-items: center;
    margin-top: 1em;
    gap: 0.5em;
  }

  .nav-link {
    display: inline-block;
    padding: 0.5em 1em;
    font-size: 1.1em;
  }

  .module {
    padding: 1.5em 1em;
  }

  .hero-image {
    max-width: 100%;
    height: auto;
  }

  .header-tagline,
  #tagline {
    font-size: 1.4em;
    padding: 0 1em;
  }

  .module-grid {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 1em;
  }
}



/* 🦶 Footer */
footer {
  background: #f0f0f0;
  padding: 1em;
  font-size: 1em;
  font-family: var(--font-primary);
  color: #555;
  border-top: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
}

.footer-content {
  flex: 1;
  text-align: center;
  padding: 0 1em;
}

.footer-content p {
  margin: 0.5em 0;
}

.footer-content a {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
}

/* ✨ Glow Divider */
.glow-divider {
  width: 80px;
  height: 4px;
  margin: 1em auto 2em auto;
  background-color: var(--color-accent);
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(212, 162, 79, 0.8);
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(212, 162, 79, 0.6); }
  50% { box-shadow: 0 0 16px rgba(212, 162, 79, 1); }
}

/* 🧱 Main Content */
main {
  flex: 1;
  padding: 2em 2em 2em 3em;
  background-color: var(--color-bg-light);
  border-left: 1px solid #e2d6c2;
  box-shadow: inset 0 0 20px rgba(212, 162, 79, 0.15);
  font-family: var(--font-primary);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2em 2em;
  background: linear-gradient(to right, var(--color-bg-light), var(--color-bg-soft));
  border-bottom: 2px solid var(--color-accent);
  box-shadow: 0 4px 12px rgba(212, 162, 79, 0.25);
  flex-wrap: wrap;
}

.site-header .header-left {
  display: flex;
  align-items: center;
  gap: 1em;
}

#jc-mini-logo {
  width: 60px;
  height: auto;
}

.header-text .site-name {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--color-primary);
}

.header-text .site-tagline {
  font-size: 1em;
  font-style: italic;
  color: #5a3c1a;
  opacity: 0.85;
}

.header-nav {
  display: flex;
  gap: 1em;
  margin-top: 1em;
}

.header-nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5em 1em;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.header-nav a:hover {
  background-color: var(--color-bg-soft);
  color: var(--color-primary);
}


.header-tagline {
  display: block;
  text-align: center;
  font-size: 1.6em;
  font-family: var(--font-primary);
  font-style: italic;
  color: var(--color-primary);
  margin-top: 1em;
  text-shadow: 0 0 8px rgba(212, 162, 79, 0.4);
  opacity: 0.9;
}


/* 📦 Sections */
.section {
  margin-bottom: 2em;
  padding: 2em;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(212, 162, 79, 0.15);
}

.section--highlight {
  background-color: #fff8f0;
  font-family: Georgia, serif;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(212, 162, 79, 0.15);
}

.section--highlight h2 {
  text-align: center;
  font-size: 1.8rem;
  color: #7a4c29;
  font-family: 'Playfair Display', serif;
}

.section--hero {
  text-align: left;
  padding: 2em 1em;
  background: linear-gradient(to bottom, var(--color-bg-light), var(--color-bg-soft));
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(212, 162, 79, 0.25);
  margin-bottom: 2em;
  font-family: var(--font-primary);
}

.section--hero h2 {
  font-family: var(--font-secondary);
  font-size: 2.5em;
  color: var(--color-primary);
  margin-bottom: 0.5em;
  text-shadow: 0 0 6px rgba(212, 162, 79, 0.4);
}

.section--hero p {
  font-family: var(--font-tertiary);
  font-size: 1.2em;
  color: #555;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5em;
}


.intro-block {
  background-color: #fff8f0;
  font-family: Georgia, serif;
  padding: 1.5em;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(212, 162, 79, 0.15);
  margin-bottom: 2em;
}


.module {
  text-align: center;
  padding: 2em 1em;
}

.hero-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(212, 162, 79, 0.25);
}




/* Grid layout for side-by-side modules */
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
}

/* Optional: make mission and why modules visually distinct */
.module#mission,
.module#why-we-do-this {
  background-color: #fffef9;
}


/* 🧠 Typography */

/* Center only section headings */
main h2 {
  font-family: var(--font-secondary);
  font-size: 2em;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 1em;
  text-shadow: 0 0 6px rgba(212, 162, 79, 0.4);
  letter-spacing: 0.5px;
}

/* Left-align all other text inside modules */
.module p,
.module li,
.module a,
.module .featured-card {
  text-align: left;
}

/* Link styling */
main a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-shadow: 0 0 4px rgba(212, 162, 79, 0.4);
}

main a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(212, 162, 79, 0.8);
  text-decoration: underline;
}
/* 🌟 Featured Links */
.featured-link {
  display: block;
  font-weight: bold;
  font-size: 1.2em;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 0.5em;
  text-shadow: 0 0 6px rgba(212, 162, 79, 0.6);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
.featured-link:hover {
  color: var(--color-accent);
  text-shadow: 0 0 12px rgba(212, 162, 79, 0.9);
}

/* 🌿 Featured List */
.featured-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.featured-list li {
  margin-bottom: 2em;
  padding: 1em;
  background-color: #fffef9;
  border-left: 4px solid var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(212, 162, 79, 0.15);
}

.featured-list p {
  font-family: var(--font-tertiary);
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
  margin-top: 0.5em;
}

/* 📄 Footer Disclaimer Link Glow */
footer a[href*="disclaimer"],
footer a[href*="privacy-policy"],
footer a[href*="annual-report"] {
  font-weight: 600;
  color: #333;
  background-color: var(--color-bg-light);
  padding: 0.4em 0.8em;
  border-radius: 6px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0.5em;
}

footer a[href*="disclaimer"]:hover,
footer a[href*="privacy-policy"]:hover,
footer a[href*="annual-report"]:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-soft);
  box-shadow: 0 0 10px rgba(212, 162, 79, 0.6);
  border-color: var(--color-accent);
}

.footer-tagline {
  margin-top: 1em;
  font-style: italic;
  font-family: var(--font-primary);
  color: var(--color-primary);
  text-shadow: 0 0 8px rgba(212, 162, 79, 0.6);
  animation: pulseGlow 2s infinite ease-in-out;
}

.calendar-list {
  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;
  column-gap: 2em;
  list-style: none;
  padding: 0;
  font-family: var(--font-tertiary);
  font-size: 1.1em;
  line-height: 1.6;
  color: #444;
}

.calendar-list li {
  margin-bottom: 1.5em;
  break-inside: avoid;
}

.map-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

.map-image {
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.map-description {
  flex: 1;
  min-width: 300px;
}

.map-character-list li {
  margin-bottom: 0.5rem;
}



.character-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5em;
  align-items: flex-start;
}

.character-image {
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(212, 162, 79, 0.25);
}

.profile-text {
  flex: 1;
  min-width: 250px;
}

.download-link {
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: none;
  text-shadow: 0 0 4px rgba(212, 162, 79, 0.4);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.download-link:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px rgba(212, 162, 79, 0.8);
  text-decoration: underline;
}

.source-note {
  margin-top: 1em;
  font-style: italic;
  color: #666;
}

.reader-controls {
  margin: 1em 0;
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
}

.reader-controls button {
  background-color: var(--color-bg-soft);
  color: var(--color-primary);
  border: 2px solid var(--color-accent);
  border-radius: 6px;
  padding: 0.5em 1em;
  font-size: 1em;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.reader-controls button:hover {
  background-color: var(--color-accent);
  color: #fff;
  box-shadow: 0 0 10px rgba(212, 162, 79, 0.6);
}

.login-area {
  margin-top: 2em;
  padding: 1em;
  background-color: var(--color-bg-soft);
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(212, 162, 79, 0.2);
}

.login-form h3 {
  margin-bottom: 0.5em;
  font-size: 1.2em;
  color: var(--color-primary);
}

.login-form label {
  display: block;
  margin-top: 0.5em;
  font-weight: bold;
  font-size: 0.95em;
}

.login-form input {
  width: 100%;
  padding: 0.5em;
  margin-top: 0.25em;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-primary);
}

.login-form button {
  margin-top: 1em;
  width: 100%;
  padding: 0.6em;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-form button:hover {
  background-color: var(--color-primary);
}

.login-links {
  margin-top: 1em;
  text-align: center;
  font-size: 0.9em;
}

.login-links a {
  color: var(--color-primary);
  text-decoration: none;
  margin: 0 0.5em;
  transition: color 0.3s ease;
}

.login-links a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.character-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-top: 1em;
  justify-content: center;
}

.character-column {
  flex: 1 1 250px;
  list-style: none;
  padding: 0;
}

.character-column li {
  margin-bottom: 0.5em;
}

.character-column a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: bold;
  transition: color 0.3s ease;
}

.character-column a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

