/* 添加到你的现有CSS中 */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    width: 100%;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f7;
    transition: transform 0.3s;
    justify-content: center;
    /* 垂直居中 */
    align-items: center;
    /* 水平居中（可选）*/
}

.gallery-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.gallery-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #1d1d1f;
}

.gallery-content p {
    font-size: 14px;
    color: #86868b;
    margin-bottom: 16px;
    flex: 1;
}

.gallery-link {
    align-self: flex-start;
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    margin-top: auto;
}

#contactUs {
    cursor: pointer;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

#bodyDiv {
    margin-top: 25px;
}

.gallery-grid a {}

body {
    background-color: #fff;
    color: #1d1d1f;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 响应式导航栏 - ANYREAL风格 */
nav {
    background-color: #fff;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    height: 44px;
    position: fixed;
    width: 100%;
    z-index: 9999;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.32, 0.08, 0.24, 1);
}

nav.scrolled {
    background-color: rgba(0, 0, 0, 0.92);
    height: 52px;
}

.nav-container {
    width: 100%;
    max-width: 980px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.32, 0.08, 0.24, 1);
}

.nav-links {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-direction: row;
    align-content: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-link {
    color: rgba(0, 0, 0, .8);
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.3s;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    opacity: 1;
    color: #000000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    color: #000;
    ;
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
}

/* 英雄区域 - ANYREAL风格 */
.hero {
    flex: 1;
    min-height: 600px;
    background-color: #fff;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 44px 20px 0;
    /* background-image: linear-gradient(to bottom, #000000, #1a1a1a); */
}


.hero h1 {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.hero h2 {
    font-size: clamp(18px, 4vw, 28px);
    font-weight: 400;
    margin-bottom: 12px;
    opacity: 0.9;
}

.hero-links {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.hero-link {
    color: #2997ff;
    text-decoration: none;
    font-size: clamp(16px, 3vw, 21px);
    position: relative;
    transition: color 0.3s;
}

.hero-link:hover {
    color: #0071e3;
}

.hero-link::after {
    content: '›';
    margin-left: 8px;
    position: relative;
    top: -1px;
}

.products {
    width: 100%;
    max-width: 980px;
    margin: 50px auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.product-card {
    flex: 1;
    min-width: 300px;
    max-width: 100%;
    background-color: #fff;
    border-radius: 18px;
    padding: 40px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.product-card p {
    font-size: clamp(14px, 2vw, 17px);
    color: #86868b;
    margin-bottom: 20px;
    line-height: 1.4;
}

.product-link {
    color: #0066cc;
    text-decoration: none;
    font-size: clamp(14px, 2vw, 17px);
    position: relative;
}

.product-link::after {
    content: '›';
    margin-left: 8px;
    position: relative;
    top: -1px;
}

/* 页脚 - ANYREAL风格 */
footer {
    background-color: #f5f5f7;
    padding: 20px 0 40px;
    font-size: 12px;
    color: #86868b;
    border-top: 1px solid #d2d2d7;
    display: flex;
    justify-content: center;
}

.footer-container a {
    color: #86868b;
    text-decoration: unset;
}

.footer-container a:hover {
    text-decoration: underline;
}

.footer-container {
    width: 100%;
    max-width: 980px;
    padding: 0 22px;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    nav {
        height: 50px;
    }

    .hero {
        padding-top: 50px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-link {
        /* font-size: 20px;
        font-weight: 600; */
    }
}

@media (max-width: 640px) {
    .nav-link {
        font-size: 20px;
        font-weight: 600;
    }

    .nav-links {
        position: fixed;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: #fff;
        backdrop-filter: saturate(180%) blur(20px);
        -webkit-backdrop-filter: saturate(180%) blur(20px);
        flex-direction: column;
        align-items: center;
        padding: 0 0;
        gap: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.0s cubic-bezier(0.32, 0.08, 0.24, 1);
    }

    .nav-links.active {
        max-height: 500px;
    }

    .hamburger {
        display: block;
    }

    .product-card {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    nav {
        height: 56px;
    }

    nav.scrolled {
        height: 60px;
    }

    .hero {
        padding-top: 56px;
        min-height: 500px;
    }

    .hero-links {
        flex-direction: column;
        gap: 15px;
    }
}

.hamburgerClose {
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: #86868b;
    transition: color 0.2s;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hamburgerCloseDiv {
    display: none;
}
.anyreal-gallery {
    font-family:  BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    color: #1d1d1f;
}

.gallery-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.gallery-subtitle {
    font-size: 21px;
    color: #86868b;
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid {
    margin-top: 100px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 246px;
    height: 328px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.gallery-content {
    padding: 20px;
    background: #f5f5f7;
    border-radius: 0 0 12px 12px;
    width: 300px;
}

.gallery-content h3 {
    font-size: 21px;
    margin: 0 0 8px 0;
}

.gallery-content p {
    font-size: 17px;
    color: #86868b;
    margin: 0 0 12px 0;
}

.gallery-link {
    font-size: 17px;
    color: #06c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-link:hover {
    color: #000;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-title {
        font-size: 32px;
    }

    .gallery-subtitle {
        font-size: 18px;
    }
}

