/* style1.css - Projects Page */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6c63ff;
    --primary-dark: #5a52d5;
    --secondary-color: #ff6584;
    --text-color: #2d3748;
    --light-text: #718096;
    --background: #f7fafc;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, #d5d5db 0%, #080808 100%);
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    line-height: 1.7;
    min-height: 100vh;
}

.body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Back Navigation */
.back-nav {
    margin-bottom: 40px;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--card-bg);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-btn:hover {
    transform: translateX(-5px);
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    text-align: center;
    margin: 60px 0;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.hero h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--light-text);
    font-weight: 400;
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin: 60px 0;
}

.project-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.project-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.project-card.featured::before {
    content: '⭐ Featured';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.project-header h3 {
    font-family: 'Syne Mono', monospace;
    font-size: 1.8rem;
    color: var(--text-color);
}

.project-badge {
    background: var(--gradient);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-description {
    color: var(--light-text);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.tech-tag {
    background: rgba(108, 99, 255, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(108, 99, 255, 0.2);
}

.project-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.project-link:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.project-link.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.project-link.secondary:hover {
    background: var(--primary-color);
    color: white;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Media Queries */
@media (min-width: 768px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.featured {
        grid-column: 1 / -1;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .body {
        padding: 15px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-card {
        padding: 25px;
    }
    
    .project-links {
        justify-content: center;
    }
}