/***** GENERAL STYLING *****/

/* Body */
body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #f8f9fb;
}

/* Heading 1 elements */
h1 {
    text-transform: uppercase;
    font-family: 'Segoe UI', Arial, sans-serif;
    text-align: center;
    margin-top: 3%;
    color: #1a1a1a;
    letter-spacing: 1px;
}

h1:hover {
    transform: scale(1.02);
    transition: 0.3s ease;
}

/* Portfolio title text */
.white-text {
    color: #fff;
}

/* Paragraph elements */
p {
    font-family: 'Segoe UI', Arial, sans-serif;
    text-align: justify;
    letter-spacing: 0.5px;
    font-size: 18px;
    line-height: 1.6;
    padding-left: 20px;
    padding-right: 20px;
}

p:hover {
    transform: scale(1.01);
    transition: 0.3s ease;
}

/* Center class */
.center {
    text-align: center;
}

.center:hover {
    transform: scale(1.05);
    transition: 0.3s ease;
}

/* Anchor elements */
a {
    color: #38bdf8;
    text-decoration: none;
}

a:hover {
    color: #0ea5e9;
    transition: 0.3s ease;
}

/* Quotation elements */
q {
    font-style: italic;
}

/* Image elements — UPDATED FOR PROFESSIONAL LOOK */
img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    filter: grayscale(30%);
    border-radius: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: 0.3s ease;
}

img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* GitHub logo size fix */
#GitHub img {
    width: 150px;
    height: 150px;
}

/* Mobile image adjustments */
@media screen and (max-width: 576px) {
    img {
        width: 180px;
        height: 180px;
        margin-top: 20px;
    }

    .Column_1 p {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Footer */
footer {
    padding: 20px;
    background-color: #111827;
    color: white;
    text-align: center;
    font-family: 'Segoe UI', Arial, sans-serif;
}

/***** END OF GENERAL STYLING *****/
/***** NAVBAR STYLING *****/

.Navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #111827;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.Navbar a {
    color: #e5e7eb;
    text-decoration: none;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding: 8px 12px;
    transition: 0.3s ease;
    border-radius: 6px;
}

.Navbar a:hover {
    background-color: #1f2937;
    color: #38bdf8;
    transform: translateY(-2px);
}

.Navbar a.active {
    background-color: #2563eb;
    color: white;
}

@media screen and (max-width: 576px) {
    .Navbar {
        gap: 10px;
        padding: 8px 0;
    }

    .Navbar a {
        font-size: 12px;
        padding: 6px 8px;
    }
}

/***** END OF NAVBAR STYLING *****/
/***** VIDEO STYLING *****/

#Typing_Video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    z-index: -1;
}

@media screen and (max-width: 576px) {
    #Typing_Video {
        display: none;
    }
}

.Video_Text {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 100%;
    padding: 20px;
    position: relative;
    animation: moveVideoText 5.75s;
}

@keyframes moveVideoText {
    from { top: -100vw; }
    to { top: 0vw; }
}

/***** END OF VIDEO STYLING *****/
/***** TABLE STYLING *****/

* {
    box-sizing: border-box;
}

.Column_1 {
    float: left;
    width: 50%;
    padding: 10px;
    padding-top: 3%;
    height: 400px;
    background-color: #f2f2f2;
}

@media screen and (max-width: 576px) {
    .Column_1 {
        overflow: auto;
    }
}

.Column_2 {
    float: left;
    width: 50%;
    padding: 10px;
    padding-top: 1.9%;
    height: 400px;
    background-color: #4d4d4d;
}

.Column_tall {
    padding-top: 3.5%;
    height: 450px;
}

.Row:after {
    content: "";
    display: table;
    clear: both;
}

/***** END OF TABLE STYLING *****/
/***** CONTACT FORM STYLING *****/

input[type=text] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: Perpetua, Rockwell Extra Bold;
}

input[type=text]:hover {
    box-shadow: 0 0 5px #00004d inset;
}

/* Textarea for message */
textarea {
    width: 100%;
    height: 120px;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-family: Perpetua, Rockwell Extra Bold;
}

textarea:hover {
    box-shadow: 0 0 5px #00004d inset;
}

input[type=submit] {
    background-color: black;
    color: white;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    margin-right: auto;
    font-family: Perpetua, Rockwell Extra Bold;
}

input[type=submit]:hover {
    background-color: white;
    color: black;
    transform: scale(1.5);
    transition: transform 1.5s;
}

form {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 10px;
    font-family: "Trebuchet MS", Optima;
}

/***** END OF CONTACT FORM STYLING *****/
