/* 전역 스타일 */
/* 얄난체 폰트 추가 */
@font-face {
    font-family: 'yg-jalnan';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_four@1.2/JalnanOTF00.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #0066ff;
    --secondary-color: #7700ff;
    --dark-blue: #003399;
    --light-gray: #f4f4f4;
    --dark-gray: #333;
    --white: #fff;
    --black: #000;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Noto Sans KR', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--dark-gray);
}

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

img {
    max-width: 100%;
}

/* 헤더 스타일 */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    position: relative;
    top: -2px;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-blue);
    text-transform: none;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-family: 'yg-jalnan', sans-serif;
    font-weight: 100;
    font-size: 1rem;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* 히어로 섹션 */
.hero {
    background: url('hero-bg.jpg') no-repeat center center;
    background-size: cover;
    position: relative;
    color: var(--white);
    text-align: center;
    padding: 150px 0;
}

/* 배경 이미지 위에 어두운 오버레이 추가 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* 검은색 오버레이, 투명도 조절 가능 */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2; /* 오버레이 위에 콘텐츠 표시 */
}

.hero h1 {
    font-size: calc(48px * 0.8); /* 20% 줄임 */
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 서비스 섹션 */
.services {
    background-color: var(--light-gray);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

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

.service-card i {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* 회사 소개 섹션 */
.about h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: calc(36px * 0.7); /* 30% 줄임 */
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 16px;
}

.about-image {
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* 문의하기 섹션 */
.contact {
    background-color: var(--light-gray);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-color);
    font-size: 20px;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 푸터 */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links a {
    color: var(--white);
    margin-left: 15px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        padding-top: 10px;
    }

    .logo {
        margin-bottom: 10px;
        position: relative;
        display: flex;
        align-items: center;
        transform: translateX(-10%); /* 로고를 왼쪽으로 10% 이동 */
    }

    .logo img {
        height: 40px; /* 모든 페이지에서 동일한 로고 크기 사용 */
        margin-right: 10px;
    }

    .logo span {
        font-size: 30px;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 28px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 3px;
        font-weight: 900;
    }

    nav {
        width: 100%;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0 10px;
        margin-bottom: 5px;
        padding: 5px 0;
        width: 100%;
        text-align: center;
    }
    
    nav ul li a {
        display: block;
        padding: 8px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        text-align: left !important;
        white-space: nowrap;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 16px;
    }

    section {
        padding: 40px 0;
    }

    .service-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px !important;
    }

    .business-services {
        flex-direction: column !important;
    }

    .business-card {
        flex: 1 0 100% !important;
        margin-bottom: 15px;
    }

    .about-content {
        flex-direction: column;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-info, .contact-form {
        flex: 1 0 100%;
        margin-bottom: 30px;
    }

    footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    /* 이미지 크기 조정 */
    .about-image img, .service-card img, .business-card img {
        max-width: 100%;
        height: auto;
    }

    /* 컨테이너 크기 조정 */
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .about h2 {
        font-size: calc(36px * 0.7 * 0.8); /* 모바일에서 추가로 줄임 */
    }
}

/* 작은 모바일 화면을 위한 추가 미디어 쿼리 */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }
    
    .business-card h3 {
        font-size: 18px;
    }

    .business-card p {
        font-size: 13px;
    }
    
    .logo img {
        height: 36px; /* 더 작은 화면에서는 로고 크기를 약간 줄임 */
    }
    
    .logo span {
        font-size: 24px; /* 더 작은 화면에서는 텍스트 크기를 약간 줄임 */
    }
}

/* 섹션 제목 스타일 */
h2 {
    font-family: 'yg-jalnan', sans-serif;
    font-weight: normal;
    letter-spacing: -0.5px;
} 