/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #000000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Navigation Menu */
nav {
    background: #000000;
    /* Light Gray */
    color: #000000;
    padding: 5px 0px 40px 0px;
    border-bottom: solid #ffffff;
}

nav .logo img {
    height: 60px;
    width: auto;
    float: left;

}

nav .menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
}

nav .menu li {
    margin-left: 20px;
}

nav .menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1em;
}

nav .menu li a:hover {
    color: #1E4FFF;
    text-decoration: underline;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    align-items: ;
    cursor: pointer;
}

.menu-toggle .menu-label {
    color: #ffffff;
    font-size: 1.1em;
    display: none;
    padding: 4px;
    border-style: solid;
    border-width: 2px;
}

/* Header Styles */
header {
    background: #080808;
    /* Medium Gray */
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
}

.profile-img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    border: 5px solid #1E4FFF;
}

header h1 {
    margin: 10px 0 5px;
}

header p {
    margin: 0;
    font-size: 1.2em;
}

/* LinkedIn Icon */
.linkedin-icon {
    display: inline-block;
    margin-top: 10px;
    color: #ffffff;
    /* Icon color */
    font-size: 2em;
    /* Icon size */
    transition: color 0.3s ease;
}

.linkedin-icon:hover {
    color: #1E4FFF;
    /* LinkedIn brand color */
}

/* About Section */
.about {
    padding: 40px 0;
    background: #101010;
}

.about h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.about p {
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 15px;
}

/* Works Section */
.works {
    text-align: center;
    padding: 5px 5px 20px 5px;
    background: #000000;
}

.works h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.hover-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border: 2px solid #1E4FFF;
}

.hover-image {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity 0.3s ease;
}

.hover-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;/ justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    box-sizing: border-box;
    padding: 10px;
}

.hover-container:hover .hover-image {
    opacity: .5;
}

.hover-container:hover .hover-text {
    opacity: 1;
    pointer-events: auto;
    /* Enables click on text once its visible*/
}

.hover-text h3,
.hover-text p {
    margin: 0;
    color: #333;
}


/* Skills Section */
.skills {
    padding: 10px 0;
    background: #101010;
    /* Light Gray */
}

.skills h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Accordion Styles */
.accordion {
    max-width: 650px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 10px;
    border: 1px solid #CCCCCC;
    /* Medium Gray */
    border-radius: 5px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 15px;
    text-align: left;
    background: #000000;
    color: #ffffff;
    /* Medium Gray */
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background: #202020;
    /* Lighter Gray */
}

.accordion-content p {
    margin: 15px 0;
    color: #ffffff;
}

/* Contact Section */
.contact {
    padding: 20px 0;
    background: #000000;
    color: #ffffff;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #202020;
    /* Medium Gray */
    padding: 20px;
    border-radius: 5px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 97%;
    padding: 10px;
    border: 1px solid #BBBBBB;
    /* Light Gray */
    border-radius: 5px;
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #1E4FFF;
    /* A blue for contrast */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #005f9e;
    /* Darker blue on hover */
}

/* Footer Styles */
footer {
    background: #101010;
    border-top: solid #ffffff;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin: 0;
}

/* Mobile Friendly Styles */
@media (max-width: 768px) {

    nav {
        padding: 0px 0px 50px 0px;
    }

    nav .menu {
        display: none;
        flex-direction: column;
        background: #202020;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        text-align: center;
    }

    nav .menu.active {
        display: flex;
    }

    nav .menu li {
        margin: 10px 0;

    }

    .menu-toggle {
        display: flex;
        float: right;
        padding-top: 10px;
    }

    .menu-toggle .menu-label {
        display: inline;
        /* Show only on mobile */
    }

    nav .logo img {
        height: px;
        width: auto;
    }

    header {
        padding: 10px;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    header h1 {
        font-size: 1.5em;
    }

    header p {
        font-size: 1em;
    }

    .about {
        padding: 10px;
        background: #101010;
    }

    .hover-container {
        border: 2px solid #1E4FFF;
        margin: 1px 10px 1px 10px;
    }

    .skills {
        padding: 5px;
    }

    .accordion-header {
        font-size: 1em;
    }

    .contact {
        padding: 10px;
    }

    .contact-form {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        width: 95%;
    }
}