

/* GENERAL PAGE STYLING */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    color: white;

    /* NEON CYBER CITY BACKGROUND */
    background-image: url("assets/images/Neon Megacity at Dusk.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* HEADER AND NAVIGATION */

header {
    display: flex;
    justify-content: center;
    padding: 25px;
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}


/* MAIN CONTENT */

.hero {
    min-height: 80vh;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 20px;
}



/* NAME ABOVE THE HEADING */

.name {
    font-size: 16px;
    letter-spacing: 6px;
    margin-bottom: 15px;
    color: #e0e0e0;
}


/* MAIN HEADING */

.hero h1 {
    font-family: Georgia, serif;
    font-size: clamp(3rem, 5vw, 6rem);
    font-weight: bold;
    line-height: 1.1;
    margin: 15px 0;
    color: white;
}


/* NEON GRADIENT TEXT */

.hero h1 span {
    background: linear-gradient(
        90deg,
        #00f5ff,
        #a855f7,
        #ff00cc
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}


/* DESCRIPTION */


.description {
    max-width: 650px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.8;
    text-transform: uppercase;
    color: #ffffff;


    /* IMPROVE READABILITY */
    text-shadow: 0 2px 8px #000000,
                 0 0 15px #000000;

    background-color: rgba(0, 0, 0, 0.10);
    padding: 12px 20px;
    border-radius: 10px;
}


/* HERO BUTTON CONTAINER */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* BOTH BUTTONS */

.hero-buttons a {
    display: inline-block;
    padding: 15px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    transition: 0.3s ease;
}


/* EXPLORE MY PROJECTS */

.hero-buttons a:first-child {
    background-color: #00f5ff;
    color: #001020;
    box-shadow: 0 0 20px #00f5ff80;
}


/* ABOUT ME */

.hero-buttons a:last-child {
    background-color: rgba(15, 20, 50, 0.5);
    color: white;
    border: 1px solid #a855f7;
}


/* HOVER EFFECTS */

.hero-buttons a:first-child:hover {
    background-color: #65ffff;
    box-shadow: 0 0 30px #00f5ff;
    transform: translateY(-3px);
}

.hero-buttons a:last-child:hover {
    background-color: #a855f7;
    transform: translateY(-3px);
}



/* NAVIGATION LINKS */

nav a {
    position: relative;
    color: white;
    text-decoration: none;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

/* UNDERLINE - HIDDEN BY DEFAULT */

nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00f5ff;
    box-shadow: 0 0 10px #00f5ff;
    transition: width 0.3s ease;
}

/* HOVER EFFECT */

nav a:hover {
    color: #00f5ff;
}

nav a:hover::after {
    width: 100%;
}





/* MOBILE RESPONSIVE DESIGN */

@media (max-width: 768px) {

    header {
        padding: 20px 10px;
    }

    nav {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        min-height: 80vh;
        padding: 20px;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }

    .name {
        font-size: 12px;
        letter-spacing: 3px;
    }

    .description {
        font-size: 12px;
        letter-spacing: 1px;
        line-height: 1.6;
    }

    .hero-buttons a {
        font-size: 13px;
        padding: 12px 20px;
    }
}





/* =================================
   PROJECTS SECTION
   ================================= */

.projects {
    min-height: 100vh;
    padding: 100px 20px;

    background: linear-gradient(
        180deg,
        #050b1e,
        #101036,
        #180b35
    );

    text-align: center;
    color: white;
}

/* PROJECTS HEADING */

.projects h1 {
    font-family: Georgia, serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;

    background: linear-gradient(
        90deg,
        #00f5ff,
        #a855f7,
        #ff00cc
    );

    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* PROJECTS DESCRIPTION */

.projects p {
    font-size: 16px;
    color: #d1d5db;
    line-height: 1.8;
}




/* =================================
   PROJECTS PAGE BACKGROUND
   ================================= */

body.projects-page {
    background: #050b1e;
}


/* =================================
   PROJECT CARDS
   ================================= */

/* CONTAINER */

.project-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 60px;
}

/* INDIVIDUAL CARD */

.project-card {
    width: 350px;
    padding: 30px;

    background: rgba(15, 20, 50, 0.9);

    border: 1px solid #a855f7;
    border-radius: 15px;

    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
}

/* CARD HEADING */

.project-card h2 {
    color: #00f5ff;
    font-size: 24px;
}

/* CARD DESCRIPTION */

.project-card p {
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.8;
}

/* VIEW PROJECT BUTTON */

.project-card a {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 25px;

    background: #00f5ff;
    color: #001020;

    text-decoration: none;
    font-weight: bold;

    border-radius: 25px;
}

/* HOVER EFFECT */

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.5);
}