/* ========== BASE & LAYOUT ========== */
body {
  background-color: #f4f3ee;
  font-family: "Franklin Gothic Book", Arial, sans-serif;
  color: #463f3a;
  margin: 0;
  padding: 0;
}
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}
header {
  text-align: center;
  padding: 30px 20px;
}
header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
header p {
  font-size: 1.2rem;
  color: #6d6760;
}

/* ========== NAVBAR OVERRIDE ========== */
.navbar {
  background-color: #463f3a !important;
  padding: 10px 20px !important;
  align-items: center !important;
  display: flex !important;
}
.navbar ul {
  list-style: none !important;
  display: flex;
  justify-content: center !important;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}
.navbar a {
  color: #f4f3ee !important;
  text-decoration: none !important;
  font-weight: bold;
}
.navbar a:hover {
  text-decoration: underline !important;
}

/* ========== PROFILE (index.html) ========== */
.profile {
  background: #e0afa0;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.profile img {
  border-radius: 20px;
  width: 200px;
  height: auto;
}
.profile-text {
  flex: 1;
}
.tags {
  margin-top: 10px;
}
.tags a {
  display: inline-block;
  background: #463f3a;
  color: #fff;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
}

/* ========== PROJECTS (index.html) ========== */
.projects {
  margin-top: 40px;
}
.projects h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.project-card {
  background: #f0ede7;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
}
.project-card h3 {
  margin-top: 0;
}

/* ========== CV BUTTON (index + CV.html) ========== */
.cv-button {
  display: block;
  margin: 40px auto;
  padding: 15px 30px;
  background-color: #e0afa0;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  text-align: center;
  font-size: 1rem;
}

/* ========== FOOTER ========== */
footer {
  text-align: center;
  padding: 20px;
  background-color: #463f3a;
  color: #f4f3ee;
  margin-top: 40px;
}

/* ========== ERVARING.HTML ========== */
.section {
  margin-bottom: 40px;
}
.skills-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.skills-list li,
.soft-skills li {
  background: #e0afa0;
  color: #fff;
  padding: 15px;
  border-radius: 10px;
}
.soft-skills {
  list-style: none;
  padding: 0;
}
.skill-rating {
  margin-top: 10px;
  font-size: 1.2rem;
}
.stars {
  color: gold;
}
.experience-block {
  background: #bcb8b1;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}
h2 {
  border-bottom: 2px solid #463f3a;
  padding-bottom: 5px;
}
a.doc-link {
  color: #463f3a;
  text-decoration: underline;
}

/* ========== CV.HTML ========== */
header img {
  border-radius: 50%;
  width: 150px;
  height: 150px;
}
.info-block {
  background: #e0afa0;
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
}
.info-block h2 {
  margin-top: 0;
}
.info-list {
  list-style: none;
  padding: 0;
}
.info-list li {
  margin: 8px 0;
}
.link {
  color: #463f3a;
  text-decoration: underline;
}
.hobbies {
  background-color: #bcb8b1;
  padding: 20px;
  border-radius: 15px;
}
.hobby-section {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 32px;
}
.hobby-section > div {
  flex: 2 1 60%;
  min-width: 300px;
}
.hobby-section > div:first-child {
  flex: 1 1 200px;
  min-width: 200px;
  display: flex;
  align-items: flex-start;
}
.hobby-section img {
  max-width: 100%;
  border-radius: 10px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .profile {
    flex-direction: column;
    text-align: center;
  }
  .profile img {
    margin-bottom: 20px;
  }
  .hobby-section {
    flex-direction: column;
  }
}

/* ========== GLOBAL ========== */
body {
  font-family: Arial, sans-serif;
  background: #f4f3ee;
  color: #463f3a;
  margin: 0;
  padding: 0;
}
.container,
.container-fluid {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

/* ========== NAVBAR ========== */
.navbar {
  background: #f8f9fa;
  padding: 0.5rem 1rem;
}
.navbar .container-fluid {
  display: flex;
  justify-content: flex-end;
}
.navbar-nav {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.navbar-nav .nav-item + .nav-item {
  margin-left: 1rem;
}
.navbar-nav .nav-link {
  color: #000;
  text-decoration: none;
  padding: 0.5rem;
}
.navbar-nav .nav-link:hover {
  text-decoration: underline;
}

/* ========== SECTION ========== */
.section {
  margin-bottom: 2rem;
}
.section h2 {
  border-bottom: 2px solid #463f3a;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* ========== SKILLS LIST ========== */
.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.skills-list li {
  background: #e0afa0;
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
}
.soft-skills li {
  background: #e0afa0;
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

/* ========== EXPERIENCE BLOCK ========== */
.experience-block {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

/* ========== CONTACT FORM ========== */
.contact-section {
  margin: 40px 0;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.contact-form label {
  font-weight: bold;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: inherit;
}
.contact-form button {
  width: fit-content;
  padding: 0.75rem 1.5rem;
  background: #463f3a;
  color: #f4f3ee;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
.contact-form button:hover {
  background: #6d6760;
  transform: scale(1.02);
}

/* ========== FOOTER UTILS ========== */
footer,
.bg-dark {
  background: #343a40;
}
.text-light {
  color: #f4f3ee;
}
.text-center {
  text-align: center;
}
.mt-5 {
  margin-top: 3rem;
}
.p-3 {
  padding: 1rem;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered load-in */
header {
  animation-delay: 0.2s;
}
.profile {
  animation-delay: 0.4s;
}
.projects {
  animation-delay: 0.6s;
}
.experience-block {
  animation-delay: 0.8s;
}

header,
.profile,
.projects,
.experience-block {
  /* apply fadeInUp on load */
  opacity: 0;
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}

/* ========== HOVER TRANSITIONS ========== */
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cv-button {
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.cv-button:hover {
  background-color: #d59c8c;
  transform: scale(1.05);
}

.navbar a {
  transition: color 0.2s ease;
}
.navbar a:hover {
  color: #e0afa0 !important;
}

/* OPTIONAL: smooth scroll for internal anchors */
html {
  scroll-behavior: smooth;
}

/* ====== EXTRA STAGGERED LOAD-IN VOOR CV & ERVARING ====== */
.info-block {
  animation-delay: 0.4s;
}
.hobbies {
  animation-delay: 0.6s;
}
.section {
  animation-delay: 0.4s;
}
.skills-list {
  animation-delay: 0.6s;
}
.soft-skills {
  animation-delay: 0.8s;
}

/* alle geanimeerde onderdelen opnemen */
header,
.profile,
.projects,
.experience-block,
.info-block,
.hobbies,
.section,
.skills-list,
.soft-skills {
  opacity: 0;
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  animation-timing-function: ease-out;
}
.link {
  color: #463f3a;
  text-decoration: underline;
}
