/* 기본 스타일 */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    color: white; /* 기본 글씨색을 흰색으로 설정 */
}

.split-horizontal {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 전체 화면 높이 */
    width: 100%; /* 전체 화면 너비 */
}

/* 위쪽 섹션 스타일 */
.top {
    flex: 1;
    background: linear-gradient(135deg, #e53935, #b71c1c); /* 빨간색 그라데이션 */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    animation: background-move 10s infinite; /* 배경 애니메이션 */
    text-decoration: none; /* 밑줄 제거 */
    transition: color 0.3s ease-in-out, font-size 0.3s ease-in-out; /* 부드러운 전환 효과 */
}

    .top:hover {
        color: black; /* 글씨를 검정색으로 변경 */
    }

        .top:hover .services li {
            font-size: 1.4rem; /* 글씨 크기를 약간 키움 */
        }

/* 아래쪽 섹션 스타일 */
.bottom {
    flex: 1;
    background: linear-gradient(135deg, #1e88e5, #0d47a1); /* 파란색 그라데이션 */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    animation: background-move 10s infinite; /* 배경 애니메이션 */
    text-decoration: none; /* 밑줄 제거 */
    transition: color 0.3s ease-in-out, font-size 0.3s ease-in-out; /* 부드러운 전환 효과 */
}

    .bottom:hover {
        color: black; /* 글씨를 검정색으로 변경 */
    }

        .bottom:hover .services li {
            font-size: 1.4rem; /* 글씨 크기를 약간 키움 */
        }

/* 로고 스타일 */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px; /* "코리아"/"쇼트" 또는 "수"/"메이드" 간 간격 */
}

.logo {
    font-size: 4rem; /* 로고 텍스트 크기 */
    font-weight: bold;
    text-transform: uppercase;
    color: inherit; /* 부모 색상에 따라 변경 */
    letter-spacing: 2px;
}

.logo-accent {
    font-size: 4rem; /* 로고 강조 텍스트 크기 */
    font-weight: bold;
    color: inherit; /* 부모 색상에 따라 변경 */
    letter-spacing: 2px;
}

/* 강조 텍스트 */
.highlight {
    font-size: 2rem; /* 글씨 크기 증가 */
    margin-top: 10px;
    font-weight: bold;
    color: inherit; /* 부모 색상에 따라 변경 */
}

/* 서비스 리스트 스타일 */
.services {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* 항목 간 간격 */
}

    .services li {
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.2); /* 반투명 배경 */
        padding: 10px 15px;
        border-radius: 5px; /* 모서리 둥글게 */
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 1px;
        color: inherit; /* 부모 색상에 따라 변경 */
        transition: font-size 0.3s ease-in-out; /* 글씨 크기 전환 효과 */
    }

/* 텍스트 페이드 인 효과 */
.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

/* 페이드 인 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 배경색 이동 애니메이션 */
@keyframes background-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 링크 밑줄 제거 */
a {
    text-decoration: none; /* 모든 링크 밑줄 제거 */
    color: inherit; /* 링크 색상이 부모 요소의 텍스트 색상과 동일하게 유지 */
}
/* 기본 스타일 */
body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Arial', sans-serif;
    color: white; /* 기본 글씨색을 흰색으로 설정 */
}

.split-horizontal {
    display: flex;
    flex-direction: column;
    height: 100vh; /* 전체 화면 높이 */
    width: 100%; /* 전체 화면 너비 */
}

/* 위쪽 섹션 스타일 */
.top {
    flex: 1;
    background: linear-gradient(135deg, #e53935, #b71c1c); /* 빨간색 그라데이션 */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    animation: background-move 10s infinite; /* 배경 애니메이션 */
    text-decoration: none; /* 밑줄 제거 */
    transition: color 0.3s ease-in-out, font-size 0.3s ease-in-out; /* 부드러운 전환 효과 */
}

    .top:hover {
        color: black; /* 글씨를 검정색으로 변경 */
    }

        .top:hover .services li {
            font-size: 1.4rem; /* 글씨 크기를 약간 키움 */
        }

/* 아래쪽 섹션 스타일 */
.bottom {
    flex: 1;
    background: linear-gradient(135deg, #1e88e5, #0d47a1); /* 파란색 그라데이션 */
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    animation: background-move 10s infinite; /* 배경 애니메이션 */
    text-decoration: none; /* 밑줄 제거 */
    transition: color 0.3s ease-in-out, font-size 0.3s ease-in-out; /* 부드러운 전환 효과 */
}

    .bottom:hover {
        color: black; /* 글씨를 검정색으로 변경 */
    }

        .bottom:hover .services li {
            font-size: 1.4rem; /* 글씨 크기를 약간 키움 */
        }

/* 로고 스타일 */
.logo-container {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px; /* "코리아"/"쇼트" 또는 "수"/"메이드" 간 간격 */
}

.logo {
    font-size: 4rem; /* 로고 텍스트 크기 */
    font-weight: bold;
    text-transform: uppercase;
    color: inherit; /* 부모 색상에 따라 변경 */
    letter-spacing: 2px;
}

.logo-accent {
    font-size: 4rem; /* 로고 강조 텍스트 크기 */
    font-weight: bold;
    color: inherit; /* 부모 색상에 따라 변경 */
    letter-spacing: 2px;
}

/* 강조 텍스트 */
.highlight {
    font-size: 2rem; /* 글씨 크기 증가 */
    margin-top: 10px;
    font-weight: bold;
    color: inherit; /* 부모 색상에 따라 변경 */
}

/* 서비스 리스트 스타일 */
.services {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* 항목 간 간격 */
}

    .services li {
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.2); /* 반투명 배경 */
        padding: 10px 15px;
        border-radius: 5px; /* 모서리 둥글게 */
        text-transform: uppercase;
        font-weight: bold;
        letter-spacing: 1px;
        color: inherit; /* 부모 색상에 따라 변경 */
        transition: font-size 0.3s ease-in-out; /* 글씨 크기 전환 효과 */
    }

/* 텍스트 페이드 인 효과 */
.fade-in {
    opacity: 0;
    animation: fadeIn 2s ease-in forwards;
}

/* 페이드 인 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 배경색 이동 애니메이션 */
@keyframes background-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 링크 밑줄 제거 */
a {
    text-decoration: none; /* 모든 링크 밑줄 제거 */
    color: inherit; /* 링크 색상이 부모 요소의 텍스트 색상과 동일하게 유지 */
}
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2 {
    text-align: center;
    margin-top: 20px;
}

.about {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1000px;
}

.slideshow-container {
    position: relative;
    margin: auto;
    max-width: 1000px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slide {
    display: none;
}

    .slide img {
        width: 100%;
        height: auto;
    }

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

.fade {
    animation-name: fade;
    animation-duration: 1s;
}

#description-box {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: #444;
    background: #f1f1f1;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 1000px;
    margin: 20px auto;
}

nav {
    background: linear-gradient(135deg, #e53935, #b71c1c);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

    nav ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }

        nav ul li {
            position: relative;
            margin: 0 15px;
        }

            nav ul li a {
                text-decoration: none;
                color: white;
                font-size: 0.9rem;
                padding: 10px 15px;
                border-radius: 5px;
                transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
                text-align: left;
                white-space: nowrap;
            }

                nav ul li a:hover {
                    background-color: rgba(255, 255, 255, 0.2);
                    color: #fff;
                }

            nav ul li ul {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%;
                left: 0;
                background: rgba(50, 50, 50, 0.8);
                list-style: none;
                margin: 0;
                padding: 5px 0;
                border-radius: 5px;
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
                z-index: 1000;
                min-width: 90px;
            }

            nav ul li.active ul {
                display: flex;
                flex-direction: column; /* 세로 방향 정렬 */
            }

            nav ul li ul li {
                padding: 5px 5px;
                margin-bottom: 5px;
            }

                nav ul li ul li a {
                    color: white;
                    display: block;
                    font-size: 0.8rem;
                    white-space: nowrap;
                }

                    nav ul li ul li a:hover {
                        background-color: rgba(255, 255, 255, 0.2);
                    }

            nav ul li:hover ul {
                display: block; /* 드롭다운 메뉴 표시 */
            }

@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        background: rgba(50, 50, 50, 0.9);
        padding: 10px;
        border-radius: 0 0 8px 8px;
        width: 100%;
    }

        nav ul li {
            margin: 10px 0;
            width: 100%;
        }
}

@media screen and (max-width: 480px) {
    nav ul li a {
        font-size: 0.8rem;
        padding: 8px 12px;
    }
}
#surface {
    display: none; /* 기본적으로 숨김 */
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: 20px auto;
    text-align: center;
}

    #surface h2 {
        font-size: 1.5rem;
        color: #333;
    }

    #surface p {
        font-size: 1rem;
        color: #666;
        line-height: 1.5;
    }