/* Projects page specific styles */
.projects{
    padding: 100px 9% 120px 9%;
    color: #fff;
    background: #000;
    min-height: calc(100vh - 60px);
}

.section-title{
    max-width: 760px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.section-title .eyebrow{
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ff4d4d;
    font-weight: 600;
    margin-bottom: 8px;
}

.section-title h2{
    font-size: 34px;
    margin-bottom: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title .section-subtitle{
    color: #c7c7c7;
    font-size: 15px;
}

.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.project-card{
    background: #1b2028;
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-radius: 16px;
    padding: 28px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 77, 77, 0.2);
    border-color: rgba(255, 77, 77, 0.5);
}

.project-header{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.project-header h3{
    font-size: 20px;
    margin-bottom: 8px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.project-links{
    display: flex;
    gap: 8px;
}

.project-link{
    color: #fff;
    font-size: 20px;
    transition: color 0.3s;
}

.project-link:hover{
    color: red;
}

.project-description{
    color: #d4d4d4;
    line-height: 1.6;
    margin-bottom: 16px;
}

.project-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag{
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.3);
    color: #ff4d4d;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.marquee-wrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 30px auto;
    max-width: 90%;
}

.marquee-container{
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid rgba(255, 77, 77, 0.3);
    border-radius: 8px;
    padding: 12px 0;
    background: rgba(255, 77, 77, 0.05);
    min-width: 0;
}

.marquee-notice{
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 77, 77, 0.15);
    border: 2px solid rgba(255, 77, 77, 0.5);
    border-radius: 8px;
    color: rgb(12, 161, 12);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    animation: pulse-notice 2s ease-in-out infinite;
}

.marquee-notice i{
    font-size: 20px;
    animation: bounce-icon 1.5s ease-in-out infinite;
}

@keyframes pulse-notice {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 77, 77, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 77, 77, 0.6);
    }
}

@keyframes bounce-icon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.marquee-content{
    display: inline-flex;
    animation: marquee-scroll 30s linear infinite;
}

.marquee-text{
    display: inline-block;
    color: #ff4d4d;
    font-size: 14px;
    padding-right: 50px;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 900px){
    .projects-grid{
        grid-template-columns: 1fr;
    }
    
    .marquee-wrapper{
        flex-direction: column;
        gap: 15px;
    }
    
    .marquee-container{
        width: 100%;
    }
    
    .marquee-notice{
        width: 100%;
        justify-content: center;
    }
}

