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

body {
  background: #000;
  color: #fff;
  font-family: 'Pretendard', sans-serif;
  overflow-x: hidden;
}

/* 헤더 */
header {
  position: fixed;
  width: 100%;
  height: 80px;
  background: #000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  z-index: 1000;
  border-bottom: 1px solid #222;
}

.logo img {
  height: 55px;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 40px;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero{
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slides{
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform .8s ease;
}

.slide{
  flex: 0 0 100%;
  height: 100%;
}

.hero-grid{
  display: flex;
  height: 100%;
}

.hero-grid img{
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

/* 모바일 */
/* 모바일에서는 1분할(한 장만 풀프레임) */
@media (max-width: 768px){
  .hero-grid{
    flex-direction: row;   /* ✅ 다시 가로로 */
  }

  .hero-grid img{
    width: 100%;
    height: 100%;
  }

  /* ✅ 모바일에서는 첫 번째 사진 숨기고 두 번째 사진만 보여줌 */
  .hero-grid img:first-child{
    display: none;
  }

  .hero-grid img:last-child{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* 얼굴 위치 필요하면 조절 */
  }
}