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

:root {
    --PaginaAchter: #f0f4ff;
    --NavCards: #ffffff;
    --HoveringTxt: #dbeafe;
    --AccentBlauw: #1a56db;
    --AccentLicht: #dbeafe;
    --AccentMidden: #93c5fd;
    --ZwartTxt: #111827;
    --SubTxt: #6b7280;
    --BorderKleur: #e1eaf5;
    --BlauDonker: #1e40af;
    --BlauZeerDonker: #1e3a8a;
    --BlauZachtLicht: #eff6ff;
    --GroenAccent:#15803d;
    --GoudKleur:#f59e0b;
}
body{
    background-color: var(--PaginaAchter);
    padding-top: 5rem;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ZwartTxt);
    
}

/* Nav Bar */

nav{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 0.75rem 1rem;
    background-color: var(--PaginaAchter);
}
#NavContainer{
    background-color: var(--NavCards);
    box-shadow: 0 2px 12px rgba(0, 0, 0 ,0.1);
    border-radius: 0.5rem;
    height: 3.4rem;
    display: grid;
    grid-template-columns: auto  1fr  auto auto auto;
    align-items: center;
    padding: 0 1rem;
}
.Logo{
    display: flex;
    align-items: baseline;
    gap: 0.5rem; 
    padding-left: 1rem;
}
.Logo .TXT1 h2{
    font-size: 0.95rem;
}
.Logo .TXT2 h2{
    display: none;
}
.Logo h6{
    font-size: 0.65rem;
    background-color: var(--AccentBlauw);
    color: var(--AccentLicht);
    padding: 0.12rem 0.3rem;
    border-radius: 0.25rem;
    position: relative;
    bottom: 0.5rem;
    margin-left: 0.6rem;
}
.Opties details{
        display: unset;
        position: relative;

}
.Opties .groot details summary{
    display: none;
    min-width:601 ;
}

.Opties .klein{
    display: none;
}
.Opties details ul {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    padding-left: 2rem;
}
.Opties details ul li a {
    text-decoration: none;
    color: var(--SubTxt);
    font-size: 0.9rem;
    padding: 0.35rem 0.75rem;
    border-radius: 0.35rem;
    display: block;
    transition: 0.25s;
}
.Opties details ul li a:hover, .Opties details ul li a.Gekozen{
    background-color: var(--AccentBlauw);
    color: var(--AccentLicht);
}

/* winkelwagentje */
.WinkelWagen{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--BorderKleur);
    border-radius: 0.37rem;
    cursor: pointer;
    margin: 0 0.5rem;
    transition: 0.25s;
}
.WinkelWagen:hover{
    border-color: var(--AccentBlauw);
    background-color: var(--AccentLicht);
    transform: translateY(-2px);
}

.Inloggen {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid var(--BorderKleur);
    border-radius: 0.37rem;
    cursor: pointer;
    margin: 0 0.5rem;
    color: var(--SubTxt);
    transition: 0.25s;
}
.Inloggen:hover {
    border-color: var(--AccentBlauw);
    background-color: var(--AccentLicht);
    color: var(--AccentBlauw);
    transform: translateY(-2px);
}

/* header */
header{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 500px;
}

.ImagePlaceHolder {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 5px 25px rgba(17, 24, 39, 0.12);
}

.Introduction .ImagePlaceHolder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.45s;
}
.ImagePlaceHolder:hover img {
    transform: scale(1.04);
}
.Intro{
    position: absolute;
    top: 33%;
    left: 37.5%;
    

    color: #ffffff;
    font-family: 'Times New Roman', Times, serif;
    font-size: 2rem;
    
    font-weight: 900;
    text-align: center;
    z-index: 1;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* main */
main{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 4rem;
}
.Arrivals{
    margin-bottom: 1.5rem;
}
.Arrivals h1{
    font-size: 1.7rem;
    font-weight: 700;
}
#NieuwePc{
    display: grid;
    grid-template-columns: 1fr  0fr 1fr;
    gap: 1.5rem;
}
.PcKaart{
    background-color: var(--NavCards);
    border: 1px solid var(--BorderKleur);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: 0.3s;

}

.PcKaart:hover{
    /*hovering effect*/
    box-shadow: 0 5px 25px rgba(26, 86, 219, 0.12);
    transform: translateY(-5px);
    border-color: var(--AccentMidden);


}
.PcFoto img{
    width: 160%;
    height: 100%;
    transition: 0.35s;

    
}
.PcFoto{
    position: relative;
    width: 100%;
    height: 200px;
    background: linear-gradient(205deg, #2a2a2c 38%, #898b8d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--SubTxt);
    font-size: 0.85rem;
    overflow: hidden;
}
.PcKaart:hover .PcFoto img{
    transform: translateY(-8px) scale(1.05);
}
.PcInfo {
    padding: 1.25rem;
}
.PcInfo h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    transition: 0.25s;
}
.PcKaart:hover .PcInfo h3 {
    color: var(--AccentBlauw);
}
.PcSub {
    font-size: 0.85rem;
    color: var(--SubTxt);
    margin-bottom: 0.5rem;
}
.PcLevering {
    font-size: 0.75rem;
    color: var(--GroenAccent);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.PcSterren {
    font-size: 0.85rem;
    color: var(--GoudKleur);
    margin-bottom: 0.75rem;
}
.PcSterren span {
    color: var(--SubTxt);
    font-size: 0.75rem;
}
.PcPrijs {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--AccentPaars);
    margin-bottom: 1rem;
}
.PcBtn{
    width: 100%;
    padding: 0.6rem;
    background: linear-gradient(205deg, #2a2a2c 38%, #898b8d 100%);
    color: var(--AccentLicht);
    border: none;
    border-radius: 0.37rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
    
}
.PcBtn:hover {

    background: linear-gradient(180deg, #2a2a2c 38%, #898b8d 100%) ;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(17, 24, 39, 0.25);

}
.PcBtn:active {
    transform: scale(0.98);
}

/* Footer */
footer{
    background-color: var(--NavCards);
    border-top: 1px solid var(--BorderKleur); 
    padding: 2.5rem 1rem 1rem;
}
#FooterContainer{
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--BorderKleur);
}
.FooterKolom h4{
    font-weight: 700;
    color: var(--ZwartTxt);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.FooterKolom p {
    font-size: 0.85rem;
    color: var(--SubTxt);
    line-height: 1.6;
}
.FooterKolom ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.FooterKolom ul li {
    font-size: 0.85rem;
    color: var(--SubTxt);
}
.FooterKolom ul li a {
    text-decoration: none;
    color: var(--SubTxt);
}
.FooterKolom ul li a:hover {
    color: var(--AccentBlauw);
}
#FooterBodem {
    max-width: 1200px;
    margin: 1rem auto 0;
    font-size: 0.75rem;
    color: var(--SubTxt);
    text-align: center;
}


/* tablet */
@media screen and (max-width: 800px){
    .Arrivals{
        margin-left: 0;
        text-align: center;
    }
    #NavContainer{
        width: 100%;

    }
    header{
        height: 320px;
    }
    .ImagePlaceHolder {
        height: 320px;
    }
    #NieuwePc{
        grid-template-columns: 1fr;
        margin-left: 0;
        grid-template-rows: auto;
    }
    .LeegRuimte{
        display: none;
    }
    .Logo .TXT1 h2{
        display: none;
    }
    .Logo .TXT2 h2{
        display: unset;
        font-size: 0.95rem;
    }
    .Introduction{
        width: 100%;
        height: auto;
    }
    .Introduction .ImagePlaceHolder img{
        width: 100%;
        height: 100%;
    }

    
    .Intro {
        font-size: 1.4rem;
        white-space: normal;
        text-align: center;
        left: 38.5%;
        top: 36%;
    }
    .Opties .groot, .Opties .groot details{
        display: none;
    }
    .Opties .klein, .Opties .klein details{
        display: unset;
    }
    .Opties .klein details {
        display: block;
        position: relative;
    }
    .Opties .klein details summary {
        display: block;
        cursor: pointer;
        padding: 0.375rem 0.75rem;
        border-radius: 0.375rem;
        font-size: 0.9rem;
        color: var(--SubTxt);
        list-style: none;
    }
    .Opties .klein details summary:hover {
        background-color: var(--AccentLicht);
        color: var(--ZwartTxt);
    }
    .Opties .klein details ul {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        padding: 0.5rem;
        position: absolute;
        top: 2.5rem;
        left: 0;
        background-color: var(--NavCards);
        border: 1px solid var(--BorderKleur);
        border-radius: 0.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        z-index: 999;
        min-width: 140px;
    }
    .Opties .klein details ul li a {
        font-size: 1rem;
        padding: 0.6rem 1rem;
        width: 100%;
    }
    
    .PcFoto:first-child{
        width: 100%;
        height: 200px;
    }
    #FooterContainer {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width:425px) {
    

    #NavContainer{
        grid-template-columns: auto  1fr  auto auto auto;
        margin-right: 2rem;
    }
    header{
        height: 250px;
        padding: 0 0.75rem;
    }
    .Logo{
        display: flex;
        align-items: baseline;
        gap: 0.05rem; 
        padding-left: 0.1rem;

    }
    .ImagePlaceHolder{
        height: 250px;
    }
    .Introduction .ImagePlaceHolder img{
        width: 100%;
        height: 100%;
    }
    .Intro{
        top: 38%;
        left: 31%;
        font-size: 1.2rem;
    }
    .Arrivals{
        margin-left: 0;
        text-align: center;
    }
    #NieuwePc{
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        margin-left: 0;
    }
    .PcFoto:first-child{
        height: 180px;
    }
    .PcFoto:first-child img{
        width: 145%;
        height: 100%;
        
    }
    .Logo h6{
        font-size: 0.5rem;
    }
    .PcBtn{
        margin-bottom: 0;
    }


}
