/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: opacity 0.3s ease;
}

.nav-link:hover {
  opacity: 0.6;
}

/* Hero Section */
.hero {
  padding: 12rem 3rem 6rem;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  line-height: 0.9;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: #4a4a4a;
}

/* Metadata Section */
.metadata {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.metadata-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.metadata-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.metadata-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #666;
}

.metadata-value {
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1a1a;
}

/* Content Sections */
.content-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 3rem;
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.section-subtitle {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #4a4a4a;
}

.section-text {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 3rem;
  max-width: 800px;
}

.feature-list {
  list-style: none;
  margin-bottom: 3rem;
  max-width: 800px;
}

.feature-list li {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.8;
  color: #4a4a4a;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.feature-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a1a1a;
  font-size: 1.5em;
  line-height: 1;
}

.section-image {
  width: 100%;
  margin: 4rem 0;
  overflow: hidden;
}

.section-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Unfold Button */
.unfold-btn {
  background: transparent;
  border: 1px solid #1a1a1a;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 3rem;
}

.unfold-btn:hover {
  background: #1a1a1a;
  color: #ffffff;
}

/* Footer */
.footer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 3rem 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-link {
  font-size: 1.25rem;
  font-weight: 400;
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-link:hover {
  opacity: 0.6;
}

.footer-text {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.footer-project {
  font-weight: 600;
  color: #1a1a1a;
}

.footer-copyright {
  font-size: 0.9rem;
  color: #999;
  margin-top: 1rem;
}

.footer-note {
  font-size: 0.85rem;
  color: #999;
  font-style: italic;
}

.footer-mobile-note {
  font-size: 0.75rem;
  color: #999;
  margin-top: 2rem;
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 1.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .hero {
    padding: 10rem 1.5rem 4rem;
  }

  .metadata {
    padding: 3rem 1.5rem;
  }

  .metadata-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .content-section {
    padding: 4rem 1.5rem;
  }

  .section-image {
    margin: 2rem 0;
  }

  .footer {
    padding: 4rem 1.5rem 3rem;
  }

  .footer-mobile-note {
    display: block;
  }
}

/* Home Page Styles */
.home-page {
  padding-top: 6rem;
}

.home-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 3rem 4rem;
  text-align: center;
}

.hero-content {
  margin-bottom: 6rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  color: #666;
}

.projects-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 4rem;
}

.project-item {
  width: 100%;
}

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease;
}

.project-link:hover {
  transform: translateY(-5px);
}

.project-image {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.project-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-link:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 0 0.5rem;
}

.project-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.project-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

/* Smooth Animations */
.content-section {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }

/* Home Page Additional Styles */
.home-cta {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 3rem;
  text-align: center;
}

.cta-link {
  font-size: 1.25rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.cta-link:hover {
  opacity: 0.6;
}

.project-date {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem;
  display: block;
}

/* About Page Styles */
.about-page, .projects-page, .experience-page, .contact-page {
  padding-top: 6rem;
}

.about-hero, .projects-hero, .experience-hero, .contact-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 3rem 4rem;
  text-align: center;
}

.page-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 300;
  color: #666;
}

.about-content, .contact-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}

.about-section {
  margin-bottom: 5rem;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: #1a1a1a;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-info a:hover {
  opacity: 0.6;
}

.education-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.education-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.edu-degree {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.edu-year {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 0.25rem;
}

.edu-institution {
  font-size: 1rem;
  color: #666;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tag {
  padding: 0.75rem 1.5rem;
  background: #f5f5f5;
  border-radius: 4px;
  font-size: 0.95rem;
  color: #1a1a1a;
}

.research-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.research-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.research-title {
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.research-venue {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.25rem;
}

.research-location {
  font-size: 0.9rem;
  color: #999;
}

.research-desc {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
}

.positions-list {
  list-style: none;
  padding: 0;
}

.positions-list li {
  font-size: 1.1rem;
  line-height: 2;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.positions-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1a1a1a;
  font-size: 1.5em;
  line-height: 1;
}

/* Projects Page Styles */
.projects-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}

.project-detail {
  margin-bottom: 6rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.project-detail:last-child {
  border-bottom: none;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.project-detail-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.project-detail-date {
  font-size: 0.9rem;
  color: #999;
}

.project-detail-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 2rem;
  max-width: 800px;
}

.project-detail-image {
  width: 100%;
  margin-top: 2rem;
}

.project-detail-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Experience Page Styles */
.experience-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 6rem;
}

.experience-item {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.experience-item:last-child {
  border-bottom: none;
}

.experience-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.experience-period {
  font-size: 0.9rem;
  color: #999;
}

.experience-company {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 500;
}

.experience-description {
  font-size: 1rem;
  line-height: 1.8;
  color: #4a4a4a;
  max-width: 800px;
}

/* Contact Page Styles */
.contact-details {
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-value {
  font-size: 1.25rem;
  color: #1a1a1a;
  text-decoration: none;
  display: block;
  transition: opacity 0.3s ease;
}

.contact-value:hover {
  opacity: 0.6;
}

.hero-location {
  font-size: 1rem;
  color: #999;
  margin-top: 0.5rem;
}

