/* common.css */

/* 全局变量 */
:root {
    --primary-color: #0070F3;
    /*--primary-color: #002fa7;*/
    --background-color: #F7F7F5;
    --text-color: #1E1E1E;
}

/* 基础重置 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: transparent;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    color: var(--text-color);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    transition: color 0.3s ease-in-out;
}

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

/* Footer */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 3rem;
    background-color: var(--background-color);
}

.footer .copyright {
    font-size: 0.9rem;
}

.footer .social-icons {
    display: flex;
    gap: 1.5rem;
}

.footer .social-icons a {
    color: var(--text-color);
    opacity: 0.75;
    transition: color 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.footer .social-icons a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.footer .social-icons svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Responsive Adjustments for Nav/Footer */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem;
        text-align: center;
    }
}
