
/* animation.css */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.moving-cards-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(4px);
    transform: scale(1.1); /* To avoid blurred edges */
    overflow: hidden;
}

.card-row {
    display: flex;
    width: max-content;
}

.card-row.scroll-left {
    animation: scroll-left 40s linear infinite;
}

.card-row.scroll-right {
    animation: scroll-right 40s linear infinite;
}

.project-card-bg {
    background-color: var(--project-card-bg-light);
    border: 1px solid var(--project-card-border-light);
    border-radius: 12px;
    padding: 25px;
    width: 336px; /* Fixed width for animation */
    height: 216px; /* Fixed height for animation */
    margin: 15px;
    flex-shrink: 0;
}

.project-card-bg h3 {
    margin-top: 0;
    font-size: 22px;
    color: var(--accent-color);
}

.project-card-bg p {
    font-size: 16px;
    color: var(--text-muted-light);
}

.dark-theme .project-card-bg {
    background-color: var(--project-card-bg-dark);
    border-color: var(--project-card-border-dark);
}

.dark-theme .project-card-bg p {
    color: var(--text-muted-dark);
}


@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes scroll-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

.hero-text {
    position: relative;
    z-index: 2;
    color: white;
    text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
    transform: translateY(-15%);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
}

#project-list-section {
    display: none; /* Initially hidden */
}
