/* Data engineering project listing and detail pages */
.de_hero_section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
}

.de_hero_section h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0;
}

.de_hero_section p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 700px;
  margin: 0 auto;
}

.de_projects_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.de_project_card {
  background: #1a1a2e;
  border: 1px solid #16213e;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.de_project_card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.2);
  transform: translateY(-5px);
}

.de_project_header {
  position: relative;
  overflow: hidden;
  height: 300px;
  background: #16213e;
}

.de_project_header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.de_project_card:hover .de_project_header img {
  transform: scale(1.05);
}

.de_project_content {
  padding: 40px;
}

.de_project_title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #667eea;
}

.de_project_desc {
  font-size: 1.05rem;
  color: #cccccc;
  margin-bottom: 25px;
  line-height: 1.6;
}

.de_tech_stack,
.de_features {
  margin-bottom: 30px;
}

.de_tech_label,
.de_features_label,
.de_flowchart_label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #667eea;
  margin-bottom: 12px;
  display: block;
}

.de_tech_items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.de_tech_badge {
  background: #16213e;
  border: 1px solid #667eea;
  color: #667eea;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

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

.de_features_list li {
  padding: 8px 0 8px 25px;
  color: #cccccc;
  position: relative;
}

.de_features_list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: #667eea;
  font-weight: bold;
  font-size: 1.1rem;
}

.de_flowchart {
  margin-top: 30px;
  border-top: 1px solid #16213e;
  padding-top: 25px;
}

.de_flowchart_img {
  width: 100%;
  border-radius: 8px;
  background: #16213e;
  padding: 10px;
}

.de_project_meta {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid #16213e;
}

.de_meta_item {
  flex: 1;
}

.de_meta_label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #667eea;
  margin-bottom: 5px;
}

.de_meta_value {
  font-size: 0.95rem;
  color: #cccccc;
}

.de_back_button {
  display: inline-block;
  margin: 40px 0;
  padding: 12px 30px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.de_back_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  color: #ffffff;
}

.de_section_title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #ffffff;
}

.de_section_title span {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a[href*="details.html"] {
  text-decoration: none !important;
  color: inherit;
  display: block;
}

.project_header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 0;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.project_header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.project_header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.project_header_meta {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.project_header_item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.project_header_item span {
  font-size: 0.9rem;
  opacity: 0.95;
}

.project_container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.project_section {
  margin: 60px 0;
}

.project_section_title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  color: #ffffff;
  position: relative;
  padding-bottom: 15px;
}

.project_section_title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 2px;
}

.project_overview_text {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.8;
  margin-bottom: 20px;
}

.project_image {
  width: 100%;
  border-radius: 8px;
  margin: 30px 0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.project_architecture {
  background: #16213e;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  margin: 20px 0;
}

.project_architecture h4 {
  color: #667eea;
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.project_architecture_text {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.7;
  font-family: "Monaco", "Menlo", monospace;
}

.project_flowchart {
  background: #16213e;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin: 30px 0;
}

.project_flowchart_img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  background: #0f1419;
  padding: 20px;
}

.features_grid,
.tech_grid,
.results_grid {
  display: grid;
  gap: 20px;
  margin: 30px 0;
}

.features_grid {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.tech_grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.results_grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature_card,
.tech_card,
.result_item {
  background: #16213e;
  border: 1px solid #2a3f5f;
  border-radius: 8px;
}

.feature_card {
  padding: 20px;
  transition: all 0.3s ease;
}

.feature_card:hover {
  border-color: #667eea;
  background: #1a2744;
  transform: translateY(-5px);
}

.feature_card h5,
.tech_card h5 {
  color: #667eea;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1rem;
}

.feature_card p,
.tech_card p {
  color: #aaaaaa;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

.tech_card {
  padding: 25px;
}

.component_list {
  list-style: none;
  padding: 0;
}

.component_list li {
  padding: 12px 0;
  border-bottom: 1px solid #2a3f5f;
  color: #cccccc;
  display: flex;
  align-items: center;
  gap: 15px;
}

.component_list li:last-child {
  border-bottom: none;
}

.component_list li::before {
  content: ">";
  color: #667eea;
  font-weight: bold;
  min-width: 20px;
}

.action_buttons {
  display: flex;
  gap: 15px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.btn_github,
.btn_back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn_github {
  background: #16213e;
  border: 2px solid #667eea;
  color: #667eea;
}

.btn_github:hover {
  background: #667eea;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn_back {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.btn_back:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
  color: #ffffff;
}

.code_block {
  background: #0f1419;
  border: 1px solid #2a3f5f;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  font-family: "Courier New", "Monaco", "Menlo", monospace;
  font-size: 0.9rem;
  color: #a0aec0;
  white-space: pre-wrap;
  word-wrap: break-word;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.setup_steps {
  list-style: none;
  padding: 0;
  counter-reset: step;
}

.setup_steps li {
  padding: 15px 0 15px 40px;
  position: relative;
  color: #cccccc;
  line-height: 1.6;
  border-bottom: 1px solid #2a3f5f;
}

.setup_steps li:last-child {
  border-bottom: none;
}

.setup_steps li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  width: 30px;
  height: 30px;
  background: #667eea;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.section_subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin: 25px 0 15px;
}

.result_item {
  padding: 20px;
  text-align: center;
}

.result_number {
  font-size: 2rem;
  font-weight: 700;
  color: #667eea;
}

.result_label {
  color: #aaaaaa;
  font-size: 0.9rem;
  margin-top: 10px;
}

.data_lake_table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #16213e;
  border-radius: 8px;
  overflow: hidden;
}

.data_lake_table th {
  background: #667eea;
  color: #ffffff;
  padding: 12px;
  text-align: left;
  font-weight: 600;
}

.data_lake_table td {
  padding: 12px;
  border-bottom: 1px solid #2a3f5f;
  color: #cccccc;
}

.data_lake_table tr:hover {
  background: #1a2744;
}

.schema_diagram {
  background: #16213e;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #667eea;
  margin: 20px 0;
}

.schema_diagram h5 {
  color: #667eea;
  font-weight: 700;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .de_hero_section h1 {
    font-size: 2rem;
  }

  .de_hero_section p {
    font-size: 1rem;
  }

  .de_project_header {
    height: 200px;
  }

  .de_project_content {
    padding: 25px;
  }

  .de_project_title {
    font-size: 1.3rem;
  }

  .de_project_meta,
  .project_header_meta,
  .action_buttons {
    flex-direction: column;
  }

  .de_tech_items {
    gap: 8px;
  }

  .de_tech_badge {
    padding: 5px 12px;
    font-size: 0.8rem;
  }

  .project_header h1 {
    font-size: 1.8rem;
  }

  .project_header_meta {
    gap: 15px;
  }

  .btn_github,
  .btn_back {
    width: 100%;
    justify-content: center;
  }

  .tech_grid,
  .features_grid {
    grid-template-columns: 1fr;
  }
}
