/* 格途证件照官网样式 - 全新布局设计 */

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 基础样式 */
body {
    font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 99998;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.tagline {
    font-size: 12px;
    color: #999;
    font-weight: 400;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #017aff;
    transition: width 0.3s ease;
}

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

.nav-menu a:hover {
    color: #017aff;
}

.nav-menu a.active {
    color: #017aff;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    z-index: 100000;
    position: relative;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 107, 53, 0.1);
}

.mobile-menu-toggle:active {
    background-color: rgba(255, 107, 53, 0.2);
    transform: scale(0.95);
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: #ff6b35;
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 主要内容 */
main {
    margin-top: 70px;
}

/* 首页横幅 - 轮播布局 */
.hero {
    min-height: 60vh;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 60vh;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: all 1s ease-in-out;
}

/* 不同背景色 */
.professional-bg {
    background: linear-gradient(135deg, #fff5f0 0%, #fed7aa 50%, #fdba74 100%);
}

.fast-bg {
    background: linear-gradient(135deg, #f0f9ff 0%, #bae6fd 50%, #7dd3fc 100%);
}

.variety-bg {
    background: linear-gradient(135deg, #f0fdf4 0%, #bbf7d0 50%, #86efac 100%);
}

.vip-bg {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fbbf24 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: heroShimmer 8s ease-in-out infinite;
}

@keyframes heroShimmer {
    0%, 100% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(100%);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding-top: 0;
    margin-top: 0;
}

.hero-text {
    position: relative;
}

.hero-title {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 24px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-description {
    font-size: 20px;
    color: #4a5568;
    margin-bottom: 50px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-secondary:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 320px;
    height: 400px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.1) 0%, 
        rgba(255, 140, 66, 0.05) 50%, 
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 22px;
    z-index: 1;
    pointer-events: none;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.03);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.25),
        0 15px 30px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 22px;
    position: relative;
    z-index: 2;
}

.image-container:hover img {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.1);
}

.image-badge {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    color: #ff6b35;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.15),
        0 4px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 107, 53, 0.2);
    z-index: 3;
    transition: all 0.3s ease;
}

.image-badge:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.2),
        0 6px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.98);
}

.image-note {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.image-note:hover {
    opacity: 1;
}

.image-note span {
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* 轮播控制 */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(255, 107, 53, 0.9);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.3);
}

.carousel-btn span {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    transition: color 0.3s ease;
}

.carousel-btn:hover span {
    color: white;
}

.carousel-btn.prev {
    left: 30px;
}

.carousel-btn.next {
    right: 30px;
}

/* 轮播指示器 */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #ff6b35;
    border-color: #ff6b35;
    transform: scale(1.2);
}

.indicator:hover {
    border-color: #ff6b35;
    transform: scale(1.1);
}

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #ff8c42);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 服务项目 - 横向滚动布局 */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.services-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.service-card {
    background: #ffffff;
    border: 2px solid #f7fafc;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 140, 66, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: #ff6b35;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.25);
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.icon-camera,
.icon-ai,
.icon-size,
.icon-fast {
    font-size: 32px;
    line-height: 1;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.service-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.service-card p {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.feature {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    color: #475569;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

/* 作品展示 - 瀑布流布局 */
.gallery {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-auto-rows: 20px;
    gap: 30px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.gallery-item.large {
    grid-row-end: span 25;
}

.gallery-item:not(.large) {
    grid-row-end: span 20;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 25px 25px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin-bottom: 10px;
}

.gallery-overlay p {
    color: #ff8c42;
    font-size: 16px;
    font-weight: 600;
}

/* 关于我们 - 分栏布局 */
.about {
    padding: 120px 0;
    background: #ffffff;
}

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

.about-content .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-content .section-title::after {
    left: 0;
    transform: none;
}

.about-description {
    font-size: 20px;
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 50px;
}

.about-stats {
    display: flex;
    gap: 50px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

/* 联系我们 - 卡片布局 */
.contact {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.contact-card {
    background: #ffffff;
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 140, 66, 0.03));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 80px rgba(255, 107, 53, 0.15);
}

.contact-icon {
    font-size: 60px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.contact-card h3 {
    font-size: 24px;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.contact-main {
    color: #ff6b35;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.contact-desc {
    color: #666;
    font-size: 16px;
    position: relative;
    z-index: 2;
}

/* 页脚 */
.footer {
    background: #2d3748;
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 50px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-logo-img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: #ff6b35;
    line-height: 1;
}

.footer-tagline {
    font-size: 13px;
    color: #a0aec0;
    font-weight: 500;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
}

.footer-column h4 {
    font-size: 20px;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 25px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 15px;
}

.footer-column a {
    color: #a0aec0;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
}

.footer-column a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff6b35;
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: #ff6b35;
    transform: translateX(3px);
}

.footer-column a:hover::before {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 30px;
}

.footer-legal {
    text-align: center;
    color: #a0aec0;
    font-size: 16px;
}

.footer-legal a {
    color: #ff6b35;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #ff8c42;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e5e5e5;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 99999;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        width: 100%;
        max-width: 100%;
        display: block;
        visibility: hidden;
    }
    
    .nav-menu.active {
        transform: translateY(0) !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .nav-menu li {
        border-bottom: 1px solid #e5e5e5;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 20px 0;
        font-size: 18px;
        min-height: 60px;
        touch-action: manipulation;
        color: #333;
        text-decoration: none;
        transition: background-color 0.3s ease;
    }
    
    .nav-menu a:hover,
    .nav-menu a:active {
        background-color: rgba(255, 107, 53, 0.1);
        color: #ff6b35;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero-carousel {
        height: 60vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 40px 20px;
    }
    
    .hero-image {
        display: none;
    }
    
    .carousel-controls {
        display: none;
    }
    
    .carousel-btn {
        width: 50px;
        height: 50px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .carousel-btn span {
        font-size: 20px;
    }
    
    .carousel-btn:active {
        transform: scale(0.95);
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 12px;
        height: 12px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .indicator:active {
        transform: scale(0.9);
    }
    
    .image-container {
        max-width: 250px;
        height: 320px;
        border-radius: 20px;
        transform: perspective(800px) rotateY(-3deg) rotateX(3deg);
    }
    
    .image-container:hover {
        transform: perspective(800px) rotateY(-1deg) rotateX(1deg) scale(1.02);
    }
    
    .image-badge {
        bottom: 15px;
        left: 15px;
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 25px;
    }
    
    .image-note {
        bottom: 10px;
        right: 10px;
        font-size: 9px;
        padding: 3px 6px;
        border-radius: 6px;
    }
    
    .hero-title {
        font-size: 42px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 18px;
        margin-bottom: 30px;
        line-height: 1.6;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .services-scroll {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    
    .gallery-item.large,
    .gallery-item:not(.large) {
        grid-row-end: auto;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .services,
    .gallery,
    .about,
    .contact {
        padding: 80px 0;
    }
    
    .btn {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .service-card,
    .contact-card {
        padding: 40px 30px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 30px;
    }
}

/* 无障碍和性能优化 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 焦点状态优化 */
.btn:focus,
.nav-menu a:focus,
.mobile-menu-toggle:focus,
.service-card:focus,
.gallery-item:focus,
.contact-card:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 122, 255, 0.3);
    border-radius: 4px;
    transition: box-shadow 0.2s ease;
}

.nav-menu a:focus {
    background-color: rgba(1, 122, 255, 0.1);
    color: #017aff;
}

.mobile-menu-toggle:focus {
    background-color: rgba(1, 122, 255, 0.1);
}

.footer-column a:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.3);
    border-radius: 4px;
    background-color: rgba(255, 107, 53, 0.1);
}

/* 减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高对比度偏好 */
@media (prefers-contrast: high) {
    .hero-title,
    .section-title {
        -webkit-text-fill-color: #ff6b35;
        color: #ff6b35;
    }
    
    .nav-menu a,
    .btn {
        border: 2px solid currentColor;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover,
    .gallery-item:hover,
    .contact-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .nav-menu a:hover {
        transform: none;
    }
}

/* 硬件加速 */
.hero,
.service-card,
.gallery-item,
.contact-card {
    will-change: transform;
    transform: translateZ(0);
}