
/* General settings */

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

html {
    scroll-behavior: smooth;
}

body {
    background: #0c0c0c;
    color: #ffffff;
    font-family: Arial, sans-serif;
}

/* Navigation */

header {
    width: 100%;
    padding: 25px 8%;
    border-bottom: 1px solid #222;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #b6ff65;
}

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

.nav-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #b6ff65;
}

.nav-button {
    padding: 12px 22px;
    border: 1px solid #b6ff65;
    color: #b6ff65;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
}

/* Hero section */

.hero {
    min-height: 85vh;
    padding: 100px 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    max-width: 650px;
}

.greeting {
    color: #b6ff65;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(45px, 6vw, 80px);
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero h1 span {
    color: #b6ff65;
}

.hero-description {
    color: #999;
    font-size: 16px;
    line-height: 1.8;
    max-width: 550px;
    margin-bottom: 35px;
}

/* Buttons */

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.primary-button,
.secondary-button {
    padding: 15px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.primary-button {
    background: #b6ff65;
    color: #0c0c0c;
    font-weight: bold;
}

.primary-button:hover {
    background: #a0e850;
    transform: translateY(-3px);
}

.secondary-button {
    border: 1px solid #444;
    color: white;
}

.secondary-button:hover {
    border-color: #b6ff65;
    color: #b6ff65;
}

/* Social links */

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: #777;
    text-decoration: none;
    font-size: 14px;
}

.social-links a:hover {
    color: #b6ff65;
}

/* Hero decoration */

.hero-decoration {
    position: relative;
    width: 350px;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid #b6ff65;
    border-radius: 50%;
    opacity: 0.25;
}

.hero-card {
    position: relative;
    background: #171717;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 12px;
    width: 280px;
    z-index: 1;
}

.hero-card span {
    color: #b6ff65;
    font-size: 10px;
    letter-spacing: 2px;
}

.hero-card h2 {
    font-size: 35px;
    margin-top: 15px;
}

/* Mobile responsive */

@media (max-width: 850px) {

    .hero {
        flex-direction: column;
        align-items: flex-start;
        padding-top: 80px;
    }

    .hero-decoration {
        align-self: center;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .nav-button {
        display: none;
    }
}

@media (max-width: 550px) {

    header {
        padding: 20px 5%;
    }

    .navbar {
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .hero {
        padding: 65px 5%;
    }

    .hero-decoration {
        width: 100%;
        transform: scale(0.9);
    }

    .hero-buttons {
        flex-wrap: wrap;
    }
}

/* About section */

.section-padding {
    padding: 100px 8%;
}

.section-heading {
    margin-bottom: 55px;
}

.section-label {
    color: #b6ff65;
    font-size: 12px;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-heading h2 {
    font-size: 45px;
}

.section-heading h2 span {
    color: #b6ff65;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.about-text h3 {
    font-size: 26px;
    margin-bottom: 25px;
}

.about-text p {
    color: #999;
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-text .primary-button {
    display: inline-block;
    margin-top: 15px;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-item {
    padding: 25px;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 8px;
}

.info-item span {
    color: #b6ff65;
    font-size: 11px;
    letter-spacing: 2px;
}

.info-item h4 {
    margin-top: 12px;
    font-size: 15px;
}

/* About responsive */

@media (max-width: 750px) {
    .section-padding {
        padding: 70px 5%;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 450px) {
    .about-info {
        grid-template-columns: 1fr;
    }
}

/* Skills section */

.section-description {
    color: #888;
    margin-top: 15px;
    line-height: 1.7;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.skill-card {
    background: #151515;
    border: 1px solid #292929;
    padding: 35px;
    border-radius: 10px;
    transition: 0.3s;
}

.skill-card:hover {
    border-color: #b6ff65;
    transform: translateY(-5px);
}

.skill-icon {
    font-size: 30px;
    margin-bottom: 20px;
}

.skill-card h3 {
    font-size: 20px;
    margin-bottom: 25px;
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-list span {
    background: #222;
    color: #bbb;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 13px;
    transition: 0.3s;
}

.skill-list span:hover {
    background: #b6ff65;
    color: #111;
}

/* Skills responsive */

@media (max-width: 650px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .skill-card {
        padding: 25px;
    }
}

/* Projects section */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.project-card {
    position: relative;
    background: #151515;
    border: 1px solid #292929;
    border-radius: 10px;
    padding: 35px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    border-color: #b6ff65;
    transform: translateY(-6px);
}

.project-number {
    font-size: 65px;
    font-weight: bold;
    color: #292929;
    margin-bottom: 25px;
}

.project-type {
    font-size: 10px;
    letter-spacing: 2px;
    color: #b6ff65;
    margin-bottom: 15px;
}

.project-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.project-content > p:not(.project-type) {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.project-tags span {
    background: #242424;
    color: #aaa;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
}

.project-link {
    display: inline-block;
    color: #b6ff65;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.project-link:hover {
    color: white;
}

/* Projects responsive */

@media (max-width: 750px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact section */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact-text h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.contact-text p {
    color: #999;
    line-height: 1.8;
    margin-bottom: 35px;
}

.contact-text .primary-button {
    display: inline-block;
}

.contact-links {
    display: flex;
    flex-direction: column;
}

.contact-item {
    position: relative;
    padding: 22px 15px;
    border-bottom: 1px solid #292929;
    text-decoration: none;
    transition: 0.3s;
}

.contact-item:hover {
    background: #151515;
    padding-left: 25px;
}

.contact-item > span:first-child {
    color: #b6ff65;
    font-size: 10px;
    letter-spacing: 2px;
}

.contact-item h4 {
    color: white;
    font-size: 15px;
    margin-top: 10px;
}

.contact-arrow {
    position: absolute;
    right: 15px;
    top: 35px;
    color: #b6ff65;
}

/* Footer */

.footer {
    border-top: 1px solid #292929;
    padding: 35px 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer p {
    color: #777;
    font-size: 12px;
}

/* Contact responsive */

@media (max-width: 750px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer {
        flex-direction: column;
        text-align: center;
    }
}

/* Mobile menu button */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.menu-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: #b6ff65;
    transition: 0.3s;
}

/* Mobile navigation */

@media (max-width: 650px) {

    .menu-toggle {
        display: flex;
    }

    .navbar {
        position: relative;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        width: 100%;
        background: #151515;
        padding: 25px;
        border: 1px solid #292929;
        border-radius: 8px;
        flex-direction: column;
        gap: 25px;
        z-index: 10;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-button {
        display: none;
    }

}

/* Scroll animations */

.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    html {
        scroll-behavior: auto;
    }
}
