/* 기본 폰트 설정 */
@font-face {
    font-family: 'GmarketSansMedium';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GmarketSansLight';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansLight.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'GmarketSansMedium', sans-serif;
    background-color: #f5f7fa;
}

/* 네비게이션 바 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 20px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-brand {
    padding: 0;
    margin-left: 0px;
}

.navbar-brand img {
    height: 35px;
    filter: brightness(0);
}

.nav-link {
    color: #666;
    font-weight: 300;
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover {
    color: #1a56ff;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #1a56ff;
    transition: width 0.2s ease;
}

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

.nav-item {
    margin: 0 40px;
    position: relative;
    transition: all 0.2s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    background-color: #fff;
    border-radius: 8px;
    min-width: 220px;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-weight: 300;
    font-family: 'GmarketSansLight', sans-serif;
    font-size: 0.9rem;
    position: relative;
    transition: all 0.2s ease;
    color: #000;
}

.dropdown-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.dropdown-item:hover {
    background-color: #edf2ff;
    color: #1a56ff;
    font-weight: 500;
}

.dropdown-item:active {
    background-color: #dbe4ff;
    color: #1a56ff;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-nav {
    margin: 0 auto;
}

/* 메인 컨텐츠 영역 */
.main-content {
    margin-top: 75px;
    min-height: calc(100vh - 75px - 200px); /* 네비게이션 높이와 푸터 높이를 제외한 최소 높이 */
}

/* 히어로 섹션 */
.hero-section {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-container {
    position: relative;
    width: 1700px;
    max-width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: brightness(0.9);
}

.hero-caption {
    position: absolute;
    bottom: 30%;
    left: 10%;
    text-align: left;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

.hero-caption h3 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: #e0e0e0;
    white-space: nowrap;
}

.hero-caption p {
    font-size: 1.5rem;
    font-family: 'GmarketSansLight', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
}

/* 푸터 스타일 */
.footer {
    background-color: #2a2a2a;
    color: #fff;
    padding: 60px 0 20px;
    margin-top: 40px;
    position: relative;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.footer-content {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 40px;
}

.footer-info {
    text-align: left;
}

.footer-info h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #fff;
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 10px;
    font-weight: 300;
    font-family: 'GmarketSansLight', sans-serif;
}

.footer-info .address {
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    position: relative;
    margin: 0 -15px;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.copyright {
    font-size: 0.9rem;
    color: #999;
    position: relative;
    z-index: 1;
}

/* 반응형 스타일 */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        margin-top: 0px;
        padding-top: 0px;
        border-top: 1px solid #eee;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }
    
    .nav-item {
        margin: 0px 0px 10px 20px;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }

    .navbar-brand img {
        height: 28px;
    }

    .hero-caption {
        display: none;
    }

    .section-container-1 {
        justify-content: center;
        gap: 60px;
    }
}

@media (max-width: 767.98px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer-info h3 {
        font-size: 1.3rem;
    }

    .footer-info p {
        font-size: 0.9rem;
    }

    .copyright {
        font-size: 0.85rem;
    }

    .hero-image {
        height: 250px;
        object-fit: cover;
    }

    .section-container-1 {
        flex-direction: column;
        padding: 1rem;
        gap: 20px;
    }

    .section-box {
        width: 100%;
        margin-bottom: 0rem;
    }

    .section-box p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* 섹션 타이틀 1 */
.section-title-1 {
    text-align: center;
    padding: 0.8rem 2rem;
    position: relative;
    max-width: 1800px;
    margin: 50px auto 30px;
}

.section-title-1::before,
.section-title-1::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #c7c1c1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.section-title-1::before {
    top: 0;
}

.section-title-1::after {
    bottom: 0;
}

.section-title-1 h2 {
    font-size: 1.5rem;
    color: #2a2a2a;
    margin: 10px 0px 0px 0px;
    padding: 0.5rem 0;
    font-family: 'GmarketSansMedium', sans-serif;
}

/* 반응형 스타일 */
@media (max-width: 767.98px) {
    .section-title-1 {
        padding: 0.2rem 2rem;
        margin: 20px auto 30px;
    }
    
    .section-title-1 h2 {
        font-size: 1rem;
    }
}

/* 섹션 컨테이너 1 */
.section-container-1 {
    max-width: 1700px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 1.5rem 1rem;
}

.section-box {
    width: 650px;
}

.section-box p {
    font-family: 'GmarketSansLight', sans-serif;
    font-size: 1rem;
    line-height: 2.0;
    margin-bottom: 1rem;
}

/* 반응형 스타일 */
@media (max-width: 1199.98px) {
    .section-container-1 {
        justify-content: center;
        padding: 1rem 2rem;
        gap: 60px;
    }
}

@media (max-width: 767.98px) {
    .section-container-1 {
        flex-direction: column;
        padding: 1rem 1.5rem;
        gap: 20px;
    }

    .section-box {
        width: 100%;
        margin-bottom: 0rem;
    }

    .section-box p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* 테이블 스타일 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
    font-family: 'GmarketSansLight', sans-serif;
}

.spec-table th,
.spec-table td {
    border: 1px solid #999;
    padding: 12px;
    text-align: center;
    font-size: 0.95rem;
}

.spec-table th {
    background-color: #b2dfdb;
    font-weight: 500;
    color: #2a2a2a;
}

.spec-table td:first-child {
    font-weight: 500;
    color: #2a2a2a;
    text-align: center;
}

.spec-table tr:first-child td:first-child {
    background-color: #b2dfdb;
}

/* 버튼 스타일 */
.test-report-btn {
    display: block;
    width: 200px;
    padding: 12px 20px;
    background-color: #b2dfdb;
    color: #2a2a2a;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    margin: 1.5rem auto 0;
    text-align: center;
}

.test-report-btn:hover {
    background-color: #80cbc4;
    color: #2a2a2a;
}

/* 반응형 스타일 */
@media (max-width: 1199.98px) {
    .spec-table th,
    .spec-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .spec-table th,
    .spec-table td {
        padding: 8px;
        font-size: 0.85rem;
    }

    .test-report-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* 섹션 컨테이너 2 */
.section-container-2 {
    max-width: 1700px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
}

.section-container-2 .section-box {
    width: 100%;
}

/* 카드 그리드 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.app-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.app-card:hover {
    transform: translateY(-5px);
}

.card-image {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 비율 */
    position: relative;
    overflow: hidden;
}

.card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #fff;
}

.app-card:hover .card-image img {
    transform: scale(1.05);
}

.card-title {
    padding: 15px;
    text-align: center;
}

.card-title h3 {
    font-size: 1rem;
    color: #2a2a2a;
    margin: 0;
    font-family: 'GmarketSansLight', sans-serif;
}

/* 반응형 스타일 */
@media (max-width: 1199.98px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .card-image {
        padding-bottom: 75%; /* 4:3 비율 유지 */
    }
}

@media (max-width: 767.98px) {
    .card-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 0 1rem;
    }

    .card-image {
        padding-bottom: 75%; /* 4:3 비율 유지 */
    }

    .card-title h3 {
        font-size: 0.9rem;
    }
}

/* 모달 스타일 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    margin: 20px;
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 1;
}

.close-modal:hover {
    color: #000;
}

.modal-body {
    padding: 20px 0;
}

.modal-body img {
    width: 100%;
    height: auto;
    max-height: 60vh;
    object-fit: contain;
    margin-bottom: 20px;
}

.modal-body h3 {
    font-size: 1.5rem;
    color: #2a2a2a;
    margin-bottom: 15px;
    font-family: 'GmarketSansMedium', sans-serif;
    text-align: center;
}

.modal-body p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    font-family: 'GmarketSansLight', sans-serif;
}

/* 모바일 대응 */
@media (max-width: 767.98px) {
    .modal-content {
        margin: 5px;
        padding: 20px;
        width: 95%;
        max-height: 95vh;
    }

    .close-modal {
        right: 15px;
        top: 10px;
        font-size: 24px;
    }

    .modal-body {
        padding: 15px 0;
    }

    .modal-body img {
        max-height: 70vh;
    }

    .modal-body h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }

    .modal-body p {
        font-size: 1rem;
    }
} 