/**
 * fp-hero.css
 * Part of SouthKorea theme — extracted from fp-hero.php
 * @package SouthKorea
 */

/* ── Hero Background Parallax ────────────────────────────── */
.hero { overflow: visible !important; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg-img {
    position: absolute;
    inset: -15% 0;
    background-image: url('https://southkorea.today/wp-content/uploads/2026/05/hero-bg-scaled.jpg');
    background-size: cover;
    background-position: center 40%;
    will-change: transform;
    transition: transform .05s linear;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(4,6,12,.72) 0%, rgba(4,6,12,.45) 40%, rgba(4,6,12,.78) 80%, rgba(4,6,12,.97) 100%),
        radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(4,6,12,.5) 100%);
}

/* ── Search Wrap + Suggestions ───────────────────────────── */
.hero-search-wrap {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto 28px;
    z-index: 50;
}
.hero-search-label {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    font-family: 'DM Sans', sans-serif;
    margin-bottom: 10px;
    font-weight: 500;
}
.hero-search-input {
    flex: 1;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 300;
    padding: 14px 22px;
    outline: none;
    border-radius: 0;
    -webkit-appearance: none;
    transition: border-color .25s, background .25s;
    caret-color: var(--neon, #00c8ff);
}
.hero-search-input::placeholder { color: rgba(255,255,255,.38); }
.hero-search-input:focus {
    background: rgba(0,200,255,.06);
    border-color: rgba(0,200,255,.6);
    box-shadow: 0 0 0 1px rgba(0,200,255,.12), 0 8px 40px rgba(0,0,0,.3);
}
.hero-search-btn {
    background: var(--neon, #00c8ff);
    border: none;
    color: #000;
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 14px 24px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s, transform .1s;
}
.hero-search-btn:hover { background: #fff; }
.hero-search-btn:active { transform: scale(.97); }

/* Suggestions dropdown */
.hero-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0; right: 0;
    background: rgba(8,10,16,.97);
    border: 1px solid rgba(0,200,255,.2);
    backdrop-filter: blur(20px);
    z-index: 9999;
    max-height: 320px;
    overflow-y: auto;
    scrollbar-width: none;
    box-shadow: 0 16px 48px rgba(0,0,0,.6);
    max-width: 560px;
}
.hero-suggestions::-webkit-scrollbar { display: none; }
.hero-sugg-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    font-size: 13px;
    color: rgba(255,255,255,.75);
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,.05);
    transition: background .15s, color .15s;
    text-decoration: none;
}
.hero-sugg-item:last-child { border-bottom: none; }
.hero-sugg-item:hover, .hero-sugg-item.active {
    background: rgba(0,200,255,.07);
    color: #fff;
}
.hero-sugg-icon {
    width: 28px; height: 28px;
    border-radius: 6px;
    background: rgba(0,200,255,.08);
    border: 1px solid rgba(0,200,255,.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}
.hero-sugg-type {
    margin-left: auto;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(0,200,255,.5);
    flex-shrink: 0;
}
.hero-sugg-section {
    padding: 8px 18px 4px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(0,200,255,.4);
    font-weight: 500;
}

/* ── Hero Tag Pills ───────────────────────────────────────── */
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text2);
    text-decoration: none;
    cursor: pointer;
    transition: all .3s cubic-bezier(.2,.8,.2,1);
    letter-spacing: .5px;
    position: relative;
    overflow: hidden;
}
.hero-tag-icon { font-size: 14px; line-height: 1; }
.hero-tag::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,200,255,.0);
    transition: background .3s;
    border-radius: inherit;
}
.hero-tag:hover {
    border-color: var(--neon);
    color: var(--neon);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,200,255,.15);
}
.hero-tag:hover::before { background: rgba(0,200,255,.05); }
.hero-tag.current {
    border-color: var(--neon);
    background: rgba(0,200,255,.08);
    color: var(--neon);
}

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hero-content { padding: 0 20px; }
    .hero-search { flex-direction: column; gap: 0; }
    .hero-search-input { width: 100%; border-radius: 0; }
    .hero-search-btn { width: 100%; padding: 14px !important; }
    .hero-tags { justify-content: center; gap: 8px; }
    .hero-tag { font-size: 12px; padding: 6px 14px; }
}