/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Raleway:wght@300;400;500;600;700&display=swap');

/* Global Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: 'Montserrat', sans-serif;
    background-color: #111;
    color: #fafafa;
    overflow-x: hidden;
}

/* Particle Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100vh;
    z-index: -1;
}

/* Navigation */
.navigation-bar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 6rem;
    background: rgba(40, 40, 40, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.3);
    z-index: 99999;
}

.navigation {
    display: flex;
    margin-right: 5rem;
    font-size: 1.8rem;
    font-weight: 500;
}

.navigation_item {
    margin-right: 3rem;
    transition: color 0.3s ease-in-out;
}

.navigation_item a {
    text-decoration: none;
    color: #fafafa;
}

.navigation_item:hover,
.navigation_item--active {
    color: #00adb5;
}

/* Hero Section */
.hero {
    position: relative;
    display: flex;
    height: 100vh;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.heading {
    position: relative;
    color: #fafafa;
    font-weight: 300;
}

.heading_line-1,
.heading_line-2 {
    font-size: 6rem;
    animation: fadeIn 1.4s ease-in-out;
}

.heading_line-1 span {
    color: #00adb5;
    font-weight: 600;
}

.heading_link {
    text-decoration: none;
}

.heading-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background: #00adb5;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
}

.heading-cta:hover {
    background: #007a7f;
}

/* Add downward arrow next to text */
.heading-cta::after {
    content: '\2193'; /* Unicode downward arrow */
    font-size: 1.8rem;
    margin-left: 8px;
}

/* About Section */
.about {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 2rem;
}

.about_heading {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    text-transform: uppercase;
    background: linear-gradient(to right, #00adb5, #ff4d5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    width: 100%;
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 500px;
}

.profile_picture img {
    height: 150px;
    border-radius: 50%;
}

.profile_blurb {
    font-size: 1.8rem;
    margin-top: 2rem;
    max-width: 600px;
    line-height: 1.6;
}

/* Skills Section */
.skills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 3rem;
}

.skills_row {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.skills_item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.skills_item:hover {
    transform: scale(1.1);
}

.skills_item img {
    width: 50px;
    height: 50px;
}

.skills_item-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    margin-top: 5px;
}

/* Projects Section */
.projects {
    text-align: center;
    padding: 6rem 2rem;
}

.projects_heading {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    background: linear-gradient(to right, #00adb5, #ff4d5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.project {
    background: #222;
    padding: 3rem;
    border-radius: 10px;
    width: 350px;
    min-height: 230px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.project h3 {
    margin-top: 1rem;
    font-size: 2.4rem;
    color: #00adb5;
}

.project p {
    font-size: 1.8rem;
    margin-top: 1rem;
    color: #d3d3d3;
}

.view-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 1rem 2rem;
    font-size: 1.7rem;
    background: #00adb5;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.2s;
}

.view-btn:hover {
    background: #007a7f;
    transform: scale(1.05);
}

/* Contact Section */
.contact {
    width: 90%;
    max-width: 500px;
    margin: 8rem auto;
    text-align: center;
}

.contact_heading {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(to right, #00adb5, #ff4d5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact_text {
    font-size: 1.8rem;
    margin-bottom: 4rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

input,
textarea {
    padding: 1rem;
    border: 1px solid #00adb5;
    background: #222;
    color: #fff;
    font-size: 1.6rem;
    border-radius: 5px;
}

button {
    padding: 1rem;
    background: #00adb5;
    color: #fff;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

button:hover {
    background: #007a7f;
}

/* Footer */
.footer {
    text-align: center;
    background: #222;
    position: relative;
    padding: 40px;
}

.footer a {
    text-decoration: none;
    color: inherit;
}

.return-home {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #00adb5;
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.return-home:hover {
    background: #007a7f;
}

.return-home::after {
    text-decoration: none;
    color: inherit;
}

.socials {
    margin-top: 2rem;
}

.socials img {
    height: 30px;
    margin: 0 1rem;
    filter: invert(1);
}

.copyright {
    margin-top: 2rem;
    font-size: 1.4rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about__content {
        flex-direction: column;
        text-align: center;
    }
}
