/* 
   PLEB-TAP DESIGN SYSTEM V2.1
   Theme: High-End Industrial 3D (Depth Upgrade)
   100% Google-Free & Open Source
*/

:root {
    --bg-deep: #050505;
    --bg-card: #141414;
    --accent: #f7931a; /* Bitcoin Orange */
    --accent-glow: rgba(247, 147, 26, 0.2);
    --text-primary: #ffffff;
    --text-secondary: #999999;
    --border: rgba(255, 255, 255, 0.05);
    --font-mono: 'Courier New', monospace;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

.top-bar {
    background: var(--accent);
    color: #000;
    text-align: center;
    padding: 8px 0;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
}

.top-bar a {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
}

.top-bar a:hover {
    color: #fff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle, rgba(247, 147, 26, 0.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Glassmorphism Header */
header {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 8%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: var(--font-mono);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links a:hover, .nav-links .active {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 60%);
}

.hero h1 {
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -3px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero .subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    font-weight: 300;
}

.btn {
    background: var(--accent);
    color: #000;
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    font-weight: 800;
    border-radius: 6px;
    transition: 0.3s;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(247, 147, 26, 0.3), inset 0 1px 1px rgba(255,255,255,0.4);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(247, 147, 26, 0.4);
    background: #fff;
}

/* 3D PROJECT CARDS */
.projects {
    padding: 10rem 8%;
    max-width: 1400px;
    margin: 0 auto;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 5rem;
}

.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(255,255,255,0.1); /* Rim Light */
    border-radius: 20px;
    overflow: hidden;
    transition: 0.6s cubic-bezier(0.2, 1, 0.2, 1);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-card:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: var(--accent);
    box-shadow: 0 50px 100px rgba(0,0,0,0.7), 0 0 30px rgba(247, 147, 26, 0.1);
}

.project-image {
    position: relative;
    border-bottom: 1px solid var(--border);
}

.project-image::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 -20px 50px rgba(0,0,0,0.6);
    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.project-info {
    padding: 3rem;
}

.project-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.link-more {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Footer & Legal */
footer {
    padding: 8rem 8% 5rem;
    border-top: 1px solid var(--border);
    background: #030303;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #444;
    margin: 1rem 0;
}

.footer-bottom a {
    color: #666;
    text-decoration: none;
    margin: 0 10px;
}

.footer-bottom a:hover { color: var(--accent); }

/* Custom Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: #222; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

@media (max-width: 768px) {
    .project-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
    nav { 
        flex-direction: row; 
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem; 
    }
    .nav-links {
        width: 100%;
        display: flex !important; /* Force visible on mobile */
        justify-content: center;
        gap: 0.8rem;
        font-size: 0.7rem;
        margin-top: 1rem;
    }
    .lang-switch {
        display: block !important; /* Never hide this */
        margin-left: 0;
        font-size: 1rem;
        font-weight: 900;
        color: var(--accent);
        border: 1px solid var(--border);
        padding: 5px 10px;
        border-radius: 4px;
        background: rgba(247, 147, 26, 0.05);
    }
}
