* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: Arial, sans-serif;
    background: #0a0a0f;
    color: #eaeaea;
    overflow-x: hidden;
}

/* NAV */
.navbar {
    position: fixed;
    top:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    padding:15px 40px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(10px);
    z-index:1000;
}

.logo {
    font-weight:bold;
    letter-spacing:2px;
    color:#00ffe0;
}

.nav-links {
    list-style:none;
    display:flex;
    gap:20px;
}

.nav-links a {
    color:white;
    text-decoration:none;
    position:relative;
}

.nav-links a::after {
    content:"";
    position:absolute;
    bottom:-5px;
    left:0;
    width:0;
    height:2px;
    background:#00ffe0;
    transition:0.3s;
}

.nav-links a:hover::after { width:100%; }

/* HERO */
.hero {
    height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    position:relative;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.overlay-grid {
    position:absolute;
    width:100%;
    height:100%;
    background-image: linear-gradient(#00ffe022 1px, transparent 1px),
                      linear-gradient(90deg, #00ffe022 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    from { transform: translateY(0); }
    to { transform: translateY(40px); }
}

.hero-content h1 {
    font-size:3rem;
    margin-bottom:10px;
}

.hero-content p { opacity:0.7; }

/* SECTIONS */
section { padding:100px 10%; }

h2 {
    margin-bottom:30px;
    color:#00ffe0;
}

/* PROJECTS */
.project-grid {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap:30px;
}

.project-card {
    background:#111;
    border-radius:10px;
    overflow:hidden;
    transition:0.6s ease;
}

.project-card.show {
    transform: translateY(0);
    opacity:1;
}

.project-card img {
    width:100%;
    transition:0.5s;
}

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

.card-header {
    background:#00ffe0;
    color:black;
    padding:5px;
    font-size:0.8rem;
}

.project-card h3 { padding:10px; }
.project-card p { padding:0 10px 15px; opacity:1; }

/* CONTACT */
.contact-form {
    display:flex;
    flex-direction:column;
    gap:15px;
    max-width:400px;
}

input, textarea {
    padding:10px;
    border:none;
    border-radius:5px;
}

.btn {
    background:#00ffe0;
    border:none;
    padding:10px;
    cursor:pointer;
}

/* FOOTER */
.footer {
    text-align:center;
    padding:20px;
    background:#000;
    font-size:0.8rem;
}

/* SCROLL REVEAL */
.reveal {
    opacity:0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity:1;
    transform: translateY(0);
}
