@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Inter:wght@400;600;700&display=swap');

:root {
    --primary-blue: #0056b3;
    --primary-blue-hover: #004494;
    --primary-green: #28a745;
    --primary-green-hover: #218838;
    --light-bg: #f8f9fa;
    --text-dark: #333333;
    --text-muted: #777777;
    --border-color: #e5e5e5;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Noto Sans KR', 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Base Styles */
a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--primary-blue);
}
img {
    max-width: 100%;
    height: auto;
}

/* Header & Mega Menu */
.cp-header {
    background: rgba(11, 61, 145, 0.95); /* #0b3d91 */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}
.cp-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 80px;
}
.cp-logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.5px;
}
.cp-logo span {
    color: #4facfe;
}

/* Navigation */
.cp-nav {
    display: flex;
    align-items: center;
    height: 100%;
}
.cp-gnb {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}
.cp-gnb > li {
    height: 100%;
}
.cp-gnb > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 600;
    position: relative;
    color: var(--white);
}
.cp-gnb > li:hover > a {
    color: #4facfe;
}
.cp-gnb > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background-color: #4facfe;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.cp-gnb > li:hover > a::after {
    transform: scaleX(1);
}

/* Mega Menu Dropdown */
.cp-mega-menu {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}
.cp-header:hover .cp-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.cp-mega-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    padding: 0 20px;
}

/* Mobile Header & Menu Styles */
.cp-mobile-btn {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--white);
    background: none;
    border: none;
    padding: 0;
}

.cp-mobile-menu {
    display: none; /* Hidden by default */
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
}
.cp-mobile-menu.active {
    display: block;
}

.cp-mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cp-mobile-menu h4 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 10px;
    font-weight: 700;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 5px;
}

.cp-mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cp-mobile-menu ul li {
    margin-bottom: 15px;
}

.cp-mobile-menu ul li a {
    font-size: 16px;
    color: var(--text-dark);
    display: block;
}

/* Responsive Media Queries */
@media (max-width: 991px) {
    .cp-nav {
        display: none !important;
    }
    .cp-mega-menu {
        display: none !important;
    }
    .cp-mobile-btn {
        display: block;
    }
    .cp-header-inner {
        padding: 0 15px;
    }
    .cp-logo {
        font-size: 20px;
    }
}

.cp-mega-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary-blue);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}
.cp-mega-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.cp-mega-col ul li {
    margin-bottom: 10px;
}
.cp-mega-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
}
.cp-mega-col ul li a:hover {
    color: var(--primary-green);
    padding-left: 5px;
}

/* Top Utils (Lang Toggle) */
.cp-utils {
    display: flex;
    align-items: center;
    gap: 15px;
}
.lang-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 5px;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}
.lang-toggle .lang-btn {
    padding: 5px 12px;
    border-radius: 15px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}
.lang-toggle .lang-btn.active {
    background: var(--white);
    color: #0b3d91;
}

/* Multi-language Visibility */
body:not(.lang-en) [data-lang-en] { display: none !important; }
body.lang-en [data-lang-ko] { display: none !important; }

/* Main Banner (YouTube) */
.cp-main-banner {
    width: 100%;
    height: 580px;
    position: relative;
    overflow: hidden;
    background: #000;
}
.cp-main-banner .video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw; /* 16:9 Aspect Ratio */
    min-height: 580px;
    min-width: 1032px; /* 580 * 16/9 */
    pointer-events: none; /* Prevent clicking/pausing */
}
.cp-main-banner iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.cp-main-banner .banner-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.banner-content h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}
.banner-content p {
    color: rgba(255,255,255,0.9);
    font-size: 20px;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Sections */
.cp-section {
    padding: 80px 20px;
}
.cp-container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}
.section-title p {
    color: var(--text-muted);
}

/* Footer */
.cp-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 20px 30px;
}
.cp-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}
.footer-info h3 {
    font-size: 24px;
    color: var(--primary-green);
    margin-bottom: 20px;
}
.footer-info p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 13px;
}
