@charset "utf-8";

.hero-section {
    width: 100%;
}

.hero-inner {
    gap: 40px;
    align-items: flex-start;
    padding: 45px 0;
}

/* ===========================
   슬라이더
=========================== */
.hero-slider-wrap {
    flex: 1;
    position: relative;
    border-radius: 30px;
    overflow: hidden;

    height: 600px;  /* ✅ 높이 고정 */
}

.hero-slide {
    position: relative;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    top: 0;
    right: 0;
    padding-left: 70px;
    gap: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-sub {
    color: var(--white);
    font-family: 'Paperlogy', sans-serif;
    font-weight: 600;

}

.hero-title {
    color: var(--white);
    font-family: 'Paperlogy', sans-serif;
    font-weight: 900;
}

.hero-desc {
    color: var(--white);
    font-family: 'Paperlogy', sans-serif;
    font-weight: 600;
}

.hero-desc strong {
    color: var(--banner-color);
    font-family: 'Paperlogy', sans-serif;
    font-weight: 800;
}

.hero-controls {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-left: 70px;
    padding-bottom: 70px;
    z-index: 10;
}

.hero-controls-inner {
    display: flex;
    flex-direction: row;
    align-items: center; /* 버튼끼리 세로 중앙 정렬 */
    gap: 25px;
}

.hero-button-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.hero-paging {
    color: rgba(255, 255, 255, 0.85);
    min-width: 48px;
    font-weight: 600;
}
.hero-btn.hero-play{
    background: none;
    border: none;
    opacity: 1;
}

.hero-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden; /* 추가 */
    opacity: 0.5;
}

.hero-btn .fa-solid {
    width: auto;
    height: auto;
    font-size: 20px;
}

/* ===========================
   우측 영역
=========================== */
.hero-right {
    width: auto;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-solid {
    width: 48px;
    height: 48px;
}

.fa-solid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.link-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ===========================
   로그인 위젯
=========================== */
.login-widget {
    background: #fff;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 2px 6px 14px 0px rgba(34, 34, 34, 0.25);
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.login-widget-title {
    text-align: center;
    color: var(--title);
}

.btn-login {
    display: block;
    width: 100%;
    padding: 18px 0;
    background: var(--primary);
    color: var(--white);
    border-radius: 10px;
    text-align: center;
    transition: opacity 0.2s;
}


.login-widget-links {
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--sub-title);
}

.login-widget-links a {
    display: flex;
    flex-direction: row;  /* 아이콘 위, 텍스트 아래 */
    align-items: center;
    color: var(--sub-title);
    gap:10px;
    transition: color 0.2s;
}


.login-widget-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* ===========================
   바로가기 메뉴
=========================== */
.shortcut-wrap {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.shortcut-header {
    background: var(--primary);
    color: #fff;
    padding: 45px 0 35px 0;
}

.shortcut-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.s-0 {
    background-color: #461508;
}

.s-1 {
    background-color: #000;
}


.shortcut-item {
    color: #fff;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    transition: background 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}


.shortcut-item i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.shortcut-item p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}


/* ============================================================
   MAIN SECTION 1 — 태블릿 / 모바일 반응형
   기존 mainSection1.css 하단에 추가
   ============================================================ */


/* ============================================================
   TABLET  769px ~ 1024px
   =============================
   =============================== */
@media screen and (min-width: 769px) and (max-width: 1024px) {

    /* 히어로 내부 레이아웃 */
    .hero-inner {
        gap: 24px;
        padding: 32px 20px;
    }

    /* 슬라이더 */
    .hero-slider-wrap {
        height: 420px;
        border-radius: 20px;
    }

    .hero-slide-text {
        padding-left: 40px;
    }

    .hero-controls {
        padding-left: 40px;
        padding-bottom: 40px;
    }

    .hero-controls-inner {
        gap: 16px;
    }

    .hero-btn {
        width: 40px;
        height: 40px;
    }

    .hero-btn .fa-solid {
        font-size: 16px;
    }

    /* 우측 영역 */
    .hero-right {
        gap: 16px;
    }

    /* 로그인 위젯 */
    .login-widget {
        padding: 32px 28px;
        gap: 24px;
        border-radius: 10px;
    }

    .btn-login {
        padding: 14px 0;
    }

    .login-widget-links {
        gap: 14px;
    }

    /* 바로가기 */
    .shortcut-header {
        padding: 32px 0 24px 0;
    }

    .shortcut-item {
        padding: 16px 12px;
    }
}


/* ============================================================
   MOBILE  ~ 768px
   ============================================================ */
@media screen and (max-width: 768px) {

    /* 히어로 내부 레이아웃: 세로 스택 */
    .hero-inner {
        flex-direction: column;
        gap: 20px;
        padding: 16px;
        align-items: stretch;
    }

    /* ── 슬라이더 ── */
    .hero-slider-wrap {
        width: 100%;
        height: 240px;
        border-radius: 16px;
    }

    .hero-slide img {
        height: 100%;
    }

    .hero-slide-text {
        padding-left: 24px;
        padding-right: 24px;
        gap: 10px;
    }

    .hero-controls {
        padding-left: 24px;
        padding-bottom: 24px;
    }

    .hero-controls-inner {
        gap: 12px;
    }

    .hero-btn {
        width: 36px;
        height: 36px;
    }

    .hero-paging {
        min-width: 36px;
    }

    /* ── 우측 영역: 가로 배치 → 세로 전환 ── */
    .hero-right {
        width: 100%;
        gap: 16px;
    }

    /* ── 로그인 위젯 ── */
    .login-widget {
        padding: 24px 20px;
        gap: 20px;
        border-radius: 10px;
        box-shadow: 2px 4px 10px rgba(34, 34, 34, 0.15);
    }

    .login-widget-title {
        font-size: 1rem; /* 16px */
    }

    .btn-login {
        padding: 14px 0;
        border-radius: 8px;
    }

    .login-widget-links {
        gap: 12px;
        flex-wrap: wrap;
    }

    .login-widget-links a {
        gap: 6px;
        font-size: 0.8125rem; /* 13px */
    }

    .link-icon img {
        width: 26px;
        height: 26px;
    }

    /* ── 바로가기 메뉴 ── */
    .shortcut-wrap {
        border-radius: 10px;
    }

    .shortcut-header {
        padding: 24px 0 18px 0;
    }


    .shortcut-grid {
        grid-template-columns: 1fr 1fr; /* 모바일에서도 2열 유지 */
    }

    .shortcut-item {
        padding: 16px 10px;
        gap: 6px;
    }

    .shortcut-item p {
        line-height: 1.35;
    }
}


/* ============================================================
   SMALL MOBILE  ~ 480px
   ============================================================ */
@media screen and (max-width: 480px) {

    .hero-inner {
        padding: 12px;
        gap: 16px;
    }

    .hero-slider-wrap {
        height: 200px;
        border-radius: 12px;
    }

    .hero-slide-text {
        padding-left: 16px;
        padding-right: 16px;
        gap: 6px;
    }

    .hero-controls {
        padding-left: 16px;
        padding-bottom: 16px;
    }

    .hero-btn {
        width: 32px;
        height: 32px;
    }

    .login-widget {
        padding: 20px 16px;
        gap: 16px;
    }

    .shortcut-item {
        padding: 14px 8px;
    }
}
