/* Cases page styles */

/* Page header */
.page-header {
    position: relative;
    padding: 8rem 0 4rem;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)), url('../images/resources/instrument.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 4.5rem;
}

.header-content {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}

.header-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.header-content p {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Activities section */
.activities {
    padding: 6rem 0;
    background-color: var(--white);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.activity-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.activity-image {
    position: relative;
    height: 20rem;
    overflow: hidden;
}

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

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

.activity-content {
    padding: 2rem;
}

.activity-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.activity-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.activity-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-tag {
    background-color: var(--primary-color)/10;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
}

/* Artists section */
.artists {
    padding: 6rem 0;
    background-color: #f8f9fa;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.artist-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.artist-image {
    position: relative;
    height: 24rem;
    overflow: hidden;
}

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

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

.artist-content {
    padding: 2rem;
    text-align: center;
}

.artist-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.artist-desc {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.artist-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

/* Join us section */
.join-us {
    padding: 6rem 0;
    background-color: var(--white);
    text-align: center;
}

.join-content {
    max-width: 48rem;
    margin: 0 auto;
}

.join-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.join-content p {
    color: var(--text-light);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .artists-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .activity-image,
    .artist-image {
        height: 20rem;
    }

    .artist-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }

    .artist-content {
        padding: 1.5rem;
        text-align: left;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .artist-features {
        justify-content: flex-start;
    }

    .join-content h2 {
        font-size: 2rem;
    }
}

/* 萌力计划页面样式 */

/* Banner样式 */
.page-banner {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color), #ff96b7);
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/images/pattern.png') repeat;
    opacity: 0.1;
    animation: moveBackground 20s linear infinite;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.banner-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    animation: fadeInDown 0.8s ease-out;
}

.banner-content p {
    font-size: 1.25rem;
    color: var(--white);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* 案例网格布局 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.case-item {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 0.6s ease-out both;
}

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

.case-image {
    position: relative;
    padding-top: 66.67%; /* 3:2 比例 */
    overflow: hidden;
}

.case-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.case-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.case-item:hover .case-overlay {
    opacity: 1;
}

.case-link {
    text-decoration: none;
}

.view-more {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--white);
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.case-item:hover .view-more {
    background: var(--white);
    color: var(--primary-color);
}

.case-content {
    padding: 1.5rem;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.case-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.case-title a:hover {
    color: var(--primary-color);
}

.case-meta {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* 动画关键帧 */
@keyframes moveBackground {
    from {
        background-position: 0 0;
    }
    to {
        background-position: 100% 100%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式适配 */
@media (max-width: 1024px) {
    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.1rem;
    }

    .cases-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .case-content {
        padding: 1.25rem;
    }

    .case-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-content p {
        font-size: 1rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .case-content {
        padding: 1rem;
    }
} 