/* Footer */
.footer {
    background: var(--primary-dark);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--battleship-grey), transparent);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--warm-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.footer-tagline {
    color: #adb5bd;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    font-weight: 300;
}

.lab-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--accent-light);
    background: rgba(132, 132, 130, 0.1);
    padding: 0.5rem;
    border-radius: 2px;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--secondary-dark);
    border: 1px solid #444;
    border-radius: 2px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.social-link:hover {
    background: var(--battleship-grey);
    border-color: var(--battleship-grey);
    color: white;
    transform: translateY(-2px);
}

.footer-section h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--warm-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 2rem;
    text-align: center;
    color: #adb5bd;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', monospace;
}

/* Base footer grid (desktop) */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr; /* 3 columns */
  gap: 2rem;
}

/* Tablet: stack into 2 columns like About */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile: stack into 1 column like About */
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}