/* =============================
   기본 초기화 + 폰트
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Noto Sans KR', sans-serif;
}

body {
  background-color: #edb6c2; /* 전체 배경 통일 */
  color: #111;
  line-height: 1.7;
  padding-bottom: 60px;
}

/* =============================
   헤더 (my.html 동일 스타일)
============================= */
header {
  background: rgba(255, 255, 255, 0.6); /* 반투명 */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  padding: 25px 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.1);

  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #111;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: #333;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: 0.25s;
}

nav a:hover {
  color: #d46aff;
  border-bottom: 2px solid #d46aff;
}

/* 반응형 */
@media (max-width: 900px) {
  header {
    flex-direction: column;
    gap: 10px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* =============================
   연구실 소개 타이틀
============================= */
.lab-title {
  text-align: center;
  margin: 60px 0 40px;
}

.lab-title h2 {
  font-size: 2.8rem;
  font-weight: 900;
  position: relative;
  display: inline-block;
}

.lab-title h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #111;
  margin-top: 10px;
}

/* =============================
   연구실 목록 (카드 그리드)
============================= */
.labs {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.labs div {
  background: white;
  border-radius: 20px;
  padding: 40px 20px;

  display: flex;
  justify-content: center;
  align-items: center;

  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transition: 0.25s;
  text-align: center;
}

.labs div:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.15);
}

.labs h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #111;
}

.labs a {
  color: #111;
  text-decoration: none;
}

.labs a:hover {
  color: #d46aff;
}

/* =============================
   푸터
============================= */
footer {
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px);
  padding: 20px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.1);
  margin-top: 80px;
  font-size: 0.95rem;
  color: #111;
}
