/* ================================================
   주식회사 지원 | common.css — Redesigned 2026
   Cinematic Luxury Aesthetic
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;0,700;1,300;1,400&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

@font-face { font-family: 'YoonGothic340'; src: url('윤고딕340.ttf'); }

/* ── CSS 변수 ── */
:root {
    --gold: #D4AF37;
    --gold-light: #e8c94e;
    --gold-dim: rgba(212, 175, 55, 0.15);
    --gold-border: rgba(212, 175, 55, 0.25);
    --black: #0a0a0a;
    --black-2: #111111;
    --black-3: #1a1a1a;
    --card-bg: rgba(16, 16, 16, 0.85);
    --text-bright: #ffffff;
    --text-mid: #cccccc;
    --text-dim: #888888;
    --header-h: 100px;
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── 기본 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--black);
    color: var(--text-bright);
    font-family: 'YoonGothic340', 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    padding-top: var(--header-h);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { word-break: keep-all; line-height: 1.3; }
p, span, label, li { word-break: keep-all; }
img { display: block; max-width: 100%; }

/* ── 스크롤 진행 바 ── */
#scroll-progress {
    position: fixed; top: 0; left: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    width: 0%; z-index: 9999; transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
}

/* ── 페이지 진입 애니메이션 ── */
body { animation: fadeInPage 0.5s ease forwards; }
@keyframes fadeInPage { from { opacity: 0; } to { opacity: 1; } }

/* ── 컨테이너 ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.gold-text { color: var(--gold); }

/* ════════════════════════════════════════════
   헤더
════════════════════════════════════════════ */
header {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--header-h);
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 50px; z-index: 1000;
    border-bottom: 1px solid var(--gold-border);
    transition: background 0.4s var(--transition), box-shadow 0.4s;
}
header.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(212,175,55,0.08);
    border-bottom-color: rgba(212,175,55,0.35);
}
.header-left { display: flex; align-items: center; gap: 20px; height: 100%; }
.logo a { display: flex; align-items: center; }
.logo img { height: 62px !important; cursor: pointer; display: block; transition: opacity 0.3s; }
.logo img:hover { opacity: 0.85; }

/* ── 네비게이션 ── */
nav ul { list-style: none; display: flex; gap: 36px; }
nav a {
    text-decoration: none; color: var(--text-mid); font-size: 0.95rem;
    letter-spacing: 0.06em; font-weight: 500;
    position: relative; padding-bottom: 4px;
    transition: color 0.3s var(--transition);
}
nav a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 1px; background: var(--gold);
    transition: width 0.35s var(--transition);
}
nav a:hover, nav a.active { color: var(--gold); }
nav a:hover::after, nav a.active::after { width: 100%; }

/* ── 햄버거 ── */
.menu-toggle { display: none; flex-direction: column; gap: 6px; cursor: pointer; z-index: 1100; padding: 4px; }
.menu-toggle span {
    width: 26px; height: 2px; background-color: var(--gold);
    transition: 0.4s var(--transition); border-radius: 2px; display: block;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ════════════════════════════════════════════
   섹션 헤더 공통
════════════════════════════════════════════ */
.section-title {
    text-align: center; margin-bottom: 70px;
}
.section-title .en-label {
    display: block; font-family: 'Cormorant Garamond', serif;
    font-size: 0.75rem; letter-spacing: 0.35em; color: var(--gold);
    text-transform: uppercase; margin-bottom: 18px;
}
.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem; color: var(--text-bright); font-weight: 600;
    line-height: 1.2;
}
.section-title .title-line {
    width: 40px; height: 1px; background: var(--gold);
    margin: 20px auto 0; display: block;
}

/* ════════════════════════════════════════════
   서브페이지 히어로
════════════════════════════════════════════ */
.sub-hero {
    height: 480px;
    background: linear-gradient(160deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.8) 100%),
                url('background_business.png');
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
}
.sub-hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 42% 60% at 50% -10%, rgba(212,175,55,0.09) 0%, transparent 55%),
        linear-gradient(90deg, rgba(45,0,0,0.16) 0%, transparent 12%, transparent 88%, rgba(45,0,0,0.16) 100%),
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.03) 2px, rgba(0,0,0,0.03) 4px);
    pointer-events: none;
}
.sub-hero::after {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,0.55) 100%),
        linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.18) 100%);
    pointer-events: none;
}
.sub-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem; color: var(--gold); font-weight: 600;
    letter-spacing: 0.04em; position: relative; z-index: 1;
    animation: heroFadeUp 0.8s ease forwards;
}
.sub-hero p {
    font-size: 1.1rem; color: #ddd; margin-top: 15px;
    position: relative; z-index: 1;
    animation: heroFadeUp 0.8s 0.15s ease both;
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════
   콘텐츠 박스
════════════════════════════════════════════ */
.content-box {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.06);
    padding: 70px 80px; border-radius: 4px;
    margin-top: -140px; position: relative;
    backdrop-filter: blur(12px);
    margin-bottom: 120px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}
.content-box::before {
    content: '';
    position: absolute;
    top: 20px; left: 20px;
    width: 28px; height: 28px;
    border-top: 1px solid rgba(212,175,55,0.3);
    border-left: 1px solid rgba(212,175,55,0.3);
    pointer-events: none; z-index: 1;
}
.content-box::after {
    content: '';
    position: absolute;
    bottom: 20px; right: 20px;
    width: 28px; height: 28px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
    border-right: 1px solid rgba(212,175,55,0.3);
    pointer-events: none; z-index: 1;
}
.content-box p { color: var(--text-mid); line-height: 1.9; margin-bottom: 20px; font-size: 1.05rem; }
.content-box p:last-of-type { margin-bottom: 0; }

/* ── 골드 구분선 ── */
.gold-divider {
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
    margin: 50px 0;
}

/* ════════════════════════════════════════════
   버튼
════════════════════════════════════════════ */
.back-btn {
    display: inline-flex; align-items: center; gap: 10px;
    margin-top: 60px; padding: 14px 38px;
    border: 1px solid var(--gold-border); color: var(--gold);
    text-decoration: none; font-weight: 500; font-size: 0.9rem;
    letter-spacing: 0.08em; border-radius: 2px;
    transition: all 0.35s var(--transition); position: relative; overflow: hidden;
}
.back-btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gold); transform: translateX(-101%);
    transition: transform 0.35s var(--transition);
}
.back-btn span, .back-btn { position: relative; z-index: 1; }
.back-btn:hover { color: #000; border-color: var(--gold); }
.back-btn:hover::before { transform: translateX(0); }

.cta-btn {
    padding: 20px 65px; font-size: 1rem; font-weight: 600;
    letter-spacing: 0.12em; border: 1px solid var(--gold);
    background: transparent; color: var(--gold); cursor: pointer;
    transition: all 0.4s var(--transition); border-radius: 2px;
    text-decoration: none; display: inline-block; position: relative; overflow: hidden;
    font-family: 'YoonGothic340', 'Noto Sans KR', sans-serif;
}
.cta-btn::before {
    content: ''; position: absolute; inset: 0;
    background: var(--gold); transform: translateY(101%);
    transition: transform 0.4s var(--transition);
}
.cta-btn span { position: relative; z-index: 1; }
.cta-btn:hover { color: #000; }
.cta-btn:hover::before { transform: translateY(0); }

/* ════════════════════════════════════════════
   스크롤 리빌 애니메이션
════════════════════════════════════════════ */
.reveal {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s var(--transition), transform 0.7s var(--transition); }
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ════════════════════════════════════════════
   맨 위로 버튼
════════════════════════════════════════════ */
#back-to-top {
    position: fixed; bottom: 40px; right: 40px;
    width: 48px; height: 48px; background: var(--black-3);
    border: 1px solid var(--gold-border); color: var(--gold);
    cursor: pointer; z-index: 999; opacity: 0; pointer-events: none;
    transition: all 0.4s var(--transition); border-radius: 2px;
    display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
}
#back-to-top.visible { opacity: 1; pointer-events: auto; }
#back-to-top:hover { background: var(--gold); color: #000; transform: translateY(-4px); }

/* ════════════════════════════════════════════
   푸터
════════════════════════════════════════════ */
footer {
    background-color: #050505; padding: 70px 0 50px;
    border-top: 1px solid var(--gold-border);
    text-align: center;
}
.footer-logo { margin-bottom: 30px; }
.footer-logo img { height: 44px; margin: 0 auto; opacity: 0.7; }
.footer-info { margin-bottom: 20px; }
.footer-info span {
    color: var(--text-dim); font-size: 0.88rem;
    margin: 0 14px; display: inline-block;
    position: relative;
}
.footer-info span:not(:last-child)::after {
    content: '|'; position: absolute; right: -16px;
    color: #333;
}
.footer-company { color: #bbb !important; font-weight: 500; font-size: 0.95rem !important; }
.copyright { color: #444; font-size: 0.8rem; margin-top: 30px; letter-spacing: 0.05em; }

/* ════════════════════════════════════════════
   영화관 시네마 특화 UI
════════════════════════════════════════════ */

/* ── 필름 스트립 구분선 ── */
.filmstrip-bar {
    height: 30px;
    background: #050505;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}
.filmstrip-bar::before,
.filmstrip-bar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; height: 10px;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px, transparent 22px,
        rgba(212,175,55,0.07) 22px, rgba(212,175,55,0.07) 28px
    );
    border-top: 1px solid rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.filmstrip-bar::before { top: 4px; }
.filmstrip-bar::after  { bottom: 4px; }

/* ── NOW SHOWING 스크롤 티커 ── */
.cinema-ticker {
    background: #050505;
    border-top: 1px solid rgba(212,175,55,0.22);
    border-bottom: 1px solid rgba(212,175,55,0.22);
    height: 44px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    position: relative;
    z-index: 5;
}
.ticker-label {
    background: var(--gold);
    color: #050505;
    padding: 0 20px 0 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    display: flex; align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
    padding-right: 28px;
}
.ticker-scroll {
    overflow: hidden;
    flex: 1;
    display: flex; align-items: center;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}
.ticker-track {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    animation: tickerMove 50s linear infinite;
    will-change: transform;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerMove {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    font-size: 0.74rem;
    letter-spacing: 0.16em;
    color: #888;
    padding: 0 26px;
    text-transform: uppercase;
}
.ticker-dot {
    color: var(--gold);
    font-size: 0.38rem;
    opacity: 0.55;
    flex-shrink: 0;
    display: inline-block;
}

/* ── 프로젝터 빔 오버레이 ── */
.projector-beam {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background:
        radial-gradient(ellipse 50% 70% at 50% -12%, rgba(212,175,55,0.12) 0%, transparent 55%),
        radial-gradient(ellipse 18% 26% at 50% -6%, rgba(255,248,220,0.05) 0%, transparent 40%);
}

/* ── 영화 프레임 코너 브라켓 ── */
.film-frame { position: relative; }
.film-frame::before,
.film-frame::after {
    content: '';
    position: absolute;
    width: 22px; height: 22px;
    border-color: rgba(212,175,55,0.22);
    border-style: solid;
    pointer-events: none; z-index: 2;
    transition: border-color 0.4s var(--transition);
}
.film-frame::before { top: 0;  left: 0;  border-width: 1px 0 0 1px; }
.film-frame::after  { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.film-frame:hover::before,
.film-frame:hover::after { border-color: rgba(212,175,55,0.55); }

/* ════════════════════════════════════════════
   모바일 반응형
════════════════════════════════════════════ */
@media (max-width: 768px) {
    :root { --header-h: 75px; }
    header { padding: 0 20px; }
    .logo img { height: 44px !important; }
    .menu-toggle { display: flex; order: 1; }
    .logo { order: 2; }
    nav ul {
        position: fixed; top: 75px; right: -100%; width: 100%;
        height: calc(100vh - 75px);
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column; align-items: center; justify-content: center;
        gap: 42px; transition: right 0.5s var(--transition);
        border-top: 1px solid var(--gold-border);
    }
    nav ul.active { right: 0; }
    nav a { font-size: 1.5rem; color: var(--text-mid); font-weight: 400; }
    nav a::after { bottom: -4px; }
    .sub-hero { height: 320px; }
    .sub-hero h1 { font-size: 2.6rem; }
    .content-box { padding: 35px 25px; margin-top: -60px; margin-bottom: 60px; }
    .container { padding: 0 20px; }
    .section-title h2 { font-size: 2.2rem; }
    .footer-info span { display: block; margin: 6px 0; }
    .footer-info span::after { display: none; }
    #back-to-top { bottom: 20px; right: 20px; }
    #scroll-progress { height: 2px; }
    .ticker-label { font-size: 0.62rem; padding: 0 14px 0 16px; letter-spacing: 0.18em; }
    .ticker-item { font-size: 0.7rem; padding: 0 18px; }
    .content-box::before, .content-box::after { width: 18px; height: 18px; }
}
