/*====================================================
  1. 유틸리티 (Utility)
====================================================*/
.pb-20 { padding-bottom: 20px;}
.pb-80 { padding-bottom: 80px;}
.pb-150 { padding-bottom: 150px;}

/*====================================================
  2. 리셋 & 기본 스타일 (Reset & Base)
====================================================*/

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 100; /* Thin */
	src: url('/fonts/Pretendard-Thin.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 200; /* ExtraLight */
	src: url('/fonts/Pretendard-ExtraLight.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 300; /* Light */
	src: url('/fonts/Pretendard-Light.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 400; /* Regular */
	src: url('/fonts/Pretendard-Regular.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 500; /* Medium */
	src: url('/fonts/Pretendard-Medium.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 600; /* SemiBold */
	src: url('/fonts/Pretendard-SemiBold.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 700; /* Bold */
	src: url('/fonts/Pretendard-Bold.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 800; /* ExtraBold */
	src: url('/fonts/Pretendard-ExtraBold.woff') format('opentype');
}

@font-face {
	font-family: 'Pretendard';
	font-style: normal;
	font-weight: 900; /* Black */
	src: url('/fonts/Pretendard-Black.woff') format('opentype');
}

* {
	font-family: 'Pretendard';
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Pretendard', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

a {
    text-decoration: none;
    color: inherit;
}


/*====================================================
  3. 헤더 (Header) - 데스크탑
====================================================*/
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 0 12%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

header.scrolled {
    height: 70px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

header > .logo > a > img {
    width: 116px;
}

nav {
    display: flex;
    gap: 50px;
    transition: all 0.3s ease; /* 모바일 메뉴 전환 효과 */
}

nav a {
    color: #333;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* 네비게이션 호버 효과 */
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6200;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #FF6200;
}

nav a:hover::after {
    width: 100%;
}


/*====================================================
  4. 햄버거 메뉴 (모바일)
====================================================*/

/* 햄버거 버튼 기본 스타일 */
.hamburger {
    display: none; /* 기본적으로 숨김 (데스크탑) */
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 100%;
    height: 3px;
    margin: 5px 0;
    background-color: #ff6200;
    transition: all 0.3s ease-in-out;
}

/* 햄버거 버튼 X자로 변환 애니메이션 */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/*====================================================
  5. 반응형 미디어 쿼리 (Media Queries)
====================================================*/
@media (max-width: 768px) {
    /* 햄버거 버튼 보이기 */
    .hamburger {
        display: block;
    }
    
    /* 헤더 레이아웃 조정 (로고와 버튼 간격) */
    header {
        justify-content: space-between;
        padding: 0 5%; /* 모바일에서 좌우 패딩 조정 */
    }

    /* 네비게이션 메뉴 숨기기 (모바일 기본) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -300px; /* 화면 밖으로 이동 */
        width: 300px;
        height: 100vh;
        background-color: #ffffff;
        flex-direction: column;
        padding: 100px 30px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        gap: 20px;
        border-left: 1px solid #eee;
    }

    /* 메뉴가 활성화되었을 때 */
    .nav-menu.active {
        right: 0; /* 화면 안으로 이동 */
    }
    
    /* 메뉴 링크 스타일 */
    .nav-menu a {
        font-size: 18px;
        font-weight: 500;
        color: #333;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    /* 기존 nav 스타일 재정의 */
    nav {
        gap: 0;
    }
}


/*====================================================
  6. 페이지 섹션 스타일
====================================================*/

/* Page Header */
.page-header {
    padding: 150px 12% 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    letter-spacing: -1px;
    font-family: 'Raleway', sans-serif;
}

.page-header p {
    font-size: 20px;
    color: #666;
    line-height: 1.8;
}

/* Tab Buttons */
.tab-buttons {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.tab-button {
    padding: 12px 30px;
    border: 2px solid #ddd;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.tab-button a {
    color: inherit; 
}

.tab-button:hover {
    border-color: #111;
}

.tab-button.active {
    background: #111;
    color: white;
    border-color: #111;
}

/* Hero Banner */
.hero-banner {
    position: relative;
    height: 400px;
    background: url('../img/sol_bg.png') no-repeat center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 5%;
    margin-bottom: 100px;
}

.hero-banner h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    letter-spacing: -1px;
}

.hero-banner p {
    font-size: 18px;
    line-height: 1.8;
    max-width: 700px;
}


/*====================================================
  7. CTA 섹션 (Call to Action)
====================================================*/
.cta-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 100%);
    color: white;
    padding: 100px 8%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 배경 광원 효과 */
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(0,102,255,0.15) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-top: 12px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    line-height: 1.4;
}

.cta-section p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-section .highlight {
    color: #FF6200;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.btn-outline {
    padding: 18px 45px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-outline:hover {
    background: #FF6200;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

/* CTA 섹션 이미지 (별도 배치된 요소) */
.cta-image {
    position: absolute;
    right: 8%;
    bottom: 0;
    width: 200px;
    height: 200px;
    z-index: 1;
}


/*====================================================
  8. 푸터 (Footer)
====================================================*/
footer {
    background: #111;
    color: #999;
    padding: 60px 8% 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #333;
}

.footer-info p {
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #666;
}


  @media (max-width: 768px) {
        .pb-20 { padding-bottom: 12px;}
        .pb-80 { padding-bottom: 40px;}
        .pb-150 { padding-bottom: 60px;}  
        .pc_br { display: none;}
        .hero-banner p {
        font-size: 16px;
        line-height: 1.4;
        max-width: 400px;
        }
        .footer-logo img{
            width: 200px;
        }
        .footer-content {
                flex-direction: column;
                gap: 30px;
            }

        .footer-links {
                gap: 15px;
                align-items: flex-start; /* Align links to the left */
         }
    }

  @media screen and (min-width: 769px) {
    .mobile_br {display: none;}
    
    
}