* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  background-color: #f3f7fa;
  color: #345e7d;
  line-height: 1.6;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: bold;
  color: #345e7d;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
}

.nav-logo:hover {
  opacity: 0.7;
}

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

.nav-links a {
  color: #345e7d;
  text-decoration: none;
  font-weight: 500;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-links a.active {
  border-bottom-color: #345e7d;
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #345e7d;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #345e7d;
  text-decoration: none;
  font-weight: 500;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* Page Container */
.page {
  display: none;
  animation: fadeIn 0.6s ease-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 2rem;
  text-align: center;
}

.hero-content {
  max-width: 56rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #345e7d;
}

.hero .subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.8;
}

.hero .description {
  font-size: 1.125rem;
  margin-bottom: 3rem;
  opacity: 0.7;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  background-color: #345e7d;
  color: #f3f7fa;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  border: none;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.btn-primary:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

/* About Section */
.about-section {
  padding: 3rem 1.5rem;
}

.about-container {
  max-width: 1152px;
  margin: 0 auto;
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-photo {
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: 1.875rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  color: #345e7d;
}

.about-text p {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  opacity: 0.8;
  line-height: 1.75;
}

.skills-section {
  text-align: center;
  margin-bottom: 4rem;
}

.skills-section h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.skill-tag {
  background-color: #345e7d;
  color: #f3f7fa;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.info-chip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 0.75rem;
  margin-bottom: 0.75rem
}

.info-chip {
  background-color: #345e7d;
  color: #f3f7fa;
  padding: 0.25rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Explore Work Section */
.explore-section {
  text-align: center;
  padding: 3rem 1.5rem;
}

.explore-section h3 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.explore-section .subtitle {
  font-size: 1.125rem;
  opacity: 0.7;
  margin-bottom: 3rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.work-card {
  background: white;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  width: 100%;
}

.work-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-0.5rem);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.card-header h4 {
  font-size: 1.5rem;
  font-weight: bold;
  color: #345e7d;
}

.arrow {
  width: 2rem;
  height: 2rem;
  color: #345e7d;
  transition: transform 0.3s ease;
}

.work-card:hover .arrow {
  transform: translateX(0.5rem);
}

.card-description {
  opacity: 0.7;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-cta {
  display: inline-block;
  background-color: #345e7d;
  color: #f3f7fa;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Content Pages */
.content-page {
  min-height: 100vh;
  padding: 8rem 1.5rem 5rem;
}

.content-container {
  max-width: 1280px;
  margin: 0 auto;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.subpage-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-align: center;
}

.page-subtitle {
  text-align: center;
  opacity: 0.7;
  font-size: 1.125rem;
  margin-bottom: 4rem;
}

/* Creative Work Page */
.social-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.social-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
}

.social-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.social-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.social-header svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
  color: #345e7d;
}

.social-header h3 {
  font-size: 1.5rem;
  font-weight: bold;
}

.embed-placeholder {
  aspect-ratio: 1;
  background: #f3f7fa;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 2rem;
  text-align: center;
}

.embed-placeholder p {
  opacity: 0.7;
  margin-bottom: 1rem;
}

.embed-placeholder small {
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Scientific Work Page */
.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.project-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  transform: translateY(-0.5rem);
}

.project-image {
  height: 12rem;
  background: #f3f7fa;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-image small {
  opacity: 0.6;
  font-size: 0.875rem;
}

.project-card h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.project-card p {
  opacity: 0.7;
  margin-bottom: 1rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  color: #345e7d;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.project-link:hover {
  opacity: 0.7;
}

.project-link svg {
  width: 1rem;
  height: 1rem;
  margin-left: 0.25rem;
}

/* Contact Page */
.contact-content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.contact-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.contact-content .intro {
  font-size: 1.25rem;
  opacity: 0.7;
  margin-bottom: 3rem;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #345e7d;
  transition: opacity 0.3s ease;
}

.contact-icon:hover {
  opacity: 0.7;
}

.icon-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  transition: box-shadow 0.3s ease;
}

.contact-icon:hover .icon-circle {
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.icon-circle svg {
  width: 1.75rem;
  height: 1.75rem;
  color: #345e7d;
}

.contact-icon span {
  font-weight: 500;
}

.copyright {
  opacity: 0.6;
}

/* Responsive */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4.5rem;
  }

  .about-grid {
    flex-direction: row;
  }

  .about-photo {
    width: 20rem;
    height: 20rem;
  }

  .about-text h2 {
    font-size: 2.25rem;
  }

  .skills-section h3 {
    font-size: 1.875rem;
  }

  .explore-section h3 {
    font-size: 2.5rem;
  }

  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .page-title {
    font-size: 3rem;
  }
}