/* ============================================
   诚匠大理石装饰团队宣传页
   保留展示模板的质感，整体风格调整为稳重、朴实、可信赖
   ============================================ */

:root {
    --black: #1d1916;
    --dark: #2a241f;
    --dark-2: #352d27;
    --dark-3: #463b32;
    --gold: #b98b55;
    --gold-light: #cca06d;
    --gold-dark: #8f673d;
    --white: #fffdf9;
    --gray-100: #f5f0e8;
    --gray-200: #e7ddd0;
    --gray-300: #c8baa7;
    --gray-400: #a99681;
    --font-display: 'Playfair Display', 'Noto Serif SC', serif;
    --font-body: 'Montserrat', 'Noto Sans SC', sans-serif;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background:
        radial-gradient(circle at top, rgba(185, 139, 85, 0.08), transparent 30%),
        linear-gradient(180deg, #201b18 0%, #171311 100%);
    color: var(--gray-200);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

img {
    max-width: 100%;
    display: block;
}

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

.gold {
    color: var(--gold);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1rem;
    color: var(--gray-300);
    max-width: 620px;
    font-weight: 400;
}

.center {
    text-align: center;
}

.center .section-desc {
    margin: 0 auto;
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(30, 26, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    border-bottom: 1px solid rgba(185, 139, 85, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 1.2rem;
    color: var(--gold);
}

.logo-text {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--white);
}

.logo-cn {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--gray-300);
    letter-spacing: 2px;
    margin-left: 4px;
}

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

.nav-links a {
    font-size: 0.92rem;
    font-weight: 400;
    color: var(--gray-200);
    position: relative;
    padding: 4px 0;
}

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

.nav-links a:hover {
    color: var(--gold);
}

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

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-cta {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 24px;
    border: 1px solid var(--gold);
    color: var(--gold);
    transition: all var(--transition);
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--black);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 1.5px;
    background: var(--white);
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.13); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(25, 21, 18, 0.44) 0%,
        rgba(25, 21, 18, 0.25) 38%,
        rgba(25, 21, 18, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-subtitle {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gold);
    margin-bottom: 24px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--font-display);
    color: var(--white);
    margin-bottom: 28px;
}

.hero-title .line1 {
    display: block;
    font-size: clamp(2.4rem, 6vw, 4.8rem);
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.hero-title .line2 {
    display: block;
    font-size: clamp(2.8rem, 7vw, 5.6rem);
    font-weight: 700;
    letter-spacing: 3px;
}

.hero-desc {
    font-size: 1.02rem;
    font-weight: 400;
    color: var(--gray-200);
    line-height: 1.9;
    margin-bottom: 40px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 16px 38px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(185, 139, 85, 0.28);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-full {
    width: 100%;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--gray-300);
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; height: 40px; }
    50% { opacity: 0.3; height: 20px; }
}

.stats {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(185, 139, 85, 0.12);
    border-bottom: 1px solid rgba(185, 139, 85, 0.12);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 24px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
}

.stat-label {
    display: block;
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--gray-300);
    letter-spacing: 1px;
}

.about {
    padding: 120px 0;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    width: 85%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.05);
}

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border: 4px solid var(--black);
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text {
    font-size: 0.98rem;
    color: var(--gray-300);
    margin-bottom: 20px;
    font-weight: 400;
    line-height: 1.9;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.feature-icon {
    color: var(--gold);
    font-size: 1.05rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--gray-400);
    font-weight: 400;
}

.products {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.025);
}

.product-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 48px 0;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 400;
    padding: 10px 22px;
    background: transparent;
    border: 1px solid var(--dark-3);
    color: var(--gray-300);
    cursor: pointer;
    transition: all var(--transition);
}

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

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

.product-card {
    overflow: hidden;
    transition: transform var(--transition);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 14, 12, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.product-view {
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: var(--white);
    padding: 12px 24px;
    border: 1px solid var(--white);
    transition: all var(--transition);
}

.product-view:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

.product-info {
    padding: 20px 18px 22px;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.12rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.product-info p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.projects {
    padding: 120px 0;
}

.project-showcase {
    margin-top: 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-large {
    grid-row: span 2;
}

.project-large .project-card {
    height: 100%;
}

.project-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 28px 28px;
    background: linear-gradient(to top, rgba(17, 14, 12, 0.92), transparent);
}

.project-type {
    font-size: 0.72rem;
    letter-spacing: 2px;
    color: var(--gold);
    text-transform: uppercase;
}

.project-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--white);
    margin: 8px 0 6px;
}

.project-info p {
    font-size: 0.86rem;
    color: var(--gray-300);
    font-weight: 400;
    line-height: 1.7;
}

.services {
    padding: 120px 0;
    background: rgba(255, 255, 255, 0.025);
}

.service-timeline {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.service-step {
    display: flex;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: flex-start;
}

.service-step:last-child {
    border-bottom: none;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(185, 139, 85, 0.25);
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 0.94rem;
    color: var(--gray-400);
    font-weight: 400;
    line-height: 1.8;
}

.brands {
    padding: 60px 0;
    border-top: 1px solid rgba(185, 139, 85, 0.12);
    border-bottom: 1px solid rgba(185, 139, 85, 0.12);
    background: rgba(255, 255, 255, 0.015);
}

.brands-content {
    text-align: center;
}

.brands-content h3 {
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--gray-300);
    margin-bottom: 32px;
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.brand-item {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--gray-300);
    font-weight: 400;
    opacity: 0.9;
    transition: opacity var(--transition), color var(--transition);
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.brand-item:hover {
    opacity: 1;
    color: var(--gold);
}

.contact {
    padding: 120px 0;
}

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

.contact-desc {
    font-size: 0.98rem;
    color: var(--gray-300);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.15rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item h4 {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 0.88rem;
    color: var(--gray-400);
    font-weight: 400;
    line-height: 1.7;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    padding: 48px;
    border: 1px solid rgba(185, 139, 85, 0.15);
}

.contact-form h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--white);
    margin-bottom: 28px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    transition: border-color var(--transition), background var(--transition);
    outline: none;
    -webkit-appearance: none;
}

.form-group select {
    cursor: pointer;
}

.form-group select option {
    background: var(--dark);
    color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
}

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

.footer {
    padding: 80px 0 40px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(185, 139, 85, 0.12);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--gray-400);
    font-weight: 400;
    line-height: 1.8;
    margin-top: 16px;
}

.footer-links h4 {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    font-size: 0.88rem;
    color: var(--gray-400);
    font-weight: 400;
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-400);
    letter-spacing: 0.5px;
}

@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .project-showcase {
        grid-template-columns: 1fr;
    }

    .project-large {
        grid-row: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .container,
    .nav-container {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(24, 20, 18, 0.98);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .project-small-grid {
        grid-template-columns: 1fr;
    }

    .hero-title .line1,
    .hero-title .line2 {
        letter-spacing: 1px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .brand-logos {
        gap: 12px;
    }

    .service-step {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 640px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}
