* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Pretendard', sans-serif; line-height: 1.6; color: #111; background: #fff; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.full-width { max-width: 1600px; }

#main-header { position: fixed; top: 0; width: 100%; z-index: 1000; transition: 0.4s; padding: 30px 50px; }
#main-header.scrolled { background: #fff; padding: 15px 50px; border-bottom: 1px solid #eee; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 26px; font-weight: 800; color: #fff; }
#main-header.scrolled .logo { color: #000; }
.nav-links { display: flex; list-style: none; }
.nav-links a { color: #fff; text-decoration: none; margin-left: 35px; font-weight: 600; font-size: 14px; }
#main-header.scrolled .nav-links a { color: #333; }

.hero { position: relative; height: 100vh; background: #000; display: flex; align-items: center; justify-content: center; text-align: center; }
.video-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#main-video { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.hero-text { position: relative; z-index: 10; color: #fff; }
.hero-text h1 { font-size: 4.5rem; font-weight: 700; line-height: 1.2; }

#consultation { padding: 120px 0; background: #fff; }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 36px; margin-bottom: 10px; }
.form-container { max-width: 900px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-container input, .form-container select, .form-container textarea { width: 100%; padding: 15px; border: 1px solid #ddd; font-size: 15px; border-radius: 4px; }
.form-container textarea { height: 180px; grid-column: span 2; }
.privacy-agreement { margin: 15px 0 30px; font-size: 14px; color: #666; display: flex; align-items: center; gap: 10px; }
.submit-btn { width: 100%; padding: 18px; background: #1a1a1a; color: #fff; border: none; font-weight: 600; cursor: pointer; transition: 0.3s; }
.submit-btn:hover { background: #c9a45c; }

.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 40px; margin-top: 50px; }
.case-card { border: 1px solid #eee; overflow: hidden; background: #fff; transition: 0.3s; border-radius: 8px; }
.case-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.case-img { width: 100%; height: 240px; object-fit: cover; }
.case-text { padding: 30px; }
.case-text h3 { font-size: 20px; margin-bottom: 15px; }

.delete-btn { background: #ff4d4d; color: #fff; border: none; padding: 10px 15px; cursor: pointer; margin-top: 20px; border-radius: 4px; font-weight: bold; }

.modal { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); }
.modal-content { background: #fff; margin: 10% auto; padding: 40px; width: 90%; max-width: 500px; border-radius: 12px; }
.modal-content input, .modal-content textarea { width: 100%; margin-bottom: 15px; padding: 12px; border: 1px solid #ddd; }
.modal-content button { width: 100%; padding: 15px; background: #111; color: #fff; border: none; cursor: pointer; }

@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.2rem; }
    .form-grid { grid-template-columns: 1fr; }
    .form-container textarea { grid-column: span 1; }
    #main-header { padding: 20px; }
}