/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    letter-spacing: 0.3px;
    color: #2c2c2c;
    background-color: #f8f8f8;
    overflow-x: hidden;
}

/* Navigation - WME/CAA 风格 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s ease;
    height: auto;
}

/* 滚动后的导航栏样式 */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* 黑底页面的导航栏（初始状态透明） */
body.about-body .navbar,
body.services-body .navbar {
    background: transparent;
}

/* 黑底页面滚动后的导航栏 */
body.about-body .navbar.scrolled,
body.services-body .navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 1001;
}

.logo:hover {
    opacity: 0.8;
}

.logo a {
    display: block;
}

.logo img {
    height: 45px;
    width: auto;
    transition: height 0.4s ease;
}

.navbar.scrolled .logo img {
    height: 38px;
}

/* 导航菜单 */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 48px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-block;
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 8px 0;
    position: relative;
}

/* 下划线效果 */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000000;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #000000;
}

.nav-link.active {
    color: #000000;
}

.nav-link.active::after {
    width: 100%;
}

/* 黑底页面的导航链接 */
body.about-body .nav-link,
body.services-body .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

body.about-body .nav-link:hover,
body.services-body .nav-link:hover,
body.about-body .nav-link.active,
body.services-body .nav-link.active {
    color: #FFFFFF;
}

body.about-body .nav-link::after,
body.services-body .nav-link::after {
    background-color: #FFFFFF;
}

/* 黑底页面滚动后恢复正常颜色 */
body.about-body .navbar.scrolled .nav-link,
body.services-body .navbar.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

body.about-body .navbar.scrolled .nav-link:hover,
body.services-body .navbar.scrolled .nav-link:hover,
body.about-body .navbar.scrolled .nav-link.active,
body.services-body .navbar.scrolled .nav-link.active {
    color: #FFFFFF;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 黑底页面的汉堡菜单 */
body.about-body .hamburger span,
body.services-body .hamburger span {
    background-color: #FFFFFF;
}

/* 汉堡菜单激活状态 */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Page Container - 全屏居中布局 */
.page-container {
    padding-top: 85px;
    min-height: 100vh;
    background-color: #f8f8f8;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled ~ .page-container {
    padding-top: 70px;
}

/* About 页面黑色背景 */
body.about-body {
    background-color: #000000;
}

body.about-body .page-container {
    background-color: #000000;
}

/* About 页面的社交链接白色 */
body.about-body .social-links svg rect {
    fill: #000000;
}

body.about-body .social-links svg path {
    fill: #FFFFFF;
}

body.about-body .social-links a:hover svg {
    filter: brightness(1.3);
}

/* About 页面的页脚黑底白字 */
body.about-body .footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.about-body .footer-description,
body.about-body .footer-nav-link,
body.about-body .footer-email,
body.about-body .footer-address,
body.about-body .footer-instagram {
    color: #B0B0B0;
}

body.about-body .footer-nav-title,
body.about-body .footer-contact-title {
    color: #FFFFFF;
}

body.about-body .footer-nav-link:hover {
    color: #FFFFFF;
}

/* Services 页面黑色背景 */
body.services-body {
    background-color: #000000;
}

body.services-body .page-container {
    background-color: #000000;
}

/* Services 页面的社交链接白色 */
body.services-body .social-links svg rect {
    fill: #000000;
}

body.services-body .social-links svg path {
    fill: #FFFFFF;
}

body.services-body .social-links a:hover svg {
    filter: brightness(1.3);
}

/* Services 页面的页脚黑底白字 */
body.services-body .footer {
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.services-body .footer-description,
body.services-body .footer-nav-link,
body.services-body .footer-email,
body.services-body .footer-address,
body.services-body .footer-instagram {
    color: #B0B0B0;
}

body.services-body .footer-nav-title,
body.services-body .footer-contact-title {
    color: #FFFFFF;
}

body.services-body .footer-nav-link:hover {
    color: #FFFFFF;
}

.page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* 淡入动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home Page Styles - 完美居中 */
.home-page {
    background-color: #f8f8f8;
    text-align: center;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    width: 100%;
    position: relative;
}

.hero-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.hero-logo:hover {
    transform: scale(1.02);
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-logo img {
    max-width: 380px;
    height: auto;
    width: 100%;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.05));
    transition: filter 0.4s ease;
}

.hero-logo:hover img {
    filter: drop-shadow(0 6px 30px rgba(0, 0, 0, 0.1));
}

/* 简介文字 - 默认隐藏 */
.hero-subheader {
    max-width: 750px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}

/* 鼠标悬停在 hero-section 上时显示简介 */
.hero-section:hover .hero-subheader {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.subheader-text {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 400;
    color: #333333;
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin: 0;
    font-style: italic;
    text-align: center;
}

/* 移动设备上始终显示简介（可选） */
@media (hover: none) and (pointer: coarse) {
    .hero-subheader {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }
}

/* News Page Styles */
.news-page {
    background-color: #f8f8f8;
    text-align: center;
}

.news-header {
    margin-bottom: 32px;
}

.news-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 600;
    color: #1a1a1a;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 0;
}

/* Instagram Feed Container */
.instagram-feed {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
}

/* Instagram Grid - Responsive */
.instagram-grid {
    display: grid;
    gap: 16px;
    animation: fadeIn 0.6s ease forwards;
}

/* Grid Breakpoints */
@media (min-width: 1440px) {
    .instagram-grid,
    .skeleton-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) and (max-width: 1439px) {
    .instagram-grid,
    .skeleton-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .instagram-grid,
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .instagram-grid,
    .skeleton-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Instagram Card */
.instagram-card {
    position: relative;
    width: 100%;
    padding-bottom: 100%; /* Square aspect ratio */
    overflow: hidden;
    background: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.instagram-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.instagram-card:hover .instagram-card-image {
    transform: scale(1.05);
}

/* Hover Overlay - Desktop Only */
.instagram-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: background 0.3s ease;
    opacity: 0;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .instagram-card:hover .instagram-card-overlay {
        background: rgba(0, 0, 0, 0.75);
        opacity: 1;
        pointer-events: auto;
    }
}

.instagram-card-caption {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.instagram-card-icon {
    width: 28px;
    height: 28px;
    opacity: 0.9;
}

/* Video Indicator */
.instagram-card-video-indicator {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 1;
}

.instagram-card-video-indicator svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

.instagram-card-video-indicator span {
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Skeleton Loading */
.skeleton-grid {
    display: grid;
    gap: 16px;
}

.skeleton-card {
    width: 100%;
    padding-bottom: 100%;
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Error State */
.error-state {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 40px 20px;
}

.error-content {
    text-align: center;
    max-width: 400px;
}

.error-content svg {
    margin-bottom: 20px;
}

.error-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 12px 0;
}

.error-message {
    font-size: 16px;
    color: #666666;
    margin: 0 0 24px 0;
    line-height: 1.6;
}

.retry-button {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.retry-button:hover {
    background: #000000;
    transform: translateY(-2px);
}

.retry-button:active {
    transform: translateY(0);
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
    margin-top: 48px;
    padding-bottom: 40px;
}

.load-more-button {
    background: #1a1a1a;
    color: #ffffff;
    border: none;
    padding: 14px 48px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
    justify-content: center;
}

.load-more-button:hover:not(:disabled) {
    background: #000000;
    transform: translateY(-2px);
}

.load-more-button:active:not(:disabled) {
    transform: translateY(0);
}

.load-more-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Spinner */
.spinner {
    animation: rotate 1s linear infinite;
    width: 20px;
    height: 20px;
}

.spinner .path {
    stroke: #ffffff;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Page Navigation Hint */
.page-nav-hint {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    pointer-events: none;
}

.page-nav-hint:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.page-nav-hint svg {
    width: 24px;
    height: 24px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* 黑底页面的提示样式 */
body.about-body .page-nav-hint,
body.services-body .page-nav-hint {
    background: rgba(255, 255, 255, 0.7);
    color: #000000;
}

body.about-body .page-nav-hint:hover,
body.services-body .page-nav-hint:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* 移动端调整 */
@media (max-width: 768px) {
    .page-nav-hint {
        bottom: 24px;
        right: 24px;
        width: 48px;
        height: 48px;
    }
    
    .page-nav-hint svg {
        width: 20px;
        height: 20px;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Lazy Loading - Image Fade In */
.instagram-card-image.lazy-loading {
    opacity: 0;
}

.instagram-card-image.lazy-loaded {
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* About Page Styles - 黑底白字优雅设计 */
.about-page {
    background-color: #000000;
    text-align: center;
}

.about-header {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.about-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 24px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.about-text-wrapper {
    width: 100%;
}

.about-content p {
    font-size: 17px;
    line-height: 2;
    letter-spacing: 0.5px;
    color: #E8E8E8;
    margin-bottom: 28px;
    text-align: center;
    font-weight: 400;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Services Page Styles - 网格居中布局 */
.services-page {
    background-color: #f8f8f8;
    text-align: center;
}

/* Services 页面黑底白字样式 */
body.services-body .services-page {
    background-color: #000000;
}

.services-header {
    margin-bottom: 70px;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.services-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Services 黑底模式标题 */
body.services-body .services-title {
    color: #FFFFFF;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    border: none;
    padding: 0;
}

/* 错开动画时间 */
.service-item:nth-child(1) { animation-delay: 0.3s; }
.service-item:nth-child(2) { animation-delay: 0.4s; }
.service-item:nth-child(3) { animation-delay: 0.5s; }
.service-item:nth-child(4) { animation-delay: 0.6s; }
.service-item:nth-child(5) { animation-delay: 0.7s; }

.clickable-service {
    cursor: pointer;
    position: relative;
    padding: 28px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: left;
    height: 100%;
}

.clickable-service:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

/* Services 黑底模式卡片样式 */
body.services-body .clickable-service {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.services-body .clickable-service:hover {
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.clickable-service:hover .service-title {
    color: #000000;
}

/* Services 黑底模式标题 - 始终保持白色 */
body.services-body .service-title {
    color: #FFFFFF !important;
}

body.services-body .clickable-service:hover .service-title {
    color: #FFFFFF !important;
}

/* About 黑底模式也保持一致（如果未来添加服务卡片） */
body.about-body .service-title {
    color: #FFFFFF !important;
}

body.about-body .clickable-service:hover .service-title {
    color: #FFFFFF !important;
}

.service-description {
    font-size: 13px;
    font-weight: 400;
    color: #666666;
    line-height: 1.7;
    letter-spacing: 0.3px;
    text-align: left;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease, padding 0.4s ease;
}

/* Services 黑底模式描述 */
body.services-body .service-description {
    color: #B0B0B0;
}

/* 桌面端：纯 CSS 悬停效果 */
@media (hover: hover) and (pointer: fine) {
    /* 桌面端移除 hidden 类的影响 */
    .service-description.hidden {
        display: block !important;
    }
    
    .clickable-service:hover .service-description {
        max-height: 600px !important;
        opacity: 1 !important;
        margin-top: 16px !important;
        padding-top: 16px !important;
        border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
    }
    
    /* Services 黑底模式悬停边框 */
    body.services-body .clickable-service:hover .service-description {
        border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
}

/* 移动端：JavaScript 控制显示/隐藏 */
@media (hover: none) or (pointer: coarse) {
    .service-description.show {
        max-height: 600px;
        opacity: 1;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    
    /* Services 黑底模式边框 */
    body.services-body .service-description.show {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Contact Page Styles - 平衡布局 */
.contact-page {
    background-color: #f8f8f8;
    text-align: center;
}

.contact-header {
    margin-bottom: 60px;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.contact-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

/* 左侧联系信息区域 */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-label {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: 1px;
}

.contact-detail {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* 右侧表单区域 */
.contact-form-container {
    width: 100%;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-form:hover {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.form-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-align: left;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    background-color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000000;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

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

.submit-button {
    width: 100%;
    background-color: #000000;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.submit-button:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.submit-button:active {
    transform: translateY(0);
}

/* Form Validation Styles */
.form-group input:invalid,
.form-group textarea:invalid {
    border-color: #ff4444;
}

.form-group input:valid,
.form-group textarea:valid {
    border-color: rgba(0, 200, 0, 0.3);
}

/* Success Message */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
    letter-spacing: 0.3px;
}

/* Error Message */
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: none;
    letter-spacing: 0.3px;
}

/* Social Media Links Styles */
.social-links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 60px 0 40px;
    padding: 0 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    border-radius: 8px;
    outline: none;
}

.social-links a:hover {
    transform: translateY(-4px);
}

.social-links a:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.social-links svg {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-links a:hover svg {
    filter: brightness(0.85);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Footer Styles */
.footer {
    background-color: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(208, 208, 208, 0.3);
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 96px 30px;
}

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

/* 左侧品牌区域 */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-logo a {
    display: block;
}

.footer-logo img {
    height: 45px;
    width: auto;
}

.footer-description {
    font-size: 15px;
    line-height: 1.8;
    letter-spacing: 0.3px;
    color: #666666;
    max-width: 350px;
}

/* 中间导航区域 */
.footer-nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-nav-list {
    list-style: none;
    padding: 0;
}

.footer-nav-list li {
    margin-bottom: 12px;
}

.footer-nav-link {
    text-decoration: none;
    color: #666666;
    font-size: 14px;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    color: #000000;
    padding-left: 5px;
}

/* 右侧联系区域 */
.footer-contact-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-email,
.footer-address,
.footer-instagram {
    font-size: 14px;
    color: #666666;
    margin: 0;
    letter-spacing: 0.3px;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .services-list {
        gap: 20px;
        max-width: 1200px;
    }
    
    .clickable-service {
        padding: 24px 16px;
    }
    
    .service-title {
        font-size: 15px;
        margin-bottom: 12px;
    }
    
    .service-description {
        font-size: 12px;
    }
}

@media (max-width: 1200px) {
    .nav-container,
    .page {
        padding-left: 48px;
        padding-right: 48px;
    }
    
    .footer-container {
        padding-left: 48px;
        padding-right: 48px;
    }
    
    /* Services 保持 5 列，但调整间距 */
    .services-list {
        gap: 16px;
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contact-info {
        text-align: center;
        align-items: center;
    }
    
    .contact-item {
        align-items: center;
    }
    
    .form-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    /* 平板端：改为 3 列显示 */
    .services-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* 显示汉堡菜单 */
    .hamburger {
        display: flex;
    }
    
    /* 隐藏桌面菜单，改为移动菜单 */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        padding: 40px;
        transition: right 0.4s ease;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    /* 黑底页面的移动菜单 */
    body.about-body .nav-menu,
    body.services-body .nav-menu {
        background: rgba(0, 0, 0, 0.98);
        box-shadow: -2px 0 20px rgba(255, 255, 255, 0.1);
    }
    
    /* 菜单打开状态 */
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        font-size: 16px;
        letter-spacing: 2px;
    }
    
    .nav-container,
    .page {
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .nav-container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .page {
        padding-top: 40px;
        padding-bottom: 40px;
    }
    
    .logo img {
        height: 36px;
    }
    
    .navbar.scrolled .logo img {
        height: 32px;
    }
    
    .hero-logo img {
        max-width: 280px;
    }
    
    .subheader-text {
        font-size: 18px;
        line-height: 1.7;
    }
    
    /* 移动设备上点击显示简介 */
    @media (hover: none) and (pointer: coarse) {
        .hero-subheader {
            animation: fadeIn 1s ease forwards;
            animation-delay: 0.8s;
        }
    }
    
    .about-title,
    .services-title,
    .contact-title {
        font-size: 42px;
        letter-spacing: 2px;
    }
    
    .about-content p {
        font-size: 16px;
        line-height: 1.9;
    }
    
    /* 手机端：改为单列显示 */
    .services-list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .clickable-service {
        padding: 24px 20px;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .service-description {
        font-size: 14px;
    }
    
    .contact-form {
        padding: 28px;
    }
    
    .contact-label {
        font-size: 18px;
    }
    
    .contact-detail {
        font-size: 15px;
    }
    
    .footer-container {
        padding: 40px 24px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-description {
        max-width: none;
    }
    
    .social-links {
        margin: 40px 0 30px;
    }
}

@media (max-width: 480px) {
    .nav-container,
    .page {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .nav-menu {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    
    .hero-logo img {
        max-width: 240px;
    }
    
    .subheader-text {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .about-title,
    .services-title,
    .contact-title {
        font-size: 36px;
        letter-spacing: 1.5px;
    }
    
    .about-content p {
        font-size: 15px;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .footer-container {
        padding: 30px 20px 15px;
    }
    
    .footer-logo img {
        height: 35px;
    }
    
    .footer-description {
        font-size: 14px;
    }
}

/* 额外的优化动画 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滚动条样式优化 */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 选择文本样式 */
::selection {
    background-color: #000000;
    color: #ffffff;
}

::-moz-selection {
    background-color: #000000;
    color: #ffffff;
}


