/* ===================================
   MJ KOREA - openerdoc Minimalism Style
   Large Typography + Clean Layout
   VERSION: 16.0 (2025-12-15 20:20)
   HERO v14.1: Clean Animation
   ABOUT v16.0: Simple Text Only (No Box, No Stats)
   =================================== */

/* Pretendard Font-face (Backup) */
@font-face {
    font-family: 'Pretendard';
    font-weight: 400;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 600;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Pretendard';
    font-weight: 700;
    font-display: swap;
    src: url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/woff2/Pretendard-Bold.woff2') format('woff2');
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-primary: #6B7F5F;
    --green-dark: #4A6B4A;
    --green-darker: #3D5A3D;
    --green-deepest: #2D3D2D;
    --gold: #D4AF37;
    --beige: #FAF9F7;
    --white: #FFFFFF;
    --gray-dark: #555555;
    
    --font-kr: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
    --font-en: 'Montserrat', sans-serif;
    --font-body: 'Inter', 'Noto Sans KR', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-kr);
    color: var(--green-deepest);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--white);
    font-weight: 500;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Header - Fixed
   =================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    background: transparent;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 100%;
    padding: 0 60px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px; /* 50px → 70px (40% 증가) */
    transition: opacity 0.3s ease;
}

.logo:hover img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-en);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--white);
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.header.scrolled .nav-link {
    color: var(--green-deepest);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled .hamburger span {
    background: var(--green-deepest);
}

/* ===================================
   Hero Section - Left Aligned Pure Typography
   =================================== */
/* HERO 섹션 - 순수 검정 배경 + 흰색 타이포그래피 버전 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background: #000000 !important; /* 순수 검정 배경 강제 적용 */
    background-color: #000000 !important;
    position: relative;
    overflow: hidden;
}

/* 녹색 그라데이션 제거 - 순수 검정 배경 */
.hero::before,
.hero::after {
    display: none !important; /* 모든 의사요소 제거 */
}

/* ID 선택자로도 강제 적용 */
#home {
    background: #000000 !important;
    background-color: #000000 !important;
}

section.hero {
    background: #000000 !important;
    background-color: #000000 !important;
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* 상단 작은 텍스트 (흰색) */
.hero-small-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7); /* 흰색 70% */
    margin-bottom: 20px;
    opacity: 0;
    animation: gentleFadeIn 1.2s ease-out forwards;
    animation-delay: 0.2s;
}

/* 대형 타이포그래피 (흰색) */
.hero-main-typo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900; /* Black */
    font-size: 85px;
    color: #FFFFFF !important; /* 흰색 강제 적용 */
    text-transform: uppercase;
    line-height: 0.85;
    letter-spacing: -1px;
    text-align: left;
    margin: 0 0 30px 0;
    word-break: keep-all;
    
    /* 부드러운 등장 애니메이션 */
    opacity: 0;
    transform: translateY(40px);
    animation: smoothHeroReveal 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
    
    /* 흰색 타이포에 미묘한 그림자 추가 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-main-typo span {
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
    clear: both !important;
    color: #FFFFFF !important; /* 흰색 강제 적용 */
}

.hero-main-typo .line-1,
.hero-main-typo .line-2,
.hero-main-typo .line-3,
.hero-main-typo .line-4 {
    display: block !important;
    width: 100% !important;
    opacity: 1 !important;
    clear: both !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #FFFFFF !important; /* 흰색 강제 적용 */
}

/* 하단 회사명 (골드 유지) */
.hero-company-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #D4AF37; /* 골드 */
    letter-spacing: 3px;
    opacity: 0;
    animation: gentleFadeIn 1.2s ease-out forwards;
    animation-delay: 1.3s;
}

/* 부드러운 등장 애니메이션 */
@keyframes smoothHeroReveal {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    60% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gentleFadeIn {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* ===================================
   About Us Section - v18.2 SERVICE 레이아웃 완전 일치
   =================================== */
.about-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 150px 0;
}

/* 배경 이미지 - MJ KOREA 골드 로고 */
.about-background {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('https://www.genspark.ai/api/files/s/8xUEEygs');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    transform: translateY(0);
    transition: transform 0.1s ease-out;
}

/* 오버레이 - SERVICE와 유사하게 어두운 톤 */
.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

/* 콘텐츠 영역 - SERVICE와 완전히 동일 */
.about-content {
    position: relative;
    z-index: 3;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
}

/* 상단 라벨 - SERVICE와 동일 */
.about-header {
    margin-bottom: 30px;
}

.about-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #D4AF37;
    text-transform: uppercase;
}

/* 메인 타이틀 - SERVICE와 완전 동일하게 */
.about-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 64px; /* SERVICE와 동일한 크기 */
    font-weight: 900; /* Black - 가장 굵게 */
    color: #FFFFFF;
    line-height: 1.2;
    margin-bottom: 35px;
    word-break: keep-all;
    letter-spacing: -1.5px; /* SERVICE와 동일 */
    text-transform: none;
}

/* 구분선 - SERVICE와 동일 */
.about-divider {
    width: 60px;
    height: 3px;
    background: #D4AF37;
    margin-bottom: 40px;
}

/* 본문 텍스트 - SERVICE와 동일하게 */
.about-description {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.95);
    word-break: keep-all;
    letter-spacing: -0.3px;
}

.about-description p {
    margin-bottom: 25px;
}

/* 범용 라벨 스타일 */
.section-label {
    margin-bottom: 32px;
}

.label-line {
    width: 40px;
    height: 3px;
    background: var(--gold);
    margin-bottom: 16px;
}

.section-label span {
    font-family: var(--font-en);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
}

.section-label.white span {
    color: var(--gold);
}

/* 범용 타이틀 스타일 */
.section-title {
    font-size: 44px;
    font-weight: 900;
    color: var(--green-deepest);
    line-height: 1.3;
    margin-bottom: 32px;
}

.section-title.white {
    color: var(--white);
    font-size: 52px;
}

.section-title.center {
    text-align: center;
    font-size: 52px;
}

.section-title.gradient {
    background: linear-gradient(135deg, var(--green-primary) 0%, var(--gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    color: var(--gold);
    font-size: 16px;
}

.stat-item span {
    font-size: 16px;
    font-weight: 700;
    color: var(--green-primary);
}

/* ===================================
   Services Section - Card Layout with Images
   =================================== */
/* Services Section */
.services-section {
    position: relative;
    min-height: 100vh;
    background: #2d3e2f;
    padding: 150px 0;
}

.services-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 60px;
}

/* 헤더 - ABOUT과 동일하게 */
.services-header {
    margin-bottom: 30px;
}

.services-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #D4AF37;
    text-transform: uppercase;
    display: block;
    margin-bottom: 25px;
}

.services-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 64px;
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 35px;
    word-break: keep-all;
}

/* 서비스 카드 리스트 */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* 각 서비스 카드 */
.service-card {
    display: grid;
    grid-template-columns: 80px 420px 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

/* 서비스 번호 */
.service-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: #D4AF37;
    opacity: 0.5;
    line-height: 1;
}

/* 서비스 이미지 */
.service-image {
    position: relative;
    width: 420px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-image img {
    transform: scale(1.15);
}

/* 임시 이미지 오버레이 라벨 */
.image-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(212, 175, 55, 0.9);
    padding: 6px 12px;
    border-radius: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .image-overlay {
    opacity: 1;
}

.temp-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 0.5px;
}

/* 서비스 콘텐츠 */
.service-content {
    padding: 0 20px;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #D4AF37;
}

/* 서비스 서브타이틀 (영문) */
.service-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #D4AF37;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: capitalize;
}

.service-card:hover .service-subtitle {
    color: #FFFFFF;
}

.service-description {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.3px;
}

/* ===================================
   Strengths Section - 4 Cards
   =================================== */
.strengths {
    background: var(--white);
    padding: 150px 60px;
}

.strengths-container {
    max-width: 1100px;
    margin: 0 auto;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 16px auto 80px;
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.strength-card {
    position: relative;
    aspect-ratio: 1/1;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.strength-card:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 20px 60px rgba(107, 127, 95, 0.35);
}

.strength-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.strength-card:hover .strength-bg {
    transform: scale(1.15);
}

.strength-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(61, 90, 61, 0.88), rgba(107, 127, 95, 0.85));
    z-index: 1;
    transition: opacity 0.5s ease;
}

.strength-card:hover .strength-overlay {
    opacity: 0.7;
}

.strength-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px;
    color: var(--white);
}

.strength-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.strength-title {
    font-size: 40px;
    font-weight: 900;
    margin-bottom: 16px;
}

.strength-list {
    list-style: none;
    padding: 0;
}

.strength-list li {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.strength-list li::before {
    content: '• ';
    position: absolute;
    left: 0;
    color: var(--gold);
}

/* ===================================
   Why Choose Us Section
   =================================== */
/* ===================================
   WHY CHOOSE US Section - Professional
   =================================== */
/* WHY CHOOSE US 섹션 */
.why-choose-section {
    position: relative;
    padding: 120px 8% 100px;
    overflow: hidden;
    min-height: 600px;
}

/* 🔥 배경 이미지 레이어 (Parallax) */
.why-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.why-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 0.3s ease-out;
}

/* 다크 오버레이 (가독성 확보) */
.why-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(26, 77, 46, 0.85) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

.why-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

/* 타이틀 */
.why-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #ffffff;
    text-align: center;
    margin: 0 0 20px 0;
    letter-spacing: -1.5px;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

/* 골드 구분선 */
.why-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37);
    background-size: 200% 100%;
    margin: 0 auto 60px;
    border-radius: 2px;
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 4개 박스 1줄 배치 */
.why-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

/* 🔥 글래스모피즘 카드 */
.why-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255,255,255,0.3);
    overflow: hidden;
}

/* 카드 내부 글로우 */
.why-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212,175,55,0.15) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.why-card:hover::before {
    opacity: 1;
}

/* 호버 효과 */
.why-card:hover {
    transform: translateY(-15px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 25px 60px rgba(212, 175, 55, 0.4),
        0 10px 30px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.5),
        0 0 0 3px rgba(212, 175, 55, 0.5);
    border-color: rgba(212, 175, 55, 0.6);
}

/* 프로페셔널 SVG 아이콘 */
.why-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-icon svg {
    width: 100%;
    height: 100%;
    stroke: #D4AF37;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.5));
    transition: all 0.5s ease;
}

.why-card:hover .why-icon svg {
    transform: scale(1.15) rotate(5deg);
    stroke: #FFD700;
    filter: drop-shadow(0 8px 24px rgba(255, 215, 0, 0.8));
}

/* 숫자 */
.why-number,
.why-number-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin: 10px 0;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 8px rgba(212, 175, 55, 0.5);
}

.why-card:hover .why-number,
.why-card:hover .why-number-text {
    transform: scale(1.1);
    color: #FFD700;
    text-shadow: 0 0 25px rgba(255, 215, 0, 0.8);
}

/* 단위 */
.why-unit {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.why-card:hover .why-unit {
    color: #FFD700;
}

/* 설명 */
.why-label {
    font-family: 'Pretendard', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.why-card:hover .why-label {
    color: #ffffff;
}

/* ===================================
   Portfolio Section (Google Sheets 연동)
   =================================== */
.portfolio-section {
    padding: 120px 8% 100px;
    background: #f8f8f8;
}

.portfolio-container {
    max-width: 1600px;
    margin: 0 auto;
}

.portfolio-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 56px;
    font-weight: 900;
    color: #1a1a1a;
    text-align: center;
    margin: 0 0 10px 0;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.portfolio-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #666;
    text-align: center;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}

.portfolio-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #D4AF37, #FFD700, #D4AF37);
    margin: 0 auto 60px;
    border-radius: 2px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.portfolio-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #1a1a1a;
}

.portfolio-card:hover {
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* 호버 시 이미지 확대 */
.portfolio-card:hover .portfolio-image img {
    transform: scale(1.15);
}

/* 호버 시 오버레이 표시 */
.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

/* 호버 시 행사명 표시 */
.portfolio-card:hover .portfolio-name {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #1a1a1a;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.portfolio-name {
    font-family: 'Pretendard', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.4;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    word-break: keep-all;
}

/* ===================================
   Contact Section
   =================================== */
.contact {
    background: var(--white);
    padding: 150px 60px;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact .section-title {
    margin-bottom: 80px;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-info {
    text-align: center;
    max-width: 600px;
}

.contact-company {
    font-size: 32px;
    font-weight: 800;
    color: var(--green-deepest);
    margin-bottom: 16px;
}

.contact-ceo {
    font-size: 22px;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 40px;
}

.contact-details p {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-dark);
    margin-bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.contact-details i {
    color: var(--gold);
    width: 24px;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 18px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-family: var(--font-kr);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-primary);
    box-shadow: 0 0 0 3px rgba(107, 127, 95, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    padding: 20px 60px;
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(107, 127, 95, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: scale(1.05);
}

.btn-submit span {
    position: relative;
    z-index: 1;
}

/* ===================================
   Footer
   =================================== */
.footer {
    padding: 80px 60px;
    background: linear-gradient(135deg, var(--green-deepest) 0%, #3D4F3A 100%);
    text-align: center;
}

.footer-logo {
    height: 60px; /* 50px → 60px (20% 증가) */
    margin: 0 auto 24px;
    filter: brightness(0) invert(1);
}

.footer-contact {
    font-family: var(--font-en);
    font-size: 18px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-copyright {
    font-family: var(--font-en);
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* ===================================
   Responsive
   =================================== */
/* Tablet (768px ~ 1024px) */
@media (max-width: 1024px) {
    .hero {
        padding: 0 8%;
    }
    
    .hero-small-text {
        font-size: 14px;
    }
    
    .hero-main-typo {
        font-size: 65px;
        line-height: 0.88;
    }
    
    .hero-company-name {
        font-size: 18px;
    }
    
    /* About Section - Tablet (768px ~ 1024px) */
    .about-section {
        padding: 120px 0;
    }
    
    .about-content {
        padding: 0 40px;
    }
    
    .about-title {
        font-size: 52px;
    }
    
    .about-description {
        font-size: 17px;
    }
    
    /* Services Section - Tablet 반응형 */
    .services-section {
        padding: 120px 0;
    }
    
    .services-container {
        padding: 0 40px;
    }
    
    .services-title {
        font-size: 52px;
    }
    
    .service-card {
        grid-template-columns: 60px 350px 1fr;
        gap: 30px;
        padding: 35px;
    }
    
    .service-image {
        width: 350px;
        height: 240px;
    }
    
    .service-number {
        font-size: 40px;
    }
    
    .service-title {
        font-size: 28px;
    }
    
    .service-subtitle {
        font-size: 14px;
    }
    
    .service-description {
        font-size: 17px;
    }
    
    /* WHY CHOOSE US Section - Tablet */
    .why-title {
        font-size: 48px;
    }
    
    .why-grid-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .why-card {
        padding: 45px 25px;
    }
    
    .why-number,
    .why-number-text {
        font-size: 68px;
    }
    
    .why-icon {
        width: 56px;
        height: 56px;
    }
    
    /* Portfolio Section - Tablet */
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 18px;
    }
    
    .portfolio-title {
        font-size: 48px;
    }
    
    .portfolio-image {
        height: 250px;
    }
    
    .portfolio-name {
        font-size: 20px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 60px;
    }
}

/* Mobile (<768px) */
@media (max-width: 768px) {
    .header-container {
        padding: 0 30px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        gap: 30px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        color: var(--green-deepest);
        font-size: 20px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: 0 8%;
    }
    
    .hero-small-text {
        font-size: 14px;
    }
    
    .hero-main-typo {
        font-size: 38px;
        line-height: 0.95;
    }
    
    .hero-company-name {
        font-size: 16px;
    }
    
    /* About Section - Mobile (<768px) */
    .about-section {
        padding: 100px 0;
    }
    
    .about-content {
        padding: 0 30px;
    }
    
    .about-title {
        font-size: 40px;
        letter-spacing: -1px;
    }
    
    .about-description {
        font-size: 16px;
        line-height: 1.85;
    }
    
    /* 모바일에서 Parallax 비활성화 (성능 최적화) */
    .about-background {
        background-attachment: scroll;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-title.white {
        font-size: 40px;
    }
    
    .services-container,
    .strengths,
    .contact {
        padding: 100px 30px;
    }
    
    /* WHY CHOOSE US Section - Mobile */
    .why-choose-section {
        padding: 80px 5%;
    }
    
    .why-title {
        font-size: 36px;
    }
    
    .why-grid-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-card {
        padding: 40px 20px;
    }
    
    .why-number,
    .why-number-text {
        font-size: 56px;
    }
    
    .why-icon {
        width: 48px;
        height: 48px;
    }
    
    /* Portfolio Section - Mobile */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }
    
    .portfolio-title {
        font-size: 36px;
    }
    
    .portfolio-image {
        height: 200px;
    }
    
    .portfolio-name {
        font-size: 18px;
    }
    
    /* Services Section - Mobile 반응형 */
    .services-section {
        padding: 100px 0;
    }
    
    .services-container {
        padding: 0 30px;
    }
    
    .services-header {
        margin-bottom: 30px;
    }
    
    .services-title {
        font-size: 40px;
    }
    
    .services-list {
        gap: 35px;
    }
    
    .service-card {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 30px 25px;
    }
    
    .service-number {
        font-size: 32px;
    }
    
    .service-image {
        width: 100%;
        height: 220px;
    }
    
    .service-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .service-subtitle {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .service-description {
        font-size: 16px;
    }
    
    .image-overlay {
        opacity: 1;
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 38px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .stat-number {
        font-size: 64px;
    }
    
    /* Portfolio Section - Small Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .portfolio-image {
        height: 240px;
    }
    
    .portfolio-name {
        font-size: 18px;
    }
}
