/* Master styles */
body {
    margin: 0px;
    font-family: "Montserrat", sans-serif;
}

.container {
    display: grid;
    grid-template-columns: 1fr;
}

/* Nav Styles */
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    padding: 38px; 
}

.left-side {
    display: flex;
}

.nav-wrapper > .left-side > div {
  margin-right: 20px;
  font-size: 0.9em;
  text-transform: uppercase;
}

.nav-link-wrapper {
    height: 22px;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.5s;
}

.nav-link-wrapper a {
    color: #8a8a8a;
    text-decoration: none;
    transition: color 0.5s;
}

.nav-link-wrapper:hover {
    border-bottom: 1px solid black;
}

.nav-link-wrapper a:hover {
    color: black;
}

.active-nav-link {
    border-bottom: 1px solid black;
}

.active-nav-link a {
    color: black !important
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1000;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

/* Portfolio styles */

/* Hero Section (Home Page) */
.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 80px;
    align-items: center;
}

.hero-image img {
    width: 70%;
    margin-left: 70px;
    padding: 35px;
}

.hero-content {
    padding: 5px;
    margin-right: 150px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #333;
}

.hero-content h2 {
    font-size: 1.8em;
    font-weight: 400;
    color: #666;
    margin-bottom: 15px;
}

.hero-content > p {
    font-size: 1.1em;
    color: #888;
    margin-bottom: 30px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-links a {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
}

.social-links a img {
    object-fit: contain;
}

.linkedin-logo {
    width: 40px;
    height: 40px;
}

.github-logo {
    width: 30px;
    height: 30px;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #333;
    color: white;
}

.btn-primary:hover {
    background-color: #555;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: #333;
    border: 2px solid #333;
}

.btn-secondary:hover {
    background-color: #333;
    color: white;
    transform: translateY(-2px);
}

/* About Me page */
.two-column-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.profile-image-wrapper img {
    width: 70%;
    margin-left: 70px;
    padding: 35px;
}

.profile-content-wrapper {
    padding: 5px;
    margin-right: 150px;
}

.profile-content-wrapper p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.about-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.profile-content-wrapper ul {
    list-style-position: outside;
    padding-left: 20px;
}

.profile-content-wrapper li {
    margin-bottom: 20px;
    line-height: 1.6;
}

@keyframes transitionIn {
    from {
        opacity: 0;
        transform: rotateX(-15deg)
    }
    to {
        opacity: 1;
        transform: rotateX(0)
    }
}

.profile-content-wrapper {
    animation: transitionIn 0.100s;
}

.profile-image-wrapper {
    animation: transitionIn 0.100s;
}

/* Artwork Gallery styles */
.artwork-gallery {
    max-width: 600px;
    margin: 60px auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

.artwork-gallery img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.artwork-gallery img:hover {
    transform: scale(1.02);
}

/* Experience Section */
.experience-section {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px 60px;
}

.experience-section h1 {
    font-size: 2.5em;
    margin-bottom: 50px;
    color: #333;
    text-align: center;
}

.experience-item {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.experience-item h2 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 8px;
    text-align: center;
}

.experience-date {
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    text-align: center;
}

.experience-item ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

.experience-item li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

/* Projects Section */
.projects-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 40px;
}

.projects-section h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.project-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.project-thumbnail {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.project-thumbnail video,
.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transition: transform 0.3s ease;
}

.photo-search-card .project-thumbnail img {
    object-position: center 5%;
}

.pong-card .project-thumbnail img {
    object-position: center 60%;
}

.project-card:hover .project-thumbnail img,
.project-card:hover .project-thumbnail video {
    transform: scale(1.05);
}

.project-card-content {
    padding: 25px;
}

.project-card-content h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.project-card-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: #e8f4f8;
    color: #2c5282;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    font-weight: 500;
}

/* Project Detail Page */
.project-detail {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
}

.project-detail h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.project-detail .project-description {
    font-size: 1.1em;
    color: #555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.project-media {
    margin-bottom: 30px;
}

.project-media video {
    width: 100%;
    max-width: 700px;
    border-radius: 8px;
    margin: 0 auto 20px;
    display: block;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.project-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.project-detail h2 {
    font-size: 1.8em;
    margin: 30px 0 20px;
    color: #333;
}

.project-detail ul {
    list-style-position: outside;
    padding-left: 20px;
}

.project-detail li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
}

/* Old project item styles - keeping for compatibility */
.project-item {
    background-color: #f9f9f9;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.project-item h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
    text-align: center;
}

.project-description {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.project-item ul {
    list-style-position: inside;
    padding-left: 0;
    margin-left: 0;
}

.project-item li {
    margin-bottom: 12px;
    line-height: 1.6;
    color: #555;
    text-align: left;
}

.project-media {
    margin-bottom: 20px;
}

.project-media video {
    width: 100%;
    max-width: 600px;
    border-radius: 8px;
    margin: 0 auto 20px;
    display: block;
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.project-images img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
.skills-section {
    max-width: 1000px;
    margin: 50px auto;
    padding: 40px;
}

.skills-section h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #333;
    text-align: center;
}

.skills-category {
    margin-bottom: 50px;
}

.skills-category h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 30px;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.skill-item:hover {
    transform: translateY(-10px);
}

.skill-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    object-fit: contain;
}

.skill-item p {
    font-size: 0.95em;
    color: #555;
    margin: 0;
}

/* Contact Section */
.contact-section {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.contact-intro {
    font-size: 1.1em;
    color: #666;
    line-height: 1.8;
    margin-bottom: 50px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-info {
    text-align: left;
}

.contact-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    color: #333;
}

.contact-info p {
    margin: 0;
    color: #666;
}

.contact-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Burger Menu */
    .burger-menu {
        display: flex;
        position: absolute;
        left: 20px;
        top: 20px;
    }
    
    /* Navigation */
    .nav-wrapper {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        position: relative;
    }
    
    .left-side {
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
        display: none;
        width: 100%;
        margin-top: 50px;
    }
    
    .left-side.active {
        display: flex;
    }
    
    .nav-wrapper > .left-side > div {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    /* Hero Section */
    .hero-section {
        grid-template-columns: 1fr;
        padding: 30px 20px;
        gap: 20px;
    }
    
    .hero-image img {
        width: 80%;
        margin: 0 auto;
        padding: 20px;
        display: block;
    }
    
    .hero-content {
        margin: 0;
        padding: 20px;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2em;
    }
    
    .hero-content h2 {
        font-size: 1.3em;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .btn {
        display: block;
    }
    
    /* About Me page */
    .two-column-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .profile-image-wrapper img {
        width: 80%;
        margin: 0 auto;
        padding: 20px;
        display: block;
    }
    
    .profile-content-wrapper {
        margin: 0 20px;
        padding: 20px;
    }
    
    /* Artwork Gallery */
    .artwork-gallery {
        margin: 30px auto;
        padding: 15px;
        gap: 30px;
    }
    
    .artwork-gallery img {
        max-width: 100%;
    }
    
    /* Experience Section */
    .experience-section {
        padding: 30px 20px;
    }
    
    .experience-section h1 {
        font-size: 2em;
    }
    
    /* Projects Section */
    .projects-section {
        padding: 30px 20px;
    }
    
    .projects-section h1 {
        font-size: 2em;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-detail {
        padding: 30px 20px;
    }
    
    .project-detail h1 {
        font-size: 2em;
    }
    
    /* Skills Section */
    .skills-section {
        padding: 30px 20px;
    }
    
    .skills-section h1 {
        font-size: 2em;
    }
    
    .skills-category h2 {
        font-size: 1.5em;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: 20px;
    }
    
    /* Contact Section */
    .contact-section {
        padding: 30px 20px;
    }
    
    .contact-section h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .nav-wrapper {
        padding: 15px;
    }
    
    .profile-image-wrapper img {
        width: 90%;
        padding: 10px;
    }
    
    .profile-content-wrapper {
        margin: 0 10px;
        padding: 10px;
    }
    
    .artwork-gallery {
        margin: 20px auto;
        padding: 10px;
        gap: 25px;
    }
    
    /* Experience Section */
    .experience-section {
        padding: 20px 15px;
    }
    
    .experience-section h1 {
        font-size: 1.8em;
    }
    
    .experience-item h2 {
        font-size: 1.2em;
    }
    
    /* Projects Section */
    .projects-section {
        padding: 20px 15px;
    }
    
    .projects-section h1 {
        font-size: 1.8em;
    }
    
    .project-item h2 {
        font-size: 1.2em;
    }
    
    /* Skills Section */
    .skills-section {
        padding: 20px 15px;
    }
    
    .skills-section h1 {
        font-size: 1.8em;
    }
    
    .skills-category h2 {
        font-size: 1.3em;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 15px;
    }
    
    .skill-item img {
        width: 60px;
        height: 60px;
    }
}