/* Cody Leet — Custom CSS (Tailwind handles most styling) */

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Prose / blog typography */
.prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.prose h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #2C1810;
}

.prose h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2C1810;
}

.prose a {
  color: #3A96B8;
  text-decoration: underline;
}

.prose a:hover {
  color: #2d7a96;
}

/* Phase checklist items */
.phase-item {
  border-left: 3px solid #C4A265;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.phase-item h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 0.5rem;
}

/* Toast notifications */
#toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 9999;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

#toast.show {
  opacity: 1;
  transform: translateY(0);
}

#toast.success {
  background-color: #3A96B8;
  color: white;
}

#toast.error {
  background-color: #dc2626;
  color: white;
}

/* Mobile menu transition */
#mobile-menu {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Resources dropdown */
.nav-dropdown {
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Sidebar category/archive links */
.sidebar-link {
  display: block;
  padding: 0.25rem 0;
  color: #3A96B8;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.sidebar-link:hover {
  color: #2d7a96;
}

/* Progress bar (for Spheria 2 under-development) */
.progress-bar {
  height: 8px;
  border-radius: 4px;
  background: #e5e7eb;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: #3A96B8;
  border-radius: 4px;
  transition: width 0.5s ease;
}
