/* --- Reset and Base Styles --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; font-family: 'Helvetica Neue', Arial, sans-serif; background-color: #121212; color: #FFFFFF; line-height: 1.8; font-size: 1.1rem; overflow-x: hidden; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: #8688fc; text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- General Styles (Used on Both Pages) --- */
nav { background-color: #1F1F1F; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); animation: fadeInDown 1.5s ease-in-out; }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 60px; }
.nav-brand { font-size: 1.5rem; font-weight: bold; color: #FFFFFF; animation: floatingText 3s infinite ease-in-out; }
.nav-toggle { display: none; flex-direction: column; cursor: pointer; }
.nav-toggle span { height: 3px; width: 25px; background-color: #FFFFFF; margin: 4px 0; border-radius: 2px; transition: transform 0.3s ease; }
.nav-links { display: flex; list-style: none; }
.nav-links li { margin: 0 15px; }
.nav-links a { color: #FFFFFF; font-size: 1rem; transition: color 0.3s; }
.nav-links a:hover { color: #8692fc; }
.section { margin-bottom: 60px; } /* Increased spacing */
.section-title { color: #86a2fc; text-align: center; margin-bottom: 20px; font-size: 2rem; text-transform: uppercase; letter-spacing: 1.5px; }
.button {display: inline-block; background-color: #5A5DE2; color: #FFFFFF; padding: 10px 20px; border-radius: 5px; text-decoration: none; transition: background-color 0.3s, transform 0.3s;}
.button:hover { background-color: #4B48D9; transform: scale(1.05); }
footer { background-color: #1F1F1F; text-align: center; padding: 20px; color: #FFFFFF; width: 100%; box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.4); margin-top: auto; }

/* --- Homepage Specific Styles --- */
header { text-align: center; padding: 60px 20px 40px; background-image: url('images/Thess.avif'); background-size: cover; background-position: center; color: #FFFFFF; text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); animation: fadeIn 2s ease-in-out, parallax 10s ease-in-out infinite alternate; }
@supports not (background-image: url('images/Thess.avif')) { header { background-image: url('images/Thess.webp'); } }
header h1 { font-size: 3rem; margin-bottom: 20px; animation: fadeInUp 2s ease-in-out; }
header h2 { font-size: 1.5rem; font-weight: normal; animation: fadeInUp 2.s ease-in-out; }
.projects-section { max-width: 1200px; margin-left: auto; margin-right: auto; }
.project-container { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 20px; padding-top: 5px; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: #86a2fc #1F1F1F; scroll-snap-type: x mandatory; }
.project-container::-webkit-scrollbar { height: 10px; }
.project-container::-webkit-scrollbar-track { background: #1F1F1F; border-radius: 10px; }
.project-container::-webkit-scrollbar-thumb { background-color: #86a2fc; border-radius: 10px; border: 2px solid #1F1F1F; }
.project-card { flex: 0 0 280px; scroll-snap-align: start; background-color: #1F1F1F; border-radius: 10px; padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease, box-shadow 0.3s ease; will-change: transform; }
.project-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); }
.project-card img { width: 100%; height: 200px; object-fit: cover; border-radius: 10px; margin-bottom: 15px; }
.project-card h3 { color: #86affc; margin-bottom: 10px; font-size: 1.4rem; text-align: center; }
.project-card p { text-align: center; font-size: 1rem; line-height: 1.6; color: #E0E0E0; margin-bottom: 15px; flex-grow: 1; }
.cyberpunk-card { transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease; }
.cyberpunk-card:hover {transform: translateY(-5px); background-color: #F9F400; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); }
.cyberpunk-card:hover h3, .cyberpunk-card:hover p { color: #000000; }
.cyberpunk-card:hover .button { background-color: #E60012; color: #ffffff; box-shadow: 0 0 0 4px #ffffff, 0 10px 12px rgba(0, 0, 0, 0.5); }
.blog-section { max-width: 1200px; margin-left: auto; margin-right: auto; text-align: center; padding: 40px 20px; background-color: #1F1F1F; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4); }
.blog-button { background-color: #0c0a8b; color: #FFFFFF; font-size: 1.2rem; }
.blog-button:hover { background-color: #615eff; }

/* --- About Page Specific Styles --- */
.wrapper { padding-left: 20px; padding-right: 20px; }
.two-column { display: flex; gap: 30px; flex-wrap: wrap; }
.column { flex: 1; min-width: 300px; background-color: #1F1F1F; padding: 20px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); margin-bottom: 20px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.column:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); }
.subsection-title { color: #86a2fc; text-align: center; margin-bottom: 20px; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 1.5px; }
.skills-list { list-style: none; padding: 0; }
.skills-list li { display: flex; align-items: center; margin-bottom: 20px; line-height: 1.6; }
.skill-icon { color: #869cfc; margin-right: 15px; font-size: 1.5rem; width: 25px; text-align: center; }
.skills-list span { font-weight: bold; display: block; color: #FFFFFF; }
.skills-list p { margin: 0; }
.projects-list { display: flex; flex-direction: column; gap: 20px; }
.project { background-color: #292929; padding: 15px; border-radius: 8px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); }
.project-title { font-weight: bold; font-size: 1.2rem; color: #869cfc; margin-bottom: 5px; }
.project-description {
    line-height: 1.6;
}

/* --- Mobile & Animations (Apply to all pages) --- */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links { position: fixed; left: -100%; top: 60px; flex-direction: column; background-color: #1F1F1F; width: 100%; height: calc(100% - 60px); padding-top: 20px; transition: left 0.5s ease-in-out; }
    .nav-links.show { left: 0; }
    .nav-links li { margin: 15px 0; text-align: center; }
    header h1 { font-size: 2.5rem; }
    header h2 { font-size: 1.2rem; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes fadeInDown { from { transform: translateY(-20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes floatingText { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes parallax { from { background-position: center 0%; } to { background-position: center 20%; } }
@keyframes slideIn { from { transform: translateX(-100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
