/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

/* Header */
.header {
    grid-column: 1 / -1;
    padding: 2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.name {
    font-size: 2rem;
    font-weight: 400;
}

.name-link {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.name-link:hover {
    color: #666;
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-link {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
    position: relative;
}

.header-link:hover {
    color: #333;
}

.header-link::after {
    content: '• • • • • •';
    position: absolute;
    bottom: -5px;
    right: 0;
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    opacity: 1;
    transition: opacity 0.2s ease;
}

.header-link:hover::after {
    content: '~ ~ ~ ~ ~ ~';
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    opacity: 1;
}

/* Sidebar */
.sidebar {
    grid-column: 1;
    padding: 2rem;
    border-right: 1px solid #eee;
}

.menu {
    list-style: none;
}

.menu-item {
    margin-bottom: 0.5rem;
}

.menu-item a {
    display: block;
    padding: 0.75rem 0;
    color: #666;
    text-decoration: none;
    font-weight: 400;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease;
    position: relative;
}

.menu-item a:hover {
    color: #333;
}

.menu-item.active a::after {
    content: '• • • • • •';
    position: absolute;
    bottom: -5px;
    left: 0;
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 0.3em;
}

.menu-item a:hover::after {
    content: '~ ~ ~ ~ ~ ~';
    color: #333;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
}

/* Main Content */
.main-content {
    grid-column: 2;
    padding: 2rem;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #333;
}

.content {
    max-width: 600px;
}

.content p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Project Content */
.project-image {
    margin-bottom: 2rem;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #f8f8f8;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    color: #999;
    font-size: 0.9rem;
}

.project-text {
    margin-bottom: 2rem;
}

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

.project-link {
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.25rem;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: #333;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    margin-top: 2rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid #eee;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto 1fr;
    }
    
    .header {
        grid-column: 1;
    }
    
    .sidebar {
        grid-column: 1;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .main-content {
        grid-column: 1;
    }
    
    .menu {
        display: flex;
        gap: 2rem;
        overflow-x: auto;
    }
    
    .menu-item {
        margin-bottom: 0;
        white-space: nowrap;
    }
}