:root {
    --main-background: rgb(59, 59, 59);
    --ad-background: rgb(50, 50, 50);
    --font-overall: Arial, sans-serif;
    --text-color: #d3d3d3;
}

body {
    background-color: var(--main-background);
    color: var(--text-color);
    font-family: Arial, sans-serif;
    margin: 0;
}

.title-top {
    font-weight: bold;
    font-size: 1.1em;
}

.hr-rounded {
    border: none;
    height: 4px;
    background: #e5e5e5;
    border-radius: 999px;
    margin: 22px 0;
}

.title-bottom {
    font-size: 1.2rem;
    color: var(--text-color);
}

.title {
    display: inline-block;   /* titel wordt zo breed als zijn inhoud */
}

.nap-check {
    color: #00ff00; /* felgroen */
    font-weight: bold;
}






h1 {
    margin-top: 50px;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-color);
}

h2{
    margin-top: -30px;
    text-align: center;   
    color: var(--text-color);
    margin-bottom: 35px;
}


/* GRID VOOR KAARTEN */
#adList {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    padding: 20px;
    padding-bottom: 100px;
}

/* CARD-STYLING */
.card {
    background: var(--ad-background);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    position: relative; 
    padding-bottom: 18px;

    /* nieuwe shadow box */
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.3),    /* subtiele interne diepte */
        0 8px 20px rgba(0,0,0,0.5),   /* grotere blur voor “zweven” effect */
        0 12px 40px rgba(0,0,0,0.2);  /* extra diepte */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Optioneel: hover effect voor meer diepte */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 6px 12px rgba(0,0,0,0.4),
        0 12px 30px rgba(0,0,0,0.6),
        0 16px 50px rgba(0,0,0,0.3);
}


.card img {
    width: 100%;
    object-fit: cover;
    display: block;
}

.title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: -20px;
    text-align: center;
    width: 100%;
    padding: 10px;
}

.card-content {
    padding: 18px;
    padding-bottom: 0;
    height: auto;
    position: relative; /* voor SoH-badge */
}

.meta {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 6px;
}

.description {
    margin: 10px 0 15px 0;
    font-size: 14px;
    color: #ddd;
    min-height: 40px;
}

/* SoH Badge */
.soh-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #005500;
    color: white;
    font-weight: bold;
    border-radius: 50%;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 10;

    display: none;
}

/* CARD FOOTER: link + prijs in dezelfde row */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid #2a2a2a;
    margin-top: auto; /* altijd onderaan card-content */
}

.card-footer a {
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    color: red;
}

.card-footer a::after {
    content: " >";
    font-weight: bold;
}

/* Performance badge */
.performance-badge {
    width: fit-content;
    height: 4px;
    background-color: red;
    margin-top: 4px;
    border-radius: 2px;
}

/* HR rounded */
.hr-rounded {
    border: none;
    height: 2px;
    background: #e0e0e0;
    border-radius: 100px;
    margin: 12px 0;
}

.middle-row {
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}


.bottom-row {
    font-size: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.price {
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: bold;
}

.view-link {
    display: flex;      /* zorgt dat het pijltje mooi meebeweegt */
    text-decoration: none;
    font-size: 1.4rem;
    color: var(--text-color);
    font-weight: bold;    
    padding: 0;
    border: none;
    background: none;
}