@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/variable/pretendardvariable.css");

:root {
    --bg-dark: #1A1A1A;
    --neon-mint: #00FFCC; /* Approximation of the neon transformation text */
    --deep-green: #0A3622;
    --white: #FFFFFF;
    --text-main: #333333;
    --text-light: #666666;
    --border-color: #EEEEEE;
    --font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--white);
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & GNB */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.fixed {
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header.menu-open {
    background: var(--bg-dark);
}

.header_inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1001;
}

/* Logo */
.logo-area {
    display: flex;
    flex-direction: column;
}

.logo a {
    font-size: 28px;
    font-weight: 900;
    color: var(--white);
    letter-spacing: 2px;
}

.sub-logo {
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* Navigation */
.nav_pc {
    flex: 1;
    display: flex;
    justify-content: center;
    height: 100%;
}

.gnb {
    display: flex;
    gap: 60px;
    height: 100%;
}

.gnb > li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.gnb > li > a {
    font-size: 17px;
    font-weight: 500;
    color: var(--white);
    padding: 10px 0;
    position: relative;
}

.gnb > li:hover > a {
    color: var(--neon-mint);
}

/* Mega Menu Sub */
.sub-menu {
    position: absolute;
    top: 100px; /* Below header */
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 30px 0;
}

.sub-menu a {
    font-size: 15px;
    color: #AAAAAA;
    font-weight: 400;
    transition: color 0.3s;
}

.sub-menu a:hover {
    color: var(--neon-mint);
    font-weight: 600;
}

.header.menu-open .sub-menu {
    opacity: 1;
    visibility: visible;
}

/* Mega Menu Background overlay */
.mega-menu-bg {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--bg-dark);
    z-index: 1000;
    transition: height 0.3s ease;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.header.menu-open .mega-menu-bg {
    height: 250px;
}

/* Utility Menu */
.util-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-order {
    background-color: var(--deep-green);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 4px;
    transition: background 0.3s;
}

.btn-order:hover {
    background-color: #0d4a2f;
}

.lang-select {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.lang-select .arrow {
    font-size: 10px;
    margin-left: 5px;
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1002;
}

.hamburger .bar {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: 0.3s;
}

/* Main Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1532187863486-abf9dbad1b69?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 800px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--neon-mint);
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 18px;
    font-weight: 300;
    color: #DDDDDD;
    line-height: 1.8;
}

/* Hero Controllers */
.hero-controls {
    position: absolute;
    bottom: 50px;
    left: 10%;
    right: 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: var(--white);
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.2);
    margin-left: 20px;
    position: relative;
}

.progress {
    width: 50%;
    height: 100%;
    background: var(--neon-mint);
}

.nav-arrows {
    display: flex;
}

.arrow-btn {
    width: 60px;
    height: 60px;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.arrow-btn:hover {
    background: var(--bg-dark);
}

/* Subpage Banner */
.sub-banner {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sub-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=2564&auto=format&fit=crop') no-repeat center center/cover;
    background-attachment: fixed;
    z-index: 1;
}

.sub-banner-text {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

/* Subpage Title Bar (LNB area) */
.title-bar {
    background: var(--deep-green);
    color: var(--white);
    padding: 40px 0;
}

.title-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.title-left .small-title {
    font-size: 14px;
    letter-spacing: 3px;
    color: #88B39A;
    display: block;
    margin-bottom: 10px;
}

.title-left .main-title {
    font-size: 40px;
    font-weight: 800;
}

.breadcrumb {
    font-size: 14px;
    color: #AACCBB;
    font-weight: 400;
}

.breadcrumb strong {
    color: var(--white);
    font-weight: 600;
}

/* Team Section (3 Column Grid) */
.team-section {
    padding: 120px 0;
    background: var(--white);
}

.team-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.team-card {
    position: relative;
    margin-bottom: 50px;
}

.card-img {
    width: 100%;
    background: #F5F5F5;
    height: 500px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(20%);
    transition: transform 0.5s ease, filter 0.5s ease;
}

.team-card:hover .card-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.card-info {
    position: absolute;
    bottom: -40px;
    right: 0;
    background: var(--white);
    padding: 30px 40px;
    box-shadow: -10px -10px 0px rgba(0,0,0,0.02);
    min-width: 250px;
    border: 1px solid var(--border-color);
}

.card-info .role {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.card-info .name {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-main);
}

/* Floating TOP Button */
.btn-top {
    position: fixed;
    bottom: 50px;
    right: 50px;
    width: 60px;
    height: 60px;
    background: var(--bg-dark);
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.btn-top:hover {
    background: var(--neon-mint);
    color: var(--bg-dark);
}

/* Footer (Matching the dark theme/layout) */
#footer {
    background: #111111;
    padding: 80px 0 60px 0;
    color: #888888;
}

.ft_inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.ft_logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.ft_menu {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.ft_menu a {
    font-weight: 500;
    font-size: 15px;
    color: #CCCCCC;
}

.ft_menu a:hover {
    color: var(--neon-mint);
}

address {
    font-style: normal;
    font-size: 14px;
    line-height: 2;
}

address em {
    font-style: normal;
    color: #AAAAAA;
}

.ft_copyr {
    margin-top: 30px;
    font-size: 13px;
}

.slogan {
    margin-top: 15px;
    font-size: 12px;
    font-weight: 700;
    color: #555555;
    letter-spacing: 3px;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease-out forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Tablet & Mobile */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-title { font-size: 48px; }
    .nav_pc, .util-menu { display: none; }
    .hamburger { display: flex; }
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 18px; }
    .title-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 1024px) {
    .nav_pc, .util-menu { display: none !important; }
    
    .hamburger { 
        display: flex !important; 
        flex-direction: column; 
        gap: 6px; 
        cursor: pointer; 
        z-index: 2000; 
        position: absolute; 
        right: 20px; 
        top: 38px; 
    }
    .hamburger .bar { width: 30px; height: 2px; background: var(--white); transition: 0.3s; }
    
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav_pc.active {
        display: flex !important; 
        position: fixed; 
        top: 0; left: 0; 
        width: 100%; height: 100vh;
        background: rgba(26, 26, 26, 0.98); 
        flex-direction: column; 
        justify-content: flex-start;
        align-items: center; 
        z-index: 1500; 
        overflow-y: auto; 
        padding-top: 100px; 
        padding-bottom: 50px;
    }
    
    .gnb { flex-direction: column; gap: 0; width: 100%; height: auto; }
    .gnb > li { width: 100%; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); height: auto; display: block; }
    .gnb > li > a { font-size: 20px; padding: 20px; display: block; width: 100%; }
    
    .sub-menu { 
        position: static; 
        transform: none; 
        width: 100%; 
        display: none; 
        background: rgba(0,0,0,0.2); 
        padding: 0; 
        opacity: 1; 
        visibility: visible;
    }
    .sub-menu li a { padding: 15px; display: block; font-size: 16px; }
    .has-dropdown.mobile-open .sub-menu { display: block; }
    
    .slide-title { font-size: 40px !important; }
    .slide-title span { font-size: 16px !important; }
    .hero-title { font-size: 36px !important; }
    .title-bar-inner { flex-direction: column; align-items: flex-start !important; gap: 15px; }
    .team-grid, .biz-grid, .value-grid, .process-grid { grid-template-columns: 1fr !important; flex-direction: column; }
    .process-grid::after { display: none; }
    .process-step { margin-bottom: 30px; }
    
    .header_inner { padding: 0 20px; }
    .slide { padding-left: 20px; padding-right: 20px; }
    .slider-controls { left: 20px; right: 20px; flex-direction: column; align-items: flex-start; gap: 20px; bottom: 30px;}
    .progress-bar { width: 150px; }
}

/* --- Login & Admin Modals CSS --- */
.btn-login { color: var(--white); font-size: 14px; font-weight: 500; margin-right: 15px; }
.btn-login:hover { color: var(--neon-mint); }

.btn-admin {
    position: fixed; bottom: 50px; left: 50px;
    width: 60px; height: 60px;
    background: #FF4444; color: var(--white);
    font-size: 14px; font-weight: 700;
    border: none; border-radius: 50%;
    cursor: pointer; z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.btn-admin:hover { transform: scale(1.1); }

.modal-overlay {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 2000;
}
.modal-box {
    display: none; position: fixed;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 400px; background: var(--white);
    padding: 40px; border-radius: 12px; z-index: 2001;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}
.modal-box h3 { font-size: 24px; font-weight: 800; margin-bottom: 10px; color: var(--bg-dark); }
.modal-box p { font-size: 14px; color: var(--text-light); margin-bottom: 25px; }

.form-input {
    width: 100%; padding: 12px 15px; margin-bottom: 15px;
    border: 1px solid #ccc; border-radius: 6px; font-size: 15px;
}
.btn-submit {
    width: 100%; padding: 14px; background: var(--deep-green);
    color: var(--white); border: none; border-radius: 6px;
    font-size: 16px; font-weight: 700; cursor: pointer;
}
.modal-links { margin-top: 15px; font-size: 13px; color: #888; }
.modal-links a { color: var(--text-main); font-weight: 500; }

.mock-google-btn {
    width: 100%; padding: 14px; background: #4285F4;
    color: var(--white); border: none; border-radius: 6px;
    font-size: 14px; font-weight: 600; cursor: pointer; margin-top: 15px;
}

/* --- Admin Toolbar & Unified Login CSS --- */
.admin-toolbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: 46px;
    background: #111;
    color: white;
    z-index: 3000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-size: 14px;
    border-bottom: 2px solid var(--neon-mint);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.admin-badge {
    background: var(--neon-mint);
    color: var(--bg-dark);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 800;
    margin-right: 15px;
}
.admin-email {
    color: #ccc;
    font-weight: 500;
}
.admin-actions button {
    margin-left: 10px;
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    background: #f5f5f5;
    color: #333;
    transition: 0.3s;
}
.admin-actions button:hover {
    background: #ddd;
}

/* Shift header down when admin toolbar is active */
body.admin-active .header {
    top: 46px !important;
}
body.admin-active .mega-menu-bg {
    top: 146px !important;
}
body.admin-active .sub-menu {
    top: 146px !important;
}

/* --- Admin Inline Editing CSS --- */
.editable-element[contenteditable="true"] {
    transition: outline 0.2s, background 0.2s;
    outline: 1px solid transparent;
    min-width: 10px;
    min-height: 10px;
}
.editable-element[contenteditable="true"]:hover,
.editable-element[contenteditable="true"]:focus {
    outline: 2px dashed var(--neon-mint);
    background: rgba(0, 255, 204, 0.05);
    cursor: text;
}

/* --- Admin Image Editing CSS --- */
.editable-image {
    cursor: pointer !important;
    transition: outline 0.2s, filter 0.2s;
}
.editable-image:hover {
    outline: 4px dashed var(--neon-mint) !important;
    outline-offset: -4px;
    filter: brightness(0.7);
}
.editable-image::after {
    /* Optional overlay for visual hint */
}

/* Admin Show/Hide */
.admin-show { display: none !important; }
body.admin-active .admin-show { display: block !important; }

/* --- Language Dropdown --- */
.lang-select { position: relative; padding: 10px 0; cursor: pointer; display: flex; align-items: center; }
.lang-dropdown {
    display: none; position: absolute; top: 100%; right: 0;
    background: #fff; border: 1px solid #eee; border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); width: 180px; padding: 10px 0;
    z-index: 3000;
}
.lang-select:hover .lang-dropdown { display: block; }
.lang-dropdown li { padding: 10px 20px; font-size: 14px; color: #333; transition: 0.2s; list-style: none; text-align: left; }
.lang-dropdown li:hover { background: #f5f5f5; color: var(--deep-green); font-weight: 600; }

/* Hide Google Translate elements */
.goog-te-banner-frame.skiptranslate, .goog-te-gadget-icon { display: none !important; }
body { top: 0px !important; }
.goog-tooltip { display: none !important; }
.goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
#goog-gt-tt { display: none !important; }

/* --- Static Multi-Language CSS --- */
[data-lang] { display: none !important; }

body.lang-ko [data-lang="ko"],
body.lang-en [data-lang="en"],
body.lang-ja [data-lang="ja"],
body.lang-zh [data-lang="zh-CN"],
body.lang-es [data-lang="es"],
body.lang-ru [data-lang="ru"] { display: inline-block !important; }

span[data-lang], a[data-lang], label[data-lang], strong[data-lang], em[data-lang] { display: none !important; }

body.lang-ko span[data-lang="ko"], body.lang-ko a[data-lang="ko"], body.lang-ko label[data-lang="ko"], body.lang-ko strong[data-lang="ko"], body.lang-ko em[data-lang="ko"],
body.lang-en span[data-lang="en"], body.lang-en a[data-lang="en"], body.lang-en label[data-lang="en"], body.lang-en strong[data-lang="en"], body.lang-en em[data-lang="en"],
body.lang-ja span[data-lang="ja"], body.lang-ja a[data-lang="ja"], body.lang-ja label[data-lang="ja"], body.lang-ja strong[data-lang="ja"], body.lang-ja em[data-lang="ja"],
body.lang-zh span[data-lang="zh-CN"], body.lang-zh a[data-lang="zh-CN"], body.lang-zh label[data-lang="zh-CN"], body.lang-zh strong[data-lang="zh-CN"], body.lang-zh em[data-lang="zh-CN"],
body.lang-es span[data-lang="es"], body.lang-es a[data-lang="es"], body.lang-es label[data-lang="es"], body.lang-es strong[data-lang="es"], body.lang-es em[data-lang="es"],
body.lang-ru span[data-lang="ru"], body.lang-ru a[data-lang="ru"], body.lang-ru label[data-lang="ru"], body.lang-ru strong[data-lang="ru"], body.lang-ru em[data-lang="ru"] { 
    display: inline !important; 
}
