/* ===== MENAJERLIK PAGE STYLES ===== */

/* Mini Header for Menajerlik Page */
.mini-header {
    position: relative;
    width: 100%;
    height: 90px;
    background: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.mini-header .hero-logo img {
    filter: brightness(0); /* Make logo black on white background */
}

.mini-header .mobile-menu-btn span {
    background: #000;
}

/* ---- Roster Section ---- */
.roster-section {
    padding: 44px 40px 60px;
    background: #fff; /* Changed from #f4f5f5 to white */
}

.roster-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    padding-left: 4px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.roster-header-titles {
    display: flex;
    flex-direction: column;
}

.roster-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 4px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: #666;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.filter-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

@media (max-width: 768px) {
    .roster-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.roster-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.roster-subtitle {
    font-size: 0.68rem;
    font-style: italic;
    color: #aaa;
    font-weight: 300;
}

/* ---- Grid ---- */
.roster-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px; /* Minimal gap like the mockup */
    max-width: 1100px;
    margin: 0 auto;
}

/* ---- Card ---- */
.roster-card {
    position: relative;
    background: transparent;
    border-radius: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
    cursor: pointer;
}

.roster-card:hover {
    transform: none;
    box-shadow: none;
}

/* ---- Image ---- */
.roster-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5; /* Slightly taller than square */
    overflow: hidden;
}

.roster-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

.roster-card:hover .roster-image-wrapper img {
    transform: scale(1.06);
    filter: brightness(0.85);
}

/* Hover overlay - Hidden in new design */
.roster-overlay {
    display: none;
}

/* ---- Info (Overlay Text) ---- */
.roster-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 60px 20px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
    z-index: 2;
}

.roster-name {
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Hide old elements */
.roster-meta,
.roster-profile-link {
    display: none;
}

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

@media (max-width: 1024px) {
    .roster-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }

    .roster-section {
        padding: 36px 20px 50px;
    }
}

@media (max-width: 768px) {
    .roster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .roster-section {
        padding: 28px 10px 40px;
    }

    .roster-name {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .roster-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .roster-info {
        padding: 40px 12px 12px 12px;
    }

    .roster-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 400px) {
    .roster-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 4px;
    }

    .roster-section {
        padding: 20px 10px 30px;
    }
}
