/* Main Container */
.hdc1080-guide-container {
  max-width: 1000px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  padding: 0 15px;
}

/* Header */
.hdc1080-header {
  background: linear-gradient(135deg, #2196F3, #0D47A1);
  color: white;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.hdc1080-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hdc1080-header p {
  margin: 0;
  opacity: 0.9;
  font-size: 1.1rem;
}

/* Sections */
.hdc1080-section {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 2rem;
}

.hdc1080-section h2 {
  color: #2196F3;
  border-bottom: 2px solid #64B5F6;
  padding-bottom: 0.5rem;
  margin-top: 0;
}

.hdc1080-section h3 {
  color: #64B5F6;
  margin-top: 1.5rem;
}

/* Images */
.hdc1080-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Feature Cards */
.hdc1080-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.hdc1080-feature-card {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #64B5F6;
}

.hdc1080-feature-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
}

.hdc1080-icon {
  margin-right: 0.5rem;
  font-size: 1.2em;
}

/* Tables */
.hdc1080-specs {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.hdc1080-specs th, .hdc1080-specs td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.hdc1080-specs th {
  background: #E3F2FD;
  color: #2196F3;
  width: 30%;
}

.hdc1080-pin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.hdc1080-pin-table th {
  background: #2196F3;
  color: white;
}

.hdc1080-pin-table th, .hdc1080-pin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

/* Code Blocks */
.hdc1080-code {
  background: #f5f5f5;
  padding: 1rem;
  border-radius: 6px;
  overflow-x: auto;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.9em;
  line-height: 1.5;
  border-left: 4px solid #64B5F6;
  margin: 1rem 0;
}

/* Notes and Warnings */
.hdc1080-note {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #2196F3;
  margin: 1rem 0;
}

/* Pinout Layout */
.hdc1080-pinout {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
}

.hdc1080-pinout-diagram {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

/* Feature Grid */
.hdc1080-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.hdc1080-feature-box {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
}

/* Troubleshooting */
.hdc1080-troubleshooting {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.hdc1080-issue {
  background: #FFF3E0;
  padding: 1rem;
  border-radius: 6px;
  border-left: 4px solid #FFA000;
}

/* Footer */
.hdc1080-footer {
  margin-top: 2rem;
}

.hdc1080-projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.hdc1080-project-card {
  background: #E3F2FD;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hdc1080-header h1 {
    font-size: 1.5rem;
  }
  
  .hdc1080-pinout {
    flex-direction: column;
  }
  
  .hdc1080-pinout-diagram {
    min-width: 100%;
  }
  
  .hdc1080-features,
  .hdc1080-feature-grid,
  .hdc1080-troubleshooting,
  .hdc1080-projects {
    grid-template-columns: 1fr;
  }
}