﻿/* Hero 섹션 전용 스타일 */

/* 페이지 번호 */
.page-number {
    display: none !important;
}

.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('https://images.unsplash.com/photo-1480714378408-67cf0d13bc1b?auto=format&fit=crop&w=2000&q=80') no-repeat center center;
    background-size: cover;
    filter: grayscale(50%);
    z-index: -1;
    transform: scale(1.1);
    animation: zoomBackground 20s infinite alternate ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 900px;
    margin: 0 auto !important;
    padding: 0 2rem;
    top: 0;
    transform: translateY(60px);
    left: 0;
    opacity: 1;
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1);
    text-align: center !important;
}

.text-change-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
}

.hero-content h1 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

.animate-text-sub {
    font-size: 3rem;
    margin-bottom: 0.7rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
    letter-spacing: 0.5rem;
    font-weight: 300;
    background: linear-gradient(90deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.4;
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.animate-text-desc {
    font-size: 2rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
    letter-spacing: 0.3rem;
    font-weight: 200;
    background: linear-gradient(90deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.5;
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.button-wrapper {
    position: relative;
    z-index: 10;
    margin-top: 2rem;
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.explore-button {
    display: inline-block;
    padding: 1.6rem 4.5rem;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    font-family: 'Noto Sans KR', sans-serif;
    opacity: 0;
    animation: buttonFadeIn 1s ease forwards 1.4s;
    text-decoration: none;
    color: white;
}

.button-text {
    display: inline-block;
    color: #ffffff;
    font-weight: 400;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.explore-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.explore-button:hover {
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.explore-button:hover::before {
    transform: translateX(0);
}

.explore-button:hover .button-text {
    transform: translateY(-2px);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 5%;
    }
    .nav-left {
        gap: 1.5rem;
    }
    .nav-links {
        gap: 1rem;
    }
    .logo {
        font-size: 1.2rem;
        letter-spacing: 0.4rem;
    }
    .nav-links a {
        font-size: 0.8rem;
        letter-spacing: 0.2rem;
    }
    .dropdown-menu {
        min-width: 140px;
        padding: 0.8rem 0;
    }
    .dropdown-menu a {
        font-size: 0.7rem;
        padding: 0.6rem 1rem;
    }
    .hero-content {
        transform: translateY(20px);
    }
    .hero-content h1 {
        font-size: 2.2rem;
        letter-spacing: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .hero-content p {
        font-size: 1rem;
        letter-spacing: 0.2rem;
    }
    .explore-button {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    .animate-text-sub {
        font-size: 1.7rem;
    }
    .animate-text-desc {
        font-size: 1.2rem;
    }
    .page-number {
        top: -60px;
        right: -80px;
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .page-number {
        top: -40px;
        right: -50px;
        font-size: 4rem;
    }
}

/* 스크롤 인디케이터 */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    z-index: 10;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(45deg);
    margin: 0 auto 10px;
    animation: arrow-bounce 2s infinite;
}

.scroll-indicator p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}

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

@keyframes arrow-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translateY(0);
    }
    40% {
        transform: rotate(45deg) translateY(-5px);
    }
    60% {
        transform: rotate(45deg) translateY(-2px);
    }
}

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

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

@keyframes zoomBackground {
    0% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1.2);
    }
}
