/* viewwork.css */

/* Επιβολή του background σε όλη τη σελίδα αν χρειάζεται */
body {
    background-color: #0f172a; /* Το χρώμα βάσης σου */
}

/* Ειδικές ρυθμίσεις για το Hero του Work */
.work-hero {
    min-height: 60vh !important; /* Λίγο πιο κοντό από το index */
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-section {
    position: relative;
    padding: 60px 20px 100px;
    z-index: 2;
}

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

/* Glassmorphism Project Cards */
.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-card:hover {
    transform: translateY(-12px);
    border-color: rgba(0, 210, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.project-hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 210, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.project-card:hover .project-hover-overlay {
    opacity: 1;
}

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

.view-link {
    background: #fff;
    color: #0f172a;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.project-details {
    padding: 25px;
}

.project-tags {
    margin-bottom: 15px;
}

.project-tags span {
    font-size: 0.7rem;
    color: #00d2ff;
    border: 1px solid rgba(0, 210, 255, 0.3);
    padding: 4px 10px;
    border-radius: 50px;
    margin-right: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-details h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.project-details p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-project {
    display: inline-block;
    padding: 8px 0;
    color: #00d2ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.btn-project:hover {
    border-bottom-color: #00d2ff;
    letter-spacing: 1px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .work-hero h1 { font-size: 2.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
}