/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", sans-serif;
}

body {
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #e67e22;
    color: white;
    margin-left: 15px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #e67e22;
    color: #e67e22;
}

.btn-block {
    display: block;
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
}

/* 导航栏 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #e67e22;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e67e22;
}

.user-actions {
    display: flex;
    align-items: center;
}

/* 首页横幅 */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?ixlib=rb-1.2.1&auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
}

.search-bar {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    border-radius: 4px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 16px;
}

.search-bar button {
    padding: 15px 25px;
    background-color: #e67e22;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

/* 特色服务 */
.features {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #333;
}

.section-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    color: #e67e22;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

/* 设计师列表样式 */
.designers {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.designers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.designer-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.designer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.designer-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.designer-info {
    padding: 20px;
}

.designer-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.designer-info p {
    color: #777;
    font-size: 14px;
    margin-bottom: 10px;
}

.designer-info .rating {
    color: #f39c12;
    margin-bottom: 15px;
}

.designer-info .cert-number {
    font-size: 12px;
    color: #3498db;
    margin-bottom: 15px;
}

/* 页脚 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 30px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #e67e22;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #e67e22;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 14px;
}

/* 表单样式 */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 220px);
    padding: 50px 0;
}

.auth-form-container {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 450px;
}

.auth-form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-checkbox {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.form-checkbox label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.form-checkbox input {
    width: auto;
    margin-right: 8px;
}

.forgot-link {
    color: #e67e22;
    text-decoration: none;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.auth-footer a {
    color: #e67e22;
    text-decoration: none;
}

.verification-code .code-input {
    display: flex;
    gap: 10px;
}

.verification-code input {
    flex: 1;
}

.verification-code .send-code {
    white-space: nowrap;
    padding: 0 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .designers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .designers-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        display: none;
    }
} 