/* 메인 콘텐츠 */
.main-content {
    position: relative;
    height: 750px;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), url('/gnuboard5/img/count-top-banner.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    color: white;
    max-width: 500px;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 10px;
    font-weight: 500;
    opacity: 0.9;
    color: #A6756A;
}

.hero-title {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #111111;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.8;
}

/* ========================================
   서브 메뉴
   ======================================== */
.sub-menu-section {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    max-width: calc(100% - 40px);
    z-index: 100;
}

.sub-menu {
    background: #A6756A;
    backdrop-filter: blur(10px);
    padding: 0 300px;
    margin: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}

.sub-menu-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.sub-menu-item:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
}

.sub-menu-item a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 20px;
    font-weight: 300;
    padding: 35px 35px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sub-menu-item:hover a,
.sub-menu-item.active a {
    color: white;
    font-weight: 600;
}

.sub-menu-item.active a {
    color: #ffffff;
}

/* CARE 시스템 섹션 */
.care-system-section {
    position: relative;
    height: 600px;
    background: url('/gnuboard5/img/care-banner.jpg') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.care-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.care-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.care-label {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 6px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.care-title {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.8;
}

.care-title .highlight {
    font-weight: 700;
    font-size: 42px;
}

/* ========================================
   태블릿 반응형 (최대 1200px)
   ======================================== */
@media (max-width: 1200px) {
    .sub-menu {
        padding: 0 50px;
    }

    .sub-menu-item a {
        font-size: 18px;
        padding: 15px 10px;
    }

    .hero-title {
        font-size: 48px;
    }

    .main-content {
        height: 600px;
    }
}

/* ========================================
   태블릿 중간 반응형 (최대 900px)
   ======================================== */
@media (max-width: 900px) {
    .sub-menu {
        padding: 0 30px;
    }

    .sub-menu-item a {
        font-size: 16px;
        padding: 15px 8px;
    }
}

/* ========================================
   모바일 반응형 (최대 768px)
   ======================================== */
@media (max-width: 768px) {
    .main-content {
        height: 400px;
    }

    .hero-content {
        padding: 0 15px;
        text-align: center;
    }

    .hero-title {
        font-size: 28px;
    }

    .sub-menu-section {
        width: calc(100% - 20px);
        bottom: -30px;
    }

    .sub-menu {
        padding: 0 20px;
        height: 60px;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sub-menu::-webkit-scrollbar {
        display: none;
    }

    .sub-menu-item {
        flex: 0 0 auto;
        min-width: fit-content;
    }

    .sub-menu-item a {
        font-size: 14px;
        padding: 15px 12px;
        white-space: nowrap;
    }

    .hero-title.simple {
        font-size: 20px;
        letter-spacing: 3px;
    }

    .sub-menu-item:not(:last-child)::after {
        font-size: 14px;
    }

    /* CARE 시스템 섹션 */
    .care-system-section {
        height: 450px;
    }

    .care-label {
        font-size: 11px;
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    .care-title {
        font-size: 22px;
        line-height: 1.6;
    }

    .care-title .highlight {
        font-size: 26px;
    }
}

/* ========================================
   작은 모바일 반응형 (최대 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .sub-menu {
        padding: 0 10px;
    }

    .main-content.about-hero {
        height: 350px;
    }

    .hero-top-logo {
        width: 100px;
    }

    .hero-title.simple {
        font-size: 16px;
        letter-spacing: 3px;
    }

    /* CARE 시스템 섹션 */
    .care-system-section {
        height: 400px;
    }

    .care-label {
        font-size: 10px;
    }

    .care-title {
        font-size: 18px;
    }

    .care-title .highlight {
        font-size: 22px;
    }
}
