/* 기본 설정 */
:root {
    --primary-blue: #93e4f5;
    --primary-green: #bbf8d2;
    --text-dark: #111111;
    --text-gray: #555555;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

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

body {
    font-family: 'Pretendard', sans-serif;
    background-color: #fff;
    overflow-x: hidden;
    color: var(--text-dark);
    word-break: keep-all;
}

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
    /* Essential for absolute logo */
    height: 64px;
}

/* 1. Logo: Strictly Centered */
.nav-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* Moves it back by 50% of its own width/height to center */
    z-index: 10;
    font-size: 0;
    /* Removing whitespace impact */
}

.nav-logo img {
    height: 64px;
}

/* 2. Menu Groups: Split and Align Balanced */
.nav-group {
    display: flex;
    gap: 80px;
    /* Space between items like ABOUT and GAON */
    flex: 1;
    /* Both groups take 50% of available space */
}

/* Left Group */
.nav-group:first-child {
    justify-content: flex-end;
    /* Push items towards the logo (right) */
    padding-right: 140px;
    /* Secure empty space for the logo */
}

/* Right Group */
.nav-group:last-child {
    justify-content: flex-start;
    padding-left: 140px;
}

.nav-group a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.3s, transform 0.3s;
    position: relative;
    display: inline-block;
}

.nav-group a:hover {
    color: var(--primary-blue);
}

/* ... (Existing Code) ... */

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(170, 240, 230, 0.5);
}

.nav-group a.active {
    color: #000;
    font-weight: 700;
    transform: translateY(-5px);
    /* Text moves up */
}

.nav-group a.active::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    bottom: -5px;
    /* Adjust based on desired distance */
    transform: translateY(5px);
    /* Counter-moves to stay in place */
}

/* 히어로 섹션 */
/* 히어로 섹션 */
.hero-section {
    padding: 220px 0 80px;
    /* Increased top padding (further from menu) */
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Bring text and image closer to center */
    gap: 60px;
    /* Fixed close gap between them */
    padding: 0 20px;
}

.hero-text {
    flex: 0 1 auto;
    /* Allow sizing based on content */
    max-width: 600px;
    /* Prevent text from getting too wide */
}

.hero-text h1 {
    font-size: 56px;
    /* Reduced from 72px */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #000;
    letter-spacing: -2px;
}

.hero-text p {
    font-size: 20px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.hero-text strong {
    color: #000;
    font-weight: 700;
}

/* 히어로 비주얼 (이미지) */
/* 히어로 비주얼 (이미지) */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    /* Center the image in its half of the container */
    align-items: center;
    /* Vertically align */
}

.hero-visual-img {
    width: 300px;
    /* Reduced to half size as requested */
    height: auto;
    object-fit: contain;
    /* Removed transform to keep it centered */
}

/* 기업 철학 */
.philosophy {
    text-align: center;
    padding: 100px 20px;
}

.line-point {
    margin-bottom: 30px;
}

.line-point img {
    height: 4px;
    width: auto;
}

.philosophy h2 {
    font-size: 48px;
    line-height: 1.3;
    margin-bottom: 40px;
    font-weight: 700;
    letter-spacing: -1px;
}

.philosophy .sub-text {
    max-width: 900px;
    margin: 0 auto;
    color: #444;
    font-size: 17px;
    line-height: 1.8;
}

/* 서비스 카드 & 웨이브 배경 */
.services {
    position: relative;
    padding: 100px 0 200px;
    overflow: hidden;
}

.service-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}



.service-card {
    width: 380px;
    padding: 60px 50px;
    border-radius: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .num {
    font-size: 48px;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
    color: #000;
}

.service-card h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

.wave-bg {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 600px;
    background: url('../assets/images/wave-bg.svg') no-repeat center;
    background-size: contain;
    z-index: 1;
    opacity: 1;
}

/* 가온 프로모션 */
.gaon-promo {
    text-align: center;
    padding: 100px 20px 200px;
}

.gaon-promo h2 {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.gaon-promo p {
    font-size: 18px;
    color: #444;
    margin-bottom: 50px;
    line-height: 1.6;
}

/* 버튼 */
.btn-primary {
    padding: 18px 50px;
    border-radius: 60px;
    border: none;
    background: linear-gradient(95deg, #93e4f5 0%, #bbf8d2 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(170, 240, 230, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(170, 240, 230, 0.5);
}



/* =========================================
   ABOUT PAGE STYLES
   ========================================= */

/* 기업 미션 */
.about-mission {
    padding: 200px 20px 100px;
    text-align: center;
}

.about-title {
    font-size: 20px;
    font-weight: 700;
    color: #444;
    margin-bottom: 30px;
    display: inline-block;
    position: relative;
    padding-top: 15px;
}

.about-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #93e4f5;
    /* Light blue accent */
}

.mission-slogan {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    word-break: keep-all;
}

.mission-desc {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 핵심 가치 */
.about-values {
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;
}

.values-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('../assets/images/about_bg.svg') no-repeat center;
    background-size: cover;
    z-index: 1;
    opacity: 0.6;
}

.values-container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.value-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.value-card {
    width: 380px;
    background: #fff;
    border-radius: 30px;
    padding: 50px 40px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.value-num {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.value-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
}

.value-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

/* 비전 (Your tomorrow...) */
.about-vision {
    text-align: center;
    padding: 100px 20px;
}

.vision-text {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 30px;
}

.vision-sub {
    font-size: 18px;
    color: #444;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* 회사 정보 (지도) */
.about-info {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 200px;
    text-align: center;
}

.info-map-container {
    margin: 50px auto 40px;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.info-map-img {
    width: 100%;
    height: auto;
    display: block;
}

.info-details {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
    color: #333;
    line-height: 2;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.info-bullet {
    width: 10px;
    height: 10px;
    background-color: #93e4f5;
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

/* =========================================
   GAON PAGE STYLES
   ========================================= */
.gaon-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 160px 20px 100px;
    /* Adjusted top padding */
    text-align: center;
}

/* 1. Hero / Title */
.gaon-hero {
    margin-bottom: 100px;
}

.gaon-hero .line-point {
    margin-bottom: 20px;
}

.gaon-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
    letter-spacing: -1px;
}

.gaon-desc {
    font-size: 16px;
    color: #444;
    line-height: 1.8;
    word-break: keep-all;
    max-width: 800px;
    margin: 0 auto;
}

/* 2. Systems Grid */
.gaon-systems {
    margin-bottom: 140px;
}

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

.gaon-card {
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header {
    margin-bottom: 25px;
}

.card-num {
    font-size: 32px;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    color: #000;
}

.card-header h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;
}

.card-body {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 15px;
    background: #fff;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.card-highlight {
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    font-size: 16px;
    display: block;
}

.card-body p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.card-footer {
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px;
    background: #fdfdfd;
}

.card-footer p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.card-footer strong {
    color: #000;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

/* 3. Competency (Icons) */
.gaon-competency {
    margin-bottom: 140px;
}

.comp-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 80px;
    letter-spacing: -0.5px;
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 100px;
    align-items: center;
}

.comp-item {
    max-width: 600px;
    text-align: center;
}

.comp-icon {
    height: 140px;
    margin-bottom: 30px;
}

.comp-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comp-item p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    word-break: keep-all;
}

/* 4. Closing */
.gaon-closing {
    text-align: center;
    padding-bottom: 60px;
}

.gaon-closing .line-point {
    margin-bottom: 20px;
}

.gaon-closing h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
}

.gaon-closing p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .gaon-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .gaon-container {
        padding-top: 140px;
    }
}