/* ==========================================
   HeegMedia — Dark Landing Page
   ========================================== */

   /* PRELOADER */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #111213;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.1);
  border-top: 3px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Fade out animatie */
#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

:root {
  --bg: #111213;
  --panel: #1a1b1d;
  --text: #ffffff;
  --muted: rgba(255,255,255,0.6);
  --accent: rgba(255,255,255,0.08);
  --border: rgba(255,255,255,0.12);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  height: 100%;
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

/* NAVBAR */
.nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  padding: 2rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo img {
  height: 70px; /* vergroot de hoogte van het logo */
  width: auto; /* behoud de verhoudingen */
  display: block;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05); /* optioneel: subtiele hoververgroting */
}

.menu a {
  color: var(--muted);
  margin-left: 2rem;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: var(--text);
}

/* HERO */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(ellipse at center, #1c1d1f 0%, #0e0e10 100%);
  text-align: center;
  position: relative;
}

.hero-sub {
  color: var(--muted);
  font-size: 15px;
  letter-spacing: 0.3em;
  margin-bottom: 0,2rem;
  position: relative;
  left: -200px; /* schuift "IK BEN" iets naar links */
}

.hero-title {
  font-size: clamp(48px, 10vw, 110px);
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-role {
  font-size: 14px;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.2em;
  position: relative;
  right: -100px; /* schuift "GRAFISCH & MARKETING FREELANCER" iets naar rechts */
}


/* SOCIALS */
.socials {
  position: absolute;
  left: 4rem;
  bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.socials a {
  color: var(--muted);
  font-size: 12px;
  transition: color 0.3s ease;
}

.socials a:hover {
  color: var(--text);
}

/* PROJECT SECTION */
/* ==========================================
   PROJECT SECTION – TURA STYLE
   ========================================== */
.project {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1b1c1e 0%, #0e0e10 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-content {
  position: relative;
  z-index: 2;
}

.project-preview {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 0; /* geen extra ruimte onder de afbeeldingen */
  perspective: 1000px;
}

.preview-img {
  width: 240px;
  height: 320px;
  object-fit: cover;
  transition: all 0.5s ease;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  filter: brightness(0.6);
  transform: scale(0.9);
  border-radius: 0;
}

.preview-img.main {
  width: 280px;
  height: 370px;
  filter: brightness(1) contrast(1.1);
  transform: scale(1.1);
  z-index: 2;
}

.preview-img.blur {
  filter: blur(3px) brightness(0.35);
  opacity: 0.6;
  transform: scale(0.9);
}

/* === Tekstblok die dichter bij de beelden ligt === */
.project-textblock {
  margin-top: -60px; /* schuift tekst omhoog */
  text-align: center;
}

.project-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.2em;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.project-text {
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 1.8rem;
  line-height: 1.7;
  font-size: 15px;
  opacity: 0.85;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Button */
.btn {
  display: inline-block;
  border: 1px solid var(--border);
  padding: 12px 32px;
  border-radius: 999px;
  color: var(--text);
  font-size: 14px;
  letter-spacing: 0.12em;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.3);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: linear-gradient(to top, #0d0d0e, transparent);
  padding: 3rem 4rem;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
}

.footer-socials a {
  color: var(--muted);
  font-size: 16px;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  color: var(--text);
  transform: translateY(-3px);
}

.footer-text {
  opacity: 0.6;
}


/* ==========================================
   CONTACT PAGINA
   ========================================== */
.contact-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1c1d1f 0%, #0f0f10 100%);
  padding: 140px 0;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 1000px;
  width: 100%;
  padding: 2rem;
}

@media (min-width: 900px) {
  .contact-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.contact-info {
  flex: 1;
  color: var(--text);
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.contact-text {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 14px;
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

/* FORM */
.contact-form {
  flex: 1;
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.25);
}

.contact-form .btn {
  margin-top: 1rem;
  background: var(--accent);
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: 600;
}

.contact-form .btn:hover {
  background: rgba(255,255,255,0.15);
}

/* ==========================================
   PROJECTEN PAGINA
   ========================================== */

.projects-section {
  min-height: 100vh;
  background: radial-gradient(circle at center, #1c1d1f 0%, #0f0f10 100%);
  padding: 180px 4rem 100px;
  color: var(--text);
  text-align: center;
}

.projects-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.projects-subtitle {
  color: var(--muted);
  font-size: 15px;
  max-width: 600px;
  margin: 0 auto 4rem;
  line-height: 1.6;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.project-card {
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

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

.project-info {
  padding: 1.5rem;
}

.project-info h3 {
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.project-info p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.project-info .btn {
  font-size: 12px;
  padding: 8px 20px;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--border);
}

/* ==========================================
   UITKLAPBARE PROJECTEN
   ========================================== */

.project-details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 1.5rem;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: all 0.5s ease;
}

.project-details.active {
  max-height: 500px; /* voldoende ruimte voor tekst */
  opacity: 1;
  padding: 1.5rem;
}

.project-details p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.project-details strong {
  color: var(--text);
  font-weight: 600;
}

.projects-section .btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.3s ease;
}




