/* CSS Custom Properties - Monochrome Palette */
:root {
  --bg-primary: #1a1a1a;
  --bg-secondary: #2a2a2a;
  --bg-tertiary: #3a3a3a;
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #a0a0a0;
  --text-dim: #808080;
  --border-color: #404040;
  --accent: #ffffff;
  --accent-dim: #cccccc;
  --red: #ff3333;
  --red-tint: rgba(255, 51, 51, 0.1);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  
  --fz-xs: 12px;
  --fz-sm: 14px;
  --fz-md: 16px;
  --fz-lg: 18px;
  --fz-xl: 20px;
  --fz-xxl: 24px;
  --fz-3xl: 28px;
  --fz-4xl: 32px;
  --fz-5xl: 48px;
  
  --border-radius: 4px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  
  --nav-width: 500px;
  --content-width: calc(100vw - var(--nav-width));
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: var(--fz-md);
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
}

/* App Container */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Left Column - Fixed Navigation */
.left-column {
  position: fixed;
  left: 0;
  top: 0;
  width: var(--nav-width);
  height: 100vh;
  background-color: var(--bg-primary);
  border-right: 1px solid var(--border-color);
  overflow-y: auto;
  z-index: 10;
}

.left-content {
  padding: 50px 40px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Profile Image at Top */
.profile-image-container {
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Intro Section */
.intro-section {
  margin-bottom: 50px;
}

.name {
  font-size: var(--fz-4xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.bio {
  font-size: var(--fz-md);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 350px;
}

/* Main Navigation */
.main-nav {
  margin-bottom: 40px;
}

.nav-list {
  list-style: none;
}

.nav-list li {
  margin-bottom: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 12px 0;
  transition: var(--transition);
  position: relative;
}

.nav-indicator {
  width: 30px;
  height: 2px;
  background-color: var(--text-dim);
  margin-right: 20px;
  transition: var(--transition);
  border-radius: 1px;
}

.nav-item.active .nav-indicator {
  width: 60px;
  background-color: var(--text-primary);
}

.nav-item:hover .nav-indicator {
  width: 60px;
  background-color: var(--accent-dim);
}

.nav-text {
  font-size: var(--fz-sm);
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
}

.nav-item.active .nav-text {
  color: var(--text-primary);
}

.nav-item:hover .nav-text {
  color: var(--accent-dim);
}

/* Profile Image */
.profile-image {
  position: relative;
  width: 270px;
  height: 270px;
}

.profile-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: var(--transition);
  z-index: 2;
}

.profile-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius);
  background: var(--red);
  z-index: 1;
  transition: var(--transition);
  top: 15px;
  left: 15px;
}

.profile-image:hover::before {
  top: 10px;
  left: 10px;
}

.profile-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid var(--red);
  border-radius: var(--border-radius);
  z-index: 3;
  transition: var(--transition);
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: auto;
  padding-top: 30px;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--text-dim);
  transition: var(--transition);
  padding: 6px;
}

.social-links a:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Right Column - Content */
.right-column {
  margin-left: var(--nav-width);
  width: var(--content-width);
  min-height: 100vh;
}

.right-content {
  padding: 50px 80px 50px;
  max-width: 700px;
}

/* Content Sections */
.content-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.content-section:first-child {
  padding-top: 20px;
}

.content-section:last-child {
  border-bottom: none;
}

.section-content {
  max-width: 100%;
}

.section-title {
  font-size: var(--fz-4xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.section-description {
  font-size: var(--fz-xl);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 50px;
}

.section-action {
  margin-top: 40px;
}

.section-link {
  display: inline-block;
  font-size: var(--fz-md);
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
  padding-bottom: 2px;
}

.section-link:hover {
  border-bottom-color: var(--text-primary);
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 1200px) {
  :root {
    --nav-width: 400px;
    --content-width: calc(100vw - var(--nav-width));
  }
  
  .left-content {
    padding: 80px 40px 40px;
  }
  
  .right-content {
    padding: 80px 60px 40px;
  }
  
  .name {
    font-size: var(--fz-4xl);
  }
  
  .section-title {
    font-size: var(--fz-3xl);
  }
}

@media (max-width: 900px) {
  :root {
    --nav-width: 100%;
    --content-width: 100%;
  }
  
  .app-container {
    flex-direction: column;
  }
  
  .left-column {
    position: static;
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .left-content {
    padding: 60px 30px;
    height: auto;
  }
  
  .intro-section {
    margin-bottom: 50px;
    text-align: center;
  }
  
  .bio {
    max-width: none;
    margin: 0 auto;
  }
  
  .main-nav {
    margin-bottom: 40px;
  }
  
  .nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .nav-list li {
    margin-bottom: 0;
  }
  
  .nav-item {
    padding: 8px 16px;
    border-radius: var(--border-radius);
    background-color: var(--bg-secondary);
  }
  
  .nav-indicator {
    display: none;
  }
  
  .profile-image-container {
    margin-bottom: 30px;
    max-height: 250px;
    justify-content: center;
  }
  
  .profile-image {
    width: 66.67vw;
    height: 66.67vw;
    max-width: 250px;
    max-height: 250px;
  }
  
  .social-links {
    padding-top: 20px;
  }
  
  .right-column {
    margin-left: 0;
    width: 100%;
  }
  
  .right-content {
    padding: 60px 30px;
  }
  
  .content-section {
    padding: 40px 0;
  }
  
  .name {
    font-size: var(--fz-3xl);
  }
  
  .title {
    font-size: var(--fz-lg);
  }
  
  .bio {
    font-size: var(--fz-md);
  }
  
  .section-title {
    font-size: var(--fz-xxl);
  }
  
  .section-description {
    font-size: var(--fz-lg);
  }
}

@media (max-width: 600px) {
  .left-content {
    padding: 40px 20px;
  }
  
  .right-content {
    padding: 40px 20px;
  }
  
  .content-section {
    padding: 30px 0;
  }
  
  .name {
    font-size: var(--fz-xxl);
  }
  
  .section-title {
    font-size: var(--fz-xl);
  }
  
  .section-description {
    font-size: var(--fz-md);
  }
  
  .profile-image {
    width: 66.67vw;
    height: 66.67vw;
    max-width: 200px;
    max-height: 200px;
  }
}

/* Focus States */
.nav-item:focus,
.section-link:focus,
.social-links a:focus {
  outline: none;
}

/* Flag Icons */
.flag-icon {
  display: inline-block;
  margin: 0 0px;
  vertical-align: middle;
}

.flag-icon svg {
  display: block;
  border-radius: 2px;
}

/* Nerv Dynamics Logo */
.nerv-logo {
  margin-bottom: 20px;
  margin-top: -40px;
}

.nerv-logo-img {
  width: 90%;
  height: auto;
  display: block;
}

/* Art Image */
.art-image {
  margin-bottom: 20px;
}

.art-image-img {
  width: 90%;
  height: auto;
  display: block;
}

/* Chromaform Logo */
.chromaform-logo {
  margin-bottom: 40px;
  margin-top: -20px;
}

.chromaform-logo-img {
  width: 90%;
  height: auto;
  display: block;
}

/* Singing Image */
.singing-image {
  margin-top: 30px;
  margin-bottom: 20px;
}

.singing-image-img {
  width: 90%;
  height: auto;
  display: block;
}

/* Recent Articles */
.recent-articles {
  margin: 30px 0;
}

.article-preview {
  margin-bottom: 20px;
  padding: 25px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  transition: var(--transition);
}

.article-preview:hover {
  transform: translateY(-5px);
  background-color: var(--bg-tertiary);
  border-color: var(--red);
}

.article-preview:last-child {
  margin-bottom: 0;
}

.article-preview-title {
  font-size: var(--fz-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.article-preview-title a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.article-preview:hover .article-preview-title a {
  color: var(--accent-dim);
}

.article-preview-description {
  font-size: var(--fz-md);
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 8px;
}

.article-preview-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: var(--fz-sm);
  color: var(--text-dim);
}

.article-preview-date {
  font-weight: 500;
}

.article-preview-category {
  opacity: 0.8;
}

/* Scrollbar Styling */
.left-column::-webkit-scrollbar {
  width: 6px;
}

.left-column::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

.left-column::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}

.left-column::-webkit-scrollbar-thumb:hover {
  background: var(--border-color);
}
