/* File Name   : hero_search.css
   File Location : /views/site/themes/8/theme_default/blocks/hero_search.css
   File Explain  : 히어로 검색 섹션 블록 스타일 */

.hero-search-block {
    position: relative;
    width: 100%;
    min-height: 700px;
    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-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.35) 100%
    );
    z-index: 1;
}

.hero-search-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 140px 20px 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-search-container {
    width: 100%;
    max-width: 900px;
    text-align: center;
}

.hero-search-headline {
    font-size: 64px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    letter-spacing: -0.02em;
}

.hero-search-subheadline {
    font-size: 19px;
    font-weight: 400;
    color: #ffffff;
    margin: 0 auto 56px;
    line-height: 1.65;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
    max-width: 820px;
    padding: 0 20px;
}

.hero-search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 820px;
    margin: 0 auto;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-search-input-group {
    flex: 1;
    min-width: 0;
}

.hero-search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    position: relative;
}

.hero-search-icon {
    font-size: 20px;
    flex-shrink: 0;
    color: #ef4444;
    line-height: 1;
}

.hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #1f2937;
    min-width: 0;
    padding: 0;
    font-weight: 400;
}

.hero-search-input::placeholder {
    color: #9ca3af;
}

.hero-search-chevron {
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.hero-search-chevron:hover {
    color: #6b7280;
}

.hero-search-divider {
    width: 1px;
    height: 36px;
    background: #e5e7eb;
    flex-shrink: 0;
    margin: 0 4px;
}

.hero-search-button {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #f97316;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    margin-left: 4px;
}

.hero-search-button:hover {
    background: #ea580c;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}

.hero-search-button:active {
    transform: scale(0.98);
}

.hero-search-button-icon {
    font-size: 22px;
    color: #ffffff;
    line-height: 1;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .hero-search-block {
        min-height: 600px;
    }

    .hero-search-headline {
        font-size: 48px;
    }

    .hero-search-subheadline {
        font-size: 17px;
        margin-bottom: 48px;
    }

    .hero-search-content {
        padding: 120px 20px 80px;
    }
}

@media (max-width: 768px) {
    .hero-search-block {
        min-height: 550px;
    }

    .hero-search-headline {
        font-size: 36px;
        margin-bottom: 18px;
    }

    .hero-search-subheadline {
        font-size: 15px;
        margin-bottom: 40px;
        padding: 0 16px;
    }

    .hero-search-content {
        padding: 100px 16px 60px;
    }

    .hero-search-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 10px;
        gap: 8px;
    }

    .hero-search-input-group {
        width: 100%;
    }

    .hero-search-input-wrapper {
        padding: 12px 14px;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.98);
    }

    .hero-search-divider {
        display: none;
    }

    .hero-search-button {
        width: 100%;
        height: 50px;
        border-radius: 14px;
        margin-top: 4px;
    }
}

@media (max-width: 480px) {
    .hero-search-headline {
        font-size: 28px;
    }

    .hero-search-subheadline {
        font-size: 13px;
    }

    .hero-search-input {
        font-size: 14px;
    }
}
