/* Import Google Font */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700;900&display=swap");

/* Import component styles */
@import "global/variables.css";
@import "global/base.css";
@import "global/animations.css";
/* Header 樣式 */
.site-header {
    background: var(--dark-bg-2);
    padding: 20px 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary);
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
            45deg,
            rgba(0, 245, 212, 0.05) 25%,
            transparent 25%
        ),
        linear-gradient(-45deg, rgba(0, 212, 245, 0.05) 25%, transparent 25%);
    background-size: 20px 20px;
    opacity: 0.1;
}

.header-content {
    position: relative;
    z-index: 1;
}

.site-header h1 {
    color: var(--light-bg);
    margin: 0;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-header .logo-icon {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-header .subtitle {
    color: var(--secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
    padding-left: calc(40px + 1rem);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.header-nav {
    margin-top: 1rem;
    padding-left: calc(40px + 1rem);
}

.header-nav a {
    color: var(--light-bg);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-right: 1rem;
    border: 1px solid transparent;
}

.header-nav a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.header-nav a.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--dark-bg);
    font-weight: 500;
}
/* 響應式調整 */
@media (max-width: 768px) {
    .site-header {
        padding: 1rem 0;
    }

    .site-header h1 {
        font-size: 1.5rem;
    }

    .site-header .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .site-header .subtitle {
        font-size: 1rem;
        padding-left: calc(32px + 1rem);
    }

    .header-nav {
        padding-left: calc(32px + 1rem);
        margin-top: 0.75rem;
    }

    .header-nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin-right: 0.5rem;
    }
}

/* Footer 樣式 */
.site-footer {
    background-color: var(--dark-bg-2);
    color: white;
    padding: 50px 30px;
    margin-top: 2rem;
}

.footer-content {
    font-size: 0.9rem;
    opacity: 0.9;
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* 主內容區域 */
.main-content {
    padding: 2rem 0;
    min-height: calc(100vh - 200px); /* 確保頁面至少填滿視窗 */
}
