/* BASIC STYLING */
body {
    margin: 0;
    padding: 0;
    background: #0d0d0d;
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* NAVBAR */
nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 50px;
    background: #111;
    border-bottom: 1px solid #222;
}

nav .logo {
    font-size: 25px;
    font-weight: 600;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #bbb;
    font-size: 16px;
    transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--accent);
}

/* HERO SECTION */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 50px;
}

.hero h1 {
    font-size: 60px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    margin: 10px 0 30px;
    font-size: 20px;
}

.btn {
    padding: 10px 25px;
    background: var(--accent);
    color: #000;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.btn:hover {
    box-shadow: 0 0 15px var(--accent);
}

/* CONTENT PAGES */
.content {
    padding: 50px;
}

.sub-title {
    margin-top: 30px;
}

/* SKILLS */
.skills {
    list-style: none;
    padding-left: 0;
}

.skills li {
    background: #1a1a1a;
    padding: 10px;
    margin: 10px 0;
    border-left: 5px solid var(--accent);
}

/* PROJECT CARDS */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.card {
    background: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #222;
    transition: 0.3s;
}

.card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent);
}

/* CONTACT FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: #1a1a1a;
    color: white;
}

/* ACCENT COLORS */
body[data-color="blue"] { --accent: #00aaff; }
body[data-color="purple"] { --accent: #9d4edd; }
body[data-color="green"] { --accent: #00ff88; }
body[data-color="red"] { --accent: #ff5e5e; }

/* SOCIAL LINKS */
.social-box {
    margin-top: 40px;
}

.social-box h2 {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social {
    background: #1a1a1a;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    transition: 0.3s;
}

.discord {
    border-left: 4px solid #9d4edd;
}
.github {
    border-left: 4px solid #00ff88;
}

.social:hover {
    box-shadow: 0 0 10px var(--accent);
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {

    nav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .hero {
        padding: 30px;
        text-align: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .skills li {
        font-size: 15px;
    }

    .contact-form {
        width: 100%;
    }

    .social-links {
        flex-direction: column;
    }
}

