/* Projects Page Specific Styles */
.projects-container {
    padding: 120px 50px 50px;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--main-bule);
}

.project-content {
    padding: 20px;
}

.project-title {
    color: var(--main-bule);
    font-size: 1.5em;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.project-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.project-features li::before {
    content: "✓";
    color: var(--main-bule);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.project-btn {
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.primary-btn {
    background: var(--main-bule);
    color: white;
}

.primary-btn:hover {
    background: #2a5cf9;
    transform: scale(1.05);
}

.secondary-btn {
    background: #f0f0f0;
    color: var(--main-bule);
    border: 2px solid var(--main-bule);
}

.secondary-btn:hover {
    background: var(--main-bule);
    color: white;
    transform: scale(1.05);
}

/* Dark Mode Styles */
.dark-mode .projects-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.dark-mode .project-card {
    background: #2d2d2d;
}

.dark-mode .project-title {
    color: #4e9eff;
}

.dark-mode .project-description,
.dark-mode .project-features li {
    color: #ccc;
}

.dark-mode .secondary-btn {
    background: #2d2d2d;
    color: #4e9eff;
    border-color: #4e9eff;
}

.dark-mode .secondary-btn:hover {
    background: #4e9eff;
    color: #2d2d2d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .projects-container {
        padding: 100px 20px 30px;
    }

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

    .project-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

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

.project-card {
    animation: fadeIn 0.6s ease-out forwards;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.4s;
}

.project-card:nth-child(4) {
    animation-delay: 0.6s;
} 