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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

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

.logo a {
    font-size: 24px;
    font-weight: 600;
    text-decoration: none;
    color: #333;
    letter-spacing: -0.5px;
}

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

.portrait-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.portrait-link:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

/* 主要内容区域 */
.main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* 英雄区域 */
.hero {
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://bing.ee123.net/img/');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px 60px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 20px;
    color: #333;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 20px;
    color: #666;
    font-weight: 300;
}

/* 横屏画廊 */
.landscape-gallery {
    padding: 60px 0;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.landscape-item {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.landscape-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.landscape-item .photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 400;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

/* 照片描述样式 */
.photo-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 20px 15px 15px;
    font-size: 14px;
    font-weight: 400;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.landscape-item:hover .photo-description {
    opacity: 1;
    transform: translateY(0);
}

/* 页脚 */
.footer {
    background: #f8f8f8;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #f0f0f0;
}

.footer-content p {
    color: #666;
    font-size: 14px;
    margin: 5px 0;
}

.contact-info {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-info a {
    color: #666;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #667eea;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .hero-content {
        padding: 30px 40px;
    }
    
    .gallery-container {
        gap: 30px;
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        height: 30vh;
    }
    
    .photo-description {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    }
    
    .contact-info {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 25vh;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-content {
        padding: 20px 30px;
    }
    
    .landscape-gallery {
        padding: 40px 0;
    }
    
    .gallery-container {
        gap: 20px;
    }
    
    .contact-info {
        gap: 10px;
        flex-direction: column;
    }
}

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

.landscape-item {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.landscape-item:nth-child(1) { animation-delay: 0.1s; }
.landscape-item:nth-child(2) { animation-delay: 0.2s; }
.landscape-item:nth-child(3) { animation-delay: 0.3s; }
.landscape-item:nth-child(4) { animation-delay: 0.4s; }
.landscape-item:nth-child(5) { animation-delay: 0.5s; }
.landscape-item:nth-child(6) { animation-delay: 0.6s; }
.landscape-item:nth-child(7) { animation-delay: 0.7s; }

/* 图片样式 */
.landscape-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.landscape-item:hover img {
    transform: scale(1.02);
} 