/* Color Scheme */
:root {
    /* Deep Neutrals - Moving away from dull grays */
    --primary-background: #050505;   /* Near-black for maximum contrast */
    --secondary-background: #0D0D0D; /* Slightly lighter for sections */
    --elevated-surface: #161616;     /* For cards/hover states */

    /* The "Cyber Red" Palette */
    --primary-red: #FF3131;          /* A more vibrant, "Electric" red */
    --hover-red: #FF5E5E;            /* Brighter for interactivity */
    --dark-red: #8B0000;             /* For deep shadows/accents */

    /* High-End Typography */
    --primary-text: #FFFFFF;         /* Pure white for headings */
    --secondary-text: #B0B0B0;       /* Light gray for body text */
    --muted-text: #606060;           /* For small details/footer */

    /* Structural Elements */
    --borders: #252525;              /* Clean, thin borders */
    --input-fields: #000000;         /* True black inputs */
    --divider-lines: #1F1F1F;

    /* Effects */
    --red-glow: rgba(255, 49, 49, 0.2);
    --shadow: rgba(0, 0, 0, 0.8);
}

* {
    box-sizing: border-box;
}

/* Global Elements */
body {
    margin: 0;
    background-color: var(--primary-background);
    font-family: sans-serif;
}

.highlight {
    color: var(--primary-red);
}

nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 100px;

    width: 100%;
    height: 100px;

    background-color: var(--secondary-background);

    border-bottom: 2px solid var(--divider-lines);
}

nav a {
    display: flex;
    align-items: center;

    height: 100%;

    color: var(--primary-text);
    font-size: 20px;
    text-decoration: none;

    transition: transform 0.3s ease, color 0.3s ease;
}

nav .active {
    color: var(--hover-red);
    border-bottom: 2px solid var(--primary-red);
}

nav a:hover {
    color: var(--hover-red);
}

hr {
    border: none;
    height: 1px;
    margin: 0;
    background-color: var(--divider-lines);
}

form input {
    background-color: var(--input-fields);
    color: var(--primary-text);
    padding: 10px;
    border: none;
    border-radius: 10px;

    transition: 0.3s ease;
}

form select, option {
    background-color: var(--input-fields);
    color: var(--primary-text);
    padding: 10px;
    border: none;

    transition: 0.3s ease;
}

form textarea {
    background-color: var(--input-fields);
    color: var(--primary-text);
    padding: 10px;
    border: none;
    border-radius: 10px;
    height: 100%;
    resize: none;

    transition: 0.3s ease;
}

form input:focus,
form textarea:focus,
form select:focus {
    outline: 2px solid var(--hover-red);
    outline-offset: -2px;
    transform: scale(1.025);
}

form p {
    color: var(--muted-text);
    font-family: sans-serif;
    font-size: 14px;
    margin: 8px;
    margin-bottom: 15px;
}

form button {
    margin: auto;
    margin-top: 25px;
    width: 25%;
    height: 20%;

    background-color: var(--primary-red);
    color: var(--primary-text);
    cursor: pointer;
    border: none;
    border-radius: 10px;

    transition: 0.3s ease;
}

form button:hover {
    transform: translateY(-5px) scale(1.05);
    background-color: var(--primary-background);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
}

footer {
    display: flex;
    justify-content: center;
    align-items: flex-start;

    gap: 100px;

    position: relative;

    padding: 50px 25px;
    width: 100%;
    min-height: 300px;
    border-top: 2px solid var(--divider-lines);
    background-color: var(--secondary-background);
    margin-top: 50px;
}

footer div {
    height: 100%;
    width: 300px;
}

footer div ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

footer div h3 {
    color: var(--primary-red);
    margin: 0px;
}

footer div a {
    display: flex;
    gap: 10px;
    color: var(--muted-text);
    font-size: 15px;
    text-decoration: none;

    transition: color 0.3s ease;
}

footer i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

footer div p {
    color: var(--muted-text);
    font-size: 15px;
}

footer div a:hover {
    color: var(--hover-red);
}

/* Home */
.homeMain h1 {
    width: 100%;
    color: var(--primary-text);
    text-align: center;
}

.homeMain h2 {
    width: 450px;
    color: var(--secondary-text);
    text-align: center;
    margin: auto;
    font-size: 18px;
}

.homeMain a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    width: 250px;
    height: 50px;
    margin: auto;
    margin-top: 25px;

    color: var(--primary-text);
    background-color: var(--primary-red);
    border-radius: 10px;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 1px;

    transition: transform 0.3s ease;
}

.homeMain a:hover {
    transform: scale(1.05) translateY(-5px);
    color: var(--hover-red);
    border: 2px solid var(--hover-red);
    background-color: var(--primary-background);
}

.resume {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    height: 300px;
    width:500px;
    margin: auto;
    margin-top: 100px;
    padding: 10px;

    border-radius: 25px;
    background-color: var(--elevated-surface);
}

.resume h3 {
    color: var(--primary-text);
    font-size: 25px;
}

.resume .fa-file-lines {
    color: var(--dark-red);
    font-size: 60px;
}

.resume p {
    font-size: 15px;
    color: var(--muted-text);
    margin: 5px;
}

.resume a {
    margin: 25px;
}

/* Contact Me */
.contactMain form {
    display: flex;
    flex-direction: column;
    gap: 5px;
    
    width: 100%;
    height: 500px;

    padding: 50px;
    
    background-color: var(--elevated-surface);
}

.contactMain div ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5%;
    list-style: none;
    padding: 20px 0;
}

.contactMain div a {
    display: flex;
    gap: 10px;
    color: var(--secondary-text);
    font-size: 25px;
    text-decoration: none;

    transition: color 0.3s ease;
}

.contactMain i {
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.contactMain div a:hover {
    color: var(--hover-red);
}

/* Become A Client */
.qa {
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 750px;
    margin: auto;
    margin-top: 50px;
    padding: 50px;

    background-color: var(--elevated-surface);
    border-radius: 25px;
}

.qa h2 {
    color: var(--primary-text);
    margin: 10px;
    text-align: center;
}

.qa p {
    color: var(--secondary-text);
    margin: 0;
}

.qa label {
    color: var(--primary-text);
    margin-top: 20px;
    margin-bottom: 5px;
    width: 100%;
}

.qa input, select, textarea {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
}

.qa textarea {
    height: 300px;
}

.qa button {
    display: flex;
    justify-content: center;
    align-items: center;

    margin: 25px;
    width: 200px;
    height: 30px;

    border-radius: 10px;
}

/* Mobile Adjustments */
@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        height: 150px;
        gap: 0px;
    }

    .homeMain h2 {
        width: 350px;
    }

    .resume {
        width: 300px
    }

    .contactMain form button {
        width: 50%;
        height: 15%;
    }

    .contactMain div ul {
        flex-direction: column;
        gap: 25px;
    }

    .qa {
        width: 90%;
        padding: 10px;
    }

    footer {
        flex-direction: column;
        gap: 25px
    }
}