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

html{
    font-family: 'Roboto', sans-serif;
}

h1{
    background-image: linear-gradient(to right, #b91c1c, 80% , #ef4444);
    background-clip: text;
    color: transparent; 
    font-size: 1.5rem;   
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    padding: 1rem 2rem;
    border-bottom: 2px solid #ddd;
}
header button{
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
}

nav{
    width: 250px;
    min-width: 250px;
    height: 100%;
    border-right: 2px solid #ddd;
    display: flex;
    flex-direction: column;
    padding-top: 1rem;
    background: white;
}

.listItem {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #4b5563;
    padding: 0.9rem 1.5rem;
    margin: 4px 12px;
    width: auto;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}
a{
    text-decoration: none;
}

.listItem:hover {
    background-color: #fef2f2;
    color: #dc2626;
    transform: none;
}

.listItem.active {
    background-color: #dc2626;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.3);
}

main{
    display: flex;
    height: 100%;
    position: relative;
}

.searchHeader{
    background-color: white;
    display: flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    width: 350px;
    transition: all 0.2s ease;
}

.searchHeader:focus-within {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.searchHeader input{
    border: none;
    background: transparent;
    outline: none;
    margin-left: 10px;
    width: 100%;
    font-size: 0.95rem;
    color: #334155;
    font-weight: normal;
}

.ProjectenMain{
    background-color: #f8fafc; /* Softer background */
    width: 100%;
    padding: 1rem;
    overflow-y: auto;
}
.ondertitel{
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.Entry{
  padding: 0.6rem 1.2rem;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.2);
  transition: all 0.2s ease;
}

.Entry:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px -1px rgba(220, 38, 38, 0.3);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.splits{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.container {
    margin-top: 1.5rem;
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    max-width: 100%;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    font-family: 'Roboto', sans-serif;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.container:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    border-color: #e2e8f0;
}

.container h3 {
  margin-bottom: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e293b;
}

.container h4 {
  margin-bottom: 10px;
  font-size: 14px;
}

.log-titel{
  display: flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px dashed #e2e8f0;
}
.log-titel h2{ /* Optional if projecten.html calculates numbers */
  margin-right: 5px;
  font-size: 1rem;
}
.log-categorie{
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 20px;
  color: #b91c1c;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  font-weight: 600;
}

.almostDone{
  background-color: rgb(0, 224, 224);
  border-radius: 20px;
  color: white;
  font-size: 0.8rem;
  padding: 0.2rem;
}
.log-datum-uur{
  display: flex;
  color: #64748b;
  font-size: 0.85rem;
  gap: 24px;
  margin-bottom: 16px;
  align-items: center;
}
.log-flex-tags{
  display: flex;
  gap: 8px;
  margin-top: 15px;
  flex-wrap: wrap;
}
.tag{
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  color: #475569;
  font-weight: 600;
  transition: all 0.2s;
}

.tag:hover {
    background-color: #e2e8f0;
    color: #1e293b;
}

.log-Afgerond{
  background-color: #ecfdf5; /* Keep green for success/finished */
  color: #059669;
  border: 1px solid #a7f3d0;
  border-radius: 20px;
  font-size: 0.75rem;
  padding: 0.3rem 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

@media screen and (max-width: 768px) {
    .hamburger { display: block; }
    
    header { padding: 1rem; }
    .searchHeader { order: 3; width: 100%; margin-top: 10px; display: none; }
    
    nav {
        position: absolute;
        left: -100%;
        top: 70px;
        width: 100%;
        z-index: 1000;
        transition: 0.3s ease;
        height: calc(100vh - 70px);
        border-right: none;
    }
    
    nav.nav-active { left: 0; }
    
    .log-datum-uur { flex-direction: column; gap: 5px;}
    .log-flex-tags { flex-wrap: wrap; }
}