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

.main-content.about-hero {
    background: url('/gnuboard5/img/top-banner.png');
    background-size: cover;
    background-position: center;
    justify-content: center;
    align-items: center;
}


.main-content.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    z-index: 1;
}

.main-content.about-hero .hero-content {
    position: relative;
    z-index: 2;
}

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

.hero-content.centered {
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-top-text {
    margin-bottom: 20px;
}

.hero-top-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

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

.hero-title.simple {
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 12px;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ========================================
   서브 메뉴
   ======================================== */
.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: 15px 15px;
    transition: all 0.3s ease;
}

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

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

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

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

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

/* ========================================
   모바일 반응형 (최대 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;
    }
}

/* ========================================
   작은 모바일 반응형 (최대 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;
    }
}
