/* © 2026 GioCombo Studios. */

/* Background */
.tech-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
}

/* Header */
.page-header { text-align: center; margin-bottom: 80px; position: relative; }
.page-title {
    font-size: 3.5rem; font-weight: 800; color: #fff;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
    margin-bottom: 10px;
}
.page-desc { color: var(--text-muted); font-size: 1.1rem; letter-spacing: 0.5px; }
.header-line {
    width: 60px; height: 4px; background: var(--primary);
    margin: 25px auto 0; border-radius: 2px;
    box-shadow: 0 0 15px var(--primary);
}

/* Projects Layout */
.projects-wrapper { display: flex; flex-direction: column; gap: 60px; }

.project-card {
    display: flex; align-items: center; gap: 50px;
    position: relative;
    padding: 40px;
    background: rgba(5, 7, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.project-card:nth-child(even) { flex-direction: row-reverse; }

/* Visuals & Lightbox Trigger */
.project-visual {
    flex: 1; position: relative;
    border-radius: 12px; padding: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-inner {
    position: relative; overflow: hidden; border-radius: 8px;
    aspect-ratio: 16/9; background: #000; cursor: pointer;
}

.visual-inner img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.8;
}

.visual-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4); display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.3s;
}
.expand-icon { color: #fff; font-size: 2rem; transform: scale(0.5); transition: 0.4s; }

.visual-inner:hover .visual-overlay { opacity: 1; }
.visual-inner:hover .expand-icon { transform: scale(1); }
.visual-inner:hover img { transform: scale(1.05); opacity: 1; }

.corner-accents span {
    position: absolute; width: 15px; height: 15px;
    border: 2px solid var(--accent); transition: 0.3s;
    opacity: 0.5;
}
.corner-accents span:nth-child(1) { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.corner-accents span:nth-child(2) { top: 10px; right: 10px; border-left: 0; border-bottom: 0; }
.corner-accents span:nth-child(3) { bottom: 10px; left: 10px; border-right: 0; border-top: 0; }
.corner-accents span:nth-child(4) { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
.project-card:hover .corner-accents span { opacity: 1; box-shadow: 0 0 10px var(--accent); }

/* Content */
.project-content { flex: 1; }

.project-meta {
    display: flex; align-items: center; gap: 15px; margin-bottom: 15px;
    font-family: var(--font-mono); font-size: 0.85rem;
}
.pid { color: var(--text-muted); opacity: 0.6; font-weight: 700; }
.p-badge {
    background: rgba(59, 130, 246, 0.1); color: var(--primary);
    padding: 4px 10px; border-radius: 4px; font-weight: 700;
    border: 1px solid rgba(59, 130, 246, 0.2); font-size: 0.75rem;
}

.p-title {
    font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 20px;
    display: flex; align-items: center; gap: 12px;
}
.p-title i { color: var(--accent); }
.p-desc { color: var(--text-muted); line-height: 1.7; margin-bottom: 30px; font-size: 1.05rem; }

.p-tech { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 35px; }
.tech-tag {
    background: #0f172a; border: 1px solid #1e293b;
    color: #94a3b8; padding: 6px 14px; border-radius: 6px;
    font-size: 0.85rem; font-family: var(--font-mono);
    display: flex; align-items: center; gap: 8px; transition: 0.3s;
}
.tech-tag i { color: var(--accent); }
.project-card:hover .tech-tag { border-color: var(--primary); color: #fff; background: rgba(59, 130, 246, 0.1); }

/* Action Buttons Container */
.p-action {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-primary, .btn-outline {
    padding: 12px 28px; border-radius: 6px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 10px; font-size: 0.95rem;
    transition: 0.3s;
}
.btn-primary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white; border: none; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); }
.btn-outline { background: transparent; border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.05); border-color: #fff; transform: translateY(-2px); }

/* Separator */
.project-separator {
    display: flex; align-items: center; justify-content: center; gap: 20px;
    opacity: 0.3; padding: 20px 0;
}
.line { height: 1px; width: 100px; background: linear-gradient(90deg, transparent, var(--border-color), transparent); }
.diamond { width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); box-shadow: 0 0 10px var(--accent); }

@media (max-width: 900px) {
    .project-card, .project-card:nth-child(even) { flex-direction: column; gap: 30px; padding: 25px; }
    .page-title { font-size: 2.5rem; }
    .p-action { width: 100%; justify-content: stretch; }
    .btn-primary, .btn-outline { flex: 1; justify-content: center; }
}