/* 门店网站基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif SC', 'Lora', 'Segoe UI', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 头部样式 */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 80px 30px;
    color: white;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.header h1,
.header p {
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header h1 {
    margin-bottom: 15px;
    font-size: 2.5em;
}

/* 卡片样式 */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.card-content {
    padding: 25px;
}

.card-title {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: #333;
}

.card-info {
    margin-bottom: 15px;
    line-height: 1.6;
}

.card-description {
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #d43c3c, #9e2a2a);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin: 10px 0;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(212, 60, 60, 0.3);
    border: none;
    cursor: pointer;
}

.button:hover {
    background: linear-gradient(135deg, #9e2a2a, #7c2121);
    box-shadow: 0 4px 15px rgba(212, 60, 60, 0.4);
    transform: translateY(-2px);
}

/* 服务项目网格 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* 页脚样式 */
.footer {
    background: #f0f0f0;
    padding: 40px 0;
    margin-top: 50px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #333;
}

.footer-section p {
    margin-bottom: 10px;
    color: #666;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    display: inline-block;
    width: 36px;
    height: 36px;
}

.social-links img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .header {
        padding: 60px 20px;
    }
    
    .header h1 {
        font-size: 2em;
    }
}

/* 预约表单样式 */
.booking-form {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #d43c3c;
    box-shadow: 0 0 0 3px rgba(212, 60, 60, 0.2);
    outline: none;
}

/* 预约表单弹窗样式 */
.booking-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.booking-modal.active {
    opacity: 1;
}

.booking-container {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.close-booking {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #333;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.close-booking:hover {
    background-color: #f0f0f0;
}

.booking-container h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8em;
    text-align: center;
}

.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.booking-form .form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.booking-form .form-control:focus {
    border-color: #d43c3c;
    box-shadow: 0 0 0 3px rgba(212, 60, 60, 0.2);
    outline: none;
}

.booking-form .form-control.error {
    border-color: #e74c3c;
}

.booking-form textarea.form-control {
    min-height: 100px;
    resize: vertical;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

.success-message {
    color: #2ecc71;
    font-size: 1.1em;
    text-align: center;
    padding: 20px;
    line-height: 1.6;
}

/* 黑暗模式支持 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #e0e0e0;
    }
    
    .card {
        background: #1e1e1e;
    }
    
    .card-title {
        color: #e0e0e0;
    }
    
    .card-description {
        color: #b0b0b0;
    }
    
    .footer {
        background: #1a1a1a;
        border-top: 1px solid #333;
    }
    
    .footer-section h3 {
        color: #e0e0e0;
    }
    
    .footer-section p {
        color: #b0b0b0;
    }
    
    .booking-form {
        background: #1e1e1e;
    }
    
    .form-group label {
        color: #e0e0e0;
    }
    
    .form-control {
        background: #2a2a2a;
        border: 1px solid #444;
        color: #e0e0e0;
    }
    
    .booking-container {
        background-color: #2a2a2a;
    }
    
    .close-booking {
        color: #e0e0e0;
    }
    
    .close-booking:hover {
        background-color: #3a3a3a;
    }
    
    .booking-container h2 {
        color: #e0e0e0;
    }
    
    .booking-form label {
        color: #e0e0e0;
    }
    
    .booking-form .form-control {
        background-color: #333;
        border-color: #444;
        color: #e0e0e0;
    }
    
    .booking-form .form-control:focus {
        border-color: #d43c3c;
        background-color: #3a3a3a;
    }
    
    .error-message {
        color: #ff6b6b;
    }
    
    .success-message {
        color: #5cdb95;
    }
} 