/* 全局样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    /* background-color: #f4f4f4; */ /* Removed default bg color */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Added full screen background */
    background-image: url('star_sky.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Keep background fixed during scroll */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 0 20px;
}

/* 头部导航栏 */
header {
    background: transparent; /* Changed background to transparent */
    color: #fff;
    padding: 1rem 0;
    /*border-bottom: #0779e4 1px solid; /* Optional: make border thinner or remove */
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: auto;
}

header .logo {
    font-size: 24px;
    font-weight: bold;
}

header ul {
    padding: 0;
    list-style: none;
    display: flex;
}

header ul li {
    margin-left: 20px;
}

header ul li a:hover {
    color: #0779e4;
}

/* 主内容区域 */
main {
    flex-grow: 1;
    padding: 20px 0;
}

#hero {
    text-align: center;
    padding: 80px 20px; /* Adjusted padding */
    /* Removed background image from here */
    /* Added semi-transparent overlay */
    /*background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for contrast */
    /* Removed margin-bottom as bg is on body */
    border-radius: 0; /* Removed border-radius for full width feel if needed, or keep 8px */
    min-height: 70vh; /* Adjusted height relative to viewport */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff; /* Set default text color for hero section to white */
}

#hero h1 {
    font-size: 3rem; /* Slightly larger */
    margin-bottom: 15px;
    color: #fff; /* White text */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Optional: add text shadow for better readability */
}

#hero p {
    font-size: 1.3rem; /* Slightly larger */
    color: #f0f0f0; /* Light gray text */
    margin-bottom: 25px; /* Adjusted margin */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Optional: add text shadow */
}

.artistic-text {
    margin-top: 20px;
}

.artistic-text p {
    font-size: 1.4rem; /* Slightly larger */
    font-style: italic;
    color: #e0e0e0; /* Lighter gray text */
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Optional: add text shadow */
}

/*
.quick-access {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0779e4;
}

.card p {
    font-size: 1rem;
    color: #555;
}
*/

/* 页脚 */
footer {
    background: transparent; /* Changed background to transparent */
    color: #fff; /* Keep text white for contrast */
    text-align: center;
    padding: 1rem 0;
    margin-top: auto; /* Ensure footer sticks to the bottom */
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7); /* Optional: add shadow for readability */
}

/* 响应式设计 */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        align-items: flex-start;
    }

    header ul {
        margin-top: 10px;
        flex-direction: column;
        width: 100%;
    }

    header ul li {
        margin: 5px 0;
        text-align: center;
    }

    header ul li a {
        display: block;
        padding: 8px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .quick-access {
        grid-template-columns: 1fr; /* Stack cards on smaller screens */
    }
}