/* ============================================
   Hero Heights - v18.187 (모바일 헤더 겹침 수정)
   목적: 화면 꽉 채우기 + 네비 바로 아래 배치
   원칙: 모든 페이지 히어로 통일성 유지
   추가: VIP 서비스 히어로 클래스 추가
   수정: 모든 히어로에 padding-top: 80px 추가
   ============================================ */

/* 모든 히어로 섹션 - 화면 높이 100% 활용 */
.hero--navy,
.purpose-hero,
.director-hero,
.psych-hero,
.mgmt-hero,
.vip-hero {
    /* 높이 = 100vh - 네비 80px (화면 꽉 채움) */
    height: calc(100vh - 80px) !important;
    min-height: calc(100vh - 80px) !important;
    max-height: calc(100vh - 80px) !important;
    
    /* 네비게이션 바로 아래 배치 (공백 제거) */
    margin-top: 80px !important; /* 헤더 높이만큼 여백 추가 (모바일 겹침 방지) */
    
    /* 상단 여백만 추가 (좌우하단은 0) */
    padding: 0 !important; /* body padding-top: 80px로 이미 처리됨 */
    
    /* 콘텐츠 정중앙 정렬 */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* 오버플로우 숨김 (히어로 내부에서만 스크롤) */
    overflow: hidden !important;
}

/* 콘텐츠 래퍼 - 내부 스크롤 */
.hero__content,
.director-hero__content,
.psych-hero__content,
.mgmt-hero__content,
.purpose-hero__content,
.vip-hero__content {
    /* 콘텐츠 중앙 정렬 (좌우) */
    text-align: center;
    padding: 2rem;
}

/* VIP 히어로 아이콘 */
.vip-hero__icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

/* VIP 히어로 타이틀 */
.vip-hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}


/* Purpose 히어로 타이틀 (VIP와 동일) */
.purpose-hero__title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

/* Purpose 히어로 서브타이틀 */
.purpose-hero__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #e9d5ff;
    line-height: 1.6;
}

/* VIP 히어로 서브타이틀 */
.vip-hero__subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    color: #e9d5ff;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* VIP 히어로 배경 (보라 그라데이션) */
.vip-hero {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    position: relative;
}

.vip-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(124, 58, 237, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .hero--navy,
    .purpose-hero,
    .director-hero,
    .psych-hero,
    .mgmt-hero,
    .vip-hero {
        /* 모바일에서도 화면 꽉 채움 유지 */
        height: calc(100vh - 80px) !important;
        min-height: calc(100vh - 80px) !important;
        max-height: calc(100vh - 80px) !important;
        /* margin-top은 이미 위에서 정의됨 */
        padding: 1rem !important; /* 모바일 좌우 여백 */
    }
    
    .hero__content,
    .director-hero__content,
    .psych-hero__content,
    .mgmt-hero__content,
    .purpose-hero__content,
    .vip-hero__content {
        padding: 1rem;
        max-height: 85vh; /* 모바일에서 약간 여유 */
    }
    
    .vip-hero__icon {
        font-size: 3rem;
    }
    
    .vip-hero__title {
        font-size: clamp(1.8rem, 4vw, 2.5rem);
    }
    
    .vip-hero__subtitle {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }
}

/* 색상 변수 (전체 사이트 통일) */
:root {
    /* VIP 서비스 */
    --vip-primary: #7c3aed;
    --vip-light: #a78bfa;
    --vip-accent: #fbbf24;
    --vip-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    
    /* CEO 서비스 - 심리전략센터 */
    --psych-primary: #7c3aed;
    --psych-light: #a78bfa;
    --psych-bg: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
    
    /* CEO 서비스 - 경영시스템센터 */
    --mgmt-primary: #d97706;
    --mgmt-light: #fbbf24;
    --mgmt-bg: linear-gradient(135deg, #78350f 0%, #92400e 100%);
    
    /* 공통 */
    --container-max: 1200px;
    --section-padding: 120px 0;
    --card-radius: 24px;
    --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

/* 공통 컨테이너 */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* 공통 섹션 패딩 */
.section {
    padding: var(--section-padding);
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
}

/* 공통 카드 스타일 */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--card-radius);
    padding: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(167, 139, 250, 0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(167, 139, 250, 0.4);
}

@media (max-width: 768px) {
    .card {
        padding: 30px 20px;
    }
}

/* 공통 버튼 스타일 */
.btn-primary {
    display: inline-block;
    background: var(--vip-primary);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

/* 공통 테이블 스타일 */
.table-standard {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.table-standard thead {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%);
}

.table-standard th {
    padding: 24px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 2px solid rgba(167, 139, 250, 0.3);
}

.table-standard td {
    padding: 24px;
    color: #64748b;
    font-size: 1.05rem;
    border-bottom: 1px solid #e2e8f0;
}

.table-standard tbody tr:last-child td {
    border-bottom: none;
}

.table-standard tbody tr:nth-child(even) {
    background: #f8fafc;
}

@media (max-width: 768px) {
    .table-standard th,
    .table-standard td {
        padding: 16px 12px;
        font-size: 0.95rem;
    }
}


/* ===================================
   히어로 배경색 전수 정의 (v18.109)
   =================================== */

.psych-hero {
    background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%) !important;
    color: #ffffff;
}



.director-hero-gold {
    background: linear-gradient(135deg, #065f46 0%, #064e3b 100%) !important;
    color: #ffffff;
}

.mgmt-hero {
    background: linear-gradient(135deg, #78350f 0%, #451a03 100%) !important;
    color: #ffffff;
}

.purpose-hero {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    color: #ffffff;
}

/* vip-hero는 vip-premium.css에 이미 정의되어 있음 */

.hero--navy {
    background: linear-gradient(135deg, #1a365d 0%, #0f172a 100%) !important;
    color: #ffffff;
}
