/* ========================================
   법무법인 저스트 신민호 변호사 - Premium Styles
   ======================================== */

/* Root Variables */
:root {
    /* Premium Color Palette - Deep, Rich HDR Colors */
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-gold: #d4af37;
    --accent-red: #c41e3a;
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #b0b0b0;
    --bg-dark: #0f0f1e;
    --bg-card: #1e1e3f;
    --gradient-primary: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f1e 100%);
    --gradient-gold: linear-gradient(135deg, #f4e4c1 0%, #d4af37 50%, #b8860b 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(26, 26, 46, 0) 0%, rgba(15, 15, 30, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Noto Sans KR', sans-serif;
    --font-serif: 'Noto Serif KR', serif;
    
    /* Shadows - Studio Lighting Effect */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-hard: 0 12px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.3);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    object-fit: cover;
}

iframe {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Container */
.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    box-sizing: border-box;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(15, 15, 30, 0.98);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    filter: brightness(1.1) contrast(1.2);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
    text-transform: uppercase;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 30, 58, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
}

.gradient-text {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.3));
}

.hero-subtitle {
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-contact-info {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
    z-index: 2;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   Section Styles
   ======================================== */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   About Section
   ======================================== */
.about-section {
    background: var(--secondary-color);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(196, 30, 58, 0.03) 0%, transparent 50%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-image {
    position: relative;
}

.image-wrapper-clean {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.image-wrapper-clean img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.05) contrast(1.1);
}

.location-badge {
    margin-top: 2rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.location-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.location-image {
    width: 100%;
    height: auto;
    display: block;
}

.about-info {
    padding: 2rem 0;
}

.about-heading {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.about-slogan {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--accent-gold);
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.experience-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.2rem 1.5rem;
    background: rgba(212, 175, 55, 0.03);
    border-radius: 12px;
    border-left: 3px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.experience-past {
    opacity: 0.7;
}

.experience-current {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(196, 30, 58, 0.1) 100%);
    border-left: 4px solid var(--accent-gold);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
    transform: scale(1.02);
}

.experience-item i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.experience-current i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.experience-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.current-position {
    font-size: 1.3rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.experience-item span {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Specialist Section */
.specialist-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(22, 33, 62, 0.5) 100%);
    border-radius: 25px;
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.specialist-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(212, 175, 55, 0.3);
}

.specialist-title i {
    font-size: 2.5rem;
}

.specialist-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.specialist-intro h5,
.specialist-requirements h5,
.specialist-why h5 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.specialist-intro p,
.specialist-requirements p,
.specialist-why p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.highlight-text {
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent-gold);
    border-radius: 10px;
    margin-top: 1.5rem;
}

.emphasis {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1em;
}

.requirements-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.requirements-list li {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border-left: 3px solid var(--accent-gold);
}

.requirements-list i {
    font-size: 2rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.requirements-list strong {
    display: block;
    font-size: 1.15rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.requirements-list p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    background: rgba(212, 175, 55, 0.1);
}

.benefit-item i {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.benefit-item h6 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.specialist-cta {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(196, 30, 58, 0.15) 100%);
    border-radius: 20px;
    text-align: center;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
}

.cta-text i {
    color: var(--accent-gold);
    margin: 0 0.5rem;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.credential-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: transform 0.3s ease;
    background: var(--bg-card);
    padding: 1rem;
}

.credential-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.credential-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.credential-label {
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    background: var(--bg-dark);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow-glow);
}

.stat-item i {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   Practice Areas Section
   ======================================== */
.practice-section {
    background: var(--secondary-color);
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.practice-card {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
}

/* Link styling for practice cards */
.practice-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.practice-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

/* Naver Blog Badge */
.naver-blog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.8rem;
    background: #03C75A;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 2px 10px rgba(3, 199, 90, 0.3);
    transition: all 0.3s ease;
    z-index: 2;
}

.naver-icon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

.practice-card:hover .naver-blog-badge {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(3, 199, 90, 0.5);
}

.practice-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    transition: all 0.3s ease;
}

.practice-card:hover .practice-icon {
    transform: scale(1.1) rotate(5deg);
}

.practice-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.practice-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.practice-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Read More Button */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid var(--accent-gold);
    border-radius: 25px;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.practice-card:hover .read-more {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateX(5px);
}

.read-more i {
    transition: transform 0.3s ease;
}

.practice-card:hover .read-more i {
    transform: translateX(5px);
}

/* ========================================
   Success Stories Section
   ======================================== */
.success-section {
    background: var(--bg-dark);
}

.success-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.success-featured img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hard);
}

.success-highlights h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent-gold);
}

.highlight-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-gold);
    transition: all 0.3s ease;
}

.highlight-card:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
}

.highlight-icon {
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--accent-gold);
}

.highlight-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.highlight-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.testimonials {
    margin-top: 4rem;
}

.testimonials img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-hard);
}

.certificate-section {
    margin-top: 4rem;
    text-align: center;
}

.certificate-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: var(--shadow-hard);
    object-fit: contain;
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    background: var(--secondary-color);
}

.features-image {
    margin-top: 3rem;
}

.features-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 0 auto;
    display: block;
    border-radius: 20px;
    box-shadow: var(--shadow-hard);
    object-fit: contain;
}

/* ========================================
   Social Media Section
   ======================================== */
.social-media-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.social-media-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.social-card {
    display: block;
    background: var(--bg-card);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 2px solid rgba(212, 175, 55, 0.1);
    width: 100%;
    max-width: 100%;
}

.social-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

.social-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    overflow: hidden;
    background: var(--secondary-color);
    max-width: 100%;
}

.social-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.social-card:hover .social-image {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.social-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 30, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.social-card:hover .social-overlay {
    opacity: 1;
}

.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.social-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 4rem;
    color: var(--accent-gold);
}

.overlay-content span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.social-info {
    padding: 2rem;
}

.social-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.youtube-badge {
    background: #FF0000;
    color: white;
}

.instagram-badge {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-badge i {
    font-size: 1.2rem;
}

.social-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.social-info p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* YouTube Video Section */
.youtube-video-section {
    background: var(--bg-dark);
    padding: var(--spacing-xl) 0;
}

.youtube-video-wrapper {
    max-width: 1100px;
    margin: 3rem auto 0;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-hard);
    background: var(--bg-card);
}

.video-link-overlay {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-link-overlay:hover {
    transform: scale(1.02);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    pointer-events: none;
}

.video-link-overlay:hover .video-container {
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
}

.video-info {
    margin-top: 2rem;
    text-align: center;
}

.youtube-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    background: #FF0000;
    border-radius: 30px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(255, 0, 0, 0.3);
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.youtube-channel-link:hover {
    background: #CC0000;
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(255, 0, 0, 0.5);
}

.youtube-badge i {
    font-size: 1.5rem;
}

.video-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.video-description strong {
    color: var(--accent-gold);
}

.content-tabs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.tab-btn.active {
    background: var(--gradient-gold);
    color: var(--primary-color);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-left: 4px solid var(--accent-gold);
    border-radius: 10px;
    margin-bottom: 2rem;
}

.content-notice i {
    font-size: 1.5rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.content-notice p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.content-input-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.content-input {
    flex: 1;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.content-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    min-height: 400px;
}

.content-placeholder {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 20px;
    border: 2px dashed rgba(212, 175, 55, 0.3);
}

.content-placeholder i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.content-placeholder p {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.content-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.content-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.content-card-body {
    padding: 1.5rem;
}

.content-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-card-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-gold);
    font-weight: 600;
    transition: all 0.3s ease;
}

.content-card-link:hover {
    transform: translateX(5px);
}

/* ========================================
   Contact Section
   ======================================== */
.contact-section {
    background: var(--secondary-color);
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(196, 30, 58, 0.05) 0%, transparent 50%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
}

.info-card-link {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.info-card:hover,
.info-card-link:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-gold);
}

.card-action {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--gradient-gold);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.info-card-link:hover .card-action {
    opacity: 1;
    transform: translateY(0);
}

.info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
}

.info-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.info-value {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.info-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-form-wrapper {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-hard);
}

.contact-form-wrapper h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.form-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Naver Form Link Container */
.naver-form-link-container {
    margin-top: 2rem;
}

.naver-form-image-link {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    transition: all 0.3s ease;
    cursor: pointer;
}

.naver-form-image-link:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.consultation-image {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.3s ease;
}

.naver-form-image-link:hover .consultation-image {
    filter: brightness(1.1);
}

.form-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 30, 0.95) 100%);
    padding: 3rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.naver-form-image-link:hover .form-overlay {
    opacity: 1;
}

.form-overlay i {
    font-size: 2.5rem;
    color: var(--accent-gold);
}

.form-overlay span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.form-notice {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent-gold);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-notice i {
    color: var(--accent-gold);
    font-size: 1.2rem;
}

.naver-form-container {
    margin-top: 2rem;
}

.form-input-group {
    margin-bottom: 2rem;
}

.form-input-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.form-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--secondary-color);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.naver-form-frame {
    min-height: 500px;
    border-radius: 15px;
    overflow: hidden;
    background: var(--secondary-color);
}

.naver-form-frame iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
}

.form-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
}

.form-placeholder i {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.form-placeholder p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.form-placeholder small {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-methods {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-methods strong {
    color: var(--text-primary);
}

.method-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.method-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    color: var(--accent-gold);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.method-link:hover {
    background: var(--accent-gold);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* ========================================
   Map Section
   ======================================== */
.map-section {
    background: var(--bg-dark);
}

.map-container {
    margin-top: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-hard);
}

.location-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.location-detail {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 15px;
    border-left: 4px solid var(--accent-gold);
}

.location-detail i {
    font-size: 2rem;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.location-detail strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.location-detail p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--primary-color);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info {
    text-align: center;
}

.footer-logo {
    max-width: 150px;
    margin: 0 auto 1rem;
}

.footer-info h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.footer-slogan {
    color: var(--accent-gold);
    font-weight: 600;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-section a {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-section i {
    color: var(--accent-gold);
    margin-right: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-bottom p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.footer-notice {
    font-size: 0.85rem;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.5);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 1.5rem;
        width: 100%;
    }
    
    .about-content,
    .success-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }
    
    * {
        max-width: 100%;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    section {
        overflow-x: hidden;
        max-width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 70%;
        height: calc(100vh - 70px);
        background: rgba(15, 15, 30, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-hard);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    section {
        padding: var(--spacing-md) 0;
    }
    
    .credentials {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .specialist-section {
        padding: 2rem 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .social-media-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
        width: 100%;
    }
    
    .social-media-card {
        max-width: 100%;
        width: 100%;
    }
    
    .social-media-card img {
        max-width: 100%;
        width: 100%;
        height: auto;
    }
    
    .practice-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-tabs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .youtube-video-wrapper {
        padding: 0 1rem;
        max-width: 100%;
        overflow: hidden;
    }
    
    .video-info {
        padding: 0 1rem;
    }
    
    .naver-form-image-link {
        margin: 0;
        max-width: 100%;
    }
    
    .naver-form-image-link img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }
    
    .location-info {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .method-links {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-input-group {
        flex-direction: column;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .video-container {
        width: 100%;
        max-width: 100%;
    }
    
    .video-container iframe {
        width: 100%;
        max-width: 100%;
    }
    
    .social-image-wrapper {
        width: 100%;
        max-width: 100%;
    }
    
    .about-image img,
    .success-featured img,
    .certificate-img,
    .features-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    
    .practice-card,
    .stat-card,
    .info-card {
        width: 100%;
        max-width: 100%;
    }
}

/* ========================================
   Loading Animation
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mt-4 { margin-top: 4rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mb-4 { margin-bottom: 4rem; }

.hidden {
    display: none !important;
}