body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #1a1a1a;
    color: #f0f0f0;
}

.top-menu {
    background: #2e2e2e;
    padding: 10px 20px;
    display: flex;
    gap: 15px;
}

.top-menu a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
}

.top-menu a:hover {
    background: gold;
    color: black;
}

/* HERO */

.hero {
    position: relative;
    background:
        url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba')
        center/cover no-repeat;

    min-height: 20vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px 20px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.60);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 25px;
}

/* SEARCH */

.search-box {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.search-box input,
.search-box select {
    padding: 14px;
    border-radius: 8px;
    border: none;
    min-width: 200px;
    background: #2a2a2a;
    color: white;
}

.search-box button {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    background: gold;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

.search-box button:hover {
    transform: translateY(-2px);
}

/* SELECT2 */

.select2-container {
    min-width: 220px !important;
}

.select2-container--default .select2-selection--multiple {
    background: #2a2a2a;
    border: none;
    border-radius: 8px;
    min-height: 48px;
    padding: 4px 8px;
}

.select2-container--default .select2-selection__choice {
    background: gold !important;
    border: none !important;
    color: black !important;
    font-size: 12px;
    padding: 2px 8px;
}

.select2-container--default .select2-selection__rendered {
    color: white;
}

.select2-container--default .select2-search__field {
    color: white !important;
}

.select2-dropdown {
    background: #2a2a2a;
    border: 1px solid #444;
}

.select2-results__option {
    color: white;
}

.select2-container--default .select2-results__option--highlighted {
    background: gold !important;
    color: black !important;
}





/* tekst/valg */ .select2-container--default .select2-selection__rendered { display: flex; flex-wrap: wrap; gap: 5px; color: white; } 

/* tags */ .select2-selection__choice {
    background: gold !important;
    color: black !important;
    border: none !important;
    border-radius: 6px !important;

    padding: 4px 28px 4px 10px !important;
    font-size: 12px;

    position: relative;
}



/* dropdown (SAMME FARVE SOM FELTER) */ .select2-dropdown { background: #1a1a1a !important; 

/* vigtigt: matcher inputs */ color: #fff; border: none; } 

/* options */ .select2-results__option { background: #1a1a1a; color: #fff; } 

/* hover */ .select2-results__option--highlighted { background: gold !important; color: black !important; } 
/* checkbox look */ .select2-results__option::before { content: ''; width: 14px; height: 14px; margin-right: 8px; border: 1px solid #999; background: #fff; display: inline-block; } .select2-results__option[aria-selected="true"]::before { background-color: #0078d7; border-color: #0078d7; background-image: url("data:image/svg+xml,%3Csvg width='14' height='14'%3E%3Cpath d='M4 7l2 2 4-4' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; } 
/* RESULTS */ .results { flex: 1; } .results-header { display: flex; justify-content: space-between; margin-bottom: 20px; } 

/* FILTERS */

.filter-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;

    padding: 20px;

    background: #222;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.filter-bar button {
    background: #2e2e2e;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 30px;
    cursor: pointer;
    white-space: nowrap;
}

.filter-bar button.active {
    background: gold;
    color: black;
}

/* SECTION */

.castings-section {
    max-width: 1300px;
    margin: auto;
    padding: 35px 20px;
}

.section-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    color: #999;
}

/* GRID */

.casting-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(280px, 1fr));

    gap: 22px;
}

/* CARD */

.casting-card {
    background: #232323;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: 0.2s;
    border: 1px solid #333;
    position: relative;
}

.casting-card:hover {
    transform: translateY(-5px);
    border-color: gold;
}

.casting-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* BADGES */

.badge-row {
    position: absolute;
    top: 10px;
    left: 10px;

    display: flex;
    gap: 8px;
    z-index: 2;
}

.badge-row-right {
    position: absolute;
    top: 10px;
    right: 10px;

    display: flex;
    justify-content: flex-end;

    z-index: 2;
}

.badge {
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: bold;
}

.gold {
    background: gold;
    color: black;
}

.red {
    background: crimson;
}

.green {
    background: green;
}

.blue {
    background: deepskyblue;
    color: black;
}

/* CONTENT */

.casting-content {
    padding: 14px;
}

.casting-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.casting-top h3 {
    margin: 0;
    font-size: 20px;
}

.casting-pay {
    color: gold;
    font-size: 12px;
    font-weight: bold;
}

.casting-meta {
    margin-top: 6px;
    color: #aaa;
    font-size: 14px;
}

.casting-description {
    margin-top: 12px;
    line-height: 1.5;
    color: #ddd;
    font-size: 14px;
}

.casting-footer {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #999;
}

.casting-type {
    color: gold;
}

/* PAGINATION */

.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.page-btn {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #2a2a2a;
    border: 1px solid #444;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.page-btn:hover {
    border-color: gold;
    color: gold;
}

.page-btn.active {
    background: gold;
    color: black;
    border-color: gold;
}

.page-dots {
    color: #777;
}

/* LOAD MORE */

.load-more-section {
    text-align: center;
    padding-bottom: 50px;
}

.load-more-btn {
    padding: 14px 24px;
    background: #2e2e2e;
    color: white;
    border: 1px solid #444;
    border-radius: 8px;
    cursor: pointer;
}

.load-more-btn:hover {
    border-color: gold;
}

/* CTA */

.cta {
    text-align: center;
    padding: 60px 20px;
    background: #222;
}

.cta h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

.cta p {
    color: #bbb;
    margin-bottom: 25px;
}

.cta button {
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    background: gold;
    color: black;
    font-weight: bold;
    cursor: pointer;
}

/* FOOTER */

footer {
    background: #171717;
    padding: 35px 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    margin: 0 12px;
}

.footer-links a:hover {
    color: gold;
}

/* RESPONSIVE */

@media(max-width: 700px) {

    .hero h1 {
        font-size: 32px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input,
    .search-box select,
    .search-box button,
    .select2-container {
        width: 100% !important;
    }

}