
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}


nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

nav.scrolled {
    background: rgba(5, 5, 5, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff4d4d;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #ff4d4d;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}


.aboutme {
    min-height: 30vh;
    background: linear-gradient(135deg, #000000 0%, #3a0000 100%);
    color: white;
    padding: 6rem 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

.aboutme-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: calc(30vh - 80px);
    gap: 30px;
}

.aboutme-content, .about-content {
    flex: 1;
    width: 50%;
    padding: 30px;
    background-color: rgba(30, 30, 30, 0.8);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 77, 77, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.aboutme-content:hover, .about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.aboutme-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.aboutme-content h2 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #ff4d4d;
    font-weight: 500;
}

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

.social-links a {
    color: #e0e0e0;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #ff4d4d;
    transform: translateY(-3px);
}

.about-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #ff4d4d;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-content p {
    font-size: 1rem;
    margin-bottom: 12px;
    color: #e0e0e0;
    line-height: 1.6;
}

.jam-link {
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.jam-link:hover {
    color: #ff6666;
    transform: translateY(-1px);
}

.jam-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.jam-link:hover i {
    transform: scale(1.1);
}


.skills {
    padding: 3rem 0;
    background: #0f1620;
    position: relative;
}

.skills h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    color: #e0e0e0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: #1a1e2a;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #ff4d4d;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.skill-category ul {
    list-style-type: none;
}

.skill-category li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
    color: #e0e0e0;
}

.skill-category li:before {
    content: "•";
    color: #ff4d4d;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Projects section */
.projects {
    padding: 6rem 0;
    background: #121212;
    position: relative;
}

.projects h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e0e0e0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.project-card {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Add this */
    height: 280px; /* Set fixed height */
}

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

.project-card:hover .project-image img {
    opacity: 0.3;
}

.project-image {
    width: 100%;
    height: 100%; 
    overflow: hidden;
    position: relative;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute; 
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.8); 
    opacity: 0; 
    transform: translateY(100%); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-info {
    opacity: 1; 
    transform: translateY(0);
}

.project-info h3 {
    font-size: 1.3rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.project-role {
    font-size: 0.9rem;
    color: #ff4d4d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.project-date {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 0;
}


.awards {
    padding: 6rem 0;
    background: #1a1a1a;
    position: relative;
    border-top: 1px solid rgba(255, 77, 77, 0.1);
    border-bottom: 1px solid rgba(255, 77, 77, 0.1);
}

.awards h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #e0e0e0;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.award-card {
    background: #1e1e1e;
    border-radius: 10px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 77, 77, 0.1);
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 77, 77, 0.3);
}

.award-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 77, 77, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ff4d4d;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.award-card:hover .award-icon {
    transform: scale(1.1);
    background: rgba(255, 77, 77, 0.2);
}

.award-content {
    flex: 1;
}

.award-content h3 {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.award-game {
    font-size: 0.9rem;
    color: #ff4d4d;
    margin-bottom: 1rem;
}

.award-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.award-link:hover {
    color: #ff4d4d;
}

.award-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.award-link:hover i {
    transform: translate(2px, -2px);
}


.contact {
    padding: 6rem 0;
    background: #0d0d0d;
    text-align: center;
    position: relative;
}

.contact h2 {
    margin-bottom: 1rem;
    font-size: 2.5rem;
    color: #e0e0e0;
}

.contact p {
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.contact-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff4d4d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.contact-btn:hover {
    background: #ff3333;
}


footer {
    text-align: center;
    padding: 2rem;
    background: #0a0a0a;
    color: #e0e0e0;
    position: relative;
}


@media (max-width: 1170px) {
    .aboutme-container {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
    }
    
    .aboutme-content, .about-content {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .aboutme-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .aboutme {
        min-height: auto;
        padding: 5rem 0;
    }
    
    .aboutme-content h1 {
        font-size: 2.2rem;
    }
    
    .aboutme-content h2 {
        font-size: 1.4rem;
    }
    
    .about-content h2 {
        font-size: 1.6rem;
    }
    
    .about-content p {
        font-size: 0.95rem;
    }
    
    .aboutme-content, .about-content {
        padding: 25px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .award-card {
        padding: 1.5rem;
    }
    
    .award-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .award-content h3 {
        font-size: 1.1rem;
    }
}