/* Projects Page Specific Styles */

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Projects Hero */
.projects-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.projects-hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.projects-hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Current Projects */
.current-projects {
    padding: 6rem 0;
}

.projects-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.project-card-large {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.project-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border);
}

.project-status-badge {
    background: var(--gradient-3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0;
}

.project-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.project-highlights,
.project-tech {
    margin-bottom: 2rem;
}

.project-highlights h4,
.project-tech h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.project-highlights ul {
    list-style: none;
    padding: 0;
}

.project-highlights li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.project-highlights li:last-child {
    border-bottom: none;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--surface);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border);
}

.project-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Project Gallery */
.project-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gallery-main {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--surface);
    padding: 2rem;
}

.gallery-main .phone-frame {
    position: relative;
    width: 300px;
    height: 651px;
    background: linear-gradient(145deg, #5c5c60, #4a4a4e);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.3),
        0 16px 32px rgba(0, 0, 0, 0.2),
        0 32px 64px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: perspective(1000px) rotateX(2deg);
}

.gallery-main .phone-frame:hover {
    transform: perspective(1000px) rotateX(0deg) scale(1.01);
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.4),
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 40px 80px rgba(0, 0, 0, 0.2);
}

/* Dynamic Island */
.gallery-main .phone-frame::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: 105px;
    height: 32px;
    background: #000;
    border-radius: 16px;
    z-index: 3;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

/* Screen bezel */
.gallery-main .phone-frame::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: #000;
    border-radius: 42px;
    z-index: 1;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 42px;
    display: block;
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 2;
}

.gallery-image:not(.active) {
    display: none;
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.thumbnail {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.thumbnail.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

/* Future Projects */
.future-projects {
    padding: 6rem 0;
    background: var(--surface);
}

.future-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.future-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
}

.future-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.future-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.future-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.future-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.future-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Projects CTA */
.projects-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ffffff, #e0e7ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Design for Projects */
@media (max-width: 1024px) {
    .gallery-main .phone-frame {
        width: 275px;
        height: 597px;
    }
    
    .gallery-main .phone-frame::before {
        width: 96px;
        height: 30px;
        top: 20px;
    }
}

@media (max-width: 768px) {
    .projects-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .project-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-header h3 {
        font-size: 2rem;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .gallery-main {
        padding: 1.5rem;
    }
    
    .gallery-main .phone-frame {
        width: 250px;
        height: 543px;
        transform: none;
    }
    
    .gallery-main .phone-frame::before {
        width: 88px;
        height: 27px;
        top: 18px;
    }
    
    .gallery-image {
        border-radius: 37px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .future-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .project-header {
        text-align: center;
    }
    
    .project-content {
        gap: 1.5rem;
    }
    
    .project-header h3 {
        font-size: 1.8rem;
    }
    
    .gallery-main .phone-frame {
        width: 220px;
        height: 477px;
    }
    
    .gallery-main .phone-frame::before {
        width: 77px;
        height: 24px;
        top: 16px;
    }
    
    .gallery-image {
        border-radius: 37px;
    }
    
    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .thumbnail {
        height: 60px;
    }
}

/* Large screen optimization */
@media (min-width: 1200px) {
    .gallery-main .phone-frame {
        width: 320px;
        height: 694px;
    }
    
    .gallery-main .phone-frame::before {
        width: 112px;
        height: 34px;
        top: 23px;
    }
    
    .project-content {
        gap: 4rem;
    }
} 