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

:root {
    --primary: #1a1a1a;
    --secondary: #333333;
    --accent: #c9a96e;
    --accent-light: #d4b87d;
    --text: #1a1a1a;
    --text-light: #666666;
    --text-lighter: #999999;
    --bg: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #1a1a1a;
    --border: #e5e5e5;
    --shadow: 0 2px 20px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.1);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 4px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.8;
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    text-decoration: none;
    color: var(--primary);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 4px;
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 50px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 1px;
    background: var(--primary);
    transition: var(--transition);
}

/* Hero 首屏 - 全屏大图 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.placeholder-hero {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.3);
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-tag {
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 24px;
    opacity: 0.8;
    font-weight: 300;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 300;
}

.scroll-hint {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-hint span {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: white;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.7; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* 通用 Section */
section {
    padding: 120px 0;
}

.section-num {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 16px;
    font-weight: 500;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
    margin-top: 60px;
}

/* 关于我们 */
.about {
    background: var(--bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content-text {
    margin-bottom: 50px;
}

.about-text .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
    font-weight: 400;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 0.95rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.about-image {
    position: relative;
}

.about-image .placeholder-img {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-lighter);
    font-size: 1rem;
    letter-spacing: 2px;
}

/* 作品展示 */
.works {
    background: var(--bg-light);
}

.works .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.works-filter {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    transition: var(--transition);
    position: relative;
    font-family: inherit;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--accent);
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 100%;
}

.works-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    margin-bottom: 60px;
}

.work-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.work-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.residential-1 { background: linear-gradient(135deg, #8b7355 0%, #6b5b4f 100%); }
.residential-2 { background: linear-gradient(135deg, #a09080 0%, #8a7a6a 100%); }
.commercial-1 { background: linear-gradient(135deg, #5a5a5a 0%, #3a3a3a 100%); }
.commercial-2 { background: linear-gradient(135deg, #7a7a7a 0%, #5a5a5a 100%); }
.hospitality-1 { background: linear-gradient(135deg, #c9b896 0%, #a99876 100%); }
.hospitality-2 { background: linear-gradient(135deg, #d4c4a8 0%, #b4a488 100%); }

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

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.work-item:hover .work-info {
    opacity: 1;
}

.work-category {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
    display: block;
    margin-bottom: 8px;
}

.work-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 4px;
}

.work-info p {
    font-size: 0.85rem;
    opacity: 0.7;
    letter-spacing: 1px;
}

.btn-outline {
    display: inline-block;
    padding: 14px 40px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* 服务 */
.services {
    background: var(--bg);
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 40px;
}

.service-item {
    padding: 40px 0;
    border-top: 1px solid var(--border);
}

.service-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    font-weight: 400;
}

.service-item h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--primary);
    letter-spacing: 1px;
}

.service-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* 联系 */
.contact {
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-desc {
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
    font-size: 1rem;
}

.contact-details {
    margin-bottom: 50px;
}

.contact-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.contact-row .label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-lighter);
}

.contact-row a,
.contact-row span {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-row a:hover {
    color: var(--accent);
}

.social-links {
    display: flex;
    gap: 30px;
}

.social-links a {
    font-size: 0.85rem;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
}

/* 联系表单 */
.contact-form-wrapper {
    background: white;
    padding: 60px;
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-lighter);
    margin-bottom: 12px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    outline: none;
    background: transparent;
    border-radius: 0;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-bottom-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: white;
    border: none;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--accent);
}

/* 页脚 */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 80px 0 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 4px;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    opacity: 0.5;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    opacity: 0.4;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        gap: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .nav-container {
        padding: 0 24px;
        height: 70px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 0;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links a {
        display: block;
        padding: 20px 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-image .placeholder-img {
        aspect-ratio: 16/9;
    }
    
    .works-gallery {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .service-item {
        padding: 30px 0;
    }
    
    .contact-form-wrapper {
        padding: 40px 30px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    section {
        padding: 80px 0;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .works-filter {
        gap: 20px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-row {
        flex-direction: column;
        gap: 8px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}

/* 动画 */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 图片占位符通用样式 */
.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    letter-spacing: 2px;
}
