/* ========== FONTS ========== */
@font-face {
  font-family: "Ethereal";
  src: url("../fonts/Etherealdemo-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ethereal";
  src: url("../fonts/Etherealdemo-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

/* ========== BASIS ========== */
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f7f3ef;
  color: #1C1C1C;
  line-height: 1.7;
}

h1, h2, h3 {
  font-family: "Ethereal", "Playfair Display", serif;
  letter-spacing: 0.5px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  background-color: #1C1C1C;
  color: #F7F3EF;
  text-align: center;
  padding: 13rem 2rem 21rem 2rem;
  overflow: hidden;
}

/* Gloed-achtergrond */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(107, 30, 30, 0.35), transparent 60%);
  z-index: 0; /* 👈 belangrijk: glow achter de tekst */
}

/* Zorg dat tekst zichtbaar is */
.hero-text {
  position: relative;
  z-index: 2; /* 👈 tekst boven overlay */
}

/* Titel */
.hero h1 {
  font-size: 4rem;
  position: relative;
  z-index: 2;
}

/* Fonetische uitspraak */
.phonetic {
  color: #B6AFA9;
  font-style: italic;
  position: absolute;
  right: 425px;
  top: 9px;
}

/* Ondertitel */
.hero h2 {
  font-size: 1.3rem;
  letter-spacing: 2px;
  margin-top: 0.3rem;
  text-transform: uppercase;
  color: #B6AFA9;
}

/* Tagline – fade in */
.tagline {
  margin-top: 7rem;
  font-size: 1rem;
  color: #B6AFA9;
  font-style: italic;
  opacity: 0;
  animation: fadeIn 2.5s ease 1.5s forwards;
}

/* Knop */
.hero-btn {
  display: inline-block;
  margin-top: 3rem;
  padding: 1rem 2.6rem;
  background-color: #6B1E1E;
  color: #F7F3EF;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  border-radius: 40px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 2s ease 2.3s forwards, pulse 3s infinite ease-in-out;
}

/* Subtiele glow */
.hero-btn::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(107, 30, 30, 0.35) 0%, transparent 70%);
  transform: scale(0);
  opacity: 0;
  transition: all 0.5s ease;
}

.hero-btn:hover {
  background-color: #571818;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(107, 30, 30, 0.4);
}

.hero-btn:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Pulse animatie */
@keyframes pulse {
  0% { box-shadow: 0 0 0 rgba(107,30,30,0.5); }
  50% { box-shadow: 0 0 18px rgba(107,30,30,0.4); }
  100% { box-shadow: 0 0 0 rgba(107,30,30,0.5); }
}

/* FadeIn animatie */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ========== PROJECTS ========== */
#projects {
  padding: 4rem 2rem 8rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, #f0eae5 0%, #f7f3ef 100%);
  max-width: 1200px;
  margin: 5em auto;
}

#projects h2 {
  font-size: 2.8rem;
  color: #6B1E1E;
  margin-bottom: 1rem;
}

#projects h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #6B1E1E;
  margin: 0.8rem auto 2rem auto;
  border-radius: 2px;
}

#projects .para {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  color: #565446;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.project-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
  border: 1px solid #ff000033;
}

.project-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-content {
  padding: 1.8rem;
}

.project-content h3 {
  font-size: 1.4rem;
  color: #6B1E1E;
  margin-bottom: 0.6rem;
}

.project-content p {
  font-size: 0.95rem;
  color: #4e4b45;
  margin-bottom: 1rem;
}

.project-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pill {
  border: 1px solid #6B1E1E;
  border-radius: 30px;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.pill:hover {
  background-color: #6B1E1E;
  color: #F7F3EF;
}

/* ========== SKILLS ========== */
#skills {
  text-align: center;
  background: linear-gradient(180deg, #f0eae5 0%, #f7f3ef 100%);
  padding: 4rem 2rem 8rem 2rem;
  max-width: 1200px;
  margin: 5em auto;
}

#skills h2 {
  font-size: 2.5rem;
  color: #6B1E1E;
  margin-bottom: 1rem;
}

#skills h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #6B1E1E;
  margin: 0.8rem auto 2rem auto;
  border-radius: 2px;
}

.skills-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0;
}

.skills-toggle button {
  background-color: transparent;
  border: 2px solid #6B1E1E;
  color: #6B1E1E;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skills-toggle button:hover {
  background-color: #6B1E1E;
  color: #F7F3EF;
}

.skills-toggle button.active {
  background-color: #6B1E1E;
  color: #F7F3EF;
}

.skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.skill-item {
  background-color: #fff;
  border: 1px solid #E5E0DC;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.skill-item:hover {
  border-color: #6B1E1E;
  transform: translateY(-4px);
}

.skill-item h3 {
  font-size: 1.4rem;
  color: #6B1E1E;
  margin-bottom: 0.6rem;
}

a {
  text-decoration: none;
}

/* ========== TECHNOLOGIES ========== */
#technologies {
  text-align: center;
  background: linear-gradient(180deg, #f0eae5 0%, #f7f3ef 100%);
  padding: 4rem 2rem 8rem 2rem;
  max-width: 1200px;
  margin: 5em auto;
}

#technologies h2 {
  font-size: 2.5rem;
  color: #6B1E1E;
  margin-bottom: 1rem;
}

#technologies h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #6B1E1E;
  margin: 0.8rem auto 2rem auto;
  border-radius: 2px;
}

#technologies .para {
  max-width: 700px;
  margin: 0 auto 4rem auto;
  color: #4E4B45;
  font-size: 1rem;
  line-height: 1.8;
}

.technologies-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.technology-item {
  background-color: #fff;
  border: 1px solid #E5E0DC;
  border-radius: 10px;
  padding: 2.5rem 2rem;
  text-align: left;
  transition: all 0.3s ease;
}

.technology-item:hover {
  border-color: #6B1E1E;
  transform: translateY(-4px);
}

.technology-item h3 {
  font-size: 1.4rem;
  color: #6B1E1E;
  margin-bottom: 0.6rem;
}

.technology-item p {
  font-size: 0.95rem;
  color: #4E4B45;
  line-height: 1.7;
}

/* ========== ABOUT ========== */
#about {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5rem;
  flex-wrap: wrap;
  padding: 4rem 2rem 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f0eae5 0%, #f7f3ef 100%);
}

#about .text {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

#about h2 {
  font-size: 2.6rem;
  color: #6B1E1E;
  text-align: center;
  margin-bottom: 2rem;
}

#about .imageabout img {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #6B1E1E;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ========== FOOTER ========== */
.footer {
  background-color: #1C1C1C;
  color: #B6AFA9;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}
