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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* Container */
.container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-logo a:hover {
  color: #0059ff;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}

  .nav-link:hover {
    color: #0059ff;
  }

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #0059ff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active {
  color: #0059ff;
}

.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #1a1a1a;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  /*min-height: 50vh; */
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: #fff;
  padding-bottom: 0;
}

.hero-container {
  max-width: 1400px;
  margin: 0 2.5rem;
  /* padding: 2rem 0 6rem 0; */
  /* padding: 0 2rem; */
}

.hero-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  max-width: 1300px;
  animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #666;
  max-width: 900px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Page Header */
.page-header {
  padding: 120px 0 80px;
  background: #fff;
  text-align: center;
}

.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out;
}

.page-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #666;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* Sections */
.section {
  padding: 2rem 0 6rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 3rem;
  color: #1a1a1a;
  text-align: center;
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.work-item {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.work-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.work-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: #0059ff;
}

/* Video Container */
.work-video-container,
.playground-video-container {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  background: #f8fafc;
}

.work-video,
.playground-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-item:hover .work-video,
.playground-item:hover .playground-video {
  transform: scale(1.05);
}

/* Video styling - clean and simple */
.work-video,
.playground-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-item:hover .work-video,
.playground-item:hover .playground-video {
  transform: scale(1.02);
}

/* Content Area */
.work-content,
.playground-content {
  padding: 1rem 1.5rem;
}

.work-item h3,
.playground-item h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #1a1a1a;
}

.work-description,
.playground-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Tags */
.work-tags,
.playground-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tag {
  background: #f1f5f9;
  color: #475569;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.tag:hover {
  background: #0059ff;
  color: #ffffff;
}

/* Links */
.work-links,
.playground-links {
  display: flex;
  gap: 1rem;
}

.work-link,
.playground-link {
  color: #0059ff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  position: relative;
}

.work-link:hover,
.playground-link:hover {
  color: #0056b3;
}

.work-link::after,
.playground-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: #0059ff;
  transition: width 0.3s ease;
}

.work-link:hover::after,
.playground-link:hover::after {
  width: 100%;
}

/* Playground Grid */
.playground-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 50px;
}

.playground-item {
  background: #f8fafc;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.playground-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  background: #ffffff;
  border-color: #0059ff;
}

/* Playground item as link */
.playground-item .playground-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

.playground-item .playground-link:hover {
  color: inherit;
}

.playground-item .playground-link::after {
  display: none;
}

/* About Section */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding-top: 130px; /* Add top padding to account for fixed navbar */
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #4a4a4a;
}

/* Profile Image Styles */
.profile-image-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.profile-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Introduction Section */
.intro-section {
  margin-bottom: 3rem;
}

.intro-text {
  font-size: 5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  max-width: 600px;
  margin: 0 auto;
}

/* Bullet Points */
.bullet-points {
  margin-bottom: 3rem;
}

.points-list {
  list-style: none;
  padding: 0;
  max-width: 600px;
  margin: 0 auto;
}

.point-item {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4a4a4a;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
  text-align: left;
}

.point-item::before {
  content: "•";
  color: #007AFF;
  font-weight: bold;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -2px;
}

/* Resume Section */
.resume-content {
  max-width: 800px;
  margin: 0 auto;
}

.resume-section {
  margin-bottom: 3rem;
}

.resume-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #1a1a1a;
  border-bottom: 2px solid #0059ff;
  padding-bottom: 0.5rem;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: 2rem 0;
}

.footer p {
  color: #999;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .container {
    padding: 0 1rem;
  }

  .hero-container {
    padding: 0 1rem;
  }

  .work-grid,
  .playground-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .work-video-container,
  .playground-video-container {
    height: 200px;
  }

  .work-content,
  .playground-content {
    padding: 1rem;
  }

  .work-tags,
  .playground-tags {
    gap: 0.25rem;
  }

  .tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
  }

  .section {
    padding: 3rem 0;
  }
  
  /* About page responsive styles */
  .intro-text {
    font-size: 1.5rem;
  }
  
  .profile-image {
    width: 150px;
    height: 150px;
  }
  
  .point-item {
    font-size: 1rem;
    padding-left: 1.2rem;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .page-title {
    font-size: 2rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

/* Columbia link styling */
.columbia-link {
  color: #1e40af;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 2px 4px;
  border-radius: 4px;
}

.columbia-link:hover {
  color: #1d4ed8;
  background-color: rgba(30, 64, 175, 0.1);
  transform: translateY(-1px);
}

.columbia-link::after {
  content: '↗';
  font-size: 0.8em;
  margin-left: 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.columbia-link:hover::after {
  opacity: 1;
}
  