/* =============================================================
   GrillBrothers — centraal dark theme
   Unified card + grid styles voor alle elementen
   ============================================================= */

/* ── CSS-variabelen (framework-overrides) ─────────────────── */
:root {
    /* Surfaces */
    --color-surface-white: 28, 28, 36;
    --color-surface-gray-light: 35, 35, 46;
    --color-surface-gray: 42, 42, 55;

    /* Tekst */
    --color-text-primary: rgba(255, 255, 255, 0.92);
    --color-text-secondary: rgba(255, 255, 255, 0.65);
    --color-text-muted: rgba(255, 255, 255, 0.45);

    /* Borders */
    --color-border-default: rgba(255, 255, 255, 0.1);
    --color-border-medium: rgba(255, 255, 255, 0.18);
    --color-border-light: rgba(255, 255, 255, 0.06);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.65);
}

/* ── Unified grid ─────────────────────────────────────────── */
.vendorGrid,
.restaurantGrid,
.bookGrid,
.podcastGrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    padding: var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.vendorGrid__item,
.restaurantGrid__item,
.bookGrid__item,
.podcastGrid__item {
    display: flex;
}

@media (max-width: 1024px) {
    .vendorGrid,
    .restaurantGrid,
    .bookGrid,
    .podcastGrid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: var(--space-md);
        padding: var(--space-lg);
    }
}

@media (max-width: 640px) {
    .vendorGrid,
    .restaurantGrid,
    .bookGrid,
    .podcastGrid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        padding: var(--space-md);
    }
}

@media (min-width: 1400px) {
    .vendorGrid,
    .restaurantGrid,
    .bookGrid,
    .podcastGrid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Unified card ─────────────────────────────────────────── */
.vendorCard,
.restaurantCard,
.bookCard,
.podcastCard {
    position: relative;
    display: flex;
    flex-direction: column;
    background: rgb(28, 28, 36);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    width: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.vendorCard:hover,
.restaurantCard:hover,
.bookCard:hover,
.podcastCard:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ── Banner ── */
.vendorCard__banner,
.restaurantCard__banner,
.bookCard__banner,
.podcastCard__banner {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.vendorCard__bannerPlaceholder,
.restaurantCard__bannerPlaceholder,
.bookCard__bannerPlaceholder,
.podcastCard__bannerPlaceholder {
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, rgb(35, 35, 46) 0%, rgb(48, 48, 62) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    color: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

/* ── Content ── */
.vendorCard__content,
.restaurantCard__content,
.bookCard__content,
.podcastCard__content {
    flex: 1;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

/* ── Header ── */
.vendorCard__header,
.restaurantCard__header,
.bookCard__header,
.podcastCard__header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

/* ── Logo / Cover cirkel ── */
.vendorCard__logo,
.restaurantCard__logo,
.bookCard__cover,
.podcastCard__cover {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.vendorCard__logoPlaceholder,
.restaurantCard__logoPlaceholder,
.bookCard__coverPlaceholder,
.podcastCard__coverPlaceholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgb(35, 35, 46) 0%, rgb(48, 48, 62) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* ── Header info ── */
.vendorCard__headerInfo,
.restaurantCard__headerInfo,
.bookCard__headerInfo,
.podcastCard__headerInfo {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

/* ── Naam ── */
.vendorCard__name,
.restaurantCard__name,
.bookCard__name,
.podcastCard__name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Locatie / auteur / host ── */
.vendorCard__location,
.restaurantCard__location,
.bookCard__location,
.podcastCard__location {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
}

.vendorCard__location i,
.restaurantCard__location i,
.bookCard__location i,
.podcastCard__location i {
    color: rgb(224, 120, 40);
    font-size: 11px;
}

/* ── Goedgekeurd badge ── */
.vendorCard__approved,
.restaurantCard__approved,
.bookCard__approved,
.podcastCard__approved {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 12px;
    font-weight: 500;
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
    padding: var(--space-xs) var(--space-sm);
    border-radius: 20px;
    width: fit-content;
}

.vendorCard__approved i,
.restaurantCard__approved i,
.bookCard__approved i,
.podcastCard__approved i {
    font-size: 11px;
}

/* ── Beschrijving ── */
.vendorCard__description,
.restaurantCard__description,
.bookCard__description,
.podcastCard__description {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    flex: 1;
}

/* ── Rating ── */
.vendorCard__rating,
.restaurantCard__rating,
.bookCard__rating,
.podcastCard__rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.vendorCard__stars,
.restaurantCard__stars,
.bookCard__stars,
.podcastCard__stars {
    display: flex;
    gap: 2px;
}

.vendorCard__stars i,
.restaurantCard__stars i,
.bookCard__stars i,
.podcastCard__stars i {
    font-size: 14px;
    color: rgb(224, 120, 40);
}

.vendorCard__ratingValue,
.restaurantCard__ratingValue,
.bookCard__ratingValue,
.podcastCard__ratingValue {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

/* ── Responsive cards ── */
@media (max-width: 768px) {
    .vendorCard__name,
    .restaurantCard__name,
    .bookCard__name,
    .podcastCard__name {
        font-size: 14px;
    }

    .vendorCard__description,
    .restaurantCard__description,
    .bookCard__description,
    .podcastCard__description {
        font-size: 12px;
    }

    .vendorCard__content,
    .restaurantCard__content,
    .bookCard__content,
    .podcastCard__content {
        padding: var(--space-sm);
    }

    .vendorCard__logo,
    .vendorCard__logoPlaceholder,
    .restaurantCard__logo,
    .restaurantCard__logoPlaceholder,
    .bookCard__cover,
    .bookCard__coverPlaceholder,
    .podcastCard__cover,
    .podcastCard__coverPlaceholder {
        width: 40px;
        height: 40px;
    }
}

/* ── EventCard (horizontale layout) ──────────────────────── */
.eventCard {
    display: flex;
    flex-direction: row;
    background: rgb(28, 28, 36);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--space-lg);
    gap: var(--space-lg);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.eventCard:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.2);
}

.eventCard__dateMonth {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.eventCard__title {
    color: rgba(255, 255, 255, 0.92);
}

.eventCard__description {
    color: rgba(255, 255, 255, 0.45);
}

.eventCard__metaItem {
    color: rgba(255, 255, 255, 0.45);
}

.eventCard__metaItem i {
    color: rgba(255, 255, 255, 0.35);
}

/* Event type badges – dark varianten */
.eventCard__typeBadge--workshop {
    color: #a5b4fc;
    background: rgba(99, 102, 241, 0.15);
}

.eventCard__typeBadge--festival {
    color: rgb(224, 120, 40);
    background: rgba(224, 120, 40, 0.12);
}

.eventCard__typeBadge--open_day {
    color: #34d399;
    background: rgba(52, 211, 153, 0.12);
}

.eventCard__typeBadge--competition {
    color: #f87171;
    background: rgba(239, 68, 68, 0.12);
}

.eventCard__soldOutBadge {
    color: rgb(224, 120, 40);
    background: rgba(224, 120, 40, 0.12);
}

.eventCard__dateDay--workshop { color: #a5b4fc; }
.eventCard__dateDay--open_day { color: #34d399; }
.eventCard__dateDay--competition { color: #f87171; }

.eventCard__metaLink {
    color: #34d399;
}

.eventCard__metaLink:hover {
    color: #6ee7b7;
}

/* EventGrid */
.eventGrid__title {
    color: rgba(255, 255, 255, 0.92);
}

/* ── ContentGrid ──────────────────────────────────────────── */
.contentGrid__title {
    color: rgba(255, 255, 255, 0.92);
}

.contentGrid__subtitle {
    color: rgba(255, 255, 255, 0.45);
}

.contentCard {
    background: rgb(28, 28, 36);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.contentCard:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.7);
    border-color: rgba(255, 255, 255, 0.2);
}

.contentCard__title {
    color: rgba(255, 255, 255, 0.92);
}

.contentCard__description {
    color: rgba(255, 255, 255, 0.45);
}

.contentCard__badge {
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.08);
}

.contentCard__ratingValue {
    color: rgba(255, 255, 255, 0.75);
}

.contentCard__footerItem {
    color: rgba(255, 255, 255, 0.45);
}

.contentCard__footerItem i {
    color: rgba(255, 255, 255, 0.3);
}

/* ── HeroHeader ───────────────────────────────────────────── */
.heroHeader--light {
    background-color: rgb(20, 20, 28);
    color: rgba(255, 255, 255, 0.92);
}

/* ── HeaderAction ─────────────────────────────────────────── */
.headerAction--label {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.85);
}

.headerAction--label:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

/* ── Notices: dark variant ────────────────────────────────── */
.notice__success {
    background: rgba(22, 163, 74, 0.15);
    border-left-color: #16a34a;
    color: #4ade80;
}

.notice__success .notice__icon { color: #4ade80; }

.notice__fail {
    background: rgba(220, 38, 38, 0.15);
    border-left-color: #dc2626;
    color: #f87171;
}

.notice__fail .notice__icon { color: #f87171; }

.notice__info {
    background: rgba(37, 99, 235, 0.15);
    border-left-color: #2563eb;
    color: #93c5fd;
}

.notice__info .notice__icon { color: #93c5fd; }

.notice__warning,
.notice__question {
    background: rgba(217, 119, 6, 0.15);
    border-left-color: #d97706;
    color: #fcd34d;
}

.notice__warning .notice__icon,
.notice__question .notice__icon {
    color: #fcd34d;
}
