body {
    background: transparent;
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.project-section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::before,
.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 2px;
    background: var(--accent-color);
    border-radius: 1px;
}

.section-title::before {
    left: -220px;
}

.section-title::after {
    right: -220px;
}

.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}

.project-card {
    background: var(--card-bg);
    color: var(--text-color);
    border-radius: 18px;
    border: 2px solid var(--accent-color);
    box-shadow: 0 6px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.12);
    flex: 1 1 350px;
    min-width: 320px;
    max-width: 500px;
    margin: 0;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    animation: fadeInUp 0.8s ease-out;
    opacity: 0;
    animation-fill-mode: forwards;
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.project-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 12px 48px rgba(0,0,0,0.22), 0 3px 12px rgba(0,0,0,0.16), 0 0 20px rgba(78, 205, 196, 0.3);
    border-color: var(--primary-color);
}

.placeholder-card {
    opacity: 0.7;
    background: var(--card-bg);
    border: 2px dashed var(--accent-color);
}

.placeholder-card:hover {
    transform: none;
    box-shadow: 0 6px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.12);
}
.card-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    color: var(--primary-color);
}
.card-description {
    font-size: 1.08rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-color);
}
.card-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1rem;
}
.skill-tag {
    background: var(--card-bg);
    color: var(--primary-color);
    border-radius: 10px;
    padding: 0.18rem 0.7rem;
    font-size: 0.92rem;
    font-weight: 400;
    box-shadow: none;
    border: 1px solid #3535ff22;
}
.card-links {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    justify-content: center;
}
.card-link {
    color: var(--card-bg);
    background: var(--accent-color);
    padding: 0.7rem 1.6rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px #36ffc233;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
}
.card-link:hover {
    background: var(--primary-color);
    color: var(--card-bg);
    box-shadow: 0 4px 16px #36ffc244;
}
.card-carousel {
    width: 100%;
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 0.7rem;
    padding: 0;
    background: var(--nav-bg);
    border-radius: 12px;
    overflow: hidden;
}
.carousel-img {
    width: 100%;
    height: 100%;
    max-height: 420px;
    min-height: 220px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    background: var(--nav-bg);
    flex: 1 1 auto;
    display: block;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: var(--text-color);
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 2;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
    padding: 0;
}
.carousel-btn.left {
    left: 0.5rem;
}
.carousel-btn.right {
    right: 0.5rem;
}
.carousel-btn:hover {
    color: var(--primary-color);
}
.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 0.2rem;
}
.dot {
    width: 10px;
    height: 10px;
    background: var(--shadow-color);
    border-radius: 50%;
    display: inline-block;
    transition: background 0.2s;
    cursor: pointer;
}
.dot.active {
    background: var(--primary-color);
}
.card-link.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
}

.card-link.disabled:hover {
    transform: none;
    box-shadow: none;
}
@media (max-width: 1100px) {
    .projects-grid {
        gap: 1.2rem;
        max-width: 98vw;
    }
    .project-card {
        min-width: 240px;
        max-width: 98vw;
        padding: 1.2rem 0.5rem;
        margin: 2rem 0;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-title::before,
    .section-title::after {
        width: 100px;
    }
    
    .section-title::before {
        left: -110px;
    }
    
    .section-title::after {
        right: -110px;
    }
}

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