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

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

nav a {
  margin: 0 1rem;
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover,
nav a.active {
  background-color: #f0f0f0;
  color: #ff914d;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.welcome-section {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
  url('https://images.pexels.com/photos/19312406/pexels-photo-19312406/free-photo-of-zee-blauw-zomer-rotsen.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .welcome-section {
    background-position: 50% 50%;
    background-attachment: scroll;
  }
}

.welcome-section .content {
  position: relative;
  z-index: 1;
}

.content {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.8rem;
  margin: 1.5rem 0 1rem;
}

.subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.personal-info {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-image {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio h3 {
  color: #2d3748;
  margin-top: 2rem;
}

.hobbies-list {
  list-style: none;
  margin: 1rem 0;
}

.hobbies-list li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.hobbies-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff914d;
}

.skills {
  background-color: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skills h3 {
  margin-bottom: 1rem;
}

.skills ul {
  list-style: none;
}

.skills li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.skills li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #ff914d;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.project-card {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-content {
  padding: 2rem;
}

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

.project-header h3 {
  margin: 0;
  color: #2d3748;
  font-size: 1.8rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: #e2e8f0;
  color: #4a5568;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.status-badge i {
  color: #ff914d;
}

.project-content p {
  color: #4a5568;
  margin-bottom: 1.5rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  background-color: #e2e8f0;
  color: #4a5568;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

.project-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background-color: #ff914d;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.project-link:hover {
  background-color: #ffbd59;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 2rem auto;
  padding: 2rem;
  width: 90%;
  max-width: 1000px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-content ul {
  list-style: none;
  padding-left: 2rem;
  margin: 1rem 0;
}

.modal-content li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-content li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #ff914d;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: #4a5568;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #2d3748;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.modal-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.modal-gallery img:hover {
  transform: scale(1.05);
}

.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  cursor: pointer;
}

.image-modal img {
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 8px;
}

.cv-container {
  background-color: #fff;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.language-rating {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.language-name {
  min-width: 100px;
  font-weight: 500;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: #ff914d;
  font-size: 1.2rem;
}

.star-empty {
  color: #e2e8f0;
}

.cv-item {
  margin-bottom: 1.5rem;
}

.cv-item h4 {
  color: #2d3748;
  margin-bottom: 0.5rem;
}

.cv-download {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.download-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #ff914d;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.download-button:hover {
  background-color: #ffbd59;
}

@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .cv-container {
    padding: 1.5rem;
  }

  .project-image {
    height: 200px;
  }

  .project-content {
    padding: 1.5rem;
  }

  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
  }
}

