:root {
    --primary-color: #1a1a1a;
    --secondary-color: #FFB22C;
    --neon-glow: #FFD700;
    --text-color: #ffffff;
    --light-bg: #2a2a2a;
    --dark-bg: #121212;
    --white: #ffffff;
    --gray: #888888;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
}

/* Navbar Styles */
.navbar {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 178, 44, 0.2);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.active {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Hero Section */
.hero {
    padding: 8rem 5% 4rem;
    background-color: var(--primary-color);
    text-align: center;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
    text-align: left;
}

.profile-image-container {
    flex: 0 0 auto;
    position: relative;
    overflow: hidden;
}

.profile-info {
    flex: 1;
}

.profile-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 20px rgba(255, 178, 44, 0.2);
    transition: transform 0.3s ease;
    position: relative;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    animation: rotate 4s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.title-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-decoration {
    color: var(--secondary-color);
    animation: cursor-blink 1s step-end infinite;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 600;
}

.hero h2 {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    opacity: 0.9;
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.bio {
    color: var(--gray);
    margin: 1.5rem 0;
}

.quote {
    font-style: italic;
    background: linear-gradient(45deg, var(--primary-color), var(--light-bg));
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(255, 178, 44, 0.1);
    transition: transform 0.3s ease;
    margin-top: 2rem;
}

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

.piece {
    margin-top: 4rem;
}

/* Featured Piece */
.featured-piece {
    padding: 2rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--dark-bg);
}

.essay {
    background: linear-gradient(145deg, var(--primary-color), var(--light-bg));
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 178, 44, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.essay:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 178, 44, 0.2);
}

.essay h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.essay h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.essay p {
    color: var(--white);
    font-family: 'Courier New', monospace;
    line-height: 1.8;
    letter-spacing: -0.5px;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    color: var(--white);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    margin-top: 4rem;
    text-align: center;
    border-top: 1px solid var(--light-bg);
}

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

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    position: relative;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.social-links a:hover::before {
    width: 40px;
    height: 40px;
    opacity: 0.2;
}

/* Add responsive design */
@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-image {
        width: 200px;
        height: 200px;
    }

    .title-container {
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Add this keyframe animation for the cursor blink */
@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero h1::after {
    content: '_';
    color: var(--secondary-color);
    animation: cursorBlink 1s step-end infinite;
    margin-left: 2px;
}


.sub-piece {
    font-style: italic;
    font-family: 'Courier New', Courier, monospace;
    padding: 0.1rem;
    font-weight: lighter;
    color: #FFB22C;
    font-size: 1.0rem;
}

/* Projects Section */
.projects {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--dark-bg);
}

.projects h2 {
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
}

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

.project-card {
    background: linear-gradient(145deg, var(--primary-color), var(--light-bg));
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 178, 44, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 178, 44, 0.2);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 178, 44, 0.2);
}

.project-card h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.project-card p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}

.project-links a {
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-links a:hover {
    color: var(--white);
}

/* Pieces Section */
.pieces-section {
    padding: 8rem 5% 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pieces-section h1 {
    color: var(--white);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2.5rem;
}

.pieces-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
}

.piece-card {
    background: linear-gradient(145deg, var(--primary-color), var(--light-bg));
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 178, 44, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.piece-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 178, 44, 0.2);
}

.piece-card h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.piece-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.piece-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.piece-card .read-more {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.piece-card .read-more:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .pieces-section {
        padding-top: 6rem;
    }
}

