/* Main Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  padding: 40px 20px;
  color: white;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Navigation */
nav {
  background: white;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

nav h2 {
  text-align: center;
  margin-bottom: 20px;
  color: #667eea;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}

.week-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 20px;
  border-radius: 10px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.week-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.week-card h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.week-card p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Week Page Content */
.content-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.content-card h2 {
  color: #667eea;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #eee;
}

.content-card p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.back-link {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.back-link:hover {
  transform: translateX(-5px);
}

/* Comments Section */
.comments-section {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.comments-section h3 {
  color: #667eea;
  margin-bottom: 20px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  color: white;
  opacity: 0.8;
}

/* Week Navigation on Week Pages */
.week-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 2px solid #eee;
}

.week-nav a {
  color: #667eea;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.week-nav a:hover {
  color: #764ba2;
}

.week-nav a.disabled,
.week-nav span.disabled,
.week-nav .nav-disabled {
  color: #ccc;
  pointer-events: none;
}

/* Example Box */
.example-box {
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
  border-left: 4px solid #667eea;
  padding: 15px 20px;
  margin: 20px 0;
  border-radius: 0 10px 10px 0;
  font-style: italic;
}

/* Lists in content */
.content-card ul {
  margin: 15px 0 15px 25px;
  line-height: 1.8;
}

.content-card li {
  margin-bottom: 8px;
}

.content-card h3 {
  color: #764ba2;
  margin: 20px 0 10px 0;
}

/* Media container for images/GIFs/videos */
.media-container {
  text-align: center;
  margin: 20px 0;
}

.week-media {
  max-width: 100%;
  max-height: 350px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 20px 0;
  border-radius: 10px;
}

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

/* Responsive */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.8rem;
  }

  .week-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-card, .comments-section {
    padding: 20px;
  }
}
