/* 头部样式 */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo样式 */
.logo h1 {
    margin: 0;
    font-size: 24px;
    font-weight: normal;
    letter-spacing: 2px;
}

/* 菜单按钮样式 */
.menu-btn {
    cursor: pointer;
    font-size: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
}

.menu-btn i {
    line-height: 1;
}

/* 社交图标样式 */
.social-icons a {
    color: #000;
    font-size: 20px;
}

/* 侧边导航样式 */
.side-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
}

.side-nav.active {
    left: 0;
}

.nav-content {
    padding: 60px 40px;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

/* 关闭按钮样式 */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    color: #000;
}

/* 导航菜单样式 */
.nav-menu {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.nav-item {
    margin: 25px 0;
    text-align: left;
}

.nav-item a {
    color: #000;
    text-decoration: none;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    padding: 5px 0;
    position: relative;
}

/* 下划线效果 */
.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.nav-item.active a::after {
    width: 100%;
}

.nav-item a:hover::after {
    width: 100%;
}

/* 移除之前的加粗效果 */
.nav-item.active a {
    font-weight: 300;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .nav-content {
        padding: 50px 30px;
    }
    
    .nav-menu {
        margin: 30px 0;
    }
    
    .nav-item {
        margin: 20px 0;
    }
    
    .nav-item a {
        font-size: 16px;
    }
} 

/* 轮播图样式 */
.main-slider {
    width: 100%;
    height: 100vh;
    margin-bottom: 50px;
    margin-top: 90px;
}

.main-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* 导航按钮样式 */
.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    color: #fff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    width: 50px;
    height: 50px;
}

.main-slider .swiper-button-next:hover,
.main-slider .swiper-button-prev:hover {
    opacity: 1;
}

/* 分页器样式 */
.main-slider .swiper-pagination {
    bottom: 30px !important;
}

.main-slider .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #fff;
    opacity: 0.7;
    margin: 0 5px !important;
}

.main-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-slider {
        height: 60vh;
        margin-top: 70px;
    }
    
    .main-slider .swiper-button-next,
    .main-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .main-slider .swiper-pagination {
        bottom: 20px !important;
    }
    
    .main-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}

/* 图片网格样式 */
.gallery-container {
    padding: 0 15px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-row {
    margin-bottom: 30px;
}

.gallery-item {
    padding: 15px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-slider {
        height: 60vh;
    }
    
    .gallery-row {
        margin-bottom: 15px;
    }
    
    .gallery-item {
        padding: 10px;
    }
} 

/* 页脚样式 */
.footer {
    background: #fff;
    padding: 50px 0;
    margin-top: 50px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* 页脚导航 */
.footer-nav {
    margin-bottom: 30px;
}

.footer-nav a {
    color: #000;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: #666;
}

/* 社交媒体图标 */
.footer-social {
    margin-bottom: 30px;
}

.footer-social a {
    color: #000;
    font-size: 20px;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #666;
}

/* 版权信息 */
.footer-copyright {
    color: #666;
    font-size: 12px;
}

.footer-copyright p {
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer {
        padding: 30px 0;
    }
    
    .footer-nav {
        margin-bottom: 20px;
    }
    
    .footer-nav a {
        display: block;
        margin: 10px 0;
    }
} 

/* Work页面样式 */
.work-container {
    padding-top: 100px;
    margin-bottom: 50px;
}

/* 筛选按钮 */
.work-filter {
    text-align: center;
    margin-bottom: 40px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: #666;
}

.filter-btn.active {
    border-bottom: 1px solid #000;
}

/* 作品网格 */
.work-grid {
    margin-top: 30px;
}

.work-item {
    margin-bottom: 30px;
}

.work-card {
    position: relative;
    overflow: hidden;
}

.work-card img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.work-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.work-card:hover img {
    transform: scale(1.05);
}

.work-card:hover .work-info {
    transform: translateY(0);
}

.work-info h3 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
}

.work-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
} 

/* About页面样式 */
.about-container {
    padding-top: 100px;
    margin-bottom: 50px;
}

.about-intro {
    margin-bottom: 60px;
}

.about-image {
    margin-bottom: 30px;
}

.about-text h2 {
    margin-bottom: 10px;
    font-weight: 300;
}

.about-text .lead {
    color: #666;
    margin-bottom: 30px;
}

.about-description p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 30px 0;
}

.timeline-item {
    margin-bottom: 30px;
    position: relative;
    padding-left: 100px;
}

.timeline-item .year {
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Foundry页面样式 */
.foundry-container {
    padding-top: 80px;
}

.foundry-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
    margin-bottom: 60px;
    background-color: rgba(0,0,0,0.7);
}

.foundry-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.hero-content .lead {
    font-size: 1.5rem;
    font-weight: 300;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.section-header .lead {
    color: #666;
}

.service-card {
    text-align: center;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.service-card i {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.facility-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.facility-image {
    position: relative;
    overflow: hidden;
}

.facility-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.facility-item:hover .facility-image img {
    transform: scale(1.05);
}

.facility-content {
    padding: 2rem;
}

.facility-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.facility-features {
    margin-top: 1.5rem;
}

.facility-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

.facility-features i {
    color: #28a745;
}

.contact-item {
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.contact-item i {
    color: #333;
    margin-bottom: 1rem;
}

.contact-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-item p {
    color: #666;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .foundry-hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content .lead {
        font-size: 1.2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .facility-content {
        padding: 1.5rem;
    }

    .facility-image img {
        height: 200px;
    }
}

/* Classes页面样式 */
.classes-container {
    padding-top: 100px;
    margin-bottom: 50px;
}

.classes-intro {
    text-align: center;
    margin-bottom: 60px;
}

.class-card {
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.class-info {
    padding: 20px;
}

.class-details {
    margin: 20px 0;
}

.class-details p {
    margin-bottom: 10px;
}

.class-details i {
    margin-right: 10px;
    width: 20px;
}

.enrollment-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #000;
    color: #fff;
    margin: 0 auto 20px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .about-text {
        text-align: center;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
    
    .enrollment-steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 30px;
    }
} 

/* Gallery页面样式 */
.gallery-filter {
    padding: 20px 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: none;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.3s ease;
}

.filter-btn:hover::after,
.filter-btn.active::after {
    width: 100%;
}

.gallery-grid {
    margin: 30px 0;
}

.gallery-item {
    margin-bottom: 30px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    color: #fff;
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.overlay-content p {
    font-size: 1rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.overlay-content .category {
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .filter-buttons {
        gap: 10px;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .gallery-image {
        aspect-ratio: 1;
    }

    .overlay-content h3 {
        font-size: 1.2rem;
    }

    .overlay-content p {
        font-size: 0.9rem;
    }
} 