/* Hero Section (match about-hero look) */
.roster-hero {
    height: 30vh;
    /* min-height: 400px; */
    display: flex;
    align-items: center;
    justify-content: center;

    background-color: var(--color-black);
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../images/about_us_bg.jpg');
    background-size: cover;
    background-position: center;

    border-radius: 0 0 60px 60px;
    margin-bottom: 2rem;
}

.roster-hero h1 {
    font-size: 5vw; /* Default for desktop */
}

/* Inner Page Navbar Overrides (match about.css) */
.inner-page .navbar {
    /* background: rgba(255, 255, 255, 0.95); */
    background: rgba(0,0,0,0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 0px 20px;
}

.inner-page .navbar .scrolled-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.inner-page .navbar-brand {
    color: var(--color-black);
}

.inner-page .navbar-brand img {
    max-height: 100px;
}

.inner-page .menu-trigger {
    color: var(--color-white);
}

.inner-page .menu-icon {
    /* border-color: rgba(0, 0, 0, 0.2); */
    /* color: var(--color-black); */
}

.roster-page .page-header {
    margin-bottom: 2rem;
}

.roster-page .page-header h2 {
    font-family: var(--font-heading);
}

.roster-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0 1.5rem;
}

.view-toggle {
    display: inline-flex;
    gap: 0.5rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 999px;
    padding: 0.4rem;
}

.view-btn {
    border: 0;
    background: transparent;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.6);
    transition: background 0.2s ease, color 0.2s ease;
}

.view-btn.active {
    background: #fff;
    color: #000;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.search-filter-bar {
    flex: 1;
    min-width: 260px;
}

.search-bar {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.9rem 1.1rem;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.search-bar:focus {
    border-color: rgba(0, 0, 0, 0.25);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}

/* .filters-section {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 1.25rem;
} */

.filters-section {
    position: sticky;
    top: 110px;
    z-index: 999;

    background: rgba(245, 245, 245, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    padding: 1.25rem;
    margin-top: 1rem;
}

/* @media (max-width: 768px) {
    .filters-section {
        top: 2px;
    }
} */

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.filters-header h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 800;
}

.btn-text {
    border: 0;
    background: transparent;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: underline;
}

.filters-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 991.98px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
    .roster-hero h1 {
        font-size: 10vw; 
    }
}

.filter-group .filter-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: rgba(0, 0, 0, 0.65);
}

.filters-grid .form-control {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0.85rem;
    font-size: 0.9rem;
}

.results-header {
    margin: 1.25rem 0;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.65);
}

/* Grid */
.roster-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.roster-grid.list-view {
    grid-template-columns: 1fr;
}

.talent-card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    padding: 1.25rem;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    overflow: hidden;
}

.talent-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
}

.talent-card .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(212, 175, 55, 0.14);
    color: #7a5a00;
    border: 1px solid rgba(212, 175, 55, 0.28);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.75rem;
    font-weight: 800;
}


.artist-image {
    width: 100%;
    aspect-ratio: 2 / 3;
    border-radius: 14px;
    overflow: hidden;
    background: #f2f2f2;
    border: 1px solid rgba(0, 0, 0, 0.06);
    margin-bottom: 1rem;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
    /* filter: grayscale(100%); */
    transform: scale(1);
    transition: transform 0.8s ease, filter 0.5s ease;
}

.talent-card:hover .artist-image img {
    filter: grayscale(0%);
    transform: scale(1.25);
}

.artist-name {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin: 0.5rem 0 0.25rem;
    color: var(--color-black);
    letter-spacing: unset !important;
}

.artist-category {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.6);
    letter-spacing: unset !important;
}

/* .artist-genre {
    font-size: 0.85rem;
    color: rgba(0,0,0,0.55);
    margin: 0.6rem 0;
} */

.artist-rating {
    height: 10vh;
    font-size: 0.85rem;
    /* font-family: var(--font-display); */
    display: flex;
    align-items: center;
    gap: 8px;
    /* font-weight: 800; */
    margin: 0.75rem 0;
}


.artist-stats {
    display: none !important;
    /* display: grid; */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 1.1rem;
}

.artist-stats .stat {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 14px;
    padding: 0.75rem;
    text-align: center;
}

.stat-value {
    font-weight: 900;
    font-size: 0.95rem;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(0, 0, 0, 0.55);
}

.book-btn {
    font-family: var(--font-display);
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: #000;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    /* font-weight: 700; */
    /* letter-spacing: 1px; */
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.book-btn:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: rgba(212, 175, 55, 0.35);
    transform: translateY(-1px);
}

/* List view layout: image | info | stats | book */
.roster-grid.list-view .talent-card {
    padding: 0;
}

.roster-grid.list-view .talent-card-inner {
    display: grid;
    grid-template-columns: 180px 1fr 340px;
    gap: 1.25rem;
    align-items: center;
    padding: 1.25rem;
}

.roster-grid.list-view .artist-image {
    margin: 0;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
}

.roster-grid.list-view .talent-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.roster-grid.list-view .artist-rating {
    margin: 0.25rem 0 0;
    height: unset;
}

.roster-grid.list-view .artist-meta {
    display: none;
    /* display: flex; */
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.artist-meta {
    display: none !important;
}

.roster-grid.list-view .meta-chip {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.03);
    border-radius: 999px;
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.65);
}

.roster-grid.list-view .talent-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.roster-grid.list-view .artist-stats--compact {
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.roster-grid.list-view .artist-stats--compact .stat {
    padding: 0.65rem;
    border-radius: 14px;
}

.roster-grid.list-view .artist-stats--compact .stat-value {
    font-size: 0.9rem;
}

.roster-grid.list-view .artist-stats {
    display: none;
    margin: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.roster-grid.list-view .talent-cta {
    display: flex;
    justify-content: flex-end;
}

.roster-grid.list-view .book-btn {
    width: 100%;
    max-width: 200px;
}

.roster-grid.list-view .book-btn {
    width: 100%;
}

@media (max-width: 1199.98px) {
    .filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .roster-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .roster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .roster-grid.list-view .talent-card-inner {
        grid-template-columns: 1fr;
    }

    .roster-grid.list-view .talent-cta {
        justify-content: stretch;
    }

    .roster-grid.list-view .book-btn {
        max-width: none;
    }

    .talent-actions {
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .roster-hero {
        /* min-height: 320px; */
    }

    .roster-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal */
.booking-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    z-index: 9999;
}

.booking-modal-backdrop.active {
    display: flex;
}

.booking-modal {
    width: 100%;
    max-width: 800px;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    max-height: 92vh;
}

.booking-modal-header {
    position: sticky;
    top: 0;
    background: #fff;
    padding: 25px 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    z-index: 2;
}

.booking-title {
    font-family: var(--font-heading);
    font-weight: 900;
}

.booking-artist {
    color: rgba(0, 0, 0, 0.55);
    font-weight: 700;
    font-size: 0.9rem;
}

.booking-close {
    border: 0;
    background: rgba(0, 0, 0, 0.06);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.booking-modal-body {
    padding: 40px;
    overflow: auto;
}

.booking-submit-btn {
    background: var(--color-black);
    border-color: var(--color-black);
}

.booking-modal-body .form-control {
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0.85rem;
}

.booking-modal-body .form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.booking-modal-body .form-group {
    margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
    .booking-modal-body .form-row {
        grid-template-columns: 1fr;
    }
}

.talent-card-inner {
    display: block;
}

.talent-info .artist-name {
    margin: 0.25rem 0 0.25rem;
}

.talent-info .artist-category {
    margin: 0;
}

.roster-header-text {
    font-size: 1.2rem;
    text-align: center;
    /* font-weight: 700; */
    margin-bottom: 50px !important;
}

.talent-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.meta-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.78rem;
    color: rgba(0, 0, 0, 0.65);
    font-weight: 700;
}

.talent-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* align-items: flex-end; */
}

.talent-stats-compact {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.mini-stat {
    text-align: center;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    padding: 0.6rem 0.5rem;
}

.mini-stat-value {
    font-weight: 900;
    font-size: 0.9rem;
}

.mini-stat-label {
    font-size: 0.72rem;
    color: rgba(0, 0, 0, 0.55);
}