/* 现代艺术家个人作品集 - 受Sydney Swisher启发 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Charm:wght@400;700&family=Petit+Formal+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #fefefe;
    overflow-x: hidden;
}

/* 自定义鼠标样式 */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid #000;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    transform: scale(2);
    background-color: #000;
}

/* 导航栏 - 简洁现代 */
.navbar {
    background: rgba(254, 254, 254, 0.95) !important;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(254, 254, 254, 0.98) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 500;
    color: #1a1a1a !important;
    letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
    color: #1a1a1a !important;
    margin: 0 1.5rem;
    font-weight: 400;
    font-size: 0.95rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #1a1a1a;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.navbar-nav .nav-link:hover {
    color: #1a1a1a !important;
    transform: translateY(-1px);
}

/* 主视觉区域 - 艺术现代 */
.hero-section {
    background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
    position: relative;
    padding: 150px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="grad"><stop offset="0%" style="stop-color:%23000;stop-opacity:0.02"/><stop offset="100%" style="stop-color:%23000;stop-opacity:0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23grad)"/><circle cx="800" cy="600" r="400" fill="url(%23grad)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-title .text-primary {
    color: #1a1a1a !important;
    font-style: italic;
    position: relative;
}

.hero-title .text-primary::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, rgba(26,26,26,0.1) 0%, rgba(26,26,26,0.2) 100%);
    z-index: -1;
}

.hero-buttons {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 15px 40px;
    border-radius: 0;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 1px;
    border: 1px solid #1a1a1a;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn-primary {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fefefe;
}

.hero-buttons .btn-primary:hover {
    background-color: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.1);
}

.hero-buttons .btn-outline-light {
    background-color: transparent;
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.hero-buttons .btn-outline-light:hover {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fefefe;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.1);
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0;
    filter: grayscale(20%);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.1);
}

.hero-image img:hover {
    filter: grayscale(0%);
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(26, 26, 26, 0.15);
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    border: 1px solid rgba(26, 26, 26, 0.1);
    z-index: -1;
}

/* 区域 - 现代间距 */
section {
    padding: 120px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 技能 */
.skill-item {
    margin-bottom: 1.5rem;
}

.skill-item span {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.progress {
    height: 8px;
    border-radius: 4px;
    background-color: #e9ecef;
}

.progress-bar {
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 4px;
}

/* 作品集 - 现代网格 */
.portfolio-filter {
    margin-bottom: 4rem;
    text-align: center;
}

.portfolio-filter .btn {
    margin: 0 1rem 1rem 0;
    border-radius: 0;
    background: transparent;
    border: 1px solid rgba(26, 26, 26, 0.2);
    color: #666;
    padding: 12px 24px;
    font-weight: 400;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.portfolio-filter .btn:hover,
.portfolio-filter .btn.active {
    background-color: #1a1a1a;
    border-color: #1a1a1a;
    color: #fefefe;
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(26, 26, 26, 0.1);
}

.portfolio-item {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.portfolio-item:nth-child(even) {
    animation-delay: 0.1s;
}

.portfolio-item:nth-child(odd) {
    animation-delay: 0.2s;
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(26, 26, 26, 0.1);
}

.portfolio-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(30%);
}

.portfolio-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.6) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(5px);
}

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

.portfolio-overlay h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.portfolio-overlay p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.portfolio-overlay .btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 8px 20px;
    border-radius: 0;
    font-size: 0.8rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.portfolio-overlay .btn:hover {
    background: white;
    color: #1a1a1a;
    border-color: white;
}

/* 销售卡片 - 优雅设计 */
.sales-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(26, 26, 26, 0.05);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.sales-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(26, 26, 26, 0.1);
    border-color: rgba(26, 26, 26, 0.1);
}

.sales-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a 0%, #666 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.sales-card:hover::before {
    transform: scaleX(1);
}

.sales-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    filter: grayscale(20%);
}

.sales-card:hover img {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.sales-info {
    padding: 1.5rem;
}

.sales-info h5 {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 0.5rem;
}

.description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 联系方式 */
.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 5px;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #007bff;
    box-shadow: none;
    color: white;
}

.contact-info h4 {
    color: #007bff;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-item i {
    width: 20px;
    margin-right: 10px;
    color: #007bff;
}

.coworker-links {
    margin-bottom: 1rem;
}

.coworker-links .btn {
    margin: 5px;
    border-radius: 20px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #007bff;
    color: white;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.social-links a:hover {
    background: #0056b3;
    color: white;
    text-decoration: none;
}

/* 页脚 */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer {
    padding: 2rem 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(26, 26, 26, 0.15);
    border-radius: 50%;
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.footer-social-link:hover {
    color: #1a1a1a;
    border-color: rgba(26, 26, 26, 0.35);
    box-shadow: 0 10px 25px rgba(26, 26, 26, 0.12);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-social-link i {
    font-size: 1.1rem;
}

.footer-text {
    text-align: center;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons .btn {
        display: block;
        margin: 10px 0;
        width: 100%;
    }

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

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 语言下拉菜单样式 */
.language-dropdown {
    border-radius: 0 !important;
    border: 1px solid rgba(26, 26, 26, 0.1);
    box-shadow: 0 10px 30px rgba(26, 26, 26, 0.1) !important;
    min-width: 150px;
}

.language-dropdown .dropdown-item {
    padding: 10px 15px;
    font-size: 0.9rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.language-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1a1a1a;
}

.language-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

#languageDropdown {
    position: relative;
}

#languageDropdown i {
    margin-right: 5px;
}

/* 特定语言字体调整 */
html[lang="zh"] {
    font-family: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

html[lang="ja"] {
    font-family: 'Inter', 'Hiragino Kaku Gothic Pro', 'Yu Gothic Medium', 'Meiryo', sans-serif;
}

html[lang="zh"] .hero-title,
html[lang="ja"] .hero-title {
    letter-spacing: -0.02em;
}

html[lang="zh"] .section-title,
html[lang="ja"] .section-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

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

.animated {
    animation: fadeInUp 0.6s ease forwards;
}

/* 语言切换动画 */
[data-translate] {
    transition: opacity 0.2s ease;
}

.language-switching [data-translate] {
    opacity: 0.7;
}
