/* ========================================
   Design Theme 4: Electric Cyber (High-Tech)
   Dark background, neon accents, sharp geometric shapes, glow effects
   ======================================== */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'JetBrains Mono', monospace, sans-serif;
    line-height: 1.6;
    color: #e2e8f0;
    background-color: #050505;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

::-webkit-scrollbar {
    width: 4px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #38bdf8;
}

/* =====================
   Header & Navigation
   ===================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

#header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #38bdf8;
}

nav {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
}

#header.scrolled nav {
    padding: 15px 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

nav ul {
    display: flex;
    gap: 35px;
}

nav ul li a {
    font-size: 0.85rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

/* =====================
   Hero Section
   ===================== */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* 하늘 이미지 적용 및 설정 */
    background-image: linear-gradient(rgba(5, 5, 5, 0.4), rgba(5, 5, 5, 0.4)),
                      url('https://images.unsplash.com/photo-1534067783941-51c9c2a1b1f1?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

#hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#1e293b 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5; /* 점 패턴의 농도를 살짝 높여 이미지와 조화되게 함 */
}

#hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(56, 189, 248, 0.8), 0 0 50px rgba(56, 189, 248, 0.4); /* 그림자를 강화하여 가독성 확보 */
}


/* =====================
   Sections
   ===================== */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 120px 40px;
}

.container h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 4px;
}

#about-text, #business-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #94a3b8;
}

/* Vision Card */
.vision-box {
    background: rgba(15, 23, 42, 0.6);
    padding: 50px;
    border: 1px solid #38bdf8;
    position: relative;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.vision-box::after {
    content: '';
    position: absolute;
    top: -2px; left: -2px; width: 20px; height: 20px;
    border-top: 2px solid #38bdf8; border-left: 2px solid #38bdf8;
}

.vision-box h3 {
    font-size: 0.8rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 24px;
}

.vision-box p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #e2e8f0;
}

/* =====================
   Announcements
   ===================== */
#announcement-list li {
    padding: 20px 30px;
    background: #0f172a;
    border-left: 4px solid #38bdf8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

#announcement-list li:hover {
    background: #1e293b;
    transform: translateX(10px);
}

/* =====================
   Footer
   ===================== */
footer {
    background: #000;
    color: #475569;
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid #1e293b;
}

footer p {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* =====================
   Modal Styles
   ===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0f172a;
    border: 1px solid #38bdf8;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
}

#modal-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(56, 189, 248, 0.3);
    padding-bottom: 15px;
}

#modal-body {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e2e8f0;
    white-space: pre-wrap;
}

.modal-close-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid #38bdf8;
    color: #38bdf8;
    cursor: pointer;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #38bdf8;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 768px) {
    nav ul { display: none; }
    #hero h1 { font-size: 2.5rem; }
    .container { padding: 80px 24px; }
}
