/* 전역 변수 정의 */
:root {
    --main-color: #E0A080;
    --sub-color: #4A90E2;
    --text-color: #333333;
    --bg-color: #FFFFFF;
}

/* 기본 스타일 리셋 및 전역 스타일 설정 */
body,
html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 섹션 공통 스타일 */
.section {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}

/* 콘텐츠 컨테이너 스타일 */
.content {
    max-width: 1200px;
    text-align: center;
}

/* 제목 스타일 */
h1 {
    font-size: 3rem;
    color: var(--main-color);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--sub-color);
    margin-bottom: 1rem;
}

h3 {
    font-size: 2rem;
    color: var(--main-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* 섹션 제목 아이콘 스타일 */
h2 i {
    margin-right: 10px;
    color: var(--sub-color);
}

/* 단락 스타일 */
p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 로고 스타일 */
.logo {
    width: 200px;
    height: auto;
    margin-bottom: 1rem;
}

/* 마스코트 비디오 스타일 */
.mascot {
    width: 250px;
    height: auto;
    margin-top: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

/* 스크롤 안내 스타일 */
.scroll-guide {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-guide p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.scroll-guide i {
    font-size: 1.5rem;
    color: var(--main-color);
}

/* 스크롤 안내 바운스 애니메이션 */
@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 회사 소개 섹션 스타일 */
#about .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 팀 멤버 스타일 */
.team-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    width: 250px;
    margin: 1rem;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

/* GIF 이미지를 위한 추가 스타일 */
.gif-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h3 {
    color: var(--main-color);
    margin: 0.5rem 0;
}

.team-member p {
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* 서비스 스타일 */
.services {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.service {
    width: 300px;
    padding: 1.5rem;
    text-align: center;
}

.service-image-container {
    position: relative;
    display: inline-block;
}

.platform-icons {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 5px;
    border-radius: 5px;
    display: flex;
    gap: 5px;
}

.platform-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.service a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.service a:hover {
    transform: scale(1.05);
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 15px;
    border-radius: 10px;
}

.service-link:hover,
.service-link:focus {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.service h3 {
    color: var(--main-color);
    margin: 0.5rem 0;
}

.service p {
    font-size: 1rem;
    margin-top: 0.5rem;
}

.future-services {
    margin-top: 2rem;
    color: var(--sub-color);
    font-style: italic;
}

/* 푸터 스타일 */
footer {
    text-align: center;
    padding: 1rem;
    background-color: var(--sub-color);
    color: var(--bg-color);
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 1rem;
    }

    .mascot {
        width: 200px;
    }

    .team-member {
        width: 100%;
    }

    .service {
        width: 100%;
    }

    h2 i {
        font-size: 1.5rem;
    }
}