body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #1a1a1a; /* 深色背景 */
    color: #e0e0e0; /* 浅色文字 */
    line-height: 1.6;
}

.header {
    background-color: #222;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
}

.header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #00bcd4; /* 强调色 */
}

.header .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.header .nav ul li {
    margin-left: 2rem;
}

.header .nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.header .nav ul li a:hover {
    color: #00bcd4;
}

.main-content {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.search-bar input {
    width: 60%;
    padding: 0.8rem 1rem;
    border: 1px solid #555;
    border-radius: 5px 0 0 5px;
    background-color: #333;
    color: #e0e0e0;
    font-size: 1rem;
    outline: none;
}

.search-bar input::placeholder {
    color: #aaa;
}

.search-bar button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 0 5px 5px 0;
    background-color: #00bcd4;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-bar button:hover {
    background-color: #0097a7;
}

.design-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.design-item {
    background-color: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.design-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.design-info {
    padding: 1rem;
}

.design-info h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #00bcd4;
    font-size: 1.2rem;
}

.design-info p {
    font-size: 0.9rem;
    color: #ccc;
}

.footer {
    background-color: #222;
    text-align: center;
    padding: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid #333;
    color: #aaa;
    font-size: 0.9rem;
}
