/* File Name   : style.css
   File Location : /views/site/themes/16/theme_default/blocks/hero/style.css
   File Explain  : 히어로 섹션 블록 스타일 */

.hero-search-block {
    position: relative;
    width: 100%;
    min-height: 600px;
    max-height: calc(1080px - 80px); /* 1080px - 헤더 높이 */
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-search-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-search-background-slides .hero-search-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-search-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-search-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.hero-search-slide-link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    text-decoration: none;
}

.hero-search-slide-link .hero-search-bg-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-search-bg-image,
.hero-search-bg-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-search-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

.hero-search-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 120px 20px 100px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    max-height: calc(1080px - 80px); /* 1080px - 헤더 높이 */
}

.hero-search-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
    flex: 1;
}

.hero-search-main {
    flex: 1;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hero-search-tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    width: fit-content;
    letter-spacing: 0.05em;
}

.hero-search-headline {
    font-size: clamp(42px, 6vw, 55px);
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.hero-search-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    color: #1f2937;
    padding: 12px 25px 12px 23px;
    border-radius: 99px;
    font-size: 19px;
    font-weight: bold;
    text-decoration: none;
    width: fit-content;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-search-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.hero-search-cta-arrow {
    font-size: 18px;
    line-height: 1;
}

.hero-search-sidebar {
    position: absolute;
    bottom: 100px;
    right: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    flex-shrink: 0;
}

.hero-search-social {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-search-social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-search-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

.hero-search-social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.hero-search-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero-search-scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.2em;
}

.hero-search-scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.5);
}

.hero-search-scroll-arrow {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

.hero-search-bottom-info {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    margin-top: auto;
    padding-top: 40px;
}

.hero-search-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 300px;
}

.hero-search-info-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
}

.hero-search-info-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.hero-search-info-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .hero-search-content {
        padding: 100px 30px 80px;
    }

    .hero-search-container {
        flex-direction: column;
        gap: 60px;
    }

    .hero-search-sidebar {
        position: absolute;
        bottom: 80px;
        right: 30px;
        flex-direction: row;
        justify-content: flex-end;
        gap: 20px;
        width: auto;
    }

    .hero-search-social {
        flex-direction: row;
    }

    .hero-search-scroll {
        flex-direction: row;
    }

    .hero-search-scroll-text {
        writing-mode: horizontal-tb;
    }

    .hero-search-scroll-line {
        width: 60px;
        height: 1px;
    }
}

@media (max-width: 768px) {
    .hero-search-block {
        min-height: 600px;
        max-height: calc(1080px - 80px); /* 1080px - 헤더 높이 */
    }

    .hero-search-content {
        padding: 80px 20px 60px;
    }

    .hero-search-headline {
        font-size: clamp(36px, 8vw, 56px);
    }

    .hero-search-sidebar {
        bottom: 60px;
        right: 20px;
        gap: 16px;
    }

    .hero-search-bottom-info {
        flex-direction: column;
        gap: 24px;
    }

    .hero-search-info-item {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-search-content {
        padding: 60px 16px 40px;
    }

    .hero-search-headline {
        font-size: clamp(28px, 7vw, 42px);
    }

    .hero-search-cta-button {
        padding: 14px 24px;
        font-size: 14px;
    }
}
