/* 기본 스타일 리셋 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: white;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* 배경 이미지 */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    z-index: -1;
    overflow: hidden;
}

/* 대체 배경 이미지 방법 */
body {
    background: #1a1a1a;
}

/* 스포츠 이모티콘 */
.sports-equipment {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1;
}

.sport-emoji {
    font-size: 6rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
    opacity: 0.3;
}

.sport-emoji:hover {
    transform: scale(1.2);
}

/* 반사 효과 */
.reflection {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    transform: scaleY(-1);
    opacity: 0.3;
}

.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%),
        linear-gradient(45deg, transparent 30%, rgba(76, 175, 80, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(5px) translateY(-10px); }
    75% { transform: translateX(-5px) translateY(5px); }
}

/* 네비게이션 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #4CAF50;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4CAF50;
}

.nav-link.active {
    color: #4CAF50;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

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

/* 햄버거 메뉴 */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 메인 콘텐츠 */
.main-content {
    padding-top: 100px;
    min-height: 100vh;
}

.hero-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80vh;
    padding: 2rem;
    gap: 4rem;
}

.hero-left {
    flex: 1;
    text-align: left;
    padding-left: 12rem;
}

.hero-right {
    flex: 1;
    max-width: none;
    padding-right: 5rem;
    display: flex;
    justify-content: flex-start;
}

.main-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

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

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
    margin-bottom: 3rem;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* 연락 양식 섹션 */
.contact-container {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 80%;
    max-width: 600px;

}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #4CAF50;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: white;
    background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    background: white;
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.3);
}

/* 회사소개 페이지 스타일 */
.about-page {
    background: #1a1a1a;
    color: white;
    min-height: 100vh;
}

.about-page .navbar {
    background: #1a1a1a;
    backdrop-filter: blur(10px);
}

.about-page .nav-logo a {
    color: #4CAF50;
}

.about-page .nav-logo a:hover {
    color: #4CAF50;
}

.about-page .nav-link {
    color: white;
}

.about-page .nav-link:hover {
    color: #4CAF50;
}

.about-page .main-content {
    padding-top: 80px;
}

/* 회사 소개 섹션 */
.company-intro {
    padding: 4rem 2rem;
    background: #1a1a1a;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-content {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.highlight {
    color: #4CAF50;
}

.intro-description {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.rouded-img {
    border-radius: 20px;
}
.story-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
}

/* 섹션 공통 스타일 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #ccc;
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 성장 과정 섹션 */
.growth-process {
    padding: 4rem 2rem;
    background: #1a1a1a;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: 11px;
    top: 0;
    width: 20px;
    height: 20px;
    background: #4CAF50;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.timeline-year {
    color: #4CAF50;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #ccc;
    line-height: 1.6;
}

/* 핵심 가치 섹션 */
.core-values {
    padding: 4rem 2rem;
    background: #1a1a1a;
    max-width: 1200px;
    margin: 0 auto;
}

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

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-top: 4px solid #4CAF50;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    margin-bottom: 1rem;
}

.value-description {
    color: black;
    line-height: 1.8;
    padding-bottom: 10px;
    font-size: 0.935rem;
}

/* 팀 소개 섹션 */
.team-section {
    padding: 4rem 2rem;
    background: #1a1a1a;
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #999;
    font-size: 0.9rem;
}

.member-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-description {
    color: black;
    line-height: 1.6;
}

/* 푸터 */
.footer {
    background: rgba(0, 0, 0, 0.9);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
}

.footer-content p {
    opacity: 0.7;
}

/* 반응형 디자인 */
/* 기본 이미지 반응형 처리 */
img {
    max-width: 100%;
    height: auto;
}

/* 모바일 터치 최적화 */
@media (max-width: 768px) {
    .nav-link,
    .submit-btn,
    .hamburger {
        min-height: 44px;
        min-width: 44px;
    }
    
    .contact-form input,
    .contact-form textarea {
        font-size: 16px; /* iOS에서 줌 방지 */
    }
}
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-section {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 1rem;
    }

    .hero-left {
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-right {
        max-width: 100%;
        padding-right: 1rem;
        padding-left: 1rem;
        display: flex;
        justify-content: center;
    }

    .contact-container {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        padding: 1.5rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .intro-title {
        font-size: 2rem;
    }

    .intro-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .company-intro {
        padding: 2rem 1rem;
    }

    .growth-process,
    .core-values,
    .team-section {
        padding: 2rem 1rem;
    }

    /* 이미지 반응형 처리 */
    img {
        max-width: 100%;
        height: auto;
    }

    .rouded-img {
        width: 100%;
        max-width: 300px;
        height: auto;
    }

    /* about 페이지 이미지 중앙 정렬 */
    .photo-placeholder {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0; /* 모바일에서는 왼쪽 마진 제거 */
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .hero-section {
        padding: 0.5rem;
    }

    .hero-left {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .hero-right {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }

    .contact-container {
        padding: 1rem;
    }

    .company-intro {
        padding: 1rem 0.5rem;
    }

    .growth-process,
    .core-values,
    .team-section {
        padding: 1rem 0.5rem;
    }

    .nav-container {
        padding: 0 0.5rem;
    }

    /* 작은 화면에서의 이미지 최적화 */
    .rouded-img {
        max-width: 250px;
    }

    .intro-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    /* about 페이지 이미지 중앙 정렬 (작은 화면) */
    .photo-placeholder {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: 0; /* 작은 화면에서도 왼쪽 마진 제거 */
    }
} 