/* Pretendard 폰트 및 기본 설정 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root { --bg: #ffffff; --text: #111111; --gray: #888; --border: #eeeeee; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: 'Pretendard', sans-serif; line-height: 1.6; word-break: keep-all; }

/* 네비게이션: 저스트뉴욕 스타일의 상단 고정 */
nav { padding: 40px 50px; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: rgba(255,255,255,0.9); z-index: 100; backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.logo { font-weight: 900; font-size: 20px; letter-spacing: -1px; text-decoration: none; color: #000; }
.menu a { text-decoration: none; color: var(--gray); margin-left: 30px; font-size: 14px; font-weight: 600; transition: 0.3s; }
.menu a:hover, .menu a.active { color: #000; }

/* 공통 섹션 */
section { padding: 100px 50px; min-height: 80vh; max-width: 1400px; margin: 0 auto; }
h2 { font-size: 32px; font-weight: 800; margin-bottom: 40px; letter-spacing: -1.5px; }

/* HOME 섹션 */
.hero { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.hero-content { flex: 1.2; }
h1 { font-size: 5vw; line-height: 1.1; font-weight: 800; letter-spacing: -3px; margin: 0; }
.desc { margin-top: 30px; font-size: 18px; color: var(--gray); max-width: 500px; }
.hero-image { flex: 1; height: 550px; background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1000&q=80') center/cover; border-radius: 2px; }

/* WORKS 섹션 (이미지 연결 핵심) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.work-item { aspect-ratio: 16/10; position: relative; text-decoration: none; overflow: hidden; display: flex; align-items: flex-end; padding: 30px; transition: 0.4s ease; border: 1px solid var(--border); }
.work-item span { color: #fff; font-weight: 700; font-size: 18px; z-index: 2; opacity: 0; transform: translateY(20px); transition: 0.4s; }
.work-item::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.4); opacity: 0; transition: 0.4s; z-index: 1; }

.work-item:hover::after, .work-item:hover span { opacity: 1; transform: translateY(0); }
.work-item:hover { transform: translateY(-10px); }

/* 개별 이미지 연결 (이 부분이 사진이 안 나오던 원인 해결책입니다) */
.w1 { background: url('https://images.unsplash.com/photo-1522542550221-31fd19575a2d?auto=format&fit=crop&w=800&q=80') center/cover; }
.w2 { background: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?auto=format&fit=crop&w=800&q=80') center/cover; }
.w3 { background: url('https://images.unsplash.com/photo-1609921212029-bb5a28e60960?auto=format&fit=crop&w=800&q=80') center/cover; }

/* CONTACT 섹션 */
.contact-container { max-width: 600px; }
form { display: flex; flex-direction: column; gap: 25px; margin-top: 40px; }
input, textarea { border: none; border-bottom: 2px solid var(--border); padding: 15px 0; font-size: 16px; outline: none; font-family: inherit; transition: 0.3s; }
input:focus, textarea:focus { border-bottom: 2px solid #000; }
button { background: #000; color: #fff; border: none; padding: 25px; font-weight: 700; cursor: pointer; transition: 0.3s; font-size: 16px; margin-top: 20px; }
button:hover { background: #333; }

/* 모바일 대응 */
@media (max-width: 768px) {
    nav { padding: 20px; }
    h1 { font-size: 42px; }
    .hero { flex-direction: column; text-align: center; }
    .hero-image { width: 100%; height: 350px; }
    .grid { grid-template-columns: 1fr; }
    section { padding: 60px 20px; }
}