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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
}

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

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 1.5px;
    padding: 8px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #6e45e2;
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: #6e45e2;
}

section {
    min-height: 100vh;
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

#home {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.6)
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.logo-text {
    font-size: 15rem;
    font-weight: 900;
    background: linear-gradient(45deg, #fff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0,0,0,0.3);
    animation: fadeInDown 1s ease-out;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat {
    text-align: center;
}

.stat .number {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat .label {
    font-size: 1.2rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1rem 0;
    text-transform: uppercase;
    letter-spacing: 5px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.subtitle {
    font-size: 2rem;
    font-weight: 300;
    margin-top: 1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

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

    h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }
}

.cta-button {
    padding: 15px 30px;
    margin-top: 20px;
    border: none;
    border-radius: 25px;
    background: white;
    color: #6e45e2;
    font-size: 18px;
    cursor: pointer;
}

.services-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
    width: 100%;
    max-width: 1200px;
}

.service-card, .pricing-card {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pricing-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.price {
    font-size: 24px;
    margin: 20px 0;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 500px;
}

input, textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

textarea {
    height: 150px;
}

button {
    padding: 15px;
    border: none;
    border-radius: 5px;
    background: #6e45e2;
    color: white;
    cursor: pointer;
}

footer {
    position: relative;
    width: 100%;
    background: #333;
    color: white;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
    }
}

.timeline {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, transparent, #6e45e2, transparent);
}

.timeline-item {
    margin-bottom: 60px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-left: 100px;
    position: relative;
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.year {
    position: absolute;
    left: -120px;
    top: 20px;
    background: #6e45e2;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 15px rgba(110, 69, 226, 0.3);
}

.achievement {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.achievement:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.achievement h3 {
    color: #6e45e2;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.achievement p {
    color: #666;
    margin: 8px 0;
    font-size: 1.1rem;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-content {
        margin-left: 60px;
    }
    
    .year {
        left: -80px;
        padding: 8px 15px;
        font-size: 1rem;
    }
    
    .achievement h3 {
        font-size: 1.1rem;
    }
    
    .achievement p {
        font-size: 1rem;
    }
}

.timeline-image {
    width: 300px;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.multi-image {
    display: flex;
    gap: 10px;
}

.multi-image img {
    width: calc(50% - 5px);
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-content {
        flex-direction: column !important;
        padding: 0 0 0 60px !important;
    }

    .year {
        left: 30px;
        transform: translateX(-50%);
    }

    .timeline-image {
        width: 100%;
        margin-top: 20px;
    }
}

.timeline-item.highlight .content {
    background: linear-gradient(45deg, #f6f8ff, #fff);
    border: 2px solid #6e45e2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 40px 20px;
    background: #222;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.footer-section h3 {
    color: #6e45e2;
    margin-bottom: 15px;
}

.social-links a {
    color: white;
    text-decoration: none;
    margin-right: 15px;
}

.copyright {
    text-align: center;
    padding: 20px;
    background: #111;
    color: #666;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        padding-left: 100px !important;
        padding-top: 50px;
        margin-bottom: 50px;
        justify-content: flex-start;
    }

    .content {
        width: 100%;
        max-width: 500px;
        padding: 30px;
    }

    .year {
        left: 0 !important;
        top: 0;
        transform: none !important;
    }
}

.timeline-image {
    width: 45%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-item:nth-child(odd) .timeline-image {
    left: auto;
    right: 120%;
}

.timeline-item:nth-child(odd) .content:hover .timeline-image {
    right: 110%;
}

@media (max-width: 1200px) {
    .timeline-image {
        top: -200px;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
    }

    .content:hover .timeline-image {
        left: 50% !important;
        right: auto !important;
    }
}

/* 8월 항목의 두 개 이미지를 위한 스타일 추가 */
.multi-image {
    display: flex;
    gap: 10px;
    width: 300px;
}

.hover-image .multi-image {
    width: 300px;
    height: 180px;
}

.multi-image img:first-child {
    width: 55%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.multi-image img:last-child {
    width: 45%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

/* 8월 항목의 hover-image 너비 조정 */
.timeline-item:nth-child(2) .hover-image {
    width: 300px;
    height: 180px;
}

@media (max-width: 1200px) {
    .multi-image {
        width: 100%;
        max-width: 300px;
        height: 180px;
    }
    
    .timeline-item:nth-child(2) .hover-image {
        width: 90vw;
        max-width: 300px;
        height: 180px;
    }
}

/* z-index 순서 조정 */
.year {
    position: absolute;
    top: -5px;
    background: #6e45e2;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 15px rgba(110, 69, 226, 0.3);
    transition: transform 0.3s ease;
    z-index: 2;
}

.hover-image {
    position: absolute;
    top: 50%;
    left: 120%;
    transform: translateY(-50%);
    width: 300px;
    height: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10000;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    overflow: hidden;
}

/* 8월 항목 특별 리 */
.timeline-item:nth-child(2) .hover-image {
    z-index: 10000;
}

.multi-image {
    position: relative;
    z-index: 10000;
}

#activities {
    min-height: auto;
    padding: 100px 20px;
}

.activities-grid {
    max-width: 1400px;
    width: 100%;
    margin: 40px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.activity-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.activity-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(110, 69, 226, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    z-index: 2;
}

.activity-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.activity-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.activity-card:hover .activity-image img {
    transform: scale(1.1);
}

.activity-content {
    padding: 30px;
}

.activity-content h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.activity-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 20px;
}

.activity-details {
    list-style: none;
    padding: 0;
}

.activity-details li {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.activity-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #6e45e2;
}

.activity-link {
    display: inline-block;
    margin-top: 20px;
    color: #6e45e2;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.activity-link:hover {
    transform: translateX(10px);
}

@media (max-width: 1200px) {
    .activities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .activity-card {
        height: auto;
    }
}

/* 애니메이션 효과 */
.activity-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.activity-card:nth-child(2) {
    animation-delay: 0.2s;
}

.activity-card:nth-child(3) {
    animation-delay: 0.4s;
}

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

/* 애니메이션 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 스크롤 진행률 바 */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, #6e45e2, #8d6aef);
    z-index: 1001;
}

/* 섹션 스타일 수정 */
section {
    min-height: 100vh;
    padding-top: 80px; /* 네비게이션 높이만큼 여백 추가 */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 스크롤 다운 인디케이터 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-down::before {
    content: '↓';
    color: white;
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* 섹션 전환 애니메이션 */
@keyframes fadeInSection {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 조정 */
@media (max-width: 768px) {
    section {
        padding-top: 60px;
    }
}

/* 스크롤 관련 스타일 추가 */
html {
    scroll-behavior: smooth;
}

section {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 스크롤 인디케이터 스타일 */
.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(110, 69, 226, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: #6e45e2;
    transform: scale(1.2);
}

/* 스크롤 다운 애니메이션 개선 */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 15px;
    cursor: pointer;
}

.scroll-down::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 2s infinite;
}

/* 타임라인 섹션 스타일 수정 */
#history {
    background: #f8f9fa;
    overflow-y: auto;
}

/* 스크롤 관련 스타일 수정 */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* 스크롤 인디케이터 스타일 수정 */
.scroll-indicator {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(110, 69, 226, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background: #6e45e2;
    transform: scale(1.2);
}

#press {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.press-container {
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.press-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.press-date {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.press-content h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.press-source {
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 8px;
}

.press-summary {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.press-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
}

.press-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .press-container {
        grid-template-columns: 1fr;
    }
}