/* Projects Page Specific Styles */

.projects-page {
    padding-top: 80px; /* Account for fixed navbar */
    min-height: 100vh;
    background: white;
}

.page-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--charcoal);
    margin: 4rem 0;
    padding: 0 2rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 6rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease;
    align-items: flex-start;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.project-image {
    position: relative;
    width: 100%;
    height: 300px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    border-radius: 8px;
    background: var(--light-gray);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.project-card:hover .image-overlay {
    background: rgba(0,0,0,0.4);
}

.view-gallery {
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.project-card:hover .view-gallery {
    opacity: 1;
}

.project-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Navigation active state */
.nav-list a.active {
    color: white;
}

.nav-list a.active:after {
    width: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .projects-grid {
        gap: 3rem 2rem;
        padding: 0 1.5rem 5rem;
    }
}

@media (max-width: 968px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    
    .page-title {
        font-size: 1.8rem;
        letter-spacing: 3px;
        margin: 3rem 0;
    }
    
    .project-image {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .projects-page {
        padding-top: 70px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem 0;
        padding: 0 1rem 4rem;
    }
    
    .page-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
        margin: 2rem 0;
    }
    
    .project-card h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .project-image {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .project-card h3 {
        font-size: 1.1rem;
    }
    
    .project-image {
        height: 250px;
    }
}
