:root {
    --primary-color: #0A1423; /* Dark Navy */
    --primary-light: #1A2C46;
    --gold: #D4AF37;
    --gold-hover: #F1D570;
    --text-primary: #333333;
    --text-secondary: #777777;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Pretendard', sans-serif; color: var(--text-primary); line-height: 1.6; overflow-x: hidden; }
.serif { font-family: 'Noto Serif KR', serif; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; }
.bg-light { background: var(--bg-light); }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.w-100 { width: 100%; }
.mt-3 { margin-top: 1.5rem; }

.section-title { font-size: 40px; color: var(--primary-color); margin-bottom: 20px; }
.title-divider { width: 60px; height: 3px; background: var(--gold); margin: 0 auto 30px; }
.section-desc { font-size: 18px; color: var(--text-secondary); margin-bottom: 50px; }

/* Floating Quick Navigation */
.quick-nav {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-btn {
    background: var(--white);
    color: var(--primary-color);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #EEE;
}

.quick-btn:hover {
    background: var(--primary-color);
    color: var(--gold);
    transform: translateX(-5px);
}

.quick-btn .q-icon { font-size: 20px; margin-bottom: 2px; }
.quick-btn .q-text { font-size: 10px; font-weight: 700; }
.quick-btn.top-btn { background: var(--gold); color: var(--primary-color); margin-top: 10px; border-color: var(--gold); }
.quick-btn.top-btn:hover { background: var(--primary-color); color: var(--white); }

/* Buttons */
.btn { display: inline-block; padding: 16px 32px; font-size: 16px; font-weight: 500; border-radius: 4px; text-align: center; border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease; }
.btn-gold { background: var(--gold); color: var(--primary-color); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }
.btn-transparent { background: transparent; color: var(--white); border-color: var(--white); }
.btn-transparent:hover { background: var(--white); color: var(--primary-color); }
.btn-outline { border: 1px solid var(--white); padding: 10px 24px; border-radius: 4px; }
.btn-outline:hover { background: var(--gold); border-color: var(--gold); color: var(--primary-color) !important; }

/* Header */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 100; padding: 30px 0; color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 700; font-family: 'Noto Serif KR', serif; }
.logo span { color: var(--gold); }
.nav ul { display: flex; align-items: center; gap: 40px; }
.nav a { font-weight: 500; font-size: 16px; }
.nav a:hover { color: var(--gold); }
.mobile-menu-btn { display: none; font-size: 24px; cursor: pointer; }

/* Hero Section */
.hero { height: 100vh; min-height: 800px; background-size: cover; background-position: center; display: flex; align-items: center; color: var(--white); }
.hero-text { max-width: 800px; }
.subtitle { font-size: 16px; letter-spacing: 4px; color: var(--gold); margin-bottom: 20px; display: block; font-weight: 500; }
.hero-text h1 { font-size: 64px; line-height: 1.3; margin-bottom: 30px; }
.hero-text p { font-size: 20px; opacity: 0.9; margin-bottom: 50px; }
.hero-actions { display: flex; gap: 20px; }

/* About */
.about-grid { display: flex; align-items: center; gap: 80px; }
.about-text { flex: 1; }
.about-text h2 { font-size: 42px; color: var(--primary-color); line-height: 1.4; margin-bottom: 30px; }
.about-text .divider { width: 50px; height: 3px; background: var(--gold); margin-bottom: 30px; }
.about-text .desc { font-size: 18px; margin-bottom: 40px; }
.check-list li { font-size: 18px; margin-bottom: 15px; padding-left: 30px; position: relative; font-weight: 500; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: bold; }
.about-image { flex: 1; text-align: right; }
.about-image img { max-width: 100%; box-shadow: 20px 20px 0 var(--gold); }

/* Lawyers Profile */
.lawyer-profile { display: flex; gap: 50px; background: var(--white); padding: 50px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.lawyer-photo { flex: 0 0 300px; }
.placeholder-photo { width: 100%; height: 400px; background: linear-gradient(135deg, var(--primary-light), var(--primary-color)); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 24px; border-radius: 4px; }
.lawyer-info { flex: 1; }
.lawyer-info h3 { font-size: 32px; color: var(--primary-color); margin-bottom: 20px; border-bottom: 1px solid #EEE; padding-bottom: 20px; }
.lawyer-info .position { font-size: 18px; color: var(--text-secondary); margin-left: 10px; font-family: 'Pretendard', sans-serif; }
.quote { font-size: 20px; font-style: italic; color: #555; margin-bottom: 30px; padding-left: 20px; border-left: 4px solid var(--gold); }
.history li { font-size: 16px; margin-bottom: 12px; padding-left: 20px; position: relative; }
.history li::before { content: '▪'; position: absolute; left: 0; color: var(--gold); }

/* Practice Areas */
.practice { background: var(--primary-color); color: var(--white); }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.practice-card { background: var(--primary-light); padding: 40px 30px; border-top: 4px solid transparent; transition: all 0.3s ease; }
.practice-card:hover { border-top-color: var(--gold); transform: translateY(-5px); }
.practice-card .icon { font-size: 40px; margin-bottom: 20px; }
.practice-card h3 { font-size: 24px; margin-bottom: 15px; color: var(--gold); }
.practice-card p { font-size: 16px; opacity: 0.8; margin-bottom: 0; }

/* Success Cases */
.cases-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; border-bottom: 2px solid var(--primary-color); padding-bottom: 20px; }
.cases-header h2 { font-size: 36px; color: var(--primary-color); }
.btn-text { font-weight: 500; color: var(--text-secondary); }
.btn-text:hover { color: var(--gold); }
.case-item { display: flex; align-items: flex-start; padding: 30px 20px; border-bottom: 1px solid #EAEAEA; transition: background 0.3s; }
.case-item:hover { background: var(--white); box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.case-item .category { background: var(--primary-color); color: var(--gold); padding: 6px 16px; font-size: 14px; width: 120px; text-align: center; margin-right: 30px; margin-top: 5px; }
.title-wrap { flex: 1; }
.case-item .title { font-size: 22px; font-weight: 600; margin-bottom: 15px; color: var(--primary-color); }
.case-item .case-desc { color: var(--text-secondary); font-size: 16px; line-height: 1.6; }
.case-item .case-desc strong { color: var(--primary-color); }
.case-item .result { color: var(--danger, #D32F2F); font-weight: 700; font-size: 18px; margin-left: 30px; margin-top: 5px; }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #EEE; }
.faq-item .question { font-size: 20px; font-weight: 700; color: var(--primary-color); margin-bottom: 15px; padding-left: 30px; position: relative; }
.faq-item .question::before { content: 'Q.'; position: absolute; left: 0; color: var(--gold); font-family: 'Noto Serif KR', serif; }
.faq-item .answer { font-size: 16px; color: #555; padding-left: 30px; position: relative; line-height: 1.8; }
.faq-item .answer::before { content: 'A.'; position: absolute; left: 0; color: #AAA; font-family: 'Noto Serif KR', serif; font-weight: 700; }

/* Media / Press */
.media-banner { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.press-logo { font-size: 24px; font-weight: 900; color: #CCC; filter: grayscale(100%); transition: all 0.3s; }
.press-logo:hover { color: var(--primary-color); filter: grayscale(0%); }

/* Contact */
.contact-box { display: flex; background: var(--primary-color); color: var(--white); padding: 60px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.contact-info { flex: 1; padding-right: 60px; }
.contact-info h2 { font-size: 36px; margin-bottom: 20px; color: var(--gold); }
.contact-info p { font-size: 18px; opacity: 0.8; margin-bottom: 50px; }
.method { margin-bottom: 20px; }
.method .label { display: block; font-size: 14px; opacity: 0.7; margin-bottom: 5px; }
.method strong { font-size: 32px; font-family: 'Noto Serif KR', serif; }
.contact-form { flex: 1; background: var(--white); padding: 40px; color: var(--text-primary); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 16px; border: 1px solid #DDDDDD; margin-bottom: 20px; font-family: inherit; font-size: 16px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--primary-color); }

/* Footer */
.footer { background: #050A11; color: var(--text-secondary); padding: 60px 0; }
.footer-grid { display: flex; justify-content: space-between; }
.footer-logo { font-size: 24px; font-family: 'Noto Serif KR', serif; color: var(--white); margin-bottom: 20px; }
.footer-logo span { color: var(--gold); }
.footer-info p { margin-bottom: 10px; font-size: 14px; }
.copyright { margin-top: 30px; opacity: 0.5; }
.footer-links { display: flex; gap: 30px; align-items: flex-start; }
.footer-links a { color: var(--white); font-size: 14px; }
.footer-links a:hover { color: var(--gold); }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
.fade-in-up { animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
.fade-in-left { animation: fadeInLeft 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

/* Responsive */
@media (max-width: 900px) {
    .hero-text h1 { font-size: 48px; }
    .about-grid, .contact-box, .footer-grid, .lawyer-profile { flex-direction: column; gap: 40px; }
    .about-image { text-align: left; }
    .about-image img { box-shadow: 10px 10px 0 var(--gold); width: 100%; }
    .practice-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-info { padding-right: 0; }
    .nav ul { display: none; }
    .mobile-menu-btn { display: block; }
    .case-item { flex-direction: column; align-items: flex-start; gap: 15px; }
    .case-item .category { width: auto; display: inline-block; margin-bottom: 10px; margin-right: 0; }
    .case-item .result { margin-left: 0; }
    .quick-nav { display: none; /* Hide floating nav on small screens */ }
}

@media (max-width: 600px) {
    .hero-text h1 { font-size: 36px; }
    .practice-grid { grid-template-columns: 1fr; }
    .case-item .title { font-size: 18px; }
    .contact-box { padding: 30px 20px; }
    .contact-form { padding: 30px 20px; }
    .lawyer-photo { flex: auto; }
}
