/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #000000;
  color: #ffffff;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header with photo and name */
header {
  padding: 20px 30px;
  background-color: #000000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.profile-photo {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

h1 {
  font-size: 1.5rem;
  font-weight: 300;
  color: #ffffff;
  margin: 0;
}

/* Social links - centered */
.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background-color: #000000;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-link:hover {
  transform: translateY(-3px);
  opacity: 0.8;
}

.social-link svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  background-color: #404040;
  border-radius: 50%;
  fill: #ffffff;
  transition: background-color 0.2s ease;
}

.social-link:hover svg {
  background-color: #505050;
}

.cv-link svg {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.social-link span {
  font-size: 0.85rem;
  color: #ffffff;
}

/* Main content - PDF viewer */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #000000;
  padding: 0;
  margin: 0;
}

.pdf-container {
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: calc(100vh - 200px);
  background-color: #000000;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.pdf-container embed {
  width: 100%;
  max-width: 900px;
  height: 100%;
  min-height: calc(100vh - 200px);
  border: none;
  display: block;
  background-color: #000000;
}

/* Responsive design */
@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .profile-photo {
    width: 40px;
    height: 40px;
  }

  h1 {
    font-size: 1.2rem;
  }

  .social-links {
    gap: 12px;
    padding: 15px;
  }

  .social-link svg {
    width: 40px;
    height: 40px;
    padding: 10px;
  }

  .pdf-container {
    min-height: calc(100vh - 180px);
  }

  .pdf-container embed {
    min-height: calc(100vh - 180px);
  }
}
