/* Create Task Guide Styles */
/* Using the website's existing CSS variables from modern.css */

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

.hero-section {
  background: radial-gradient(at top left, #4a00e0, transparent 70%),
              radial-gradient(at bottom right, #8e2de2, var(--background) 100%);
  color: var(--text-primary);
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 3rem;
  border-radius: var(--border-radius);
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: 'Dela Gothic One', cursive;
}

.hero-description {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  opacity: 0.9;
}

.overview-section {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.overview-section h2 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.overview-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.requirements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.requirement-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.12),
    0 1px 2px rgba(255, 255, 255, 0.24);
}

.requirement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-header {
  background: var(--accent-blue);
  color: white;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.card-header .material-symbols-rounded {
  font-size: 2rem;
}

.card-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.card-content {
  padding: 1.5rem;
}

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

.requirement-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.requirement-item:last-child {
  border-bottom: none;
}

.requirement-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: #10b981;
}

.requirement-item label {
  flex: 1;
  cursor: pointer;
  line-height: 1.5;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.requirement-item.completed label {
  color: #10b981;
  text-decoration: line-through;
  opacity: 0.7;
}

.progress-section {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.progress-section h3 {
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, var(--accent-blue));
  border-radius: 6px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-text {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.reset-button {
  background: #ef4444;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.reset-button:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.tips-section {
  margin-bottom: 3rem;
}

.tips-section h3 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tip-card {
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tip-card .material-symbols-rounded {
  font-size: 3rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.tip-card h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.tip-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.resources-section {
  margin-bottom: 3rem;
}

.resources-section h3 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.resource-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.resource-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-blue);
}

.resource-link .material-symbols-rounded {
  font-size: 2rem;
  color: var(--accent-blue);
}

.resource-link span:last-child {
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .container {
    padding: 1rem;
  }
  
  .requirements-grid {
    grid-template-columns: 1fr;
  }
  
  .tips-grid {
    grid-template-columns: 1fr;
  }
  
  .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .card-header {
    padding: 1rem;
  }
  
  .card-header h3 {
    font-size: 1.1rem;
  }
  
  .card-content {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
  }
  
  .overview-section h2 {
    font-size: 1.5rem;
  }
  
  .tips-section h3,
  .resources-section h3 {
    font-size: 1.5rem;
  }
}

/* Animation for completed items */
@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.requirement-item.completed input[type="checkbox"] {
  animation: checkmark 0.3s ease;
}

/* Additional styling to match website theme */
.requirement-card:hover {
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  background-color: rgba(255, 255, 255, 0.04);
}

.tip-card:hover {
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  background-color: rgba(255, 255, 255, 0.04);
}

.resource-link:hover {
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  background-color: rgba(255, 255, 255, 0.04);
} 