/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #f4f4f4;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */
header {
    background-color: #E57200;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

header img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

header p {
    font-size: 1.1em;
    margin-top: 5px;
}

/* Section Titles */
section {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1e2a38;
}

/* Make links block-level */
.project-link, .foundational-link {
    display: block;
}

/* Projects */
.project {
    display: flex;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    margin-bottom: 30px;
}

.project-image {
    flex: 0 0 600px;
    overflow: hidden;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Divider between image and text */
.divider {
    width: 5px;
    background-color: #E57200;
}

/* Text on the right */
.project-text {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    background-color: white;
}

/* Hover effect */
.project:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

/* Foundational Work */
.foundational {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    padding: 20px;
    margin-bottom: 30px;
}

.foundational img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-top: 10px;
    border-radius: 0 0 15px 15px;
}

.foundational:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

/* Skills */
.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill {
    background-color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #E57200;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .project {
        flex-direction: column;
    }
    .project-image {
        flex: none;
        width: 100%;
        height: 200px;
        border-radius: 15px 15px 0 0;
    }
    .divider {
        display: none;
    }
    .project-text {
        border-radius: 0 0 15px 15px;
    }
}


/* 404 Page Styling */
.error-container {
    text-align: center;
    padding: 100px 20px;
}

.error-container h1 {
    font-size: 6rem;
    margin-bottom: 20px;
    color: #E57200;
}

.error-container p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    color: #555;
}

.back-home {
    display: inline-block;
    padding: 12px 25px;
    background: #E57200;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.back-home:hover {
    background: #E57200;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

