/* ========== 基础重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #fff;
}

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

/* ========== 导航栏 ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
    z-index: 1000;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #1a1a1a;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1a1a1a;
}

/* ========== 首页主视觉 ========== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f5f5f5;
}

.hero-content {
    padding: 0 24px;
}

.hero-title {
    font-size: clamp(48px, 10vw, 120px);
    font-weight: 200;
    letter-spacing: 12px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 6px;
    color: #666;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 14px;
    color: #999;
    max-width: 400px;
    margin: 0 auto;
}

/* ========== 简介区域 ========== */
.intro {
    padding: 120px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
}

.intro-item {
    text-align: center;
    padding: 48px 24px;
    border: 1px solid #eee;
    transition: all 0.3s;
}

.intro-item:hover {
    border-color: #1a1a1a;
}

.intro-item h3 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.intro-item p {
    color: #666;
    margin-bottom: 24px;
}

.btn-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
}

/* ========== 页面标题 ========== */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 300;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.page-header p {
    color: #666;
    font-size: 16px;
}

/* ========== 作品集 ========== */
.portfolio {
    padding: 60px 0 120px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.portfolio-item {
    cursor: pointer;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.5s;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item h3 {
    margin-top: 16px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

.portfolio-item p {
    color: #666;
    font-size: 14px;
    margin-top: 8px;
}

/* 空状态 */
.portfolio-empty {
    text-align: center;
    padding: 80px 0;
    color: #999;
}

/* ========== 弹窗 ========== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    overflow-y: auto;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #fff;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 32px;
    cursor: pointer;
    color: #666;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.modal-images img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* ========== 预约表单 ========== */
.booking {
    padding: 60px 0 120px;
}

.booking-form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a1a1a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.radio-group {
    display: flex;
    gap: 24px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.radio-label input {
    width: auto;
}

.size-section {
    padding: 24px;
    background: #f9f9f9;
    margin-bottom: 24px;
}

.image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.image-preview img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #ddd;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: 16px;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-submit:hover {
    background: #333;
}

.btn-submit:disabled {
    background: #999;
    cursor: not-allowed;
}

.success-msg {
    text-align: center;
    padding: 60px 24px;
}

.success-msg h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 16px;
}

.success-msg p {
    color: #666;
}

/* ========== 页脚 ========== */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer p {
    font-size: 12px;
    color: #999;
    letter-spacing: 1px;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a {
        font-size: 12px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 24px;
    }
}
