/* ===== 기본 설정 & 변수 ===== */
:root {
    --primary-color: #0a192f; /* 깊은 바다색 */
    --accent-color: #ffd700; /* 진취적인 느낌의 골드 옐로우 */
    --text-light: #ccd6f6;
    --text-dark: #333;
    --bg-light: #f4f4f4;
    --nav-height: 70px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Pretendard', sans-serif; line-height: 1.6; color: var(--text-dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 40px; color: var(--primary-color); }
.btn { display: inline-block; padding: 12px 30px; border-radius: 5px; font-weight: bold; transition: 0.3s; border: none; cursor: pointer; }
.btn-primary { background: var(--accent-color); color: var(--primary-color); }
.btn-primary:hover { background: #e6c200; transform: translateY(-3px); }

/* ===== 내비게이션 ===== */
header { position: fixed; width: 100%; top: 0; left: 0; background: rgba(10, 25, 47, 0.95); z-index: 100; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.navbar { display: flex; justify-content: space-between; align-items: center; height: var(--nav-height); }
.logo-placeholder { width: 150px; /* 로고 자리 확보 */ } 
.nav-menu { display: flex; gap: 30px; }
.nav-link { color: var(--text-light); font-weight: 500; transition: 0.3s; }
.nav-link:hover { color: var(--accent-color); }
.hamburger { display: none; cursor: pointer; }
.bar { display: block; width: 25px; height: 3px; background-color: #fff; margin: 5px auto; transition: 0.3s; }

/* ===== 히어로 섹션 (이미지) ===== */
#hero { 
    position: relative; 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: #fff; 
    overflow: hidden; 
}
.hero-bg-image { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    z-index: -2;
}
.hero-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: rgba(10, 25, 47, 0.6); 
    z-index: -1; 
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 { font-size: 4rem; font-weight: 800; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; margin-bottom: 30px; color: var(--text-light); max-width: 600px; margin-left: auto; margin-right: auto; }


/* ===== 프로젝트 섹션 ===== */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.project-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s; }
.project-card:hover { transform: translateY(-10px); }
.card-image img { width: 100%; height: 250px; object-fit: cover; }
.card-info { padding: 25px; }
.card-info h3 { margin-bottom: 10px; color: var(--primary-color); }

/* ===== Contact 폼 ===== */
.bg-light { background: var(--bg-light); }
.contact-container { max-width: 600px; text-align: center; }
.section-desc { margin-bottom: 30px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.form-group input, .form-group textarea { width: 100%; padding: 15px; border: 1px solid #ddd; border-radius: 5px; font-family: inherit; }
.form-group textarea { resize: none; }
.btn-full { width: 100%; }

/* ===== 푸터 ===== */
footer { background: var(--primary-color); color: var(--text-light); text-align: center; padding: 20px 0; }

/* ===== 반응형 (모바일) ===== */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .nav-menu { position: fixed; left: -100%; top: var(--nav-height); flex-direction: column; background: var(--primary-color); width: 100%; text-align: center; transition: 0.3s; box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); padding: 20px 0; }
    .nav-menu.active { left: 0; }
    .nav-item { margin: 15px 0; }
    .hero-content h1 { font-size: 2.5rem; }
}