/* ===== DRESSCODE — voeg toe aan main.css ===== */

#dresscode-wrapper {
    width: 80%;
    margin: auto;
}

#dresscode-wrapper #heading h2 {
    margin: 4em 0 1em 0;
    font-size: 2.3rem;
    text-decoration: underline;
}

.part-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75em;
}

.dresscode-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    margin-bottom: 2em;
}

.dresscode-card {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dresscode-card--muted {
    background: rgba(0, 0, 0, 0.3);
}

/* Paletten */
.palette {
    height: 130px;
    display: flex;
}

.palette-bwg .p-black { flex: 2; background: #111; }
.palette-bwg .p-white { flex: 2; background: #f5f5f0; }
.palette-bwg .p-gold  { flex: 1; background: #c9a84c; }

.palette-party {
    height: 130px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}
.palette-party .p-pink   { background: #f4718a; }
.palette-party .p-orange { background: #f5a461; }
.palette-party .p-cyan   { background: #7de8d8; }
.palette-party .p-yellow { background: #f5e96b; }

/* Info blok onderaan kaart */
.dresscode-info {
    padding: 1.25rem;
    flex: 1;
}

.dresscode-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.4em;
    color: var(--text-color);
}

.dresscode-info p {
    font-size: 0.9rem;
    color: #aaa;
    line-height: 1.6;
    margin: 0 0 1em;
}

.dresscode-badge {
    display: inline-block;
    font-size: 0.75rem;
    padding: 4px 14px;
    border-radius: 2rem;
    font-family: 'Playfair Display', serif;
}

.badge-bwg {
    background: #2e2516;
    color: #c9a84c;
    border: 1px solid #c9a84c;
}

.badge-party {
    background: #3a0d1a;
    color: #f4718a;
    border: 1px solid #f4718a;
}

/* Swatch lijst */
.swatch-list {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.65em;
    height: 100%;
}

.swatch-title {
    font-size: 0.8rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.2em;
}

.swatch-row {
    display: flex;
    align-items: center;
    gap: 0.8em;
    font-size: 0.95rem;
    color: var(--text-color);
}

.swatch {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}

.swatch-note {
    font-size: 0.8rem;
    color: #666;
    font-style: italic;
    border-top: 1px solid #333;
    padding-top: 0.6em;
    margin-top: auto;
}

/* ===== RESPONSIVE ===== */

@media screen and (max-width: 1024px) {
    #dresscode-wrapper {
        width: 90%;
    }

    .dresscode-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.75em;
    }

    .palette,
    .palette-party {
        height: 110px;
    }
}

@media screen and (max-width: 700px) {
    .dresscode-grid {
        grid-template-columns: 1fr;
    }

    .palette,
    .palette-party {
        height: 100px;
    }
}
