/* 通用响应式样式 */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Microsoft JhengHei', 'Segoe UI', sans-serif;
}

header {
    background-color: #817984;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    text-align: center;
}

.logo {
    background-image: url("images/Logo VxxV123 small600.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

h1 {
    color: white;
    font-size: 1.2rem;
    line-height: 1.4;
    text-align: center;
}

nav ul {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

nav li {
    margin: 5px 10px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

main {
    min-height: calc(100vh - 240px);
}

footer {
    background-color: #817984;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
}

/* 内容区域通用样式 */
.content-section {
    height: 80vh;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

/* 响应式调整 */
@media (min-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .logo-container {
        margin-bottom: 0;
        text-align: left;
    }
    
    h1 {
        font-size: 1.5rem;
        text-align: left;
    }
    
    nav ul {
        justify-content: flex-end;
    }
    
    .content-section {
        background-size: cover;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 60px;
        height: 60px;
    }
    
    h1 {
        font-size: 1rem;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 4px 8px;
    }
    
    .content-section {
        height: 70vh;
    }
}