/* Base styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  background: #f7f9fc;
  color: #222;
  line-height: 1.6;
}

header {
  background: #1f2933;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 2rem;
}

h2 {
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.3rem;
}

.fancy-hr {
  width: 50%;           /* how long the line is */
  margin: 2rem auto;    /* vertical spacing + center */
  border: 0;            /* remove default border */
  border-top: 2px solid #374151; /* custom line */
  border-radius: 2px;   /* slightly rounded edges */
}


/* =====================
   NAVBAR
   ===================== */

.navbar {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo a {
  font-weight: 700;
  font-size: 1.1rem;
  color: #1f2933;
  text-decoration: none;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.nav-links a:hover {
  color: #2563eb;
}

/* Active page */
.nav-links a.active {
  color: #2563eb;
  font-weight: 700;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 2px;
}

/* =====================
   FOOTER WORKSHOP NAVBAR
   ===================== */

.workshop-footer {
  background: #f9fafb;
  padding: 1.5rem 2rem;
  text-align: center;
}

/* Navigator links */
.workshop-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  font-weight: 500;
  margin-bottom: 1rem; /* space above HR */
}

.workshop-nav .nav-links a {
  text-decoration: none;
  color: #2563eb;
  transition: color 0.2s;
}

.workshop-nav .nav-links a:hover {
  color: #1e40af;
}

.workshop-nav .nav-links .disabled {
  color: #9ca3af;
  cursor: default;
}

/* Horizontal line */
/* .fancy-hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 1rem 0;
} */

/* Copyright */
.workshop-footer p {
  color: #6b7280; /* gray-500 */
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive: stack nav items on small screens */
@media (max-width: 600px) {
  .workshop-nav .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
}


/* =====================
   MOBILE MENU
   ===================== */

#nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile styles */
@media (max-width: 700px) {
  .nav-toggle-label {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    right: 0;
    background: white;
    flex-direction: column;
    width: 200px;
    border: 1px solid #e5e7eb;
    display: none;
  }

  .nav-links li {
    padding: 0.75rem 1rem;
  }

  #nav-toggle:checked + .nav-toggle-label + .nav-links {
    display: flex;
  }
}

/* =====================
   WORKSHOP LIST
   ===================== */
.workshop-list {
  list-style: none;
  padding: 0;
}

.workshop-list li {
  margin-bottom: 2rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.workshop-list li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.workshop-list li a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: #2563eb;
}

.workshop-list li a:hover {
  text-decoration: underline;
}

.workshop-list .instructor {
  font-style: italic;
  color: #555;
  margin: 0.25rem 0 0.5rem;
}

.workshop-list .blurb {
  margin: 0;
  color: #333;
}

/* Download box */
.download-box {
  background: #eef2ff;
  padding: 1.5rem;
  border-radius: 8px;
}

.download-btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.download-btn:hover {
  background: #1d4ed8;
}

/* =====================
   FOOTER
   ===================== */
footer {
  text-align: center;
  padding: 2rem 1rem;
  color: #555;
}

/* =====================
   WORKSHOP SECTIONS
   ===================== */
/* Workshop sections styling */
.workshop-overview,
.workshop-download,
.workshop-steps,
.workshop-video {
  background: #ffffff;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.workshop-overview p,
.workshop-download p,
.workshop-download ul,
.workshop-steps ol {
  margin: 0.5rem 0;
}

.workshop-download ul {
  padding-left: 1.2rem;
}

.workshop-steps ol {
  padding-left: 1.2rem;
}

.workshop-download li {
  margin-bottom: 0.5rem;
}

/* Video container for responsive videos */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}