:root {
  --font-main: 'Poppins', sans-serif;
  --color-main: #2B2B2B;
  --font-sub: 'Poppins';
}

/* === GENERAL BODY === */
body {
  margin: 0;
  background: #ffffff;
  font-family: var(--font-main);
  color: var(--color-main);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 100%;
  overflow-x: hidden;
  padding: 0 1rem;
}


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

/* === NAVIGATION === */
nav {
  width: 100%;
  height: 50px;
  margin-top: 2vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-group {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 25px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--color-main);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--color-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* Email */
.email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--color-main);
}

.email a {
  color: var(--color-main);
  text-decoration: none;
  position: relative;
  transition: color 0.3s;
}

.email a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: var(--color-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.email a:hover::after {
  transform: scaleX(1);
}

/* Blinking indicator */
.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: limegreen;
  animation: blink 4s infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

/* === MAIN CONTAINER === */
.container {
  width: 100%;
  max-width: 1450px;
  min-height: 80vh;
  background-color: #D9D9D9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 5vw 2vw;
  box-sizing: border-box;
  border-radius: 10px; /* Added border-radius */
}

.text-container {
  width: 60%;
  text-align: center;
}

h1 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 6vw, 4.5rem);
  letter-spacing: -1.5px;
  line-height: 0.9;
  color: var(--color-main);
}

p {
  font-family: var(--font-main);
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-top: -10px;
  color: var(--color-main);
  opacity: 0.8;
}

.underline {
  text-decoration: underline;
  text-decoration-color: var(--color-main);
  text-decoration-thickness: 2px;
}

.changing-font {
  transition: font-family 0.5s ease-in-out;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.button {
  width: clamp(120px, 30vw, 180px);
  height: clamp(45px, 8vw, 60px);
  border-radius: 10px;
  background-color: var(--color-main);
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin: 50px 0;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.wrapper-button {
  width: clamp(120px, 30vw, 220px);
  height: clamp(45px, 8vw, 60px);
  border-radius: 10px;
  background-color: var(--color-main);
  color: white;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  margin: 50px 0;
  padding-top: -20px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
  margin-top: 0.5rem;
}

.button:hover {
  transform: scale(1.05);
  background-color: #222;
}

.wrapper-button:hover {
  transform: scale(1.05);
  background-color: #222;
}

/* === ICON WRAPPER === */
.icon-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 8vh 0;
  padding: 2vh 0;
}

.icon-wrapper p {
  font-family: var(--font-main);
  font-size: clamp(1rem, 2vw, 1.5rem);
  margin-bottom: 2vh;
  color: var(--color-main);
  opacity: 0.8;
}

/* Icons layout */
.icon-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 2rem;
  justify-items: center;
  width: 100%;
  max-width: 600px;
}

/* Icon buttons */
.icon {
  width: 6vh;
  height: 6vh;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Hover effect */
.icon:hover img {
  transform: scale(1.2);
  filter: drop-shadow(0 0 5px rgba(0,0,0,0.2));
}

.icon:active img {
  transform: scale(1.1);
}

.text-wrapper {
    width: 100%;
    max-width: 1450px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.this-is-me p {
    margin-bottom: 1rem;
}

.black-line {
    top: 104%;
    scale: 1.1;
    position: absolute;
}

:root {
  --item-width: 485px;     /* base width */
  --item-height: 343px;    /* base height */
  --gap: 50px;             /* gap between items */
  --duration: 30s;         /* scroll speed */
}

/* container hides overflow */
.horizontal-scroll {
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  max-width: 1450px;
}

/* each group scrolls independently */
.group {
  display: flex;
  gap: var(--gap);
  animation: scrollLoop var(--duration) linear infinite;
  will-change: transform;
}

.horizontal-scroll:hover .group {
  animation-play-state: paused; /* optional: pause on hover */
}

/* individual items */
.horizontal-scroll-item {
  flex: 0 0 auto;
  width: var(--item-width);
  height: var(--item-height);
  border-radius: 12px;
  background-size: cover;
  background-position: center;
}

/* example images - replace with your own */
.item-1 { background-image: url("images/revivor_slide_image1.jpg"); }
.item-2 { background-image: url("images/sunglove_slide_image4.jpg"); }
.item-3 { background-image: url("images/lacers_slide_image2.jpg"); }
.item-4 { background-image: url("images/stressless_slide_image3.jpg"); }
.item-5 { background-image: url("images/thumbnails_slide_image5.jpg"); }
.item-6 { background-image: url("images/stadsliefde_afbeelding6.webp"); }
.item-7 { background-image: url("images/mamacita_afbeelding2.webp"); }
.item-8 { background-image: url("images/ddh_afbeelding1.webp"); }

.item-8 {
    margin-right: 5.3vh;
}

.item-5 {
    margin-right: 5.3vh;
}

/* Timeline wrapper */
.timeline {
  position: relative;
  margin: 50px auto;
  padding-left: 40px;
  max-width: 1450px;
  overflow-y: auto; /* allows vertical scrolling if content exceeds viewport */
  height: 80vh;
}

/* Timeline points */
.timeline-point {
  position: relative;
  margin-bottom: 50px;
}

/* Circle indicator */
.timeline-point::before {
  content: "";
  position: absolute;
  left: -11px; /* half of circle width */
  top: 0;
  width: 20px;
  height: 20px;
  background-color: #0A0A0A;
  border-radius: 50%;
  border: 3px solid white;
}

/* Date */
.timeline-date {
  font-weight: bold;
  padding-left: 30px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  color: #0A0A0A;
  font-size: 1.2rem;
}

/* Content box */
.timeline-content {
  background: #f5f5f5;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.timeline-content h3 {
  margin: 0 0 10px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  color: #0A0A0A;
}

.timeline-content p {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: #333;
  line-height: 1.5;
}

/* === FOOTER === */
.site-footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%); /* To make it truly full width */
  background-color: var(--color-main); /* Dark background */
  padding: 4rem 0;
  color: #ffffff; /* White text */
}

.footer-container {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-cta h2 {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
  color: #ffffff; /* Ensure heading is white */
}

.footer-contact h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 0 0.5rem 0;
  color: #ffffff; /* Ensure heading is white */
}

.footer-contact p {
  margin: 0.25rem 0;
  color: #ffffff; /* Ensure text is white */
}

.footer-profile img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.footer-divider {
  border-bottom: 4px dashed #ffffff; /* Bigger and bolder dashed line */
  margin: 2rem 0;
}

.footer-subtext p {
  text-align: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  color: #ffffff; /* Ensure text is white */
}

@media (max-width: 768px) {
  .site-footer {
    width: 100%;
    margin-left: 0;
    padding: 4rem 2rem;
  }

  .footer-main {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta, .footer-contact, .footer-profile {
    margin-bottom: 2rem;
  }

  .footer-cta h2 {
    font-size: 2rem;
  }
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  width: 100%;
  margin: 2rem 0;
}

.project-card {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--color-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card img {
  width: 100%;
  border-radius: 5px;
}

.project-card h3 {
  margin-top: 1rem;
  font-size: 1.5rem;
}

.project-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.project-card-header h3 {
  margin: 0;
}

.project-date {
  font-size: 1rem;
  opacity: 0.7;
}

.project-card p {
  font-size: 1rem;
  opacity: 0.8;
}

.project-header {
  width: 100%;
  margin-bottom: 2rem;
  position: relative;
}

.project-header img {
  width: 100%;
  height: auto;
  max-height: 90vh; /* Added to control vertical size */
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

.project-header h1 {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: white;
  margin: 0;
  font-size: 3rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.project-section {
  margin-bottom: 4rem;
  margin-top: 4rem;
}

.project-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}
.project-section p {
 max-width: 1000px;                                                                                 

}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.project-gallery-item {
  width: 100%;
}

.project-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.full-width {
  grid-column: span 2;
}

.other-projects-button {
  text-align: center;
  margin: 4rem 0;
}

.button-secondary {
  background-color: #fff;
  color: #2B2B2B;
  border: 1px solid #2B2B2B;
  padding: 1rem 2rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button-secondary:hover {
  background-color: #2B2B2B;
  color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

/* keyframes for infinite scrolling */
@keyframes scrollLoop {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* responsive adjustments */
@media (max-width: 900px) {
  :root {
    --item-width: 70vw;
    --item-height: calc(var(--item-width) * 343 / 485);
    --gap: 5vw;
    --duration: 35s;
  }
}

@media (max-width: 480px) {
  :root {
    --item-width: 85vw;
    --item-height: calc(var(--item-width) * 343 / 485);
    --gap: 6vw;
    --duration: 40s;
  }
}

@media (max-width: 1550px) {
    .black-line {
        display: none;
    }
}

/* === RESPONSIVE QUERIES === */
@media (max-width: 1024px) {
  .text-container {
    width: 80%;
  }

  .black-line {
    display: none;
  }
}

@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .logo img {
    height: 35px;
  }

  .email {
    font-size: 0.9rem;
  }

  .container {
    align-items: center;
    text-align: center;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  p {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .icon {
    width: 8vh;
    height: 8vh;
  }
  
}

@media (max-width: 480px) {
  .icon-row {
    gap: 5vw;
  }

  .icon {
    width: 12vw;
    height: 12vw;
  }

  .button {
    margin: 30px 0;
  }
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .project-card h3 {
    font-size: 1.25rem;
  }

  .project-card p {
    font-size: 0.9rem;
  }
}
