:root {
--oranje: #f47c2c;
--donker-oranje: #ff6a00;
--geel: #f4d35e;
--licht-geel: #ffe066;
--groen: #7ed957;
--zwart: #111;
--wit: #fff;
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Arial, sans-serif;
}

body {
background: var(--oranje);
color: var(--zwart);
display: flex;
flex-direction: column;
min-height: 100vh;
}

/* HEADER */
header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 20px;
background: var(--zwart);
color: var(--wit);
}

.logo {
font-weight: bold;
}

nav {
display: flex;
gap: 20px;
}

nav a {
color: var(--wit);
text-decoration: none;
color: var(--wit);
text-decoration: none;
font-size: 18px;
font-weight: 600;
position: relative;
}

.hamburger {
display: none;
font-size: 24px;
cursor: pointer;
}

.btn {
display: inline-block;
margin-top: 20px;
padding: 10px 20px;
background: var(--geel);
color: black;
text-decoration: none;
border-radius: 5px;
}

/* CONTENT */
.content {
padding: 40px 20px;
}

/* FOOTER */
footer {
text-align: center;
padding: 20px;
background: var(--zwart);
color: white;
margin-top: auto;
}

/* ACTIVE LINK */
nav a.active {
color: var(--geel);
}
  
nav a.active::after {
content: "";
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 3px;
background: var(--geel);
border-radius: 2px;
}
  
/* HOVER EFFECT (extra nice) */
nav a:hover {
color: var(--licht-geel);
}

/* Nieuwe grid voor shirts */
.shirt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
  }
  
  .shirt-item {
    background: var(--wit);
    padding: 15px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .shirt-item img {
    width: 100%;
    height: 250px;  /* Fixed height for uniformity */
    object-fit: cover;  /* Keeps aspect ratio without stretching */
    border-radius: 5px;
  }
  
  .shirt-item h3 {
    margin-top: 10px;
    font-size: 16px;
  }
  
  .shirt-item p {
    font-size: 14px;
    color: var(--donker-oranje);
    margin-top: 5px;
  }
  .banner img {
    width: 100vw;
    height: 60vh;
    object-fit: cover;
    object-position: center center;
    top: 0;
    left: 0;
    z-index: -1;
    margin-bottom: 15vh;
  }
  .home-content p {
    font-size: 18px;
    color: var(--zwart);
    margin-top: 10px;
    max-width: 800px; /* Optional, limits the width of the paragraph */
  }
  
  
  @media (max-width: 480px) {
    .shirt-grid {
      grid-template-columns: 1fr;
    }
    .home-content h2 {
      font-size: 24px;
    }
    
      .home-content p {
        font-size: 14px;
    }
  }
  .home-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: var(--licht-geel); /* Background color for the content */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: -60px; /* Pushes the content up a bit to overlap with the banner */
    z-index: 1;
    text-align: center;
  }
  
  .home-content h2 {
    font-size: 32px;
    color: var(--zwart);
    font-weight: bold;
  }
  
  .home-content p {
    font-size: 18px;
    color: var(--zwart);
    margin-top: 10px;
    max-width: 800px; /* Optional, limits the width of the paragraph */
  }
  .selfie-section {
    text-align: center;
    padding: 40px 20px;
  }
  
  .camera-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
  }
  
  #camera-feed {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
  }
  
  #overlay-image {
    position: absolute;
    top: 30%; /* Move it lower, adjust as needed */
    left: 50%; /* Center it horizontally */
    transform: translateX(-50%); /* Ensure it's perfectly centered */
    width: 8%;  /* Set the overlay image width to 8% of the video width (smaller) */
    height: auto; /* Maintain the aspect ratio */
    pointer-events: none; /* Prevent overlay from blocking interactions */
    z-index: 1;
    object-fit: contain; /* Keep the overlay image's proportions intact */
  }
  
  #capture-btn {
    padding: 10px 20px;
    background: var(--geel);
    color: var(--zwart);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  }
  
  #capture-btn:hover {
    background: var(--donker-oranje);
  }
  
  /* Canvas for capturing selfie (hidden) */
  #selfie-canvas {
    display: none;
  }
  

/* RESPONSIVE */
@media (max-width: 768px) {
    nav {
        display: none;
        flex-direction: column;
        background: var(--zwart);
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        padding: 10px;
    }

    nav.active {
        display: flex;
    }

    .hamburger {
        display: block;
    }

    .products {
        grid-template-columns: 1fr;
    }
    .banner-content h1 {
        font-size: 30px;
      }
    
      .banner-content p {
        font-size: 16px;
      }
      .home-content h2 {
        font-size: 26px;
      }
    
      .home-content p {
        font-size: 16px;
      }
      .shirt-grid {
        grid-template-columns: 1fr 1fr;
      }
}