/* Reset and Base Styles */
* {
    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: #134e2a;
    background-color: #e7f6ec;
    overflow-x: hidden;
}

/* Main Content */
.main {
    margin-top: 0;
}

/* Hero Section - DRAFT Style with Background Animation */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

/* Background Image Carousel */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: scale(1.05);
    will-change: opacity, transform;
}

.bg-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Background slide overlay */
.bg-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.bg-slide.active::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
    transition: background 1.5s ease-in-out;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    position: relative;
    min-height: 100vh;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    box-sizing: border-box;
    overflow: visible;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    color: #15803d;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 4.2rem;
    max-height: 8.4rem;
    overflow: visible;
    margin: 0;
    padding: 0.5rem 0;
    flex: 0 0 auto;
    white-space: pre-wrap;
    transition: height 0.3s ease, min-height 0.3s ease;
    box-sizing: border-box;
    word-wrap: break-word;
    word-break: break-word;
}

.hero-project {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
    margin: 0;
}

.hero-project h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #15803d;
    text-shadow: 0 2px 10px rgba(74, 222, 128, 0.08);
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category, .spec, .date {
    font-size: 0.9rem;
    color: #15803d;
    font-weight: 500;
}

.view-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #15803d;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #4ade80;
    backdrop-filter: blur(10px);
    position: relative;
}

.view-btn:hover {
    background: #166534;
    color: #fff;
    border-color: #f59e42;
    transform: translateY(-2px);
}

/* Background Navigation Dots */
.bg-nav-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
    padding: 0;
    background: none;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4ade80;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #15803d;
}

.dot.active {
    background: #f59e42;
    transform: scale(1.2);
}

.dot:hover {
    background: #166534;
}

/* Featured Projects - DRAFT Style */
.featured-projects {
    padding: 5rem 2rem;
    background: #e7f6ec;
}

.project-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 4rem;
}

.project-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #a3e635;
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.08);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Project Image Carousel - 完全重写 */
.project-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
}

.image-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    background-color: #f5f5f5;
}

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

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.project-card:hover .carousel-nav {
    opacity: 1;
    pointer-events: auto;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    color: #333;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-prev:active,
.carousel-next:active {
    transform: scale(0.95);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #15803d;
}

.project-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #166534;
}

.project-content .project-meta {
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.project-content .view-btn {
    background: #15803d;
    color: #fff;
    border: 1px solid #4ade80;
    padding: 0.75rem 1.5rem;
}

.project-content .view-btn:hover {
    background: #166534;
    border-color: #f59e42;
}

/* Featured Journal - DRAFT Style */
.featured-journal {
    padding: 5rem 2rem;
    background: #e7f6ec;
}

.journal-header {
    max-width: 1200px;
    margin: 0 auto 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.journal-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #15803d;
}

.see-all {
    text-decoration: none;
    color: #166534;
    font-weight: 500;
    transition: color 0.3s ease;
    border-bottom: 2px solid #4ade80;
}

.see-all:hover {
    color: #f59e42;
    border-bottom: 2px solid #f59e42;
}

.journal-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.journal-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.journal-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
    background: #f5f5f5;
    border: 1px solid #ddd;
}

.journal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #f5f5f5;
}

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

.journal-content {
    padding: 1.5rem;
}

.journal-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.journal-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

/* Footer - DRAFT Style */
.footer {
    background: #15803d;
    color: #fff;
    padding: 3rem 2rem 1rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-section {
    min-width: 200px;
}

.footer-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
    background: #15803d;
    color: #e7f6ec;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #e7f6ec;
}

/* 移除社交链接相关样式 */
.social-links,
.social-link {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .journal-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .carousel-nav {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .featured-projects,
    .featured-journal {
        padding: 3rem 1rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .journal-content {
        padding: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.project-card,
.journal-item {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for interactive elements */
.view-btn,
.see-all,
.footer-section ul li a {
    position: relative;
}

.view-btn::after,
.see-all::after,
.footer-section ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.see-all:hover::after,
.footer-section ul li a:hover::after {
    width: 100%;
}

/* Enhanced image transition effects - 移除复杂的动画效果 */
/* .carousel-slide {
    position: relative;
    overflow: hidden;
}

.carousel-slide::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;
}

.project-card:hover .carousel-slide.active::before,
.journal-item:hover .carousel-slide.active::before {
    left: 100%;
} */

.footer-nav-center {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 2.5rem;
}
.footer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
    color: #f59e42;
    text-align: center;
    padding-right: 2.5rem;
    border-right: 1.5px solid #444;
}
.footer-nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.8rem;
    padding: 0;
    margin: 0;
    list-style: none;
}
.footer-nav-list li a {
    color: #4ade80;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}
.footer-nav-list li a:hover {
    color: #f59e42;
    background: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
    .footer-nav-center {
        flex-direction: column;
        gap: 1.2rem;
    }
    .footer-title {
        font-size: 1.1rem;
        padding-right: 0;
        border-right: none;
        margin-bottom: 0.5rem;
    }
    .footer-nav-list {
        flex-direction: column;
        gap: 0.8rem;
    }
    .footer-nav-list li a {
        font-size: 0.95rem;
    }
} 

.hero-title, .hero-project h2, .category, .spec, .date {
    -webkit-text-stroke: 0.5px rgba(255,255,255,0.4);
    text-stroke: 0.5px rgba(255,255,255,0.4);
    text-shadow:
        0 1px 4px rgba(255,255,255,0.10),
        0 0 1px rgba(255,255,255,0.08),
        0 1px 2px rgba(0,0,0,0.08);
} 