@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap');

/* ==========================================================================
   CSS 변수 설정 (색상 가이드)
   ========================================================================== */
:root {
    --deep-navy: #0A2540;       /* 메인 컬러: 딥 네이비 (조금 더 밝게 수정) */
    --deep-navy-dark: #051626;  /* 더 어두운 네이비 (푸터 배경 등) */
    --white: #ffffff;           /* 보조 컬러: 화이트 */
    --light-gray: #f8fafc;      /* 아주 옅은 그레이 (섹션 배경용) */
    --gold: #C5A059;            /* 강조 컬러: 골드 */
    --gold-hover: #b08d4a;      /* 골드 호버 (마우스 올렸을 때 어두운 골드) */
    --text-main: #334155;       /* 기본 텍스트 색상 */
    --text-light: #94a3b8;      /* 밝은 텍스트 색상 (네이비 배경 위) */
}

/* ==========================================================================
   기본 설정 (리셋 및 폰트)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* 부드러운 스크롤 */
}

body {
    font-family: 'Inter', sans-serif; /* 본문 폰트 */
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

h1, h2, h3, h4, .logo, .btn {
    font-family: 'Montserrat', sans-serif; /* 제목 및 강조 폰트 */
}

/* 컨테이너 너비 제한 및 중앙 정렬 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: 100px 0;
    position: relative;
    overflow: hidden; /* 배경 도형들이 섹션 밖으로 나가지 않게 자름 */
}

.bg-light {
    background-color: var(--light-gray);
}

/* ==========================================================================
   공통 버튼 디자인
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px; /* 알약 모양 버튼 */
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-gold:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}

.full-width {
    width: 100%;
}

/* ==========================================================================
   네비게이션 바 (상단 메뉴)
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px; /* 글자가 없어진 만큼 로고 크기를 키움 */
    width: auto;
    border-radius: 50%; /* 둥근 로고 */
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); /* 살짝 더 깊은 그림자 */
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--deep-navy);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

/* 드롭다운 메뉴 스타일 */
.dropdown {
    position: relative;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,21,41,0.1);
    border-radius: 12px;
    padding: 10px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content li {
    list-style: none;
    margin: 0;
}

.dropdown-content a {
    padding: 12px 20px;
    display: block;
    font-size: 0.9rem;
    color: var(--text-main);
    border-radius: 0;
    transition: background 0.3s, color 0.3s;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: var(--light-gray);
    color: var(--gold);
}

.nav-btn {
    background-color: var(--deep-navy);
    color: var(--white) !important;
    padding: 10px 24px; /* 여백 약간 조정 */
    border-radius: 50px; /* 네비게이션 버튼도 알약 모양으로 */
}

.nav-btn:hover {
    background-color: var(--gold);
}

/* 햄버거 메뉴 (모바일용) */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--deep-navy);
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   Section 1: Hero Section (메인 영상/이미지 배경)
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(rgba(0, 21, 41, 0.7), rgba(0, 21, 41, 0.85)); /* 딥네이비 오버레이 */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    max-width: 1000px; /* 늘려서 텍스트가 한 줄에 들어가게 함 */
    padding: 0 20px;
}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.sub-title {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.brand-highlight {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* 텍스트 가독성 향상 */
}

.brand-cursive {
    font-family: 'Dancing Script', cursive;
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--gold);
    display: block;
    margin-top: -10px;
    letter-spacing: 2px;
}

.main-desc {
    display: inline-block;
    margin-top: 20px;
    word-break: keep-all; /* 단어 단위로 줄바꿈 방지 */
}

/* ==========================================================================
   섹션 공통 제목 디자인
   ========================================================================== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem; /* 제목 더 크게 */
    letter-spacing: -1px; /* 자간을 좁혀서 더 트렌디하게 */
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--gold);
    margin: 0 auto;
}

/* ==========================================================================
   Section 2: About Us
   ========================================================================== */
.about {
    position: relative;
    overflow: hidden; /* 배경 장식이 영역을 넘어가지 않도록 */
}

/* About 섹션 배경 장식 (도트 패턴 느낌의 큰 원) */
.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold) 10%, transparent 11%);
    background-size: 30px 30px;
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.about-text {
    position: relative;
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    position: relative;
    z-index: 2;
}

.about-bg-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    opacity: 0.05; /* 아주 은은한 워터마크 */
    z-index: 1;
    pointer-events: none;
}

.about-image {
    position: relative;
    display: inline-block;
}

.about-main-img {
    width: 100%;
    /* 위쪽만 둥근 알약 형태(Arch shape)로 트렌디하게 변경 */
    border-radius: 200px 200px 24px 24px; 
    box-shadow: 0 20px 40px rgba(0,21,41,0.15); /* 더 깊고 부드러운 그림자 */
    position: relative;
    z-index: 1;
    display: block;
}



.core-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    padding: 50px 30px;
    text-align: center;
    border-radius: 24px; /* 부드럽게 둥근 카드 */
    box-shadow: 0 15px 35px rgba(0,0,0,0.06); /* 플로팅 효과 (공중에 뜬 느낌) */
    border-top: 4px solid var(--gold); /* 상단에 포인트 컬러 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px rgba(0,0,0,0.1);
}

.value-icon {
    margin-bottom: 15px;
    color: var(--gold);
}

.value-card h4 {
    font-size: 1.2rem;
    color: var(--deep-navy);
}

/* ==========================================================================
   Section 3: Our Programs (4분할 레이아웃)
   ========================================================================== */
.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 데스크탑에서는 2x2 */
    gap: 40px;
    align-items: flex-start; /* 지그재그 배치를 위해 높이 제한 해제 */
}

/* 짝수 번째 카드를 아래로 내려 지그재그(Staggered) 레이아웃 생성 */
.program-card:nth-child(even) {
    transform: translateY(40px);
}

.program-card {
    background-color: var(--white);
    border-radius: 24px; /* 더 둥근 카드 모서리 */
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06); /* 플로팅 카드 효과 */
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.02);
}

.program-card:hover {
    transform: translateY(-10px);
    border-color: rgba(197, 160, 89, 0.5); /* 은은한 골드 보더 */
    box-shadow: 0 20px 50px rgba(197, 160, 89, 0.15);
}

.program-card:hover:nth-child(even) {
    transform: translateY(30px); /* 짝수 카드는 호버 시 조금 덜 올라가게 유지 */
}

.program-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.program-info {
    padding: 40px 30px;
}

.program-info h3 {
    font-size: 1.4rem;
    color: var(--deep-navy);
    margin-bottom: 15px;
}

.program-info p {
    color: var(--text-main);
    margin-bottom: 25px;
    min-height: 70px;
}

.btn-explore {
    text-decoration: none;
    color: var(--gold);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s;
}

.btn-explore:hover {
    gap: 10px;
}

/* ==========================================================================
   Section 4: Global Network (Spline 3D 포함)
   ========================================================================== */
.network {
    background-color: #0A2540; /* Spline 씨 배경과 정확히 동일 (rgba(10,37,64,1)) */
    color: var(--white);
    display: flex;
    align-items: center;
    position: relative;
    padding: 40px 0 100px;
    min-height: 1000px;
}

.network-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    align-items: center;
    z-index: 2;
    min-height: 700px;
}

.network-text h2 {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 20px;
    line-height: 1.2;
}

.network-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.branch-list {
    list-style: none;
}

.branch-list li {
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--gold);
    padding: 15px 20px;
    margin-bottom: 15px;
    font-weight: 500;
    border-radius: 0 8px 8px 0;
    transition: background 0.3s;
}

.branch-list li:hover {
    background: rgba(255,255,255,0.1);
}

.spline-wrapper {
    width: 100%;
    height: 800px;
    position: relative;
    overflow: visible;
}

/* Spline iframe이 wrapper를 꽉 채우도록 */
.spline-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 우측 하단 Spline 로고 가림막 */
.spline-logo-hider {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 60px;
    background-color: #0A2540; /* 섹션 배경과 동일 */
    z-index: 10;
    pointer-events: none;
}

/* Three.js 캔버스 제거됨 - 규칙 삭제 */

/* ==========================================================================
   Section 5: Footer & Contact Us
   ========================================================================== */
.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h2 {
    font-size: 2.2rem;
    color: var(--deep-navy);
    margin-bottom: 10px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
}

.contact-form-container {
    background: var(--white); /* 어두운 배경 대비 깔끔하게 */
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--deep-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #cbd5e1;
    border-radius: 12px; /* 입력창도 더 둥글게 */
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    color: var(--gold);
    flex-shrink: 0;
    overflow: hidden;
    /* 아이콘 정중앙 보지 */
    position: relative;
}

.info-icon span.material-symbols-outlined {
    font-size: 24px;
    line-height: 60px !important; /* 원 높이와 동일하게 하여 배준 */
    display: block;
    text-align: center;
    width: 60px;
    height: 60px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--deep-navy);
    margin-bottom: 5px;
}

.info-item a, .info-item p {
    color: var(--text-main);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--gold);
}

/* 스팸 방지 허니팟 - 실제 사용자에게는 보이지 않음 */
.netlify-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-bottom {
    background-color: var(--deep-navy-dark);
    color: var(--text-light);
    text-align: center;
    padding: 25px 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   애니메이션 (Fade In)
   ========================================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   프로그램 카드 호버 모션
   ========================================================================== */
.program-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.program-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,21,41,0.15);
}

/* ==========================================================================
   ✦ 장식용 도형 & 모션 효과 (순수 CSS — HTML 변경 없음)
   ========================================================================== */

/* ── About 섹션: 우상단 발광 골드 원 + 좌하단 점선 회전 사각형 ── */
.about {
    position: relative;
    overflow: hidden;
}
.about::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(197,160,89,0.22) 0%, transparent 65%);
    animation: pulseGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}
.about::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 40px;
    width: 140px;
    height: 140px;
    border: 2px dashed rgba(197,160,89,0.45);
    border-radius: 12px;
    animation: spinSlow 18s linear infinite;
    pointer-events: none;
    z-index: 0;
}

/* ── Programs 섹션: 좌상단 골드 반원 호선 + 우하단 점 격자 ── */
.programs {
    position: relative;
    overflow: hidden;
}
.programs::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    border: 3px solid rgba(10,37,64,0.08);
    border-top-color: rgba(197,160,89,0.65);
    border-right-color: rgba(197,160,89,0.35);
    animation: spinSlow 12s linear infinite;
    pointer-events: none;
    z-index: 0;
}
.programs::after {
    content: '';
    position: absolute;
    bottom: 60px;
    right: 60px;
    width: 180px;
    height: 180px;
    background-image: radial-gradient(rgba(10,37,64,0.2) 2px, transparent 2px);
    background-size: 18px 18px;
    animation: floatUpDown 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* ── Contact 섹션: 이중 동심원 (우하단) + 좌측 수직 빛줄기 ── */
.contact {
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: '';
    position: absolute;
    bottom: -180px;
    right: -180px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    border: 1.5px solid rgba(197,160,89,0.3);
    box-shadow:
        0 0 0 28px rgba(197,160,89,0.06),
        0 0 0 56px rgba(197,160,89,0.03);
    animation: spinSlow 25s linear infinite reverse;
    pointer-events: none;
    z-index: 0;
}
.contact::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 100px;
    width: 3px;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(197,160,89,0.55), transparent);
    animation: floatUpDown 5s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

/* ── Network(지구본) 섹션: 대각선 빛줄기 ── */
.network::before {
    content: '';
    position: absolute;
    top: -150px;
    left: 35%;
    width: 2px;
    height: 550px;
    background: linear-gradient(to bottom, transparent, rgba(197,160,89,0.18), transparent);
    transform: rotate(25deg);
    animation: floatUpDown 7s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 1;
}

/* ── Value 카드 호버 모션 ── */
.value-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.value-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 16px 36px rgba(197,160,89,0.18);
}

/* ── Branch 리스트 호버: 오른쪽으로 슬라이드 ── */
.branch-list li {
    transition: background 0.3s ease, transform 0.3s ease, border-left-color 0.3s ease;
}
.branch-list li:hover {
    transform: translateX(10px);
    border-left-color: #e2c47e;
    background: rgba(255,255,255,0.12);
}

/* ── btn-gold 버튼 빛 번짐 효과 ── */
.btn-gold {
    position: relative;
    overflow: hidden;
}
.btn-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(255,255,255,0.18);
    opacity: 0;
    transition: opacity 0.3s;
}
.btn-gold:hover::after {
    opacity: 1;
}

/* ── 키프레임 정의 ── */
@keyframes pulseGlow {
    0%   { transform: scale(1);    opacity: 0.6; }
    100% { transform: scale(1.18); opacity: 1;   }
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
@keyframes floatUpDown {
    0%   { transform: translateY(0px); }
    100% { transform: translateY(22px); }
}

/* ==========================================================================
   모바일 반응형 (Responsive Design)
   ========================================================================== */
@media (max-width: 992px) {
    .network-container {
        grid-template-columns: 1fr;
    }
    .network-text {
        text-align: center;
    }
    .branch-list li {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block; /* 모바일에서 햄버거 메뉴 보이기 */
    }

    .hamburger.active .bar:nth-child(2) { opacity: 0; }
    .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .about-content {
        grid-template-columns: 1fr;
    }
    
    .core-values {
        grid-template-columns: 1fr;
    }

    .program-grid {
        grid-template-columns: 1fr; /* 모바일에서 1열 */
        gap: 30px;
    }

    /* 모바일에서는 지그재그(Staggered) 레이아웃 해제 */
    .program-card:nth-child(even) {
        transform: translateY(0);
    }
    
    .program-card:hover:nth-child(even) {
        transform: translateY(-10px);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .main-title {
        font-size: 2.5rem;
    }
}

/* ==========================================================================
   Program Detail Pages (Geometric Layout)
   ========================================================================== */
.detail-page {
    padding-top: 150px; /* Account for fixed navbar */
    padding-bottom: 100px;
    min-height: 100vh;
    overflow: hidden;
}

.detail-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.detail-text h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    letter-spacing: -2px;
    color: var(--deep-navy);
    margin-bottom: 30px;
}

.detail-text h1 span {
    color: var(--gold);
}

.detail-text p {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 40px;
}

.detail-visual {
    position: relative;
    width: 100%;
    height: 600px;
}

/* 기하학적 도형들 */
.geo-shape {
    position: absolute;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.detail-visual:hover .geo-shape {
    transform: scale(1.03);
}

.geo-circle {
    border-radius: 50%;
}

.geo-pill-v {
    border-radius: 200px;
}

.geo-square {
    border-radius: 24px;
}

/* 각 상세 페이지별 고유 배치 및 색상 */
.corporate-geo .shape1 { width: 250px; height: 250px; background-color: var(--gold); top: 50px; left: 0; z-index: 1; }
.corporate-geo .shape2 { width: 350px; height: 350px; background-image: url('../assets/images/detail-corporate.jpg'); top: 100px; left: 100px; z-index: 3; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.corporate-geo .shape3 { width: 180px; height: 400px; background-color: var(--deep-navy); top: 150px; right: 0; z-index: 2; }

.leadership-geo .shape1 { width: 280px; height: 480px; background-image: url('../assets/images/detail-leadership.jpg'); top: 0; left: 50px; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.leadership-geo .shape2 { width: 250px; height: 250px; background-color: var(--gold); bottom: 20px; right: 50px; z-index: 1; }
.leadership-geo .shape3 { width: 150px; height: 150px; background-color: var(--deep-navy); bottom: 50px; left: -10px; z-index: 3; }

.iep-geo .shape1 { width: 400px; height: 400px; background-image: url('../assets/images/detail-iep.jpg'); top: 50px; right: 0; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.iep-geo .shape2 { width: 250px; height: 250px; background-color: var(--deep-navy); bottom: 50px; left: 0; z-index: 1; }
.iep-geo .shape3 { width: 120px; height: 120px; background-color: var(--gold); top: 0; left: 100px; z-index: 3; }

.vip-geo .shape1 { width: 220px; height: 500px; background-image: url('../assets/images/detail-vip.jpg'); top: 20px; right: 50px; z-index: 2; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.vip-geo .shape2 { width: 180px; height: 180px; background-color: var(--gold); top: 0; left: 100px; z-index: 1; }
.vip-geo .shape3 { width: 160px; height: 160px; background-color: var(--deep-navy); bottom: 40px; right: -10px; z-index: 3; }

@media (max-width: 992px) {
    .detail-container {
        grid-template-columns: 1fr;
    }
    .detail-visual {
        height: 400px;
        transform: scale(0.8);
    }
    .detail-text h1 {
        font-size: 3rem;
    }
}
