/* Peptide Forge - Industrial Manufacturing Theme */
:root {
  --steel-blue: #4682B4;
  --charcoal: #36454F;
  --copper: #B87333;
  --off-white: #F8F8F8;
  --light-gray: #E5E5E5;
  --dark-gray: #2C2C2C;
}

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

body {
  font-family: 'Work Sans', Arial, sans-serif;
  background: var(--off-white);
  color: var(--charcoal);
  line-height: 1.7;
}

/* Industrial Header */
.main-header {
  background: linear-gradient(to right, var(--charcoal) 0%, var(--steel-blue) 100%);
  color: white;
  padding: 1.5rem 0;
  border-bottom: 4px solid var(--copper);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1000;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: white;
}

.logo-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 0 8px var(--copper));
}

.logo-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.main-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.15);
  border-bottom: 2px solid var(--copper);
}

.main-nav a.has-dropdown {
  cursor: pointer;
}

/* Mega Menu Dropdown */
.dropdown-mega {
  display: none;
  position: fixed;
  top: 85px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-top: 4px solid var(--copper);
  border-bottom: 2px solid var(--steel-blue);
  z-index: 999;
}

.mega-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.mega-column h3 {
  font-family: 'Roboto Condensed', sans-serif;
  color: var(--steel-blue);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--copper);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.mega-column a {
  display: block;
  padding: 0.6rem 0.8rem;
  color: var(--charcoal);
  text-decoration: none;
  border-left: 3px solid transparent;
  padding-left: 1rem;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.mega-column a:hover {
  color: var(--steel-blue);
  border-left-color: var(--copper);
  background: rgba(70, 130, 180, 0.08);
  padding-left: 1.5rem;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem 4rem;
}

.page-header {
  background: linear-gradient(135deg, white 0%, var(--light-gray) 100%);
  padding: 3rem;
  margin-bottom: 2rem;
  border-radius: 8px;
  border-left: 8px solid var(--steel-blue);
  border-top: 2px solid var(--copper);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  position: relative;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, transparent 0%, rgba(70, 130, 180, 0.05) 100%);
  border-radius: 0 8px 0 0;
}

.spec-id {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  font-weight: 600;
}

.page-header h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 3rem;
  color: var(--steel-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.subtitle {
  color: #555;
  font-size: 1.15rem;
  font-weight: 500;
}

/* Article Content */
article {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--copper);
}

h2 {
  font-family: 'Roboto Condensed', sans-serif;
  color: var(--steel-blue);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 2.5rem 0 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--copper);
}

h3 {
  font-family: 'Roboto Condensed', sans-serif;
  color: var(--charcoal);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 2rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

p {
  margin: 1.2rem 0;
  color: #444;
  font-size: 1.05rem;
}

/* Process Flow Boxes */
.process-step {
  background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  border-left: 5px solid var(--steel-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.process-step h4 {
  font-family: 'Roboto Condensed', sans-serif;
  color: var(--steel-blue);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Quality Metrics Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: white;
  border: 2px solid var(--steel-blue);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

thead {
  background: linear-gradient(to right, var(--steel-blue) 0%, var(--charcoal) 100%);
  color: white;
  font-family: 'Roboto Condensed', sans-serif;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

th {
  padding: 1rem;
  text-align: left;
  font-weight: 700;
}

td {
  padding: 0.9rem 1rem;
  border: 1px solid #ddd;
  color: #555;
}

tr:nth-child(even) {
  background: #f9f9f9;
}

tr:hover {
  background: rgba(70, 130, 180, 0.08);
}

/* Spec Boxes */
.spec-box {
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  border-left: 5px solid var(--copper);
  background: linear-gradient(135deg, #FFF8F0 0%, white 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.spec-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--copper);
}

/* Compliance Warnings */
.compliance-note {
  padding: 1.2rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  border-left: 5px solid var(--steel-blue);
  background: #E6F2FF;
}

.compliance-note .note-label {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--steel-blue);
}

/* Links */
a {
  color: var(--steel-blue);
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  text-decoration: underline;
  color: var(--copper);
}

/* Lists */
ul, ol {
  margin: 1rem 0 1rem 2rem;
  color: #555;
}

li {
  margin: 0.6rem 0;
}

/* Footer */
footer {
  background: var(--charcoal);
  color: white;
  padding: 2.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--copper);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.95rem;
}

footer a {
  color: var(--copper);
}

footer a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 1024px) {
  .mega-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .mega-container {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 2rem;
  }
}
