/* ============================================
   COMPLETE REDESIGN - PROJECTS PAGE
   ============================================ */

body {
    font-family: 'Open Sans', sans-serif;
    background: #0a0e27;
    color: #ffffff;
    min-height: 100vh;
    padding-top: 100px;
}

.projects-page {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 80px;
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #00ffff 0%, #ff00ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-header p {
    font-size: 1.2rem;
    color: #a0a0b8;
    max-width: 600px;
    margin: 0 auto;
}

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

.project-card {
    background: linear-gradient(135deg, #1a1f3a 0%, #2a2f4a 100%);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00ffff 0%, #ff00ff 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 1;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 255, 255, 0.3);
    border-color: rgba(0, 255, 255, 0.4);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #0f1429;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card-img {
    width: 50%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    padding: 20px;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card-img {
    transform: scale(1.1);
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #00ffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.project-card-body {
    padding: 35px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-card-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.project-card-sub {
    color: #00ffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.project-card-text {
    color: #a0a0b8;
    line-height: 1.8;
    margin-bottom: 30px;
    flex-grow: 1;
}

.project-card-footer {
    display: flex;
    gap: 15px;
    margin-top: auto;
}

.btn-project {
    flex: 1;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.btn-project-primary {
    background: linear-gradient(135deg, #00ffff 0%, #0080ff 100%);
    color: #0a0e27;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.3);
}

.btn-project-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 255, 0.5);
    color: #0a0e27;
}

.btn-project-secondary {
    background: transparent;
    color: #00ffff;
    border: 2px solid #00ffff;
}

.btn-project-secondary:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #a0a0b8;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

@media (max-width: 768px) {
    body {
        padding-top: 120px;
    }
    
    .projects-page {
        padding: 40px 20px;
    }
    
    .projects-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .project-card-body {
        padding: 25px;
    }
    
    .project-card-footer {
        flex-direction: column;
    }
}

/* Remove old styles */
.container.projects {
    display: none;
}
